/* ===================================
   BAKUL NATH — Website Stylesheet
   Editorial + Institutional Design
   =================================== */

/* --- CSS Variables --- */
:root {
  --color-white: #ffffff;
  --color-offwhite: #f8f7f4;
  --color-light-grey: #edecea;
  --color-mid-grey: #b5b3ae;
  --color-dark-grey: #4a4a48;
  --color-charcoal: #2c2c2b;
  --color-deep-blue: #1a2e44;
  --color-blue-accent: #2a4a6b;
  --color-gold: #c5a55a;
  --color-gold-light: #d4bc7e;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--color-charcoal);
  background-color: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-deep-blue);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  font-size: 1.05rem;
  color: var(--color-dark-grey);
  max-width: 680px;
}

.text-serif {
  font-family: var(--font-serif);
}

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

.text-center {
  text-align: center;
}

/* --- Password Screen --- */
.password-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.password-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.password-container {
  text-align: center;
  max-width: 400px;
  padding: 2rem;
}

.password-container .lock-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 2rem;
  opacity: 0.3;
}

.password-container h2 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-mid-grey);
  margin-bottom: 2.5rem;
}

.password-field {
  position: relative;
  margin-bottom: 1.5rem;
}

.password-field input {
  width: 100%;
  padding: 1rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.15em;
  border: 1px solid var(--color-light-grey);
  border-radius: 4px;
  background: transparent;
  color: var(--color-charcoal);
  text-align: center;
  outline: none;
  transition: border-color var(--transition-smooth);
}

.password-field input:focus {
  border-color: var(--color-deep-blue);
}

.password-field input.error {
  border-color: #c0392b;
  animation: shake 0.4s ease;
}

.password-submit {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--color-deep-blue);
  color: var(--color-white);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background var(--transition-smooth);
}

.password-submit:hover {
  background: var(--color-blue-accent);
}

.password-error-text {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #c0392b;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.password-error-text.visible {
  opacity: 1;
}

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

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-smooth);
}

.site-nav.scrolled {
  padding: 0.8rem 3rem;
  border-bottom-color: var(--color-light-grey);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-deep-blue);
  letter-spacing: 0.02em;
}

.nav-logo span {
  font-weight: 300;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark-grey);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-deep-blue);
  transition: width var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-deep-blue);
}

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

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-charcoal);
  transition: all 0.3s ease;
}

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

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

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

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(26, 46, 68, 0.85) 0%,
    rgba(26, 46, 68, 0.6) 40%,
    rgba(26, 46, 68, 0.2) 70%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 6%;
  max-width: 700px;
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  transition: all var(--transition-smooth);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-smooth);
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Page Hero (Inner Pages) --- */
.page-hero {
  padding: 10rem 6% 5rem;
  background: var(--color-offwhite);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--color-light-grey);
}

.page-hero-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-mid-grey);
  max-width: 600px;
}

/* --- Sections --- */
.section {
  padding: 6rem 6%;
}

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

.section-dark {
  background: var(--color-deep-blue);
  color: var(--color-white);
}

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

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
}

.section h2 {
  margin-bottom: 1.5rem;
}

.section-line {
  width: 50px;
  height: 2px;
  background: var(--color-gold);
  margin-bottom: 2rem;
}

/* --- Layout Containers --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

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

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

/* --- Intro Section (Homepage) --- */
.intro-section {
  padding: 7rem 6%;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.intro-image {
  position: relative;
}

.intro-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.intro-image::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 80px;
  height: 80px;
  border-top: 2px solid var(--color-gold);
  border-left: 2px solid var(--color-gold);
  opacity: 0.5;
}

.intro-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* --- Highlights Section --- */
.highlights {
  padding: 5rem 6%;
  background: var(--color-offwhite);
}

.highlight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.highlight-card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  border: 1px solid var(--color-light-grey);
  transition: all var(--transition-smooth);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: var(--color-gold-light);
}

.highlight-card .card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  color: var(--color-deep-blue);
}

.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

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

