/* ============================================================
   altctrl — heritage kurta store
   Shared design system
   ============================================================ */

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

:root {
  /* Earthy heritage palette */
  --cream:        #F7F0E1;
  --ivory:        #FCF8EF;
  --paper:        #F0E6D1;
  --sand:         #E7D9BD;

  --oxblood:      #5E2027;
  --oxblood-deep: #471720;
  --terracotta:   #B65A36;
  --turmeric:     #C5912A;
  --gold:         #B2853A;
  --gold-light:   #D7AF63;
  --forest:       #33493B;

  --ink:          #2A1D16;
  --muted:        #6E5C4E;
  --line:         rgba(74, 45, 22, 0.16);
  --line-strong:  rgba(74, 45, 22, 0.30);

  --font-display: 'Rozha One', serif;
  --font-serif:   'Cormorant Garamond', serif;
  --font-body:    'Mukta', sans-serif;

  --maxw: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(74,45,22,0.045) 1px, transparent 0);
  background-size: 22px 22px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Typographic helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.01em;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.lede {
  font-family: var(--font-serif);
  font-size: 21px;
  font-style: italic;
  color: var(--muted);
}

/* ---------- Ornaments ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
}
.ornament::before,
.ornament::after {
  content: "";
  height: 1px;
  width: 64px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament .diamond {
  width: 9px; height: 9px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
  position: relative;
}
.ornament .diamond::after {
  content: "";
  position: absolute; inset: 2px;
  background: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid var(--oxblood);
  background: var(--oxblood);
  color: var(--ivory);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .25s ease, color .25s ease, transform .15s ease, box-shadow .25s ease;
}
.btn:hover {
  background: var(--oxblood-deep);
  box-shadow: 0 10px 26px -14px rgba(71,23,32,0.8);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--oxblood);
}
.btn--ghost:hover {
  background: var(--oxblood);
  color: var(--ivory);
}
.btn--gold {
  background: var(--turmeric);
  border-color: var(--turmeric);
  color: var(--oxblood-deep);
}
.btn--gold:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ivory);
}
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,240,225,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand .mark {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--oxblood);
}
.brand .mark b { color: var(--turmeric); font-weight: 400; }
.brand .tag {
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--turmeric);
  transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }
.nav-cta { white-space: nowrap; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--oxblood-deep);
  color: var(--sand);
  padding: 64px 0 28px;
  margin-top: 10px;
}
.site-footer a { color: var(--sand); opacity: .82; }
.site-footer a:hover { opacity: 1; color: var(--gold-light); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid .brand .mark { color: var(--ivory); }
.footer-about { font-size: 14px; line-height: 1.7; opacity: .85; max-width: 30ch; margin-top: 16px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 48px;
  padding-top: 22px;
  font-size: 12.5px;
  opacity: .72;
}

/* ---------- Generic page (policy) ---------- */
.page-hero {
  background: var(--oxblood);
  color: var(--ivory);
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
}
.page-hero .eyebrow { color: var(--gold-light); position: relative; }
.page-hero h1 {
  position: relative;
  margin: 14px 0 0;
  font-size: clamp(40px, 6vw, 62px);
}
.page-hero .ornament { margin-top: 18px; color: var(--gold-light); }
.page-hero .ornament::before { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.page-hero .ornament::after { background: linear-gradient(90deg, var(--gold-light), transparent); }
.page-hero .ornament .diamond { border-color: var(--gold-light); }
.page-hero .ornament .diamond::after { background: var(--gold-light); }

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 28px 84px;
}
.prose .updated {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 8px;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  color: var(--oxblood);
  margin: 44px 0 10px;
}
.prose h2:first-of-type { margin-top: 12px; }
.prose h3 {
  font-size: 16px;
  letter-spacing: 0.04em;
  margin: 26px 0 6px;
  color: var(--ink);
}
.prose p, .prose li { color: #3c2e23; font-size: 16px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.callout {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-left: 3px solid var(--turmeric);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.callout strong { color: var(--oxblood); }

/* ---------- Section scaffolding ---------- */
.section { padding: 86px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(34px, 4.4vw, 50px);
  margin: 14px 0 0;
  color: var(--oxblood);
}
.section-head p { margin: 12px auto 0; max-width: 56ch; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 60px 0; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}
