/* =========================================================
   Ziora Publishing — Design System
   "The Aura of Heaven"
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  /* Palette, sampled from the Ziora logo */
  --ivory: #FAF8F5;
  --cream: #F3ECE2;
  --gold-deep: #A9825A;
  --gold-light: #C9AC8B;
  --gold-pale: #E8D9C4;
  --aura-blue: #D7E3EE;
  --aura-blush: #F3DFCB;
  --charcoal: #37312A;
  --charcoal-soft: #5C5347;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --shadow-soft: 0 20px 60px -25px rgba(169, 130, 90, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(55, 49, 42, 0.12);

  --container: 1180px;
  --section-pad: clamp(64px, 9vw, 128px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }

p { margin: 0 0 1em; color: var(--charcoal-soft); }

a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 18px;
}

.eyebrow::before, .eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold-light);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section, .section {
  padding: var(--section-pad) 0;
}

.section-alt { background: var(--cream); }

.text-center { text-align: center; }
.max-w { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Sparkle + Arc motifs ---------- */

.sparkle {
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
}
.sparkle::before {
  content: '\2726';
  position: absolute;
  inset: 0;
  color: var(--gold-deep);
  font-size: 14px;
  line-height: 1;
}

.divider-sparkle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 28px 0;
}
.divider-sparkle .line {
  width: 56px;
  height: 1px;
  background: var(--gold-light);
}

.arc-frame {
  position: relative;
}
.arc-frame::before {
  content: '';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 44px;
  border: 1px solid var(--gold-light);
  border-bottom: none;
  border-radius: 999px 999px 0 0;
  opacity: 0.6;
  pointer-events: none;
}

.aura-bg {
  position: relative;
  overflow: hidden;
}
.aura-bg::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 45% at 22% 20%, rgba(215, 227, 238, 0.65), transparent 60%),
    radial-gradient(45% 50% at 82% 15%, rgba(243, 223, 203, 0.55), transparent 60%),
    radial-gradient(50% 60% at 50% 100%, rgba(233, 217, 196, 0.45), transparent 65%);
  filter: blur(10px);
  z-index: 0;
}
.aura-bg > * { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-deep), #BE9A6F);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -20px rgba(169,130,90,0.5); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--gold-light);
}
.btn-outline:hover { background: var(--gold-pale); border-color: var(--gold-deep); }

.btn-ghost {
  background: transparent;
  color: var(--gold-deep);
  padding: 12px 4px;
  border-radius: 0;
}
.btn-ghost::after {
  content: '\2192';
  margin-left: 4px;
  transition: margin-left 0.2s ease;
}
.btn-ghost:hover::after { margin-left: 9px; }

.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(169, 130, 90, 0.14);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo-mark { display: flex; align-items: center; gap: 10px; }
.logo-mark svg { height: 42px; width: auto; }
.logo-word {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--charcoal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--charcoal-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-deep); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold-deep);
}

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--charcoal);
  transition: all 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 10px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.dropdown-panel a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  white-space: nowrap;
}
.dropdown-panel a:hover { background: var(--cream); }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(80px, 12vw, 150px) 0 var(--section-pad);
  text-align: center;
}
.hero .eyebrow { justify-content: center; }
.hero p.lead {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 34px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Cards ---------- */

.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -20px rgba(55,49,42,0.16); }

.card .icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold-deep);
}

.pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--aura-blue);
  color: var(--charcoal);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.pill-gold { background: var(--gold-pale); color: var(--gold-deep); }

/* ---------- Steps / process ---------- */

.step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.tier-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}
.tier-card:last-child { margin-bottom: 0; }
.tier-card ul { margin: 0; padding-left: 20px; color: var(--charcoal-soft); }
@media (max-width: 780px) {
  .tier-card { grid-template-columns: 1fr; }
}
.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  font-weight: 600;
  flex-shrink: 0;
  width: 50px;
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-grid .full { grid-column: 1 / -1; }

.field { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  font-weight: 500;
}
.field .hint { font-size: 0.78rem; color: var(--gold-deep); opacity: 0.8; margin-top: -4px; }

input, textarea, select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  color: var(--charcoal);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(169,130,90,0.14);
}
textarea { resize: vertical; min-height: 130px; }

.file-drop {
  border: 1.5px dashed var(--gold-light);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  background: var(--cream);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.file-drop:hover { background: var(--gold-pale); border-color: var(--gold-deep); }
.file-drop input { display: none; }
.file-drop .file-name { margin-top: 8px; font-weight: 500; color: var(--gold-deep); }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: auto; margin-top: 4px; }
.checkbox-row label { font-size: 0.85rem; color: var(--charcoal-soft); text-transform: none; letter-spacing: 0; }

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-status.success { display: block; background: var(--aura-blue); color: var(--charcoal); }
.form-status.error { display: block; background: #F6DEDE; color: #7A3131; }

/* ---------- FAQ accordion ---------- */

.faq-item {
  border-bottom: 1px solid var(--gold-pale);
  padding: 22px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  gap: 20px;
}
.faq-question .plus {
  font-size: 1.4rem;
  color: var(--gold-deep);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding-top: 14px; margin: 0; }

/* ---------- Blog ---------- */

.blog-card img, .blog-card .thumb {
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--aura-blue), var(--aura-blush));
}
.blog-card .meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

/* ---------- Coming soon ---------- */

.coming-soon-hero {
  text-align: center;
  padding: clamp(90px, 14vw, 160px) 0;
}
.coming-soon-hero .icon-badge {
  width: 84px; height: 84px;
  margin: 0 auto 28px;
  font-size: 2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: var(--gold-pale);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(233, 217, 196, 0.18);
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer p { color: rgba(243, 236, 226, 0.7); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(243, 236, 226, 0.75); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--gold-light); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo svg { height: 38px; width: auto; }
.footer-logo .logo-word { color: var(--white); }

.newsletter-form { display: flex; gap: 10px; margin-top: 8px; }
.newsletter-form input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(233,217,196,0.3);
  color: var(--white);
}
.newsletter-form input::placeholder { color: rgba(243,236,226,0.5); }
.newsletter-form button {
  flex-shrink: 0;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--gold-deep);
  color: var(--white);
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.82rem;
  color: rgba(243,236,226,0.55);
  flex-wrap: wrap;
  gap: 10px;
}
.social-row { display: flex; gap: 16px; }
.social-row a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(233,217,196,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.social-row a:hover { background: rgba(233,217,196,0.12); border-color: var(--gold-light); }

/* ---------- Reveal-on-scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Page header (interior pages) ---------- */

.page-hero {
  padding: clamp(64px, 9vw, 110px) 0 60px;
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .step { flex-direction: column; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0 8px;
  border-top: 1px solid rgba(169,130,90,0.14);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 4px;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  border-bottom: 1px solid rgba(169,130,90,0.08);
}
.mobile-menu .btn { margin-top: 10px; }
