/* ============================================================
   SHEETALTARA — Devanagari Calligrapher
   Premium Brand Stylesheet
   ============================================================ */

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

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --cream:      #F8F4EE;
  --cream-2:    #EFE8DC;
  --cream-3:    #E3D8C8;
  --ink:        #1C1814;
  --ink-mid:    #4A3C30;
  --ink-soft:   #8A7565;
  --gold:       #C4A87A;
  --gold-dark:  #9A7E52;
  --gold-lt:    #DDD0B8;

  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'Jost', system-ui, sans-serif;
  --ff-deva:  'Tiro Devanagari', serif;

  --nav-h: 68px;
  --sp: clamp(24px, 5.5vw, 88px);
  --mw: 1340px;
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Typography ─────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--ff-serif); font-weight: 400; line-height: 1.05; }
h1 { font-size: clamp(52px, 7.5vw, 112px); letter-spacing: -0.02em; }
h2 { font-size: clamp(36px, 5vw, 80px); letter-spacing: -0.015em; }
h3 { font-size: clamp(24px, 3vw, 46px); }
h4 { font-size: clamp(18px, 2vw, 28px); }
p { max-width: 62ch; }

.label {
  font-family: var(--ff-sans);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.deva { font-family: var(--ff-deva); }

/* ── Navigation ─────────────────────────────────────── */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 400;
  height: var(--nav-h);
  background: rgba(248, 244, 238, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--cream-3);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--sp);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 28px rgba(28,24,20,0.08); }

.nav-brand { flex-shrink: 0; display: flex; align-items: center; }
.nav-brand img { display: block; }

.nav-links {
  display: flex; align-items: center;
  gap: clamp(12px, 2vw, 30px); list-style: none;
}
.nav-links a {
  font-size: 10.5px; font-weight: 400; letter-spacing: 0.17em;
  text-transform: uppercase; color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none;
}
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); transition: all 0.3s; }

/* ── Page wrapper ────────────────────────────────────── */
.page { padding-top: var(--nav-h); }

/* ── Sections ────────────────────────────────────────── */
.section {
  padding: clamp(64px, 10vh, 144px) var(--sp);
  max-width: var(--mw); margin: 0 auto;
}
.section-fw { padding: clamp(64px, 10vh, 144px) var(--sp); }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--ink); color: var(--cream); }

/* ── Page Header ─────────────────────────────────────── */
.page-header {
  padding: clamp(60px, 9vh, 120px) var(--sp) clamp(40px, 6vh, 80px);
  max-width: var(--mw); margin: 0 auto;
  border-bottom: 1px solid var(--cream-3);
}

/* ── Image placeholder ───────────────────────────────── */
.img-ph { background: var(--cream-2); position: relative; overflow: hidden; }
.img-ph::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 14px,
    rgba(164,138,100,0.065) 14px, rgba(164,138,100,0.065) 28px
  );
}
.img-ph-label {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-sans); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); text-align: center; white-space: nowrap;
}

/* ── Divider ─────────────────────────────────────────── */
.hr-gold { width: 42px; height: 1px; background: var(--gold); border: none; margin: 26px 0; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-sans); font-size: 11px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 14px 36px; transition: all 0.25s;
  border: 1px solid transparent; background: none;
}
.btn-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-mid); border-color: var(--ink-mid); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-outline-cream { border-color: rgba(248,244,238,0.5); color: var(--cream); }
.btn-outline-cream:hover { background: rgba(248,244,238,0.1); border-color: rgba(248,244,238,0.8); }
.btn-gold { background: var(--gold); color: var(--cream); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* ── Forms ───────────────────────────────────────────── */
.form-group { margin-bottom: 28px; }
.form-group label {
  display: block; font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: transparent;
  border: none; border-bottom: 1px solid var(--cream-3);
  padding: 12px 0; font-family: var(--ff-sans); font-size: 15px;
  color: var(--ink); outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A7565' stroke-width='1' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.7; }

/* ── Fade-up animation ───────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.9s ease, transform 0.9s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--cream-3); }
.footer-inner {
  max-width: var(--mw); margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) var(--sp) 0;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand-name { font-family: var(--ff-serif); font-size: 22px; line-height: 1; }
.footer-brand-deva { font-family: var(--ff-deva); font-size: 13px; color: var(--ink-soft); margin-top: 6px; display: block; }
.footer-tagline { font-size: 13px; color: var(--ink-soft); margin-top: 14px; line-height: 1.6; max-width: 240px; }
.footer-col h5 {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 18px; font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14px; color: var(--ink-mid); transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  max-width: var(--mw); margin: 0 auto;
  border-top: 1px solid var(--cream-3); padding: 24px var(--sp);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 0.1em; color: var(--ink-soft);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: fixed;
    inset: var(--nav-h) 0 0 0; background: var(--cream);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 28px; z-index: 300;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 14px; letter-spacing: 0.15em; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
