/* ==========================================================================
   Sumatinatha Bhagwan — Premium Heritage Experience
   Designed & Managed by Creaa Designs
   ========================================================================== */

:root {
  --ivory: #FAF6EE;
  --ivory-soft: #F3ECDC;
  --sand: #E8DAB6;
  --sand-dark: #C9B280;
  --gold: #B8923A;
  --gold-bright: #D4AC56;
  --gold-deep: #8C6A1D;
  --charcoal: #1B1612;
  --charcoal-soft: #2A231B;
  --ink: #3A3025;
  --muted: #7A6A55;
  --line: rgba(27, 22, 18, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 6px 24px rgba(27, 22, 18, 0.06);
  --shadow-md: 0 18px 60px rgba(27, 22, 18, 0.10);
  --shadow-lg: 0 30px 90px rgba(27, 22, 18, 0.18);

  --display: "Cormorant Garamond", "Playfair Display", "Times New Roman", serif;
  --sans: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(80px, 10vw, 160px);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.42, 0, 0.18, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color 0.4s var(--ease); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--gold); color: #fff; }

/* ===========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.8rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h4 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

p { font-size: clamp(0.98rem, 1.05vw, 1.08rem); color: var(--ink); }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--charcoal-soft); font-weight: 300; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.script {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-deep);
}

/* ===========================================================================
   Layout
   ========================================================================== */

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

.container-wide { max-width: 1560px; }
.container-narrow { max-width: 920px; }

section { position: relative; }

.section-pad { padding: var(--section) 0; }
.section-pad-sm { padding: clamp(60px, 7vw, 100px) 0; }

.divider-gold {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}

.divider-gold.center { margin-inline: auto; }

/* ===========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--ivory);
  border: 1px solid var(--charcoal);
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}

.btn-ghost:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

.btn-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(10px);
}

.btn-light:hover {
  background: var(--ivory);
  color: var(--charcoal);
  border-color: var(--ivory);
}

.btn .arrow { font-size: 14px; transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(6px); }

/* ===========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s var(--ease);
  color: #fff;
}

.site-header.solid {
  background: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--charcoal);
  padding: 14px var(--gutter);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: inherit;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-style: italic;
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 2px;
}

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

.nav a {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid currentColor;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: all 0.4s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 24px; width: 14px; }

.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { top: 21px; transform: rotate(-45deg); width: 20px; }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--charcoal);
    color: var(--ivory);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.6s var(--ease);
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 18px; letter-spacing: 0.16em; color: var(--ivory); }
  .site-header.solid .nav-toggle { color: var(--charcoal); }
}

/* ===========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.02);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.10); }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(0,0,0,0.20) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.05) 35%, rgba(27,22,18,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(140px, 18vh, 200px) var(--gutter) clamp(120px, 14vh, 180px);
  max-width: var(--container);
  margin: 0 auto;
}

.hero-content .eyebrow { color: var(--sand-dark); }
.hero-content .eyebrow::before { background: var(--sand-dark); }

.hero h1 {
  color: #fff;
  margin: 24px 0 18px;
  max-width: 14ch;
}

.hero h1 .accent {
  display: block;
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 300;
}

.hero p {
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
  font-size: 1.15rem;
  font-weight: 300;
}

.hero-cta { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  z-index: 2;
  text-align: right;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-meta .vertical-line {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.4);
}

@media (max-width: 1100px) { .hero-meta { display: none; } }
@media (max-width: 900px) { .scroll-indicator { display: none; } }

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-indicator::after {
  content: "";
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); }
}

/* Page Hero (smaller) */
.page-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  overflow: hidden;
  padding-top: 140px;
}

.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,22,18,0.55) 0%, rgba(27,22,18,0.35) 50%, rgba(27,22,18,0.85) 100%);
}

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

.page-hero h1 { color: #fff; margin: 22px 0 16px; max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 56ch; font-weight: 300; font-size: 1.1rem; }

/* ===========================================================================
   Highlight Strip
   ========================================================================== */

.highlight-strip {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.highlight-item {
  padding: 48px 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.5s var(--ease);
}

.highlight-item:last-child { border-right: none; }
.highlight-item:hover { background: rgba(212,172,86,0.06); }

.highlight-item .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
}

.highlight-item h4 {
  font-family: var(--display);
  font-size: 24px;
  color: var(--ivory);
  margin: 4px 0;
  font-weight: 400;
}

.highlight-item p {
  font-size: 13px;
  color: rgba(250,246,238,0.6);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .highlight-grid { grid-template-columns: repeat(2,1fr); }
  .highlight-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .highlight-item:nth-child(2n) { border-right: none; }
}

@media (max-width: 480px) {
  .highlight-grid { grid-template-columns: 1fr; }
  .highlight-item { border-right: none; }
}

/* ===========================================================================
   Cinematic split sections
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
}

.split.alt { grid-template-columns: 1fr 1fr; }

.split-media {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.split-media:hover img { transform: scale(1.04); }

.split-text {
  padding: clamp(60px, 8vw, 120px) clamp(40px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ivory);
}

.split-text.dark { background: var(--charcoal); color: var(--ivory); }
.split-text.dark h2 { color: #fff; }
.split-text.dark p { color: rgba(255,255,255,0.78); }

.split-text.sand { background: var(--ivory-soft); }

.split-text h2 { margin-bottom: 24px; }
.split-text p + p { margin-top: 18px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 380px; }
  .split.reverse > .split-media { order: -1; }
}

/* ===========================================================================
   Feature cards
   ========================================================================== */

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(60px, 8vw, 100px);
}