/* --- Quote Section --- */
.quote-section {
  padding: 6rem 6%;
  background: var(--color-deep-blue);
  text-align: center;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--color-gold);
  line-height: 1;
  opacity: 0.4;
  margin-bottom: 1rem;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.quote-author {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

/* --- CTA Section --- */
.cta-section {
  padding: 5rem 6%;
  text-align: center;
  background: var(--color-offwhite);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-deep-blue);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.cta-btn:hover {
  background: var(--color-blue-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 46, 68, 0.3);
}

.cta-btn svg {
  width: 16px;
  height: 16px;
}

/* --- Content Sections (Bio, etc.) --- */
.content-section {
  padding: 5rem 6%;
}

.content-block {
  max-width: 780px;
  margin: 0 auto;
}

.content-block h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.content-block p {
  margin-bottom: 1.2rem;
  max-width: 100%;
}

.content-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: start;
}

.sidebar {
  background: var(--color-offwhite);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--color-light-grey);
  position: sticky;
  top: 100px;
}

.sidebar h4 {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.sidebar-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-light-grey);
}

.sidebar-item:last-child {
  border-bottom: none;
}

.sidebar-item .label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-mid-grey);
  margin-bottom: 0.3rem;
}

.sidebar-item .value {
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 40px;
  margin: 3rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  width: 1px;
  height: 100%;
  background: var(--color-light-grey);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-gold);
}

.timeline-item .year {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}

.timeline-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

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

/* --- Pillar Cards --- */
.pillar-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.pillar-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 4px;
  border: 1px solid var(--color-light-grey);
  transition: all var(--transition-smooth);
}

.pillar-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.pillar-card .card-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-light-grey);
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.pillar-card p {
  font-size: 0.95rem;
}

/* --- Media Grid --- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.media-card {
  background: var(--color-white);
  border: 1px solid var(--color-light-grey);
  border-radius: 4px;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.media-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.media-card-content {
  padding: 1.8rem;
}

.media-card .media-source {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.6rem;
}

.media-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.media-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Gallery --- */
.gallery-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--color-light-grey);
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  color: var(--color-dark-grey);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-deep-blue);
  color: var(--color-white);
  border-color: var(--color-deep-blue);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(26, 46, 68, 0.8));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

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

.gallery-item-overlay span {
  font-size: 0.85rem;
  color: var(--color-white);
}

/* Featured gallery item */
.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark-grey);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid var(--color-light-grey);
  border-radius: 3px;
  background: var(--color-white);
  color: var(--color-charcoal);
  outline: none;
  transition: border-color var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-deep-blue);
}

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

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-deep-blue);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.form-submit:hover {
  background: var(--color-blue-accent);
}

.contact-info {
  padding: 2.5rem;
  background: var(--color-offwhite);
  border-radius: 4px;
  border: 1px solid var(--color-light-grey);
}

.contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail .detail-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-mid-grey);
  margin-bottom: 0.2rem;
}

.contact-detail .detail-value {
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

.contact-detail .detail-value a:hover {
  color: var(--color-deep-blue);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-light-grey);
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-light-grey);
  border-radius: 50%;
  color: var(--color-dark-grey);
  transition: all var(--transition-smooth);
}

.social-links a:hover {
  background: var(--color-deep-blue);
  color: var(--color-white);
  border-color: var(--color-deep-blue);
}

.social-links a svg {
  width: 18px;
  height: 18px;
}

/* --- Footer --- */
.site-footer {
  padding: 3rem 6%;
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-credit a {
  color: var(--color-gold-light);
  transition: color var(--transition-smooth);
}

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

.footer-contact {
  text-align: right;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-smooth);
}

.footer-social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer-social a svg {
  width: 14px;
  height: 14px;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .highlight-cards { grid-template-columns: repeat(2, 1fr); }
  .content-sidebar-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .pillar-cards { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.featured { grid-column: span 1; grid-row: span 1; aspect-ratio: 4/3; }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .page-hero {
    padding: 8rem 1.5rem 3rem;
  }

  .content-section {
    padding: 3rem 1.5rem;
  }

  .highlight-cards { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }
}
