/* ============================================
   GULAB CHAND KATARIA — ULTRA PREMIUM DESIGN SYSTEM
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy: #0a1628;
  --navy-deep: #060e1a;
  --navy-light: #132240;
  --charcoal: #1e2a3a;
  --charcoal-light: #2a3a4e;
  --saffron: #d4a24e;
  --saffron-light: #e8c47a;
  --saffron-dark: #b8882e;
  --white: #ffffff;
  --off-white: #f4f1ec;
  --cream: #faf8f5;
  --neutral-100: #e8e4de;
  --neutral-200: #d4cfc6;
  --neutral-300: #9e978c;
  --neutral-400: #6b6560;
  --neutral-500: #4a4540;
  --text-primary: #0a1628;
  --text-secondary: #4a4540;
  --text-light: #f4f1ec;
  --text-muted: #9e978c;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg-light: rgba(255, 255, 255, 0.85);
  --glass-border-light: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 32px 96px rgba(0, 0, 0, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1440px;
  --content-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

h5 {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

p {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.8;
}

.text-accent {
  font-family: var(--font-accent);
  font-style: italic;
}

.text-saffron {
  color: var(--saffron);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1.5px;
  background: var(--saffron);
}

.section-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--neutral-400);
  font-style: italic;
  margin-top: 16px;
  max-width: 700px;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 40px;
}

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

section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background: var(--navy);
  color: var(--text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5 {
  color: var(--white);
}

.section-dark p {
  color: var(--neutral-200);
}

.section-dark .section-label {
  color: var(--saffron-light);
}

.section-dark .section-label::before {
  background: var(--saffron-light);
}

.section-charcoal {
  background: var(--charcoal);
  color: var(--text-light);
}

.section-charcoal h1,
.section-charcoal h2,
.section-charcoal h3,
.section-charcoal h4,
.section-charcoal h5 {
  color: var(--white);
}

.section-charcoal p {
  color: var(--neutral-200);
}

.section-cream {
  background: var(--off-white);
}

/* --- Grid System --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.grid-asymmetric {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.grid-asymmetric-reverse {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

/* ============================================
   PASSWORD / LOCK PAGE
   ============================================ */
.lock-page {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lock-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(30deg, transparent 40%, rgba(212, 162, 78, 0.15) 40%, rgba(212, 162, 78, 0.15) 42%, transparent 42%),
    linear-gradient(-30deg, transparent 40%, rgba(212, 162, 78, 0.1) 40%, rgba(212, 162, 78, 0.1) 42%, transparent 42%),
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.03) 48%, rgba(255,255,255,0.03) 52%, transparent 52%);
  background-size: 80px 140px, 80px 140px, 40px 40px;
  animation: patternShift 25s linear infinite;
}

@keyframes patternShift {
  0% { transform: translateY(0); }
  100% { transform: translateY(-140px); }
}

.lock-floating-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.lock-floating-grid span {
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(212, 162, 78, 0.2), transparent);
  animation: floatLine 8s ease-in-out infinite;
}

@keyframes floatLine {
  0%, 100% { opacity: 0; transform: translateY(100vh); }
  50% { opacity: 1; transform: translateY(-20vh); }
}

.lock-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  padding: 56px 48px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

.lock-emblem {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(212, 162, 78, 0.3);
}

.lock-emblem svg {
  width: 32px;
  height: 32px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

.lock-panel h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.lock-panel .lock-subtitle {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  color: var(--neutral-300);
  font-style: italic;
  margin-bottom: 36px;
}

.lock-input-group {
  position: relative;
  margin-bottom: 24px;
}

.lock-input-group input {
  width: 100%;
  padding: 18px 56px 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.08em;
  outline: none;
  transition: var(--transition-smooth);
}

.lock-input-group input::placeholder {
  color: var(--neutral-300);
  letter-spacing: 0.04em;
}

.lock-input-group input:focus {
  border-color: var(--saffron);
  background: rgba(212, 162, 78, 0.06);
  box-shadow: 0 0 0 4px rgba(212, 162, 78, 0.1);
}

.lock-toggle-vis {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--neutral-300);
  transition: var(--transition-fast);
}

.lock-toggle-vis:hover {
  color: var(--saffron);
}

.lock-btn {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.lock-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 162, 78, 0.35);
}

.lock-btn:active {
  transform: translateY(0);
}

.lock-error {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #e85d5d;
  opacity: 0;
  transform: translateY(-8px);
  transition: var(--transition-fast);
}

.lock-error.visible {
  opacity: 1;
  transform: translateY(0);
}

.lock-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.lock-success-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lock-success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lock-success-overlay.active .lock-success-checkmark {
  transform: scale(1);
}

