/* ==========================================================================
   [TEMPLE NAME] — Temple Website Stylesheet
   Design tokens, base styles, layout, components, responsive rules.
   ========================================================================== */

/* ---------- Design Tokens ---------- */ 
:root {
  /* Color */
  --color-cream: #FBF4E9;
  --color-cream-deep: #F3E7D4;
  --color-white: #FFFDF8;
  --color-maroon: #6E1F26;
  --color-maroon-dark: #501419;
  --color-saffron: #E2831C;
  --color-saffron-deep: #C96B0F;
  --color-gold: #B8901F;
  --color-gold-light: #D9B65C;
  --color-ink: #2A1B14;
  --color-ink-soft: #4A3529;

  /* Type */
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Mukta", "Segoe UI", sans-serif;

  /* Type scale */
  --fs-h1: clamp(2.6rem, 5vw + 1rem, 4.6rem);
  --fs-h2: clamp(2rem, 3vw + 1rem, 3rem);
  --fs-h3: clamp(1.4rem, 1.5vw + 1rem, 1.85rem);
  --fs-lead: clamp(1.1rem, 1vw + 0.6rem, 1.3rem);
  --fs-body: 1.05rem;
  --fs-small: 0.9rem;

  /* Layout */
  --max-width: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-arch: 120px 120px 8px 8px;
  --shadow-soft: 0 12px 30px -14px rgba(42, 27, 20, 0.35);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 0.35s;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-maroon-dark);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-maroon);
  color: var(--color-white);
  padding: 0.75em 1.25em;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--color-saffron);
  outline-offset: 3px;
}

/* ---------- Section rhythm ---------- */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section--tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section--dark {
  background: var(--color-maroon);
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

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

.section--alt {
  background: var(--color-cream-deep);
}

.section-head {
  max-width: 640px;
  margin: 0 0 2.5rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-saffron-deep);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.35em;
}

.section--dark .section-kicker {
  color: var(--color-gold-light);
}

.section-lead {
  font-size: var(--fs-lead);
  color: var(--color-ink-soft);
}

.section--dark .section-lead {
  color: #EBD9BF;
}

/* divider motif: simple diya-flame line pattern */
.motif-divider {
  width: 100%;
  height: 22px;
  background-repeat: repeat-x;
  background-position: center;
  background-size: 44px 22px;
  opacity: 0.85;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M22 3c2.5 3 3.5 5.5 3.5 8a3.5 3.5 0 1 1-7 0c0-2.5 1-5 3.5-8Z' fill='none' stroke='%23B8901F' stroke-width='1.2'/%3E%3Cpath d='M2 18c4-3 8-3 20-3s16 0 20 3' fill='none' stroke='%23B8901F' stroke-width='1.2'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.9em;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
  min-height: 44px;
}

.btn-primary {
  background: var(--color-saffron);
  color: var(--color-white);
  box-shadow: 0 8px 20px -8px rgba(226, 131, 28, 0.6);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-saffron-deep);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-maroon);
  border-color: var(--color-maroon);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-maroon);
  color: var(--color-white);
}

.section--dark .btn-outline {
  color: var(--color-cream);
  border-color: var(--color-gold-light);
}

.section--dark .btn-outline:hover {
  background: var(--color-gold-light);
  color: var(--color-maroon-dark);
}

.btn-light {
  background: var(--color-cream);
  color: var(--color-maroon-dark);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: var(--color-white);
  transform: translateY(-2px);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(251, 244, 233, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(184, 144, 31, 0.25);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-brand-mark {
  width: 170px;
  height: 50px;
  flex-shrink: 0;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--color-maroon-dark);
  line-height: 1.1;
}

.nav-brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--color-saffron-deep);
}

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

.nav-links a {
  font-weight: 600;
  color: var(--color-ink-soft);
  padding: 0.4rem 0.1rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--color-saffron);
  transition: right var(--dur) var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after {
  right: 0;
}

.nav-links a[aria-current="page"] {
  color: var(--color-maroon);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-maroon-dark);
  position: relative;
  transition: background var(--dur) var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--color-maroon-dark);
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}

