/* ═══════════════════════════════════════
   STARTUPZONE.IN — GLOBAL STYLESHEET
   Edit this file to change site-wide styles
   ═══════════════════════════════════════ */

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

/* ── VARIABLES ── */
:root {
  --ink:      #111416;
  --ink2:     #3a4149;
  --paper:    #faf8f4;
  --cream:    #f2ede4;
  --white:    #ffffff;
  --rust:     #b85c2a;
  --rust2:    #d4753f;
  --gold:     #c9a84c;
  --steel:    #1e2832;
  --border:   #e0d9ce;
  --nav-h:    68px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-decoration: none; }
a:hover { color: var(--rust2); }
ul { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--rust); }

/* ══════════════════════════════════════
   NAV — edit js/components.js to change links
   ══════════════════════════════════════ */
#sz-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%;
  background: rgba(250,248,244,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
#sz-nav.stuck {
  border-color: var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,.06);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--ink); letter-spacing: -.01em;
}
.nav-logo span { color: var(--rust); }
.nav-links {
  display: flex; gap: 2rem; align-items: center;
}
.nav-links a {
  font-size: .75rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink2); transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--rust); }
.nav-cta {
  background: var(--rust) !important;
  color: var(--white) !important;
  padding: .55rem 1.4rem;
  border-radius: 1px;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--steel) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); transition: all .3s;
}
.nav-mobile {
  display: none; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 6%;
  gap: 1rem; z-index: 499;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: .85rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink2); padding: .5rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }

/* ══════════════════════════════════════
   FOOTER — edit js/components.js to change
   ══════════════════════════════════════ */
#sz-footer {
  background: #0c1117;
  padding: 4rem 6% 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .nav-logo { display: block; margin-bottom: 1rem; }
.footer-brand p {
  font-size: .82rem; color: rgba(250,248,244,.35);
  line-height: 1.8; max-width: 280px;
}
.footer-col h5 {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(250,248,244,.3); margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a {
  font-size: .82rem; color: rgba(250,248,244,.45);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--rust2); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .72rem; color: rgba(250,248,244,.22);
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom a { color: rgba(250,248,244,.22); }
.footer-bottom a:hover { color: var(--rust2); }

/* ══════════════════════════════════════
   PAGE WRAPPER — all pages use this
   ══════════════════════════════════════ */
.page-wrap { padding-top: var(--nav-h); }

/* ══════════════════════════════════════
   TYPOGRAPHY UTILITIES
   ══════════════════════════════════════ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 1rem;
}
.eyebrow::after { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow.gold { color: var(--gold); }
.eyebrow.gold::after { background: var(--gold); }

h1,h2,h3,h4 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: -.02em; line-height: 1.1;
}
.display-title {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  font-weight: 700; color: var(--ink);
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
}
.lead {
  font-size: 1.05rem; font-weight: 300;
  color: var(--ink2); line-height: 1.9;
  max-width: 580px;
}

/* ══════════════════════════════════════
   SECTION UTILITIES
   ══════════════════════════════════════ */
.section { padding: 6rem 6%; }
.section-sm { padding: 4rem 6%; }
.section.cream { background: var(--cream); }
.section.dark { background: var(--steel); color: var(--paper); }
.section.dark .section-title { color: var(--paper); }
.section.dark .lead { color: rgba(250,248,244,.6); }
.section.white { background: var(--white); }
.container { max-width: 1200px; margin: 0 auto; }

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn {
  display: inline-block; font-family: 'Jost', sans-serif;
  font-size: .85rem; font-weight: 600; letter-spacing: .05em;
  padding: .9rem 2.2rem; border-radius: 1px;
  text-decoration: none; transition: all .2s; cursor: pointer;
  border: none;
}
.btn-solid { background: var(--rust); color: var(--white); }
.btn-solid:hover { background: var(--steel); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-white { background: var(--white); color: var(--rust); }
.btn-white:hover { background: var(--steel); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--steel); }
.btn-gold:hover { background: var(--white); color: var(--steel); }

/* ══════════════════════════════════════
   CARDS
   ══════════════════════════════════════ */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 2px; padding: 2rem;
  transition: all .25s;
}
.card:hover {
  border-color: var(--rust);
  box-shadow: 0 8px 32px rgba(184,92,42,.08);
  transform: translateY(-2px);
}
.card.dark-card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
.card.dark-card:hover { border-color: var(--gold); }

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════ */
.page-hero {
  background: var(--steel);
  padding: 5rem 6% 4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.03) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .display-title { color: var(--paper); }
.page-hero .lead { color: rgba(250,248,244,.65); }

/* ══════════════════════════════════════
   BLOG CARDS
   ══════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 2px; overflow: hidden;
  transition: all .25s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.blog-card-img {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  position: relative; overflow: hidden;
}
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  font-size: .65rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--rust); margin-bottom: .6rem;
}
.blog-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 700;
  line-height: 1.35; margin-bottom: .6rem; color: var(--ink);
}
.blog-card p {
  font-size: .82rem; color: var(--ink2);
  line-height: 1.65; flex: 1; margin-bottom: 1rem;
}
.blog-read-more {
  font-size: .78rem; font-weight: 600; color: var(--rust);
  display: inline-flex; align-items: center; gap: .4rem;
  transition: gap .2s;
}
.blog-read-more:hover { gap: .7rem; color: var(--rust); }

/* ══════════════════════════════════════
   BLOG POST PAGE
   ══════════════════════════════════════ */
.post-wrap { max-width: 760px; margin: 0 auto; padding: 4rem 6%; }
.post-header { margin-bottom: 3rem; }
.post-meta {
  display: flex; gap: 1rem; align-items: center;
  font-size: .78rem; color: var(--ink2);
  margin-bottom: 1rem; flex-wrap: wrap;
}
.post-meta .post-cat {
  background: var(--cream); color: var(--rust);
  padding: .2rem .7rem; border-radius: 1px;
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.post-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.1;
  color: var(--ink); margin-bottom: 1.5rem;
}
.post-intro {
  font-size: 1.15rem; font-weight: 300;
  color: var(--ink2); line-height: 1.9;
  border-left: 3px solid var(--rust);
  padding-left: 1.5rem; margin-bottom: 2.5rem;
}
.post-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--ink); margin: 2.5rem 0 1rem;
}
.post-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--ink); margin: 2rem 0 .8rem;
}
.post-body p { margin-bottom: 1.2rem; color: var(--ink2); line-height: 1.9; }
.post-body ul, .post-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.post-body li { font-size: .95rem; color: var(--ink2); line-height: 1.7; }
.post-body ul li::marker { color: var(--rust); }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body blockquote {
  border-left: 3px solid var(--rust);
  padding: 1rem 1.5rem;
  background: var(--cream);
  margin: 2rem 0; border-radius: 0 2px 2px 0;
}
.post-body blockquote p { color: var(--ink); font-style: italic; margin: 0; }

/* Post CTA box */
.post-cta {
  background: var(--steel); color: var(--paper);
  padding: 2.5rem; border-radius: 2px;
  margin: 3rem 0; text-align: center;
}
.post-cta h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; color: var(--paper); margin-bottom: .6rem;
}
.post-cta p { color: rgba(250,248,244,.6); font-size: .9rem; margin-bottom: 1.2rem; }

/* Post navigation */
.post-nav {
  display: flex; justify-content: space-between;
  gap: 1rem; margin-top: 4rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.post-nav a {
  font-size: .82rem; font-weight: 500; color: var(--rust);
  display: flex; align-items: center; gap: .4rem;
}

/* ══════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 4rem 5%; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .post-wrap { padding: 2rem 5%; }
}
