/* ============================================================
   SWARIYA WEDDING JOURNAL — shared stylesheet
   Palette: deep emerald ink, antique gold, ivory, jewel maroon
   Display: Fraunces (editorial serif) / Body: Inter
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --ink:      #12261E;   /* near-black emerald — headers, footer */
  --emerald:  #1F4D3A;   /* primary brand green */
  --emerald-2:#2B6B4F;   /* lighter green for hovers */
  --gold:     #A9803F;   /* antique gold — links, rules, accents */
  --gold-lt:  #C9A96A;   /* pale gold for on-dark text */
  --maroon:   #6B1F2A;   /* jewel accent — used sparingly */
  --ivory:    #FAF6EE;   /* page background */
  --paper:    #FFFDF9;   /* card / article background */
  --ink-text: #2C2620;   /* body text, warm near-black */
  --stone:    #6E6759;   /* secondary text */
  --line:     #E4DCC8;   /* hairline rule on ivory */
  --line-dk:  rgba(250,246,238,0.18); /* hairline on dark */

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.wrap{ max-width: 760px; margin:0 auto; padding: 0 28px; }
.wrap-wide{ max-width: 1120px; margin:0 auto; padding: 0 28px; }

/* ---------- Signature paisley mark ---------- */
.mark{ display:flex; justify-content:center; margin: 8px 0; }
.mark svg{ width:34px; height:34px; }

