*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE7DB;
  --ink: #1A1814;
  --ink-light: #2E2A24;
  --ink-muted: #6B6560;
  --brass: #C8A55C;
  --brass-light: #D4B876;
  --brass-dark: #A8884A;
  --brass-glow: rgba(200, 165, 92, 0.15);
  --green: #3A7D5C;
  --green-light: #E8F2EC;
  --red: #C45B4A;
  --red-light: #FAEDEB;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-urdu: 'Noto Nastaliq Urdu', serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── Utility ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.brass-line {
  width: 48px; height: 1px;
  background: var(--brass);
  display: block;
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding 0.4s ease, background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
nav.scrolled {
  padding: 12px 0;
  background: rgba(245, 240, 232, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: rgba(26, 24, 20, 0.06);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}
.logo-en {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.logo-ur {
  font-family: var(--font-urdu);
  font-size: 1.1rem;
  color: var(--brass);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--brass);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
  border-radius: 2px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--ink);
  color: var(--cream) !important;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s;
  text-decoration: none;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--ink-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(26, 24, 20, 0.15); }
.nav-cta:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }

.mobile-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.mobile-toggle span {
  width: 20px; height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: clamp(12px, 2vw, 16px) clamp(24px, 3vw, 32px);
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  min-height: 52px;
}
.btn-primary:hover {
  background: var(--ink-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 24, 20, 0.15);
}
.btn-primary:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(12px, 2vw, 16px) clamp(20px, 2.5vw, 24px);
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(26, 24, 20, 0.15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  min-height: 52px;
}
.btn-secondary:hover {
  border-color: var(--brass);
  color: var(--brass-dark);
}
.btn-secondary:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }

/* ── Footer ── */
footer {
  padding: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 40px);
  border-top: 1px solid rgba(26, 24, 20, 0.08);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: clamp(32px, 4vw, 48px);
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 40px);
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  max-width: 280px;
  margin-top: 12px;
  line-height: 1.6;
  font-weight: 300;
}
.footer-links {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
}
.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.3s;
  font-weight: 300;
}
.footer-col a:hover { color: var(--brass-dark); }
.footer-col a:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 2px; }
.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--ink-muted);
  border: 1px solid rgba(26, 24, 20, 0.08);
  transition: all 0.3s;
}
.footer-socials a:hover {
  color: var(--brass);
  border-color: var(--ink);
  background: var(--ink);
}
.footer-socials a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
  border-radius: 8px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 24, 20, 0.06);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .footer-top { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 32px; }
  .footer-socials a { width: 44px; height: 44px; }
}