.nav-toggle-bars::before {
  top: -8px;
}

.nav-toggle-bars::after {
  top: 8px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 340px);
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -18px 0 40px -20px rgba(42, 27, 20, 0.4);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.15rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--color-white);
  background: linear-gradient(180deg, rgba(42, 20, 18, 0.72), rgba(42, 20, 18, 0.82)), var(--color-maroon-dark);
  overflow: hidden;
}

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

.hero-bg-art svg {
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(5rem, 14vw, 9rem) var(--gutter) clamp(4rem, 10vw, 6rem);
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-gold-light);
  display: block;
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: rise var(--dur) var(--ease) 0.05s forwards;
}

.hero h1 {
  color: var(--color-white);
  font-size: var(--fs-h1);
  margin-bottom: 0.4em;
  opacity: 0;
  animation: rise 0.6s var(--ease) 0.15s forwards;
}

.hero-sub {
  font-size: var(--fs-lead);
  color: #EFDCC2;
  max-width: 560px;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: rise 0.6s var(--ease) 0.3s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.6s var(--ease) 0.45s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

@media (prefers-reduced-motion: reduce) {

  .hero-eyebrow,
  .hero h1,
  .hero-sub,
  .hero-actions {
    opacity: 1;
    animation: none;
  }
}

/* ---------- About / Intro (two column) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split--reverse .split-media {
  order: 2;
}

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

  .split--reverse .split-media {
    order: 0;
  }
}

.arch-frame {
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--color-white);
  outline: 1px solid rgba(184, 144, 31, 0.4);
}

.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-body h2 {
  font-size: var(--fs-h2);
}

.split-body .lead {
  color: var(--color-ink-soft);
  font-size: var(--fs-lead);
}

/* placeholder image blocks (no real photography supplied) */
.img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, rgba(184, 144, 31, 0.14) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #EFDFC3, #E7CFA0);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* padding: 1.25rem; */
  color: var(--color-maroon-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
}

.img-placeholder span {
  opacity: 0.75;
}

/* ---------- Info cards ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--color-white);
  padding: 1.9rem 1.6rem;
  border-radius: 4px 28px 4px 28px;
  border-top: 3px solid var(--color-saffron);
  box-shadow: var(--shadow-soft);
}

.info-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--color-maroon);
}

.info-card-icon svg {
  width: 40%;
  /* height: 100%; */
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3em;
}

.info-card p {
  color: var(--color-ink-soft);
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 0.9rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  display: block;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(4) {
  grid-column: span 2;
    grid-row: span 2;

}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(0deg, rgba(42, 20, 18, 0.85), transparent);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }
}

.gallery-more {
  margin-top: 2rem;
  text-align: center;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 10, 8, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.lightbox-inner img,
.lightbox-inner .img-placeholder {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 4/3;
}

.lightbox-caption {
  color: var(--color-cream);
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(251, 244, 233, 0.12);
  border: 1px solid rgba(251, 244, 233, 0.4);
  color: var(--color-cream);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(251, 244, 233, 0.28);
}

.lightbox-close {
  top: -56px;
  right: 0;
}

.lightbox-prev {
  left: -56px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -56px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 760px) {
  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }

  .lightbox-close {
    top: -48px;
    right: 4px;
  }
}

/* ---------- Highlights (dark section, arch cards) ---------- */
.highlight-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  border: 1px solid rgba(217, 182, 92, 0.4);
  border-radius: 100px 100px 6px 6px;
  padding: 2.2rem 1.5rem 1.6rem;
  text-align: center;
  background: rgba(251, 244, 233, 0.04);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.highlight-card:hover {
  border-color: var(--color-gold-light);
  background: rgba(251, 244, 233, 0.08);
}

.highlight-icon {
  width: 5px;
  height: 5px;
  margin: 0 auto 1rem;
  color: var(--color-gold-light);
}

.highlight-icon svg {
  width: 25%;
  /* height: 100%; */
}

.highlight-card h3 {
  color: var(--color-white);
  font-size: 1.15rem;
}