/* ---------- Top bar ---------- */
.topbar{
  background: var(--ink);
  color: var(--ivory);
}
.topbar-inner{
  max-width: 1120px; margin:0 auto; padding: 22px 28px;
  display:flex; align-items:center; justify-content:space-between;
}
.wordmark{
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  font-weight: 500;
  text-decoration:none;
  color: var(--ivory);
}
.wordmark span{ color: var(--gold-lt); }
.eyebrow-link{
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration:none;
  color: var(--gold-lt);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.eyebrow-link:hover{ border-color: var(--gold-lt); }

/* ---------- Hero ---------- */
.hero{
  background: var(--ink);
  color: var(--ivory);
  padding: 56px 28px 72px;
  text-align:center;
}
.hero .kicker{
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 22px;
}
.hero h1{
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto 22px;
  letter-spacing: -0.01em;
}
.hero .deck{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: rgba(250,246,238,0.82);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Hero image (full-bleed, overlapping hero) ---------- */
.hero-image-band{
  max-width: 1120px;
  margin: -46px auto 0;
  padding: 0 28px;
}
.hero-image-frame{
  border: 1px solid var(--line);
  padding: 10px;
  background: var(--paper);
  box-shadow: 0 24px 48px -24px rgba(18,38,30,0.35);
}
.hero-image-frame img{
  width:100%;
  height: 420px;
  object-fit: cover;
}
.hero-caption{
  font-size: 0.82rem;
  color: var(--stone);
  text-align:center;
  margin-top: 12px;
  font-style: italic;
  font-family: var(--serif);
}

/* ---------- Article ---------- */
article{ padding: 64px 0 24px; }

.lede{
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.65;
  color: var(--ink-text);
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.lede::first-letter{
  font-family: var(--serif);
  font-size: 3.6rem;
  font-weight: 500;
  float: left;
  line-height: 0.82;
  padding-right: 12px;
  padding-top: 6px;
  color: var(--emerald);
}

article h2{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--ink);
  margin: 46px 0 18px;
  letter-spacing: -0.01em;
}
article h3{
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--emerald);
  text-transform: uppercase;
  margin: 30px 0 12px;
}
article p{
  margin-bottom: 18px;
  color: var(--ink-text);
  font-size: 1.02rem;
}
article ul, article ol{
  margin: 0 0 22px 0;
  list-style: none;
}
article ul li, article ol li{
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  line-height: 1.6;
}
article ul li::before{
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
article ol{ counter-reset: step; }
article ol li{ counter-increment: step; }
article ol li::before{
  content: counter(step);
  position:absolute; left:0; top:0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 0.95rem;
}
article strong{ color: var(--ink); font-weight: 600; }

/* pull quote */
.pull{
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--emerald);
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 26px;
  margin: 38px 0;
}

/* milestone list (real sequence — planning timeline) */
.milestones{ margin: 28px 0 40px; }
.milestone{
  display:grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.milestone:last-child{ border-bottom: 1px solid var(--line); }
.milestone .num{
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.milestone h4{
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.milestone p{ margin:0; font-size: 0.95rem; color: var(--stone); }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--emerald);
  color: var(--ivory);
  margin: 56px 0 0;
  padding: 52px 28px;
  text-align:center;
}
.cta-band h2{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  margin-bottom: 12px;
}
.cta-band p{
  max-width: 480px;
  margin: 0 auto 26px;
  color: rgba(250,246,238,0.85);
  font-size: 0.98rem;
}
.btn{
  display:inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration:none;
  padding: 15px 34px;
  border: 1px solid var(--gold-lt);
  color: var(--ivory);
  transition: all .25s ease;
}
.btn:hover{ background: var(--gold-lt); color: var(--ink); border-color: var(--gold-lt); }
.btn-dark{ border-color: var(--emerald); color: var(--emerald); }
.btn-dark:hover{ background: var(--emerald); color: var(--ivory); }

/* ---------- Related ---------- */
.related{
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
}
.related h3{
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.related-list{ list-style:none; }
.related-list li{
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.related-list li:last-child{ border-bottom: 1px solid var(--line); }
.related-list a{
  font-family: var(--serif);
  font-size: 1.08rem;
  text-decoration:none;
  color: var(--ink);
  display:flex; justify-content:space-between; align-items:center;
  transition: color .2s ease;
}
.related-list a:hover{ color: var(--gold); }
.related-list a::after{ content:"→"; font-family: var(--sans); color: var(--gold); }

/* ---------- Footer ---------- */
footer{
  background: var(--ink);
  color: rgba(250,246,238,0.75);
  padding: 56px 28px 32px;
}
.footer-grid{
  max-width: 1120px; margin: 0 auto;
  display:grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-dk);
}
.footer-grid .wordmark{ margin-bottom: 14px; display:inline-block; }
.footer-grid p{ font-size: 0.9rem; line-height: 1.7; }
.footer-col h4{
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 14px;
}
.footer-col a{
  display:block;
  text-decoration:none;
  font-size: 0.9rem;
  color: rgba(250,246,238,0.75);
  margin-bottom: 10px;
  transition: color .2s ease;
}
.footer-col a:hover{ color: var(--gold-lt); }
.footer-bottom{
  max-width: 1120px; margin: 24px auto 0;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size: 0.8rem;
  color: rgba(250,246,238,0.5);
}

/* ---------- Landing page grid ---------- */
.stats-row{
  display:grid; grid-template-columns: repeat(4,1fr);
  max-width: 1120px; margin: 0 auto; padding: 0 28px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats-row .stat{
  padding: 32px 20px; text-align:center;
  border-left: 1px solid var(--line);
}
.stats-row .stat:first-child{ border-left:none; }
.stats-row .stat .num{
  font-family: var(--serif); font-weight:500; font-size: 2.1rem; color: var(--emerald);
}
.stats-row .stat .lbl{ font-size: 0.82rem; color: var(--stone); margin-top: 6px; }

.section-head{
  text-align:center; max-width: 620px; margin: 72px auto 40px; padding: 0 28px;
}
.section-head .kicker{
  font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-head h2{
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem,3vw,2.2rem);
  color: var(--ink);
}

.card-grid{
  max-width: 1120px; margin: 0 auto 60px; padding: 0 28px;
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--line);
}
.card{
  background: var(--paper);
  display:flex; flex-direction:column;
}
.card img{ width:100%; height:220px; object-fit:cover; }
.card-body{ padding: 26px; flex:1; display:flex; flex-direction:column; }
.card-body .cat{
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.card-body h3{
  font-family: var(--serif); font-weight:500; font-size: 1.2rem; color: var(--ink);
  margin-bottom: 10px; line-height: 1.35;
}
.card-body p{ font-size: 0.9rem; color: var(--stone); flex:1; margin-bottom: 16px; }
.card-body a{
  font-size: 0.82rem; font-weight:600; text-transform:uppercase; letter-spacing:.04em;
  color: var(--emerald); text-decoration:none;
}
.card-body a:hover{ color: var(--gold); }

.index-list-section{
  max-width: 1120px; margin: 0 auto; padding: 0 28px 20px;
}
.index-cols{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
}
.index-col h4{
  font-family: var(--sans); font-weight:700; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.index-col ul{ list-style:none; }
.index-col li{ margin-bottom: 11px; }
.index-col a{
  font-size: 0.92rem; text-decoration:none; color: var(--ink-text);
  transition: color .2s ease;
}
.index-col a:hover{ color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .card-grid{ grid-template-columns: repeat(2,1fr); }
  .index-cols{ grid-template-columns: 1fr 1fr; }
  .stats-row{ grid-template-columns: repeat(2,1fr); }
  .stats-row .stat:nth-child(3){ border-left:none; }
}
@media (max-width: 560px){
  .hero{ padding: 44px 20px 60px; }
  .hero-image-frame img{ height: 260px; }
  .lede{ font-size: 1.12rem; }
  .card-grid{ grid-template-columns: 1fr; }
  .index-cols{ grid-template-columns: 1fr; }
  .stats-row{ grid-template-columns: repeat(2,1fr); }
  .milestone{ grid-template-columns: 40px 1fr; }
}