.section-head h2 { margin: 18px 0 22px; }
.section-head p { color: var(--muted); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  padding: clamp(36px, 4vw, 56px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  transition: background 0.5s var(--ease);
  position: relative;
}

.card:hover { background: #fff; }

.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  margin-bottom: 28px;
  transition: all 0.5s var(--ease);
}

.card:hover .icon { background: var(--gold); color: #fff; transform: rotate(-12deg); }

.card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 0.98rem; }

.card .num-badge {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.06em;
}

@media (max-width: 900px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards-grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   Editorial / quote
   ========================================================================== */

.editorial {
  background: var(--ivory-soft);
  padding: var(--section) 0;
  text-align: center;
}

.editorial blockquote {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.4;
  color: var(--charcoal);
}

.editorial blockquote::before {
  content: "“";
  display: block;
  font-size: 6rem;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 20px;
}

.editorial cite {
  display: block;
  margin-top: 32px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ===========================================================================
   Timeline
   ========================================================================== */

.timeline {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 30px 60px;
  margin-bottom: 40px;
}

.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

.timeline-item::before {
  content: "";
  position: absolute;
  top: 44px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--gold);
}

.timeline-item:nth-child(odd)::before { right: -7px; }
.timeline-item:nth-child(even)::before { left: -7px; }

.timeline-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}

.timeline-item h3 { margin: 8px 0 14px; }

@media (max-width: 768px) {
  .timeline::before { left: 18px; }
  .timeline-item, .timeline-item:nth-child(even), .timeline-item:nth-child(odd) {
    width: 100%; left: 0; padding: 12px 0 12px 50px; text-align: left; margin-bottom: 30px;
  }
  .timeline-item::before { left: 11px !important; right: auto !important; }
}

/* ===========================================================================
   Iconography / symbol section
   ========================================================================== */

.symbol-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.symbol-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ivory-soft);
}

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

.symbol-frame::after {
  content: "";
  position: absolute; inset: 16px;
  border: 1px solid rgba(255,255,255,0.4);
  pointer-events: none;
}

.fact-list {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.fact-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.fact-list li:last-child { border-bottom: 1px solid var(--line); }

.fact-list .label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  padding-top: 4px;
}

.fact-list .value {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--charcoal);
}

.fact-list .value small {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .symbol-grid { grid-template-columns: 1fr; }
  .fact-list li { grid-template-columns: 1fr; gap: 6px; }
}

/* ===========================================================================
   Gallery
   ========================================================================== */

.gallery {
  columns: 3;
  column-gap: 14px;
  padding: 0 var(--gutter);
}

@media (max-width: 1024px) { .gallery { columns: 2; } }
@media (max-width: 600px) { .gallery { columns: 1; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: var(--ivory-soft);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.9s var(--ease);
}

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

.gallery-item::after {
  content: "+";
  position: absolute;
  bottom: 18px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(27,22,18,0.85);
  color: #fff;
  display: grid; place-items: center;
  font-size: 22px;
  font-weight: 200;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 11, 8, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 60px 30px;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 22px;
  font-weight: 200;
}

.lightbox-close:hover { background: var(--gold); border-color: var(--gold); }

/* ===========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
}

.contact-info {
  background: var(--charcoal);
  color: var(--ivory);
  padding: clamp(60px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 600px;
}

.contact-info h2 { color: #fff; }
.contact-info .lead { color: rgba(255,255,255,0.75); }

.contact-block { margin-top: 40px; display: grid; gap: 28px; }

.contact-block .item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.contact-block .label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding-top: 4px;
}

.contact-block .value {
  font-family: var(--display);
  font-size: 1.25rem;
  color: #fff;
}

.contact-block a:hover { color: var(--gold-bright); }

.contact-form {
  background: var(--ivory);
  padding: clamp(60px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.form-group { margin-bottom: 28px; }

.form-group label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.4s var(--ease);
}

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

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

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ===========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #0F0B07;
  color: rgba(250,246,238,0.72);
  padding: clamp(70px, 8vw, 110px) 0 36px;
  border-top: 1px solid rgba(212,172,86,0.18);
}

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

.footer-brand .brand { color: var(--ivory); margin-bottom: 22px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 36ch; }

.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 22px;
  font-weight: 500;
}

.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col a:hover { color: var(--gold-bright); }

.socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.4s var(--ease);
}

.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-3px); }

.socials svg { width: 14px; height: 14px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}

.footer-bottom a { color: var(--gold-bright); font-weight: 500; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   Reveal animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

/* ===========================================================================
   PASSWORD GATE
   ========================================================================== */

.gate {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  z-index: 5000;
}

.gate-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gate-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  opacity: 0.35;
  filter: saturate(0.9) contrast(1.05);
}

