/* ============================================================
   Richmond Sikh Gurdwara — "Dawn at the Gurdwara"
   Ivory paper · indigo ink · kesari saffron · gold
   Fraunces (display) · Karla (body) · Noto Serif Gurmukhi
   ============================================================ */

:root {
  --paper: #f7f1e4;
  --paper-deep: #efe5d0;
  --cream: #fffbf0;
  --ink: #1f2440;
  --ink-soft: #4a4f6a;
  --indigo: #2a3564;
  --indigo-deep: #171c33;
  --saffron: #e07b1f;
  --saffron-deep: #b95c0d;
  --gold: #b98a2e;
  --gold-soft: #d9b96a;
  --line: rgba(31, 36, 64, 0.16);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Karla", "Helvetica Neue", sans-serif;
  --font-gurmukhi: "Noto Serif Gurmukhi", serif;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 9vw, 7.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--saffron); color: var(--cream); }

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

a { color: inherit; }

/* Subtle paper grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Utility ---------- */

.wrap {
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); position: relative; }

.kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.kicker::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: var(--saffron);
  flex: none;
}

.kicker--center { justify-content: center; }
.kicker--center::after {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: var(--saffron);
  flex: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.display-xl {
  font-size: clamp(2.9rem, 7.2vw, 5.6rem);
  font-variation-settings: "opsz" 144;
}

.display-lg {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-variation-settings: "opsz" 100;
}

.display-md { font-size: clamp(1.5rem, 2.8vw, 2rem); }

.lede {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.prose { max-width: var(--measure); color: var(--ink-soft); }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--ink); }

em.accent {
  font-style: italic;
  color: var(--saffron-deep);
}

.gurmukhi {
  font-family: var(--font-gurmukhi);
  font-weight: 500;
}

/* Phulkari zigzag divider strip */
.phulkari {
  height: 10px;
  background:
    linear-gradient(135deg, var(--saffron) 25%, transparent 25%) 0 0 / 20px 20px,
    linear-gradient(225deg, var(--saffron) 25%, transparent 25%) 0 0 / 20px 20px,
    linear-gradient(45deg, var(--indigo) 25%, transparent 25%) 0 10px / 20px 20px,
    linear-gradient(-45deg, var(--indigo) 25%, transparent 25%) 0 10px / 20px 20px,
    var(--gold-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.25s, background 0.25s, color 0.25s;
  cursor: pointer;
}

.btn--saffron {
  background: var(--saffron);
  color: var(--cream);
  box-shadow: 0 8px 20px -8px rgba(224, 123, 31, 0.7);
}
.btn--saffron:hover {
  background: var(--saffron-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(185, 92, 13, 0.65);
}

.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn--light {
  border-color: rgba(255, 251, 240, 0.5);
  color: var(--cream);
}
.btn--light:hover { background: var(--cream); color: var(--ink); }

.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Inline text link */
.textlink {
  font-weight: 700;
  color: var(--saffron-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--gold-soft);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.textlink:hover { color: var(--indigo); border-color: var(--indigo); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 228, 0.97);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  margin-right: auto;
}

.brand__mark {
  width: 2.9rem;
  height: 2.9rem;
  flex: none;
  border-radius: 50% 50% 6px 6px;
  background: var(--indigo);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-gurmukhi);
  font-size: 1.35rem;
  line-height: 1;
  padding-top: 0.15rem;
  transition: background 0.3s;
}
.brand:hover .brand__mark { background: var(--saffron-deep); }

.brand__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.15;
  color: var(--ink);
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-top: 0.2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.site-nav a:not(.btn) {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  position: relative;
  transition: color 0.2s;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] { color: var(--ink); }

.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-nav .btn { padding: 0.6rem 1.3rem; font-size: 0.8rem; }

/* Dropdown menus */
.nav-item { position: relative; }

.nav-item > a .caret {
  display: inline-block;
  margin-left: 0.3rem;
  font-size: 0.6rem;
  transform: translateY(-1px);
  transition: transform 0.2s;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 15rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 50px -20px rgba(23, 28, 51, 0.35);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 120;
}

.dropdown::before {
  /* invisible hover bridge between link and panel */
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-item:hover > a .caret { transform: translateY(-1px) rotate(180deg); }

.dropdown a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--paper); color: var(--saffron-deep); }
.dropdown a::after { display: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 2.6rem;
  height: 2.6rem;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
    z-index: 105;
    overflow-y: auto;
    padding: 5rem 1.5rem 2.5rem;
  }
  .site-nav a:not(.btn) { font-size: 1.05rem; }

  .nav-item { text-align: center; }
  .nav-item > a .caret { display: none; }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.15rem 0 0;
    min-width: 0;
  }
  .dropdown::before { display: none; }
  .dropdown a {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--ink-soft);
  }

  body.nav-open .site-nav { transform: translateY(0); }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(4rem, 8vw, 7rem) 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

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

