/* ============================================
   ANANTNATH BHAGWAN — PREMIUM DESIGN SYSTEM
   ============================================ */

:root {
  /* Palette */
  --ivory: #f6f1e7;
  --ivory-soft: #faf6ee;
  --sandstone: #d8c8a6;
  --sandstone-dark: #b69b6e;
  --gold: #c9a86a;
  --gold-deep: #a8884a;
  --gold-light: #e3cf9c;
  --charcoal: #1a1a1a;
  --charcoal-soft: #242424;
  --graphite: #3a3a3a;
  --mist: #e9e3d5;
  --line: rgba(168, 136, 74, 0.18);

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

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--gold); color: var(--charcoal); }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .35s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold-deep);
}

.h-xl { font-size: clamp(2.6rem, 7.5vw, 7rem); }
.h-l  { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.h-m  { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.h-s  { font-size: clamp(1.3rem, 2vw, 1.7rem); }

.text-italic { font-style: italic; color: var(--gold-deep); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.75; color: var(--graphite); font-weight: 300; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(60px, 7vw, 100px) 0; }
.bg-ivory { background: var(--ivory); }
.bg-soft  { background: var(--ivory-soft); }
.bg-dark  { background: var(--charcoal); color: var(--ivory); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: var(--ivory); }
.bg-dark .lead { color: rgba(246, 241, 231, 0.72); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  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: background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.transparent { background: transparent; }
.nav.solid {
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  padding: 14px var(--gutter);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--ivory);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav.solid .nav__logo { color: var(--charcoal); }
.nav__logo .mark {
  width: 28px; height: 28px;
  border: 1px solid currentColor;
  display: grid; place-items: center;
  font-size: 12px;
  letter-spacing: 0;
  transform: rotate(45deg);
}
.nav__logo .mark span { transform: rotate(-45deg); }

.nav__links {
  display: flex;
  gap: 38px;
  list-style: none;
  align-items: center;
}
.nav__links a {
  position: relative;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 231, 0.85);
  padding: 6px 0;
}
.nav.solid .nav__links a { color: var(--charcoal); }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .4s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--gold); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid currentColor;
  padding: 11px 22px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  transition: all .4s var(--ease);
}
.nav.solid .nav__cta { color: var(--charcoal); }
.nav__cta:hover { background: var(--gold); border-color: var(--gold); color: #fff !important; }

/* Mobile burger */
.nav__burger {
  display: none;
  width: 38px; height: 38px;
  position: relative;
  z-index: 110;
}
.nav__burger span {
  position: absolute;
  left: 6px; right: 6px;
  height: 1px;
  background: currentColor;
  transition: all .4s var(--ease);
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav.transparent .nav__burger { color: var(--ivory); }
.nav.solid .nav__burger { color: var(--charcoal); }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__burger { display: block; }
  .nav__links, .nav__cta { display: none; }
  .nav.open .mobile-menu { transform: translateX(0); }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  color: var(--ivory);
  z-index: 105;
  transform: translateX(100%);
  transition: transform .6s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu ul {
  list-style: none;
  text-align: center;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  display: block;
  padding: 12px 0;
  letter-spacing: 0.02em;
  color: var(--ivory);
}
.mobile-menu a:hover { color: var(--gold); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 9vw, 130px);
  overflow: hidden;
  color: var(--ivory);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.62) saturate(0.95) contrast(1.05);
  transform: scale(1.04);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 50% 50%, transparent 0%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(26,26,26,0.55) 0%, rgba(26,26,26,0.25) 40%, rgba(26,26,26,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__content { position: relative; z-index: 2; max-width: 1100px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--ivory);
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}
.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 300;
  max-width: 580px;
  margin-top: 28px;
  color: rgba(246, 241, 231, 0.85);
  line-height: 1.7;
}
.hero__ctas {
  margin-top: 44px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: all .45s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--ghost { color: var(--ivory); }
.btn--ghost:hover { background: var(--ivory); color: var(--charcoal); }
.btn--dark { color: var(--charcoal); }
.btn--dark:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.btn .arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.hero__meta {
  position: absolute;
  bottom: clamp(30px, 5vw, 60px);
  right: var(--gutter);
  z-index: 3;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.6);
}
.hero__meta span { display: block; line-height: 2; }
.hero__meta strong { color: var(--gold-light); font-weight: 500; }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(246, 241, 231, 0.55);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.scroll-cue::after {
  content: '';
  width: 1px; height: 50px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   PAGE HERO (smaller, for inner pages)
   ============================================ */
.page-hero {
  width: 100%;
  margin: 0;
  min-height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  color: var(--ivory);
  isolation: isolate;
}
.page-hero__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.page-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.6) contrast(1.05);
}
.page-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.6) 0%, rgba(26,26,26,0.7) 100%);
}
.page-hero__inner {
  position: relative; z-index: 2;
  padding: 60px 0;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  color: var(--ivory);
  margin-top: 22px;
  line-height: 1;
}
.page-hero p {
  margin-top: 22px;
  max-width: 620px;
  color: rgba(246, 241, 231, 0.78);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}
