/* ==========================================================
   Culture page
   Loads after style.css and reuses its colour and type tokens
   ========================================================== */

/* ---------- Hero ---------- */
.cu-hero {
  position: relative;
  min-height: min(62vh, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--forest);
  color: #fff;
}

.cu-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #E9E3D8;
}

@media (min-width: 1200px) {
  .cu-hero {
    min-height: 0;
    aspect-ratio: 20 / 9;
    max-height: 700px;
  }
}

.cu-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 19, 17, .85) 0%, rgba(20, 19, 17, .3) 60%, rgba(20, 19, 17, .15) 100%);
}

.cu-hero-text {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(40px, 7vw, 80px);
}

.cu-hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  margin-bottom: 10px;
}

.cu-hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: #EBDDBF;
  margin: 0;
}

.crumb {
  font-size: 14px;
  color: #CFC6B4;
  margin-bottom: 14px;
}

.crumb a {
  color: var(--gold);
  text-decoration: none;
}

.crumb a:hover {
  color: #fff;
}

/* ---------- Vasudhaiva Kutumbakam statement ---------- */
.cu-intro {
  padding-block: var(--space);
  text-align: center;
}

.cu-intro .narrow {
  margin-inline: auto;
}

.cu-sanskrit {
  font-family: var(--deva);
  font-size: clamp(30px, 4vw, 44px);
  color: var(--gold-deep);
  margin-bottom: 20px;
}

.cu-statement {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.45;
  margin: 0;
}

/* ---------- Public speaking / Music / Drama ---------- */
.arts {
  padding-bottom: var(--space);
}

.arts>h2 {
  max-width: 640px;
  margin-bottom: 56px;
}

.art-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.art-row+.art-row {
  margin-top: clamp(56px, 8vw, 96px);
}

.art-row.reverse img {
  order: 2;
}

.art-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  /* Keep heads in frame. Lower the number to show more of the top,
     raise it to show more of the floor. */
  object-position: 50% 15%;
  border-radius: 4px;
  background: #E9E3D8;
}

.art-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--gold-deep);
}

.art-row p:not(.art-lead) {
  color: var(--muted);
}

/* ---------- Festivals ---------- */
.festivals {
  background: var(--ink);
  color: #E8E1D3;
  padding-block: var(--space);
}

.festivals h2 {
  color: #fff;
}

.fest-head {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 6vw, 80px);
  margin-bottom: 48px;
}

.fest-head p {
  color: #CFC6B4;
}

.fest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 240px;
  gap: 14px;
}

.fest-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}

.fest-grid figure.wide {
  grid-column: span 2;
}

.fest-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #2A2926;
}

.fest-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 19, 17, .8), transparent 50%);
}

.fest-grid figcaption {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 1;
  font: 600 22px/1.15 var(--serif);
  color: #fff;
}

/* ---------- House System ---------- */
.houses {
  padding-block: var(--space);
}

.houses-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.houses-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--gold-deep);
}

.houses-head p:not(.houses-tag) {
  color: var(--muted);
}

.house-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.house {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.house img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #E9E3D8;
}

.house h3 {
  margin: 22px 24px 4px;
  font-size: 32px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.house h3 span {
  font-family: var(--deva);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold-deep);
}

.house p {
  margin: 0 24px 24px;
  color: var(--muted);
}

/* ---------- Closing call to action ---------- */
.cu-cta {
  background: var(--forest);
  color: #EFE7D6;
  padding-block: var(--space);
  text-align: center;
}

.cu-cta h2 {
  color: #fff;
}

.cu-cta .narrow {
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.btn-ghost {
  background: transparent;
  color: #F4E9D2;
}

.btn-ghost:hover {
  background: var(--gold);
  color: var(--ink);
}

/* keep the last line clear of the floating WhatsApp / Call buttons */
.cu-cta {
  padding-bottom: calc(var(--space) + 72px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .fest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }
}

@media (max-width: 860px) {

  .art-row,
  .fest-head,
  .house-grid {
    grid-template-columns: 1fr;
  }

  .art-row.reverse img {
    order: 0;
  }
}

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

  .fest-grid figure.wide {
    grid-column: span 1;
  }
}