.lock-success-checkmark svg {
  width: 36px;
  height: 36px;
  stroke: var(--white);
  fill: none;
  stroke-width: 3;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}

.lock-success-overlay.active .lock-success-checkmark svg {
  animation: drawCheck 0.5s 0.3s forwards;
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.nav-main.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
}

.nav-main.nav-dark {
  background: transparent;
}

.nav-main.nav-dark.scrolled {
  background: rgba(10, 22, 40, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.nav-dark .nav-brand-text {
  color: var(--white);
}

.nav-main.scrolled .nav-brand-text {
  color: var(--navy);
}

.nav-main.nav-dark.scrolled .nav-brand-text {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--neutral-500);
  position: relative;
  padding: 4px 0;
}

.nav-dark .nav-links a {
  color: var(--neutral-200);
}

.nav-main.scrolled .nav-links a {
  color: var(--neutral-500);
}

.nav-main.nav-dark.scrolled .nav-links a {
  color: var(--neutral-200);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--saffron);
}

.nav-cta {
  padding: 10px 24px !important;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 162, 78, 0.3);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.nav-dark .nav-toggle span {
  background: var(--white);
}

.nav-main.scrolled .nav-toggle span {
  background: var(--navy);
}

.nav-main.nav-dark.scrolled .nav-toggle span {
  background: var(--white);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(212, 162, 78, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(10, 22, 40, 0.9) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy-deep) 0%, rgba(10, 22, 40, 0.95) 100%);
}

.hero-architectural-lines {
  position: absolute;
  inset: 0;
  opacity: 0.04;
}

.hero-architectural-lines .h-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--saffron), transparent);
}

.hero-architectural-lines .v-line {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--saffron), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 140px 40px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-text .section-label {
  color: var(--saffron-light);
}

.hero-text .section-label::before {
  background: var(--saffron-light);
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero-text h1 span {
  display: block;
  color: var(--saffron);
}

.hero-text .hero-lead {
  font-family: var(--font-accent);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  color: var(--neutral-200);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat h3 {
  font-family: var(--font-display);
  color: var(--saffron);
  font-size: 2.4rem;
  margin-bottom: 4px;
}

.hero-stat p {
  font-size: 0.8rem;
  color: var(--neutral-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-image-block {
  position: relative;
}

.hero-portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.hero-portrait img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: top center;
}

.hero-portrait-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.7), transparent);
}

.hero-portrait-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.hero-portrait-badge h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.hero-portrait-badge p {
  color: var(--neutral-200);
  font-size: 0.85rem;
}

.hero-floating-card {
  position: absolute;
  top: -20px;
  right: -40px;
  padding: 20px 28px;
  background: rgba(212, 162, 78, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 162, 78, 0.2);
  border-radius: var(--radius-md);
  z-index: 3;
}

.hero-floating-card h5 {
  color: var(--saffron);
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.hero-floating-card p {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
}

/* --- Inner Page Hero --- */
.hero-inner {
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  padding-bottom: 80px;
}

.hero-inner .hero-bg-gradient {
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(212, 162, 78, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.hero-inner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.hero-inner-content .section-label {
  color: var(--saffron-light);
}

.hero-inner-content .section-label::before {
  background: var(--saffron-light);
}

.hero-inner-content h1 {
  color: var(--white);
  max-width: 800px;
  margin-bottom: 20px;
}

.hero-inner-content .hero-lead {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: var(--neutral-200);
  font-style: italic;
  max-width: 640px;
  line-height: 1.8;
}

/* ============================================
   CARDS & GLASS PANELS
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--neutral-100);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-dark {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.card-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 162, 78, 0.2);
}

.card-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-dark));
  opacity: 0;
  transition: var(--transition-smooth);
}

.card:hover .card-accent-line {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(212, 162, 78, 0.12), rgba(212, 162, 78, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--saffron);
  fill: none;
  stroke-width: 2;
}

.card h4 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Glass Panel */
.glass-panel {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--saffron), var(--saffron), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 60px 80px 0;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 80px 60px;
}

.timeline-dot {
  position: absolute;
  right: -9px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--saffron);
  border: 4px solid var(--navy-deep);
  box-shadow: 0 0 0 4px rgba(212, 162, 78, 0.2);
  z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -9px;
  right: auto;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--saffron);
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 162, 78, 0.15);
  transform: translateY(-2px);
}

.timeline-card h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.timeline-card p {
  color: var(--neutral-300);
  font-size: 0.9rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 162, 78, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--saffron);
  color: var(--saffron);
}

.btn-outline:hover {
  background: var(--saffron);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-outline-light:hover {
  border-color: var(--saffron);
  color: var(--saffron);
  transform: translateY(-2px);
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ============================================
   IMAGE CONTAINERS
   ============================================ */
.img-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.img-frame:hover img {
  transform: scale(1.03);
}

.img-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, 0.6) 100%);
  pointer-events: none;
}