.crumbs {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.55);
}
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 10px; opacity: 0.5; }

/* ============================================
   GENERIC SECTIONS / GRIDS
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.split__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.4s var(--ease);
}
.split__media:hover img { transform: scale(1.04); }
.split__media::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 2;
}

.split__copy h2 { margin-bottom: 20px; }
.split__copy .eyebrow { margin-bottom: 22px; }
.split__copy p + p { margin-top: 18px; }

/* Pillars (3 col cards) */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pillars > .pillar {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(32px, 4vw, 56px);
  position: relative;
  background: var(--ivory);
  transition: background .5s var(--ease);
}
.pillars > .pillar:hover { background: var(--ivory-soft); }
.pillar .num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 22px;
}
.pillar h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 14px;
}
.pillar p { color: var(--graphite); font-size: 0.95rem; }
@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr; }
}

/* Counter strip */
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.counter {
  padding: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--line);
  text-align: left;
}
.counter:last-child { border-right: none; }
.counter .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
  display: block;
}
.counter .label {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--graphite);
}
@media (max-width: 880px) {
  .counters { grid-template-columns: repeat(2, 1fr); }
  .counter:nth-child(2) { border-right: none; }
  .counter:nth-child(1), .counter:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* Big quote */
.quote {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.quote .mark { font-family: var(--font-display); color: var(--gold); font-size: 4rem; line-height: 0.5; display: block; }
.quote q {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.35;
  color: var(--charcoal);
  display: block;
  margin: 24px 0 28px;
  quotes: none;
}
.quote q::before, .quote q::after { content: ''; }
.quote cite {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-style: normal;
}

/* Ornament divider */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(40px, 5vw, 70px);
  gap: 18px;
}
.ornament .line { width: clamp(60px, 12vw, 140px); height: 1px; background: var(--line); }
.ornament .dot {
  width: 8px; height: 8px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 240px;
  width: 1px;
  background: var(--line);
}
.tl-item {
  display: grid;
  grid-template-columns: 240px 60px 1fr;
  gap: 0;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.tl-item:last-child { border-bottom: none; }
.tl-year {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-top: 6px;
}
.tl-marker {
  position: relative;
}
.tl-marker::before {
  content: '';
  width: 11px; height: 11px;
  border: 1px solid var(--gold);
  background: var(--ivory);
  position: absolute;
  left: -6px; top: 12px;
  transform: rotate(45deg);
  z-index: 1;
}
.tl-content h3 {
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  margin-bottom: 10px;
}
.tl-content p { color: var(--graphite); }

@media (max-width: 720px) {
  .timeline::before { left: 11px; }
  .tl-item { grid-template-columns: 30px 1fr; gap: 16px; }
  .tl-year { grid-column: 2; padding-top: 0; padding-bottom: 8px; order: -1; }
  .tl-marker { grid-row: 1 / 3; grid-column: 1; }
  .tl-marker::before { left: 0; }
  .tl-content { grid-column: 2; }
}

/* ============================================
   FEATURE CARDS WITH ICONS
   ============================================ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 44px);
  background: var(--ivory-soft);
  transition: transform .6s var(--ease), background .5s var(--ease);
  position: relative;
  overflow: hidden;
}
.feat:hover { transform: translateY(-4px); background: #fff; }
.feat__icon {
  width: 46px; height: 46px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: var(--gold-deep);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.feat:hover .feat__icon { background: var(--gold); color: #fff; }
.feat h3 { font-size: 1.5rem; margin-bottom: 12px; }
.feat p { color: var(--graphite); font-size: 0.95rem; }

/* ============================================
   PARALLAX FULL-WIDTH BAND
   ============================================ */
.band {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--ivory);
}
.band__bg { position: absolute; inset: 0; z-index: -2; }
.band__bg img {
  width: 100%; height: 110%;
  object-fit: cover;
  object-position: center 30%;
  transform: translateY(-5%);
}
.band__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.45) 0%, rgba(26,26,26,0.7) 100%);
}
.band__inner { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 80px var(--gutter); }
.band h2 { color: var(--ivory); }
.band .quote q { color: var(--ivory); }
.band .quote cite { color: var(--gold-light); }
.band .quote .mark { color: var(--gold-light); }