.hero__gurmukhi {
  font-family: var(--font-gurmukhi);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--saffron-deep);
  margin-bottom: 1rem;
}
.hero__gurmukhi small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.35rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--saffron-deep);
}

.hero .lede { margin-top: 1.6rem; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

/* Arch visual */
.arch-visual {
  position: relative;
  width: min(100%, 26rem);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
}

.arch-visual__frame {
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  border-radius: 999px 999px 14px 14px;
  transform: translate(14px, 14px);
}

.arch-visual__sky {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    #1b2145 0%,
    #2a3564 34%,
    #6b4364 52%,
    #b95c0d 72%,
    #e07b1f 86%,
    #f0a95c 100%
  );
  box-shadow: 0 30px 60px -25px rgba(23, 28, 51, 0.5);
}

.arch-visual__sky svg {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: auto;
}

.arch-visual__sun {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #ffe9c4 0%, #f6b85e 55%, rgba(246, 184, 94, 0) 72%);
  animation: sunrise 3s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

@keyframes sunrise {
  from { top: 62%; opacity: 0; }
  to { top: 46%; opacity: 1; }
}

.arch-visual__onkar {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-gurmukhi);
  font-size: 2.4rem;
  color: rgba(255, 251, 240, 0.85);
  text-shadow: 0 0 24px rgba(240, 169, 92, 0.6);
}

.arch-visual__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch-visual__sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31, 36, 64, 0.18), transparent 40%, rgba(23, 28, 51, 0.28));
  pointer-events: none;
}

/* Reusable arch-framed photo */
.arch-photo {
  position: relative;
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(23, 28, 51, 0.45);
}
.arch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.arch-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1.4rem 1rem;
  background: linear-gradient(to top, rgba(23, 28, 51, 0.82), transparent);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arch-photo--framed {
  border: 2px solid var(--gold);
  padding: 0.55rem;
  background: var(--cream);
  box-shadow: none;
}
.arch-photo--framed img { border-radius: 999px 999px 8px 8px; }

/* Ticker strip under hero */
.hero-strip {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--indigo-deep);
  color: var(--cream);
}

.hero-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.hero-strip__item {
  flex: 1 1 200px;
  padding: 1.4rem 1.6rem;
  border-left: 1px solid rgba(255, 251, 240, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero-strip__item:first-child { border-left: none; }

.hero-strip__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero-strip__value {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: clip;
}

.page-hero__onkar {
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-gurmukhi);
  font-size: clamp(10rem, 22vw, 18rem);
  line-height: 1;
  color: rgba(185, 138, 46, 0.13);
  pointer-events: none;
  user-select: none;
}

.page-hero .lede { margin-top: 1.4rem; }

/* ---------- Cards & grids ---------- */

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: 3rem;
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 40px -24px rgba(31, 36, 64, 0.35);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.card:hover::before { transform: scaleX(1); }

.card__gurmukhi {
  font-family: var(--font-gurmukhi);
  font-size: 1.7rem;
  color: var(--saffron-deep);
  margin-bottom: 0.6rem;
}

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

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

.card--arch {
  border-radius: 999px 999px 18px 18px;
  text-align: center;
  padding-top: 3rem;
}

.card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.8rem;
}

/* ---------- Schedule table ---------- */

.schedule {
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream);
}

.schedule__head {
  background: var(--indigo);
  color: var(--cream);
  padding: 1.1rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.schedule__head h3 { font-size: 1.3rem; }
.schedule__head span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.schedule__row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 1.05rem 1.6rem;
  border-top: 1px solid var(--line);
  transition: background 0.2s;
}
.schedule__row:hover { background: var(--paper); }

.schedule__time {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--saffron-deep);
  white-space: nowrap;
}

.schedule__what { color: var(--ink-soft); }
.schedule__what strong { color: var(--ink); font-weight: 700; }

@media (max-width: 560px) {
  .schedule__row { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

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

/* ---------- Statement band ---------- */

.band {
  background: var(--indigo-deep);
  color: var(--cream);
  position: relative;
  overflow: clip;
}

.band .kicker { color: var(--gold-soft); }
.band .kicker::before, .band .kicker::after { background: var(--gold-soft); }

.band__onkar {
  position: absolute;
  left: -2rem;
  bottom: -4rem;
  font-family: var(--font-gurmukhi);
  font-size: 20rem;
  line-height: 1;
  color: rgba(255, 251, 240, 0.045);
  pointer-events: none;
}

.band .lede { color: rgba(255, 251, 240, 0.75); }

.band h2 em { font-style: italic; color: var(--gold-soft); }

/* ---------- Timeline ---------- */

.timeline {
  margin-top: 3rem;
  display: grid;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--saffron), var(--gold-soft));
}

