:root {
  --dusk: #141a26;
  --dusk-deep: #0a0d14;
  --amber: #e08a52;
  --coral: #cf8872;
  --sand: #ece6db;
  --sand-dim: #c9c2b4;
  --line: rgba(236, 230, 219, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--dusk-deep);
  color: var(--sand);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ---------- HAMBURGER MENU (mobile) ---------- */
.hamburger{
  display:none;
  position:absolute;
  top:2rem; right:2rem;
  z-index:11;
  background:none;
  border:none;
  cursor:pointer;
  padding:4px;
  flex-direction:column;
  gap:5px;
}
.hamburger span{
  display:block;
  width:22px; height:1.5px;
  background:rgba(236,230,219,0.75);
  transition:transform .3s ease, opacity .3s ease;
}
.hamburger.open span:nth-child(1){ transform:rotate(45deg) translate(4px,4px); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:rotate(-45deg) translate(4px,-4px); }

.mobile-menu{
  display:none;
  position:fixed;
  inset:0;
  z-index:10;
  background:rgba(10,13,20,0.95);
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2.5rem;
}
.mobile-menu.open{ display:flex; }
.mobile-menu a{
  font-family:'Fraunces', serif;
  font-size:1.4rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--sand);
  opacity:0.8;
  transition:opacity .3s ease;
}
.mobile-menu a:hover{ opacity:1; }

@media (max-width:760px){
  .top-nav{ display:none !important; }
  .hamburger{ display:flex; }
}

/* ---------- TOP NAV ---------- */
.top-nav {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.top-nav a {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sand);
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.top-nav a:hover, .top-nav a:focus-visible {
  opacity: 1;
}

.door-link {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-decoration: none;
}

.door-link:hover, .door-link:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.door-link svg { width: 100%; height: 100%; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,13,20,0.25) 0%,
    rgba(10,13,20,0.05) 35%,
    rgba(10,13,20,0.55) 80%,
    rgba(10,13,20,0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-mark {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 3;
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.85;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 6rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  opacity: 0;
  animation: dawn 2.6s ease-out 0.3s forwards;
}

.hero-sub {
  margin-top: 1.25rem;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--sand-dim);
  max-width: 32ch;
  opacity: 0;
  animation: dawn 2.6s ease-out 1.2s forwards;
}

@keyframes dawn {
  from { opacity: 0; filter: blur(6px); transform: translateY(8px); }
  to   { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 1px;
  height: 38px;
  background: var(--line);
  opacity: 0;
  animation: dawn 1.5s ease-out 2.4s forwards;
}

.scroll-cue::after {
  content: '';
  position: absolute;
  top: 0; left: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  animation: drip 2.6s ease-in-out infinite;
}

@keyframes drip {
  0%   { top: 0; opacity: 1; }
  80%  { top: 32px; opacity: 0.3; }
  100% { top: 32px; opacity: 0; }
}

/* ---------- DIVIDER ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 200px;
  margin: 0 auto;
  opacity: 0.4;
}

.divider .line { flex: 1; height: 1px; background: var(--line); }
.divider .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }

/* ---------- THE SKY RIGHT NOW ---------- */
.sky-now {
  max-width: 700px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}

.sky-now-top {
  padding: 2.5rem 1.5rem 2rem;
}

.sky-now-top .sky-header {
  margin-top: 1.5rem;
}

.sky-header {
  text-align: center;
  margin-top: 2.5rem;
}

.sky-header .eyebrow {
  font-family: 'Fraunces', serif;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.9rem;
}

.sky-header h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.sky-meta {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--sand-dim);
  opacity: 0.6;
}

.sky-list {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.sky-loading, .sky-error {
  padding: 2rem 1.5rem;
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--sand-dim);
  opacity: 0.6;
}

.sky-row {
  border-bottom: 1px solid var(--line);
}

.sky-row:last-child {
  border-bottom: none;
}

.sky-row-main {
  display: grid;
  grid-template-columns: 28px auto 1fr auto 20px;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.25rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.sky-row-main:hover {
  background: rgba(224,138,82,0.04);
}

.sky-sym {
  font-size: 1.3rem;
  color: var(--amber);
  text-align: center;
  font-family: 'Fraunces', serif;
}

.sky-planet {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--sand);
  white-space: nowrap;
}

.sky-retro {
  color: var(--coral);
  font-size: 0.75rem;
}

.sky-sign {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--sand-dim);
  text-align: right;
  white-space: nowrap;
}

.sky-gk {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  color: var(--coral);
  text-align: right;
  white-space: nowrap;
  opacity: 0.85;
}

.sky-exp {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  color: var(--sand-dim);
  opacity: 0.5;
  text-align: center;
  transition: transform 0.25s ease;
}

.sky-exp.open {
  transform: rotate(180deg);
}

.sky-detail {
  display: none;
  padding: 0 1.25rem 1.25rem;
  align-items: center;
  gap: 1.25rem;
}

.sky-detail.open {
  display: flex;
}

.sky-hex {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--amber);
  flex-shrink: 0;
}

.sky-triad {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.6rem;
  flex: 1;
}

.sky-pill {
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
}

.sky-pill-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  opacity: 0.7;
}

.sky-pill-word {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
}

