:root {
  --bg: #fbf6ef;
  --text: #2b1a1a;
  --muted: #6e5a55;
  --accent: #8a1c2b;   /* deep maroon */
  --gold: #b8862f;
  --rule: #e6d8c6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1214;
    --text: #f3e9df;
    --muted: #bfa9a0;
    --accent: #e3798a;
    --gold: #d9ac5c;
    --rule: #3a2a2c;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 "Inter", system-ui, sans-serif;
}

a { color: var(--accent); text-underline-offset: 3px; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px;
}

.logo { display: block; line-height: 0; }
.logo[hidden] { display: block; visibility: hidden; } /* keep nav aligned right */
.logo img { width: 130px; height: auto; }

.hero-logo {
  display: block;
  width: min(360px, 80vw);
  height: auto;
  margin: 0 auto 28px;
}

nav a {
  margin-left: 22px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
nav a[aria-current="page"] { border-bottom: 1px solid var(--gold); }

main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

h1, h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 20px;
}
h1 { font-size: clamp(34px, 6vw, 52px); }
h2 { font-size: 22px; margin-bottom: 6px; color: var(--accent); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 14px;
}

.hero {
  text-align: center;
  padding-top: 8vh;
}
.lede { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 auto; }

.small { font-size: 15px; color: var(--muted); }

/* Homepage slideshow: square images shown whole, cross-fading */
.slideshow {
  position: relative;
  max-width: 560px;
  margin: 40px auto 0;
}

.slides {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(60, 20, 40, 0.45);
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.slide.is-active { opacity: 1; }
.slide img { display: block; width: 100%; height: 100%; object-fit: cover; }

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 246, 239, 0.85);
  color: #4a1f33;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.slide-btn.prev { left: 12px; }
.slide-btn.next { right: 12px; }
.slideshow:hover .slide-btn,
.slide-btn:focus-visible { opacity: 1; }

/* Touch screens have no hover, so keep the arrows visible */
@media (hover: none) {
  .slide-btn { opacity: 1; width: 34px; height: 34px; font-size: 22px; }
}

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.slide-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.slide-dots button[aria-current="true"] { background: var(--gold); }

.slide-btn:focus-visible,
.slide-dots button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}

/* Simple repeating border inspired by saree pallu edges */
.border-motif {
  height: 12px;
  margin: 40px auto;
  max-width: 280px;
  background:
    radial-gradient(circle at 6px 6px, var(--gold) 2.5px, transparent 3px) 0 0 / 24px 12px repeat-x,
    linear-gradient(var(--rule), var(--rule)) center / 100% 1px no-repeat;
}

.about p { margin: 0 0 18px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
  margin: 36px 0;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pillars p { font-size: 15px; color: var(--muted); margin: 0; }

.site-footer {
  text-align: center;
  padding: 0 20px 28px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .border-motif { margin: 0 auto 16px; }
.site-footer p { margin: 0; }