.timeline__item {
  position: relative;
  padding: 0 0 2.2rem 2.6rem;
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--saffron);
}

.timeline__year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--saffron-deep);
}

.timeline__item h3 { font-size: 1.15rem; margin: 0.2rem 0 0.35rem; font-family: var(--font-body); font-weight: 700; }
.timeline__item p { color: var(--ink-soft); max-width: 52ch; }

/* ---------- Checklist (protocols) ---------- */

.checklist {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0.9rem 2rem;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50% 50% 3px 3px;
  background: var(--saffron);
  mask: none;
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 0.33rem;
  top: 0.55rem;
  width: 0.42rem;
  height: 0.28rem;
  border-left: 2px solid var(--cream);
  border-bottom: 2px solid var(--cream);
  transform: rotate(-45deg);
}

.checklist li strong { color: var(--ink); }

/* ---------- People (jatha) ---------- */

.person {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px 999px 18px 18px;
  padding: 2.6rem 1.8rem 2rem;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.3s;
}
.person:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 40px -24px rgba(31, 36, 64, 0.35);
}

.person__mark {
  width: 4.2rem;
  height: 4.2rem;
  margin: 0 auto 1.2rem;
  border-radius: 50% 50% 8px 8px;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-deep));
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
}

.person__photo {
  width: 8.5rem;
  height: 9.5rem;
  margin: 0 auto 1.3rem;
  border-radius: 999px 999px 12px 12px;
  overflow: hidden;
  border: 3px solid var(--gold-soft);
}
.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.event-row__art {
  width: 5.5rem;
  flex: none;
  border-radius: 999px 999px 10px 10px;
  overflow: hidden;
  border: 2px solid var(--gold-soft);
  float: right;
  margin: 0 0 0.6rem 1rem;
}
.event-row__art img { width: 100%; display: block; }

.person h3 { font-size: 1.3rem; }

.person__role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin: 0.4rem 0 1rem;
}

.person p { font-size: 0.95rem; color: var(--ink-soft); text-align: left; }
.person p + p { margin-top: 0.6rem; }

/* ---------- Price table ---------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  font-size: 0.98rem;
}

.price-table thead th {
  background: var(--indigo);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  padding: 1rem 1.4rem;
}

.price-table td {
  padding: 0.95rem 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

.price-table td:first-child { color: var(--ink); font-weight: 700; }

.price-table td.price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--saffron-deep);
  white-space: nowrap;
}

.price-table tbody tr { transition: background 0.2s; }
.price-table tbody tr:hover { background: var(--paper); }

.table-scroll { overflow-x: auto; border-radius: 18px; }

/* ---------- Contact / footer ---------- */

.contact-panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(2rem, 4vw, 3.2rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

.contact-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
}

.contact-list .tag {
  flex: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  width: 4.6rem;
}

.contact-list a { text-decoration: none; border-bottom: 1px solid var(--gold-soft); }
.contact-list a:hover { color: var(--saffron-deep); }

.site-footer {
  background: var(--indigo-deep);
  color: rgba(255, 251, 240, 0.8);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  position: relative;
  overflow: clip;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

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

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.1rem;
}

.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }

.site-footer a {
  text-decoration: none;
  color: rgba(255, 251, 240, 0.8);
  transition: color 0.2s;
}
.site-footer a:hover { color: var(--gold-soft); }

.site-footer .brand__name { color: var(--cream); }

.site-footer__gurmukhi {
  font-family: var(--font-gurmukhi);
  font-size: 1.25rem;
  color: var(--gold-soft);
  margin-top: 1.4rem;
}
.site-footer__gurmukhi small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 251, 240, 0.55);
  margin-top: 0.3rem;
}

.site-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 251, 240, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 251, 240, 0.5);
}

/* ---------- Reveal animations ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .arch-visual__sun { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Notice / callout ---------- */

.callout {
  margin-top: 2rem;
  background: var(--paper-deep);
  border-left: 4px solid var(--saffron);
  border-radius: 0 14px 14px 0;
  padding: 1.3rem 1.6rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}
.callout strong { color: var(--ink); }

/* ---------- Sewa calendar ---------- */