.img-stacked {
  position: relative;
}

.img-stacked .img-back {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-stacked .img-front {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--cream);
}

/* ============================================
   QUOTE / BLOCKQUOTE
   ============================================ */
.blockquote {
  position: relative;
  padding: 40px 40px 40px 60px;
  background: linear-gradient(135deg, rgba(212, 162, 78, 0.06), transparent);
  border-left: 4px solid var(--saffron);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 40px 0;
}

.blockquote::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--saffron);
  opacity: 0.3;
  line-height: 1;
}

.blockquote p {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.8;
}

.blockquote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--saffron-dark);
  font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-deep);
  color: var(--text-light);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--neutral-300);
  font-size: 0.9rem;
  max-width: 300px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin-bottom: 24px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--neutral-300);
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--saffron);
  padding-left: 4px;
}

/* Newsletter */
.footer-newsletter {
  margin-top: 8px;
}

.footer-newsletter p {
  font-size: 0.85rem;
  color: var(--neutral-300);
  margin-bottom: 16px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-fast);
}

.footer-newsletter-form input:focus {
  border-color: var(--saffron);
}

.footer-newsletter-form button {
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--saffron);
  color: var(--white);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-newsletter-form button:hover {
  background: var(--saffron-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--neutral-400);
}

.footer-bottom a {
  color: var(--saffron);
}

.footer-bottom a:hover {
  color: var(--saffron-light);
}

.footer-credit {
  font-size: 0.8rem;
  color: var(--neutral-400);
}

.footer-credit a {
  color: var(--saffron);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--saffron-dark);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2.5;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.stagger.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.stagger.revealed > *:nth-child(6) { transition-delay: 0.6s; }

.stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PARALLAX
   ============================================ */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral-400);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 16px 20px;
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(212, 162, 78, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* ============================================
   SPECIFIC COMPONENT STYLES
   ============================================ */

/* Number Counter */
.counter-block {
  text-align: center;
  padding: 40px 20px;
}

.counter-block h3 {
  font-size: 3.2rem;
  color: var(--saffron);
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.counter-block p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-300);
}

/* Horizontal Divider */
.divider {
  width: 60px;
  height: 3px;
  background: var(--saffron);
  border-radius: 2px;
  margin: 24px 0;
}

.divider-center {
  margin: 24px auto;
}

/* Tag / Label */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-saffron {
  background: rgba(212, 162, 78, 0.12);
  color: var(--saffron-dark);
}

.tag-navy {
  background: rgba(10, 22, 40, 0.08);
  color: var(--navy);
}

/* Feature List */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saffron);
  margin-top: 8px;
}

/* Longform Content */
.longform-content {
  max-width: 780px;
}

.longform-content h3 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.longform-content p {
  margin-bottom: 20px;
}

.longform-content p:first-of-type {
  font-size: 1.1rem;
  color: var(--text-primary);
}

/* ============================================
   MEDIA PAGE
   ============================================ */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.media-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.media-item:hover img {
  transform: scale(1.06);
}

.media-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.media-item:hover .media-item-overlay {
  opacity: 1;
}

.media-item-overlay p {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .hero-content {
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  section {
    padding: 80px 0;
  }
  .container, .container-wide {
    padding: 0 28px;
  }
  .nav-inner {
    padding: 0 28px;
  }
  .grid-asymmetric,
  .grid-asymmetric-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content {
    grid-template-columns: 1fr;
    padding: 160px 28px 60px;
    text-align: center;
  }
  .hero-text .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-image-block {
    max-width: 480px;
    margin: 0 auto;
  }
  .hero-floating-card {
    right: 0;
  }
  .hero-portrait img {
    height: 480px;
  }
  .timeline::before {
    left: 24px;
  }
  .timeline-item {
    width: 100%;
    padding: 0 0 60px 64px;
  }
  .timeline-item:nth-child(even) {
    margin-left: 0;
    padding: 0 0 60px 64px;
  }
  .timeline-dot {
    left: 15px;
    right: auto;
  }
  .timeline-item:nth-child(even) .timeline-dot {
    left: 15px;
  }
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
  .container, .container-wide {
    padding: 0 20px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  }
  .nav-dark .nav-links {
    background: var(--navy);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a {
    font-size: 1rem;
  }
  .nav-dark .nav-links a {
    color: var(--neutral-200);
  }
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .hero-portrait img {
    height: 400px;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-inner {
    min-height: 50vh;
  }
  .lock-panel {
    margin: 20px;
    padding: 40px 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
  .footer-newsletter-form {
    flex-direction: column;
  }
}