/* ============================================
   GALLERY (MASONRY)
   ============================================ */
.masonry {
  column-count: 3;
  column-gap: 18px;
}
@media (max-width: 980px) { .masonry { column-count: 2; } }
@media (max-width: 560px) { .masonry { column-count: 1; } }
.m-item {
  break-inside: avoid;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--mist);
}
.m-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1s var(--ease);
}
.m-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,26,26,0.6) 100%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.m-item:hover img { transform: scale(1.06); }
.m-item:hover::after { opacity: 1; }
.m-item .m-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px;
  color: var(--ivory);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: all .5s var(--ease);
}
.m-item:hover .m-caption { transform: translateY(0); opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(20, 20, 20, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
  animation: fade .35s var(--ease);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 24px; right: 28px;
  color: #fff;
  font-size: 28px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.4);
  display: grid;
  place-items: center;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  width: 50px; height: 50px;
  border: 1px solid rgba(255,255,255,0.3);
  display: grid; place-items: center;
  font-size: 20px;
  background: rgba(0,0,0,0.2);
}
.lightbox__nav.prev { left: 24px; }
.lightbox__nav.next { right: 24px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 90px);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info p { margin: 14px 0; }
.info-row {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.info-row .ico {
  width: 42px; height: 42px;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--gold-deep);
}
.info-row .label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 4px;
}
.info-row .val { font-size: 1.1rem; color: var(--charcoal); }
.info-row a:hover { color: var(--gold-deep); }

.form { display: grid; gap: 18px; }
.field {
  position: relative;
}
.field input, .field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 18px 4px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--charcoal);
  outline: none;
  transition: border-color .3s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field label {
  position: absolute;
  top: 18px; left: 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--graphite);
  pointer-events: none;
  transition: all .3s var(--ease);
}
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label {
  top: 0; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep);
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-self: start; margin-top: 10px; }

/* Map */
.map-frame {
  margin-top: clamp(60px, 8vw, 120px);
  border: 1px solid var(--line);
  filter: grayscale(40%) contrast(0.95);
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 420px; display: block; border: none; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  color: rgba(246,241,231,0.7);
  padding: 90px var(--gutter) 30px;
  font-size: 14px;
}
.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(246,241,231,0.1);
}
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__top { grid-template-columns: 1fr; } }

.footer__brand h3 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--ivory);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.footer__brand p { max-width: 360px; line-height: 1.7; }

.footer__col h4 {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; }
.footer__col li { padding: 6px 0; }
.footer__col a:hover { color: var(--gold-light); }

.footer__bottom {
  max-width: var(--max);
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: rgba(246,241,231,0.5);
  letter-spacing: 0.06em;
}
.footer__bottom a { color: rgba(246,241,231,0.7); }
.footer__bottom a:hover { color: var(--gold-light); }
.footer__credit a { color: var(--gold-light); border-bottom: 1px solid rgba(212,184,108,0.4); }

.socials { display: flex; gap: 14px; }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(246,241,231,0.18);
  display: grid; place-items: center;
  transition: all .35s var(--ease);
  color: rgba(246,241,231,0.7);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.socials svg { width: 14px; height: 14px; }