.gate-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(15,11,7,0.7) 70%, rgba(15,11,7,0.95) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.5));
}

/* Soft sacred rays */
.rays {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}

.rays::before, .rays::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 200vmax; height: 200vmax;
  transform: translate(-50%, -50%);
  background:
    conic-gradient(
      from 0deg,
      rgba(212,172,86,0.10) 0deg,
      transparent 12deg,
      transparent 36deg,
      rgba(212,172,86,0.06) 48deg,
      transparent 60deg,
      transparent 90deg,
      rgba(212,172,86,0.08) 102deg,
      transparent 120deg,
      transparent 150deg,
      rgba(212,172,86,0.10) 162deg,
      transparent 180deg,
      transparent 210deg,
      rgba(212,172,86,0.06) 222deg,
      transparent 240deg,
      transparent 280deg,
      rgba(212,172,86,0.10) 292deg,
      transparent 320deg,
      transparent 360deg
    );
  animation: rotate 80s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.6;
}

.rays::after {
  animation-duration: 120s;
  animation-direction: reverse;
  opacity: 0.3;
}

@keyframes rotate {
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

/* particles */
.particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold-bright);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp linear infinite;
  box-shadow: 0 0 8px rgba(212,172,86,0.7);
}

@keyframes floatUp {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  20% { opacity: 0.9; }
  100% { transform: translateY(-100vh) scale(1.4); opacity: 0; }
}

.gate-card {
  position: relative;
  z-index: 5;
  width: min(560px, 92vw);
  padding: clamp(48px, 6vw, 72px);
  background: rgba(20, 16, 11, 0.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(212,172,86,0.25);
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.03);
}

.gate-symbol {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(212,172,86,0.5);
  display: grid; place-items: center;
  margin: 0 auto 28px;
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  color: var(--gold-bright);
  position: relative;
}

.gate-symbol::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(212,172,86,0.18);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.18); opacity: 0; }
}

.gate-card .eyebrow { justify-content: center; color: var(--gold-bright); margin-bottom: 14px; }
.gate-card .eyebrow::before, .gate-card .eyebrow::after { background: var(--gold-bright); }
.gate-card .eyebrow::after { content: ""; width: 36px; height: 1px; }

.gate-card h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 14px;
}

.gate-card .subtle {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  max-width: 38ch;
  margin: 0 auto 38px;
  line-height: 1.6;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gate-input-wrap {
  position: relative;
}

.gate-form input {
  width: 100%;
  padding: 18px 60px 18px 22px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-align: center;
  font-family: var(--sans);
  outline: none;
  transition: all 0.4s var(--ease);
}

.gate-form input::placeholder {
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.3em;
  font-size: 12px;
  text-transform: uppercase;
}

.gate-form input:focus {
  border-color: var(--gold-bright);
  background: rgba(0,0,0,0.5);
  box-shadow: 0 0 0 4px rgba(212,172,86,0.08);
}

.gate-toggle {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gate-toggle:hover { color: var(--gold-bright); }

.gate-form button[type=submit] {
  padding: 18px;
  background: var(--gold);
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.5s var(--ease);
  border: 1px solid var(--gold);
}

.gate-form button[type=submit]:hover {
  background: transparent;
  color: var(--gold-bright);
  letter-spacing: 0.4em;
}

.gate-error {
  font-size: 12.5px;
  color: #E89A7A;
  letter-spacing: 0.12em;
  min-height: 18px;
  font-family: var(--sans);
  font-style: italic;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.gate-error.show { opacity: 1; }

.gate-foot {
  margin-top: 38px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.gate-foot a { color: var(--gold-bright); }

.shake { animation: shake 0.45s var(--ease); }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* Page transition */
.page-enter {
  opacity: 0;
  animation: pageEnter 1s var(--ease) forwards;
}

@keyframes pageEnter {
  to { opacity: 1; }
}

/* ===========================================================================
   Stat / Numbers band
   ========================================================================== */

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.stat {
  padding: clamp(36px, 4vw, 56px);
  border-right: 1px solid var(--line);
  text-align: center;
}

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

.stat .num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--gold-deep);
  line-height: 1;
}

.stat .num-suffix { font-size: 0.6em; }

.stat .label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}

@media (max-width: 800px) { .stats-band { grid-template-columns: 1fr 1fr; } .stat:nth-child(2n) { border-right: none; } .stat { border-bottom: 1px solid var(--line); } }

/* ===========================================================================
   Editorial split (heritage)
   ========================================================================== */

.editorial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
}