.highlight-card p {
  color: #E4CFAE;
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  color: var(--color-white);
  background: var(--color-maroon-dark);
  overflow: hidden;
}

.cta-band .container {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  color: var(--color-white);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.cta-band-art {
  position: absolute;
  inset: 0;
  opacity: 0.14;
}

.cta-band-art svg {
  width: 100%;
  height: 100%;
}

/* ---------- Timeline (About page) ---------- */
.timeline {
  position: relative;
  padding-left: 2.4rem;
  border-left: 2px solid var(--color-gold-light);
  max-width: 720px;
}

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

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.53rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-saffron);
  border: 3px solid var(--color-cream);
  box-shadow: 0 0 0 2px var(--color-gold-light);
}

.timeline-year {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-saffron-deep);
  font-size: 1.1rem;
  margin-bottom: 0.15em;
  display: block;
}

.timeline-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25em;
}

.timeline-item p {
  color: var(--color-ink-soft);
  margin: 0;
}

/* ---------- Activity list (About page) ---------- */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.activity-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.activity-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: var(--color-maroon);
}

.activity-icon svg {
  width: 100%;
  height: 100%;
}

.activity-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2em;
}

.activity-card p {
  color: var(--color-ink-soft);
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, rgba(42, 20, 18, 0.78), rgba(42, 20, 18, 0.88)), var(--color-maroon-dark);
  color: var(--color-white);
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--gutter) clamp(2.75rem, 6vw, 4rem);
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.3em;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--color-gold-light);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.page-hero p {
  max-width: 560px;
  margin: 0 auto;
  color: #EFDCC2;
}

/* ---------- Mission / Importance blocks ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background: var(--color-white);
  padding: 2rem 1.6rem;
  border-radius: 6px;
  border-left: 4px solid var(--color-maroon);
}

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

.pillar-card p {
  color: var(--color-ink-soft);
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

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

.contact-info-card {
  background: var(--color-white);
  border-radius: 6px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-soft);
}

.contact-info-list {
  margin-top: 1.5rem;
}

.contact-info-list li {
  display: flex;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(184, 144, 31, 0.22);
}

.contact-info-list li:first-child {
  border-top: none;
}

.contact-info-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-maroon);
  margin-top: 2px;
}

.contact-info-icon svg {
  width: 100%;
  height: 100%;
}

.contact-info-list strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  font-weight: 600;
}

.contact-info-list span,
.contact-info-list a {
  font-size: 1rem;
}

.contact-info-list a:hover {
  color: var(--color-saffron-deep);
}

.contact-form-card {
  background: var(--color-white);
  border-radius: 6px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

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

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--color-ink);
}

.field .required {
  color: var(--color-saffron-deep);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid #DCC9A6;
  border-radius: 4px;
  padding: 0.75em 0.9em;
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-cream);
  color: var(--color-ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 44px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 3px rgba(226, 131, 28, 0.18);
}

.field-error {
  color: #A5261E;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  /* display: none; */
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: #A5261E;
}

.field.has-error .field-error {
  display: block;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: #E6F1E1;
  color: #2C5B23;
}

.form-status.error {
  background: #F6E3E1;
  color: #8A2A21;
}

.map-embed {
  width: 100%;
  aspect-ratio: 16/8;
  border-radius: 6px;
  border: 1px solid rgba(184, 144, 31, 0.3);
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink);
  color: #D8C7B4;
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(217, 182, 92, 0.25);
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-white);
}

.site-footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

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

.footer-contact li {
  margin-bottom: 0.7rem;
  display: flex;
  gap: 0.6rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-gold-light);
}

.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(217, 182, 92, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.social-row a:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
}

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

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}

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

/* ---------- Reveal on scroll (subtle, section headers only) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ---------- Utility ---------- */
.mt-0 {
  margin-top: 0;
}

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

/* video */

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.video-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.13);
}

.video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eee;
}

.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-content {
    padding: 18px;
}

.video-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.video-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.video-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Tablet */
@media (max-width: 1100px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-content {
        padding: 16px;
    }
}