/* ============================================================
   SHAKTIKANTA DAS — MASTER DESIGN SYSTEM
   Premium Editorial Website
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary palette */
  --navy: #0a1628;
  --navy-light: #0f1f3a;
  --navy-mid: #142744;
  --charcoal: #1e2a3a;
  --charcoal-light: #2a3a4e;
  --slate: #3d5066;
  --ivory: #f5f0e8;
  --ivory-light: #faf7f2;
  --ivory-dark: #e8e0d4;
  --gold: #c9a94e;
  --gold-light: #dcc06a;
  --gold-dark: #a88a30;
  --gold-muted: rgba(201, 169, 78, 0.15);

  /* Text colors */
  --text-dark: #0a1628;
  --text-body: #2c3e50;
  --text-muted: #5a6f85;
  --text-light: #f5f0e8;
  --text-light-muted: rgba(245, 240, 232, 0.65);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --section-pad: 120px;
  --container-width: 1280px;
  --container-narrow: 900px;

  /* Animation */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.3s var(--ease-out);
  --transition-med: 0.5s var(--ease-out);
  --transition-slow: 0.8s var(--ease-out);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
  --shadow-gold: 0 4px 20px rgba(201, 169, 78, 0.2);
}

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

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

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

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

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
}

.display-sm {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

h1, h2, h3, h4 { font-family: var(--font-display); }

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

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

.accent-text {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--section-pad) 0;
}

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

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

.section--ivory {
  background: var(--ivory);
}

.section--gold-accent {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--text-light);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 60px);
  transition: var(--transition-med);
  background: transparent;
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

.nav__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 0.02em;
}

.nav__logo span {
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(245, 240, 232, 0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition-fast);
}

.nav__link:hover,
.nav__link.active {
  color: var(--gold);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  z-index: 1001;
}

.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--ivory);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.95) 0%,
    rgba(10, 22, 40, 0.6) 40%,
    rgba(10, 22, 40, 0.3) 70%,
    rgba(10, 22, 40, 0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: 0 clamp(20px, 4vw, 60px) 80px;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.hero__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero__tag::before {
  content: '';
  width: 50px;
  height: 2px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  color: var(--ivory);
  line-height: 1.02;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  color: rgba(245, 240, 232, 0.7);
  font-weight: 400;
  font-style: italic;
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero__stats {
  display: flex;
  gap: 50px;
  margin-top: 30px;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  transition: var(--transition-fast);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

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

.btn--outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn--dark {
  background: var(--navy);
  color: var(--ivory);
}

.btn--dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  transition: var(--transition-med);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__body {
  padding: 28px 30px;
}

.card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- Editorial Section ---------- */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

.editorial--reverse { direction: rtl; }
.editorial--reverse > * { direction: ltr; }

.editorial__image {
  position: relative;
  overflow: hidden;
}

.editorial__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: var(--transition-slow);
}

.editorial__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px);
}

.editorial__content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 20px;
  line-height: 1.15;
}

.editorial__content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.editorial__content .section--dark p,
.section--dark .editorial__content p {
  color: var(--text-light-muted);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
}

.timeline__item {
  position: relative;
  padding-bottom: 50px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -48px; top: 6px;
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--ivory-light);
  z-index: 1;
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.timeline__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.timeline__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ---------- Stats Grid ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-box {
  padding: 50px 40px;
  text-align: center;
  border-right: 1px solid rgba(245, 240, 232, 0.08);
  transition: var(--transition-fast);
}

.stat-box:last-child { border-right: none; }

.stat-box:hover {
  background: rgba(201, 169, 78, 0.06);
}

.stat-box__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-box__label {
  font-size: 0.82rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Quote Block ---------- */
.quote-block {
  position: relative;
  padding: 50px 60px;
  background: var(--gold-muted);
  border-left: 4px solid var(--gold);
}

.quote-block__text {
  font-family: var(--font-accent);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.55;
  margin-bottom: 20px;
}

.quote-block__author {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section--dark .quote-block {
  background: rgba(201, 169, 78, 0.08);
}

.section--dark .quote-block__text {
  color: var(--ivory);
}

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item--wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item--tall { grid-row: span 2; aspect-ratio: 1/2; }

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-fast);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__caption {
  font-size: 0.85rem;
  color: var(--ivory);
  font-weight: 500;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 22, 40, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox__close {
  position: absolute;
  top: 30px; right: 30px;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ivory);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox__close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

/* ---------- Contact Form ---------- */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--ivory-dark);
  background: #fff;
  color: var(--text-dark);
  transition: var(--transition-fast);
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}

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

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: var(--text-light);
  padding: 70px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.footer__brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: 14px;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer__link {
  display: block;
  font-size: 0.88rem;
  color: var(--text-light-muted);
  margin-bottom: 10px;
  transition: var(--transition-fast);
}