.cal {
  margin-top: 2.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.cal__head {
  background: var(--indigo);
  color: var(--cream);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cal__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.cal__nav {
  display: flex;
  gap: 0.5rem;
}

.cal__nav button {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 251, 240, 0.4);
  background: transparent;
  color: var(--cream);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.cal__nav button:hover:not(:disabled) { background: var(--saffron); border-color: var(--saffron); }
.cal__nav button:disabled { opacity: 0.35; cursor: default; }

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

.cal__dow {
  padding: 0.8rem 0.4rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.cal__cell {
  min-height: 5.4rem;
  padding: 0.5rem 0.55rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
  font-size: 0.85rem;
  background: var(--cream);
}
.cal__cell:nth-child(7n) { border-right: none; }

.cal__cell .d {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink-soft);
}

.cal__cell--out { background: var(--paper); }
.cal__cell--out .d { opacity: 0.3; }

.cal__cell--muted .d { opacity: 0.55; }

.cal__cell--today .d {
  color: var(--saffron-deep);
  font-weight: 700;
}
.cal__cell--today::after {
  content: "today";
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-deep);
}

.cal__slot {
  margin-top: 0.45rem;
  display: block;
  width: 100%;
  border-radius: 10px;
  padding: 0.4rem 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: left;
  border: none;
}

.cal__slot--open {
  background: transparent;
  border: 1.5px dashed var(--saffron);
  color: var(--saffron-deep);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-style 0.2s;
}
.cal__slot--open:hover {
  background: var(--saffron);
  color: var(--cream);
  border-style: solid;
}

.cal__slot--booked {
  background: var(--indigo);
  color: var(--cream);
}
.cal__slot--booked small {
  display: block;
  font-weight: 400;
  color: var(--gold-soft);
  font-size: 0.66rem;
  margin-top: 0.1rem;
}

.cal__slot--past {
  background: var(--paper-deep);
  color: var(--ink-soft);
  opacity: 0.7;
}

.cal__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 1rem 1.4rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.cal__legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.cal__legend i {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 4px;
  display: inline-block;
}
.cal__legend .l-open { border: 1.5px dashed var(--saffron); }
.cal__legend .l-booked { background: var(--indigo); }
.cal__legend .l-past { background: var(--paper-deep); }

@media (max-width: 700px) {
  .cal__cell { min-height: 4.4rem; padding: 0.35rem; }
  .cal__slot { font-size: 0.62rem; padding: 0.3rem 0.35rem; }
  .cal__cell--today::after { display: none; }
}

/* Booking modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(23, 28, 51, 0.55);
}
.modal.is-open { display: flex; }

.modal__card {
  background: var(--cream);
  border-radius: 22px;
  max-width: 28rem;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2.2rem 2rem;
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(23, 28, 51, 0.6);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.modal__close:hover { background: var(--ink); color: var(--cream); }

.modal__date {
  font-family: var(--font-gurmukhi);
  color: var(--saffron-deep);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.modal__card h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.modal__card > p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.4rem; }

.field { margin-bottom: 1.05rem; }
.field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 0.35rem;
}
.field input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(224, 123, 31, 0.18);
}

.form-msg {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: none;
}
.form-msg--error { display: block; background: #f6dcd2; color: #8a3214; }
.form-msg--ok { display: block; background: #e2ecdc; color: #2c5424; }

/* ---------- Inline forms (signup / contact) ---------- */

.form-panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 36rem;
}

.form-panel .btn { width: 100%; justify-content: center; }

.field textarea,
.field select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(224, 123, 31, 0.18);
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.check-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}
.check-row input { accent-color: var(--saffron-deep); }
.check-row label:has(input:checked) {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--cream);
}

/* ---------- Admin ---------- */

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 1.5rem;
}
.admin-tabs button {
  border: 1.5px solid var(--line);
  background: var(--cream);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.admin-tabs button.is-active,
.admin-tabs button:hover {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--cream);
}

.admin-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--cream); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 40rem; }
.admin-table th {
  background: var(--indigo);
  color: var(--cream);
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-table td { padding: 0.7rem 1rem; border-top: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.admin-table td:first-child { color: var(--ink); font-weight: 700; white-space: nowrap; }

.admin-del {
  border: 1.5px solid #c0522a;
  color: #c0522a;
  background: transparent;
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.admin-del:hover { background: #c0522a; color: var(--cream); }

.admin-edit {
  border: 1.5px solid var(--indigo);
  color: var(--indigo);
  background: transparent;
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  margin-right: 0.4rem;
  transition: background 0.15s, color 0.15s;
}
.admin-edit:hover { background: var(--indigo); color: var(--cream); }

/* Event list */
.event-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.6rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.event-row:last-child { border-bottom: 1px solid var(--line); }

.event-row__date {
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px 14px 999px 999px;
  padding: 0.7rem 0.4rem 0.9rem;
}
.event-row__date .month {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron-deep);
}
.event-row__date .day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--ink);
}

.event-row h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.event-row p { color: var(--ink-soft); max-width: 60ch; }
.event-row .meta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 0.35rem;
  display: block;
}
