/* Shared theme for the v2 pages (about2, contact2, favorites2 …) */
:root {
  --bg-1: #0b0d12;
  --bg-2: #14171f;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --text: #ecedf0;
  --text-dim: #9ba0aa;
  --text-mute: #6b7280;
  --accent: #d4a373;
  --accent-2: #f5cba7;
  --nav-bg: rgba(11,13,18,0.65);
  --hero-glow-1: rgba(212,163,115,0.18);
  --hero-glow-2: rgba(212,163,115,0.08);
  --kashmiri-font: 'Noto Nastaliq Urdu', serif;
  --general-font: 'Playfair Display', serif;
  --serif: 'Playfair Display', serif;
  --sans: 'Inter', system-ui, sans-serif;
  --shadow-md: 0 10px 30px -10px rgba(0,0,0,0.5);
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,0.6);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg-1: #f7f4ee;
  --bg-2: #ffffff;
  --surface: rgba(0,0,0,0.04);
  --surface-2: rgba(0,0,0,0.07);
  --border: rgba(0,0,0,0.10);
  --text: #1a1c22;
  --text-dim: #4b5360;
  --text-mute: #7a818c;
  --accent: #b06a2d;
  --accent-2: #8c4f1c;
  --nav-bg: rgba(247,244,238,0.78);
  --hero-glow-1: rgba(176,106,45,0.16);
  --hero-glow-2: rgba(176,106,45,0.06);
  --shadow-md: 0 10px 30px -10px rgba(60,40,20,0.14);
  --shadow-lg: 0 30px 80px -20px rgba(60,40,20,0.18);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg-1); color: var(--text); font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--hero-glow-1), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, var(--hero-glow-2), transparent 60%),
    var(--bg-1);
  min-height: 100vh; overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}
a { color: inherit; }

.theme-toggle {
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  font-size: 14px; transition: all 0.2s; margin-left: 6px;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0.3px; color: var(--text); text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #1a1a1a; font-weight: 800;
  box-shadow: 0 6px 18px -4px rgba(212,163,115,0.6);
}
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; padding: 8px 14px; border-radius: 8px; font-size: 14px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--accent); background: var(--surface); }

/* ---------- page shell ---------- */
.page {
  max-width: 980px; margin: 0 auto; padding: 80px 28px 60px;
}
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 12px; color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 24px;
}
.page-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.page h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(36px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page h1 em { font-style: italic; color: var(--accent-2); }
.page-lede {
  color: var(--text-dim); font-size: 18px; max-width: 760px; line-height: 1.7;
  margin-bottom: 40px;
}

/* ---------- card ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--border); border-radius: 18px;
  padding: 28px; margin-bottom: 22px;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: rgba(212,163,115,0.25); }
.card h2 {
  font-family: var(--serif); font-weight: 600; font-size: 24px; margin-bottom: 14px;
  color: var(--text);
}
.card h3 {
  font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent);
  margin: 20px 0 10px;
}
.card p {
  color: var(--text-dim); line-height: 1.75; font-size: 16px; margin-bottom: 14px;
}
.card ul { margin: 10px 0 16px 22px; }
.card li { color: var(--text-dim); margin-bottom: 8px; line-height: 1.65; }

/* ---------- contact grid ---------- */
.people {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px; margin-top: 12px;
}
.person {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px; transition: all 0.2s;
}
.person:hover { border-color: rgba(212,163,115,0.4); transform: translateY(-2px); }
.person .role {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.person .name {
  font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 12px; color: var(--text);
}
.person a { color: var(--text-dim); text-decoration: none; display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.person a:hover { color: var(--accent); }
.person i { color: var(--accent); width: 16px; }

/* ---------- empty state ---------- */
.empty {
  text-align: center; padding: 80px 20px; color: var(--text-mute);
  border: 1px dashed var(--border); border-radius: 18px;
}
.empty i { font-size: 48px; color: var(--accent); opacity: 0.4; margin-bottom: 18px; }
.empty h3 { font-family: var(--serif); font-size: 22px; color: var(--text); margin-bottom: 8px; letter-spacing: 0; text-transform: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 12px 22px; border-radius: 10px; border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1a1a; font-weight: 700; font-size: 14px; text-decoration: none;
  transition: transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text-dim); border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- footer ---------- */
footer {
  max-width: 1280px; margin: 60px auto 0; padding: 40px 28px; border-top: 1px solid var(--border);
  text-align: center; color: var(--text-mute); font-size: 13px;
}
footer a { color: var(--text-dim); text-decoration: none; margin: 0 10px; }
footer a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .page { padding-top: 48px; }
}