.footer__link:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer__social {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.footer__social a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 240, 232, 0.15);
  color: var(--text-light-muted);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.footer__bottom {
  margin-top: 50px;
  padding: 24px 0;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  text-align: center;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__credit {
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

.footer__credit a {
  color: var(--gold);
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer__credit a:hover {
  color: var(--gold-light);
}

.footer__contact-info {
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.3;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--navy) 0%, rgba(10, 22, 40, 0.5) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 4vw, 60px) 60px;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.page-hero__content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--ivory);
  line-height: 1.05;
  margin-bottom: 12px;
}

.page-hero__content p {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--text-light-muted);
  font-style: italic;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ---------- Misc Utilities ---------- */
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 24px;
}

.text-gold { color: var(--gold); }
.text-ivory { color: var(--ivory); }
.text-muted { color: var(--text-muted); }
.bg-navy { background: var(--navy); }
.bg-ivory { background: var(--ivory); }

.separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--ivory-dark), transparent);
  margin: 0;
}

.separator--dark {
  background: linear-gradient(to right, transparent, rgba(245,240,232,0.08), transparent);
}

/* ---------- Gate Page ---------- */
.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.gate__pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 169, 78, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 169, 78, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(20, 39, 68, 0.5) 0%, transparent 50%);
}

.gate__lines {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--gold) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 80px 80px;
}

.gate__card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 50px;
  max-width: 440px;
  width: 90%;
}

.gate__emblem {
  width: 70px;
  height: 70px;
  margin: 0 auto 30px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: emblempulse 3s infinite ease-in-out;
}

.gate__emblem svg {
  width: 30px;
  height: 30px;
  fill: var(--gold);
}

@keyframes emblempulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 78, 0.3); }
  50% { box-shadow: 0 0 0 15px rgba(201, 169, 78, 0); }
}

.gate__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ivory);
  margin-bottom: 8px;
  font-weight: 700;
}

.gate__subtitle {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--text-light-muted);
  font-style: italic;
  margin-bottom: 40px;
}

.gate__input-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.gate__input {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-align: center;
  background: rgba(245, 240, 232, 0.06);
  border: 1.5px solid rgba(201, 169, 78, 0.3);
  color: var(--ivory);
  transition: var(--transition-fast);
  border-radius: 0;
}

.gate__input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245, 240, 232, 0.1);
  box-shadow: 0 0 0 4px rgba(201, 169, 78, 0.1);
}

.gate__input::placeholder {
  color: var(--text-light-muted);
  letter-spacing: 0.1em;
}

.gate__submit {
  width: 100%;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.gate__submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.gate__error {
  font-size: 0.82rem;
  color: #e74c3c;
  margin-top: 16px;
  opacity: 0;
  transition: var(--transition-fast);
}

.gate__error.show {
  opacity: 1;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.shake { animation: shake 0.5s ease; }

/* ---------- RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

  .nav__links { gap: 20px; }

  .editorial {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .editorial__image { min-height: 400px; }

  .editorial--reverse { direction: ltr; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box {
    border-bottom: 1px solid rgba(245, 240, 232, 0.08);
  }

  .stat-box:nth-child(2n) { border-right: none; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero__stats { gap: 30px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 20px;
    transition: var(--transition-med);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .nav__links.open { right: 0; }

  .nav__link { font-size: 0.95rem; }

  .hero__title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero__stat-value { font-size: 2rem; }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-box { padding: 30px 20px; }
  .stat-box__number { font-size: 2.2rem; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .quote-block {
    padding: 30px;
  }

  .timeline { padding-left: 40px; }
  .timeline__item::before { left: -28px; }
  .timeline::before { left: 8px; }

  .page-hero { min-height: 45vh; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero__stats { flex-direction: column; gap: 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-box { border-right: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gate__card { padding: 40px 24px; }
}