.footer__contact {
  margin-top: 18px;
  font-size: 13px;
  line-height: 2;
}
.footer__contact a:hover { color: var(--gold-light); }

/* ============================================
   ANIMATIONS — REVEAL ON SCROLL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-img { overflow: hidden; }
.reveal-img > img {
  transform: scale(1.15);
  filter: saturate(0.6);
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
}
.reveal-img.in > img { transform: scale(1); filter: saturate(1); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.34s; }
.delay-4 { transition-delay: 0.46s; }

/* ============================================
   PAGE LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 999;
  display: grid;
  place-items: center;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.loader.gone { opacity: 0; visibility: hidden; }
.loader__mark {
  width: 50px; height: 50px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  animation: pulseMark 1.6s var(--ease) infinite;
}
@keyframes pulseMark {
  0%, 100% { transform: rotate(45deg) scale(0.85); opacity: 0.5; }
  50% { transform: rotate(45deg) scale(1); opacity: 1; }
}

/* ============================================
   PASSWORD GATE
   ============================================ */
.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 40px 20px;
}
.gate__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 80% at 50% 30%, rgba(201, 168, 106, 0.12) 0%, transparent 70%),
    radial-gradient(50% 60% at 80% 80%, rgba(201, 168, 106, 0.06) 0%, transparent 70%),
    var(--charcoal);
}
.gate__particles {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: float 14s linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.gate__geo {
  position: absolute;
  width: min(80vmin, 700px);
  height: min(80vmin, 700px);
  border: 1px solid rgba(201, 168, 106, 0.12);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 80s linear infinite;
}
.gate__geo::before, .gate__geo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 168, 106, 0.08);
  border-radius: 50%;
}
.gate__geo::before { transform: scale(0.7); }
.gate__geo::after { transform: scale(0.45); }
@keyframes rotate { to { transform: rotate(360deg); } }

.gate__inner {
  text-align: center;
  max-width: 520px;
  width: 100%;
  position: relative;
  z-index: 2;
  animation: fadeUp 1.2s var(--ease) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.gate__mark {
  width: 60px; height: 60px;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  margin: 0 auto 36px;
  transform: rotate(45deg);
  position: relative;
}
.gate__mark::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201, 168, 106, 0.4);
}
.gate__eyebrow {
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.gate h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--ivory);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 18px;
}
.gate h1 em { font-style: italic; color: var(--gold-light); }
.gate__sub {
  color: rgba(246,241,231,0.6);
  font-size: 14px;
  max-width: 420px;
  margin: 0 auto 50px;
  line-height: 1.7;
}
.gate__form {
  display: grid;
  gap: 16px;
  max-width: 380px;
  margin: 0 auto;
}
.gate__input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201, 168, 106, 0.25);
  color: var(--ivory);
  padding: 18px 22px;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-align: center;
  outline: none;
  transition: all .35s var(--ease);
}
.gate__input::placeholder { color: rgba(246,241,231,0.35); letter-spacing: 0.2em; }
.gate__input:focus {
  border-color: var(--gold);
  background: rgba(201,168,106,0.06);
}
.gate__btn {
  background: var(--gold);
  color: #fff;
  padding: 16px 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: background .35s var(--ease);
}
.gate__btn:hover { background: var(--gold-deep); }
.gate__error {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #d97a7a;
  min-height: 18px;
  margin-top: 6px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gate__error.show { opacity: 1; }
.gate__foot {
  margin-top: 60px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(246,241,231,0.35);
}
.gate__foot a { color: var(--gold-light); }

.gate.success .gate__inner { animation: fadeOut .7s var(--ease) forwards; }
@keyframes fadeOut {
  to { opacity: 0; transform: translateY(-20px); }
}

/* ============================================
   UTILS
   ============================================ */
.center { text-align: center; }
.mt-l { margin-top: clamp(40px, 5vw, 70px); }
.mw-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.mw-900 { max-width: 900px; margin-left: auto; margin-right: auto; }

.section-head {
  text-align: center;
  margin-bottom: clamp(50px, 6vw, 90px);
}
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { max-width: 700px; margin: 0 auto; color: var(--graphite); }