.editorial-row:last-child { border-bottom: 1px solid var(--line); }

.editorial-row .lead-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.editorial-row h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.editorial-row p { color: var(--muted); }
.editorial-row p + p { margin-top: 14px; }

@media (max-width: 800px) { .editorial-row { grid-template-columns: 1fr; gap: 18px; } }

/* ===========================================================================
   Mosaic grid for heritage
   ========================================================================== */

.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.mosaic-cell { overflow: hidden; position: relative; }
.mosaic-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic-cell:hover img { transform: scale(1.05); }

.mc-1 { grid-column: span 4; grid-row: span 2; }
.mc-2 { grid-column: span 2; grid-row: span 1; }
.mc-3 { grid-column: span 2; grid-row: span 1; }
.mc-4 { grid-column: span 3; grid-row: span 1; }
.mc-5 { grid-column: span 3; grid-row: span 1; }

@media (max-width: 800px) {
  .mosaic { grid-template-columns: repeat(2,1fr); grid-auto-rows: 200px; }
  .mc-1, .mc-2, .mc-3, .mc-4, .mc-5 { grid-column: span 2; grid-row: span 1; }
}

/* ===========================================================================
   Legacy / Modern relevance card
   ========================================================================== */

.legacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.legacy-card {
  background: var(--ivory);
  padding: clamp(40px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.5s var(--ease);
}

.legacy-card:hover { background: #fff; }
.legacy-card .lead-num { font-family: var(--display); font-style: italic; font-size: 13px; color: var(--gold-deep); letter-spacing: 0.2em; }
.legacy-card h3 { font-size: 1.5rem; }
.legacy-card p { color: var(--muted); }

@media (max-width: 700px) { .legacy-grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   Featured image full-width
   ========================================================================== */

.full-image {
  width: 100%;
  height: clamp(320px, 60vh, 640px);
  overflow: hidden;
  position: relative;
}

.full-image img {
  width: 100%; height: 100%; object-fit: cover;
}

.full-image.with-quote::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
}

.full-image .overlay-quote {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 30px;
  z-index: 2;
}

.full-image .overlay-quote h2 { color: #fff; font-style: italic; font-weight: 300; max-width: 22ch; }

/* ---------------------------------------------------------------
   BANNER NATURAL — edge-to-edge image, never cropped
   --------------------------------------------------------------- */

.banner-natural {
  width: 100%;
  background: var(--charcoal);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.banner-natural-media {
  width: 100%;
  display: block;
  background: #0F0B07;
  height: clamp(360px, 52vh, 540px);
  overflow: hidden;
}

.banner-natural-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
}

@media (max-width: 700px) {
  .banner-natural-media { height: clamp(260px, 45vh, 380px); }
}

.banner-natural-text {
  padding: clamp(60px, 7vw, 100px) var(--gutter);
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.banner-natural-text h2 {
  color: #fff;
  font-style: italic;
  font-weight: 300;
  max-width: 26ch;
  margin: 22px auto 0;
}

.banner-natural-text .eyebrow { justify-content: center; color: var(--gold-bright); }
.banner-natural-text .eyebrow::before, .banner-natural-text .eyebrow::after { background: var(--gold-bright); }
.banner-natural-text .eyebrow::after { content: ""; width: 36px; height: 1px; }

.banner-natural-text .actions { margin-top: 36px; display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------------------------------------------------------------
   PAGE-INTRO — for pages that need a non-cropping editorial banner
   --------------------------------------------------------------- */

.page-intro {
  position: relative;
  background: var(--charcoal);
  color: var(--ivory);
  padding-top: 110px;
}

.page-intro-text {
  padding: clamp(50px, 6vw, 90px) var(--gutter) clamp(40px, 5vw, 70px);
  max-width: var(--container);
  margin: 0 auto;
  text-align: left;
}

.page-intro-text .eyebrow { color: var(--gold-bright); }
.page-intro-text .eyebrow::before { background: var(--gold-bright); }
.page-intro-text h1 { color: #fff; margin: 22px 0 18px; max-width: 18ch; }
.page-intro-text p { color: rgba(255,255,255,0.78); max-width: 56ch; font-weight: 300; font-size: 1.1rem; }

.page-intro-media {
  width: 100%;
  background: #0F0B07;
  height: clamp(320px, 50vh, 500px);
  overflow: hidden;
}

.page-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 700px) {
  .page-intro-media { height: clamp(240px, 40vh, 340px); }
}

/* ===========================================================================
   Utility
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