.sky-pill.shadow { background: rgba(155,125,255,0.06); border-color: rgba(155,125,255,0.18); }
.sky-pill.shadow .sky-pill-tag { color: #b3a3f5; }
.sky-pill.shadow .sky-pill-word { color: #b3a3f5; }

.sky-pill.gift { background: rgba(79,209,197,0.06); border-color: rgba(79,209,197,0.18); }
.sky-pill.gift .sky-pill-tag { color: #6fd0c5; }
.sky-pill.gift .sky-pill-word { color: #6fd0c5; }

.sky-pill.siddhi { background: rgba(224,138,82,0.06); border-color: rgba(224,138,82,0.18); }
.sky-pill.siddhi .sky-pill-tag { color: var(--amber); }
.sky-pill.siddhi .sky-pill-word { color: var(--amber); }

@media (max-width: 600px) {
  .sky-row-main {
    grid-template-columns: 24px 1fr auto;
    grid-template-areas:
      "sym planet exp"
      "sym sign sign"
      "sym gk gk";
    row-gap: 0.3rem;
  }
  .sky-sym { grid-area: sym; }
  .sky-planet { grid-area: planet; }
  .sky-exp { grid-area: exp; }
  .sky-sign { grid-area: sign; text-align: left; }
  .sky-gk { grid-area: gk; text-align: left; }

  .sky-detail {
    flex-direction: column;
    align-items: flex-start;
  }
  .sky-triad {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .sky-now-top {
    padding: 1.5rem 1.5rem 1.5rem;
  }
}

/* ---------- ZINE HEADER ---------- */
.zine-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 7rem 1.5rem 2rem;
  text-align: center;
}

.zine-header .eyebrow {
  font-family: 'Fraunces', serif;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.2rem;
}

.zine-header h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* ---------- ZINE SECTION ---------- */
.zine {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 3.5rem;
  align-items: center;
}

.zine-cover {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7);
}

.zine-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.zine-text .eyebrow {
  font-family: 'Fraunces', serif;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.9rem;
}

.zine-text h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.zine-text .chapter-tag {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--sand-dim);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.zine-text p {
  color: var(--sand-dim);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--dusk-deep);
  background: var(--sand);
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
  border: 1px solid var(--sand);
}

.btn:hover, .btn:focus-visible {
  background: transparent;
  color: var(--sand);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--sand);
  border: 1px solid var(--line);
}

.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--sand);
  color: var(--dusk-deep);
}

/* ---------- NEWSLETTER ---------- */
.newsletter {
  max-width: 560px;
  margin: 0 auto;
  padding: 5rem 1.5rem 7rem;
  text-align: center;
}

.newsletter .eyebrow {
  font-family: 'Fraunces', serif;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.9rem;
}

.newsletter h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.newsletter p {
  color: var(--sand-dim);
  margin-bottom: 2.2rem;
  font-size: 1.02rem;
}

.signup {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.signup input[type="email"] {
  flex: 1;
  min-width: 220px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.85rem 1.1rem;
  color: var(--sand);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.signup input[type="email"]::placeholder { color: var(--sand-dim); opacity: 0.6; }

.signup input[type="email"]:focus-visible {
  outline: none;
  border-color: var(--amber);
}

.signup button {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  background: var(--sand);
  color: var(--dusk-deep);
  border: 1px solid var(--sand);
  border-radius: 2px;
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.signup button:hover, .signup button:focus-visible {
  background: transparent;
  color: var(--sand);
  transform: translateY(-2px);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--sand-dim);
  opacity: 0.6;
}

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

footer .footer-links a {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sand-dim);
  transition: color 0.3s ease;
}

footer .footer-links a:hover, footer .footer-links a:focus-visible {
  color: var(--sand);
}

footer .door {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--sand-dim);
  transition: color 0.4s ease, transform 0.4s ease;
}

footer .door:hover, footer .door:focus-visible {
  color: var(--amber);
  transform: translateY(-2px);
}

footer .door svg { width: 28px; height: 28px; }

footer .door span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

footer .copy {
  margin-top: 2.5rem;
  font-size: 0.78rem;
  color: var(--sand-dim);
  opacity: 0.4;
  letter-spacing: 0.06em;
}

footer .footer-key {
  display: inline-block;
  margin: 1.5rem 0;
  opacity: 0.2;
  color: var(--sand-dim);
  text-decoration: none;
  transition: opacity 0.4s ease, color 0.4s ease;
}
footer .footer-key:hover {
  opacity: 0.7;
  color: var(--amber);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 760px) {
  .zine {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 1.5rem 4.5rem;
  }
  .zine-cover {
    max-width: 320px;
    margin: 0 auto;
  }
  .zine-text { text-align: center; }
  .zine-text p { margin-left: auto; margin-right: auto; }
  .zine-header { padding: 5rem 1.5rem 1.5rem; }
  .hero-mark { font-size: 0.7rem; top: 1.5rem; left: 1.5rem; }
  .top-nav { top: 1.5rem; right: 1.5rem; gap: 1.1rem; }
  .top-nav a { font-size: 0.7rem; }
  .door-link { width: 26px; height: 26px; }
  footer .footer-links { gap: 1.1rem; flex-wrap: wrap; }
}
