/* BCS Japan · a light, editorial home for a living culture. */
:root {
  --paper: #fbfaf7;
  --white: #fff;
  --ink: #252823;
  --muted: #85877f;
  --body: #676b62;
  --orange: #de681e;
  --saffron: #f3a131;
  --green: #566645;
  --line: #e4e6df;
  --display: 'Manrope', 'Noto Sans JP', sans-serif;
  --font: 'DM Sans', 'Noto Sans JP', sans-serif;
  --scene: 0;
  --radius: 24px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  color-scheme: light
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent
}

button {
  font: inherit
}

button,
a {
  touch-action: manipulation
}

button {
  cursor: pointer
}

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

button {
  color: inherit
}

svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0
}

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

h1,
h2,
h3,
p {
  margin: 0
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -.055em
}

button {
  border: 0
}

::selection {
  background: #ffdcb0;
  color: var(--ink)
}

:focus-visible {
  outline: 3px solid #cb722d;
  outline-offset: 6px
}

section[id] {
  scroll-margin-top: 90px
}

[hidden] {
  display: none !important
}

.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden
}

.section-shell {
  max-width: 1392px;
  padding-left: 56px;
  padding-right: 56px;
  margin: auto
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: -80px;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px
}

.skip-link:focus {
  top: 10px
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .17em;
  color: var(--green)
}

.tiny-flower {
  font-size: 23px;
  color: var(--orange);
  line-height: 1
}

.muted {
  color: var(--muted)
}

.preview-bar {
  min-height: 29px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #f0ede5;
  font-size: 13px;
  color: #706b5e;
  letter-spacing: .035em;
  padding: 5px 16px
}

.preview-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--orange)
}

.preview-separator {
  opacity: .3
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s
}

.site-header.scrolled {
  border-bottom-color: var(--line)
}

.nav-shell {
  height: 90px;
  max-width: 1512px;
  margin: auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  line-height: 1.2;
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.05em
}

.brand img {
  height: 52px;
  width: 52px;
  object-fit: contain
}

.brand-sub {
  display: block;
  margin-top: 5px;
  font: 11px/1.3 var(--font);
  font-weight: 600;
  letter-spacing: .14em
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: auto;
  margin-right: 26px;
  font-size: 14px;
  font-weight: 500
}

.nav-links>a {
  position: relative;
  padding: 10px 0
}

.nav-links>a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width .25s
}

.nav-links>a:hover::after {
  width: 100%
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 27px
}

.language-switch {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #afb1aa;
  font-size: 13px;
  white-space: nowrap
}

.lang-button {
  background: transparent;
  padding: 6px 2px;
  color: #a3a69e;
  font-size: 13px
}

.lang-button.active {
  color: var(--ink);
  font-weight: 700
}

.nav-join {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--ink);
  border-radius: 50px;
  font-size: 14px;
  padding: 9px 17px;
  transition: background .25s, color .25s
}

.nav-join svg {
  width: 16px;
  height: 16px
}

.nav-join:hover {
  background: var(--ink);
  color: #fff
}

.menu-button,
.mobile-join {
  display: none
}

.hero {
  position: relative;
  min-height: 770px;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 130px 24px 100px;
  text-align: center
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1250px
}

.hero-eyebrow {
  justify-content: center;
  animation: enter .9s .1s both
}

.hero h1 {
  font-size: clamp(50px, 7.2vw, 112px);
  line-height: 1.11;
  font-weight: 650;
  margin: 29px 0 27px;
  letter-spacing: -.065em
}

.hero-line {
  display: block;
  animation: enter 1.1s .15s both
}

.hero-line:nth-child(2) {
  animation-delay: .27s
}

.hero-accent {
  background: linear-gradient(110deg, #d16d29 10%, #eb8f2f 45%, #b95526 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero-description {
  max-width: 490px;
  margin: auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
  animation: enter 1s .4s both
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 31px;
  margin-top: 30px;
  animation: enter 1s .5s both
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  border-radius: 50px;
  padding: 16px 23px;
  font-size: 14px;
  font-weight: 550;
  min-height: 52px;
  transition: background .25s, transform .25s, box-shadow .25s
}

.button svg {
  height: 18px;
  width: 18px
}

.button-primary {
  background: var(--ink);
  color: #fff
}

.button-primary:hover {
  background: #4b573d;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px #25282315
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 550
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform .25s
}

.text-link:hover svg {
  transform: translate(2px, -2px)
}

.hero-motto {
  margin-top: 43px;
  animation: enter 1s .6s both
}

.hero-motto p {
  font: 19px/1.5 'Tiro Devanagari Sanskrit', serif;
  color: #6c725c
}

.hero-motto>span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: .025em;
  color: #909184
}

.scroll-cue {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-direction: column;
  font-size: 11px;
  letter-spacing: .2em;
  color: #9c9f93;
  white-space: nowrap
}

.scroll-line {
  display: block;
  width: 1px;
  height: 37px;
  background: linear-gradient(transparent, #989f8b);
  position: relative;
  overflow: hidden
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  background: #bc702c;
  animation: scroll-down 2.5s infinite
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.orbit {
  position: absolute;
  color: #d8c2a1;
  opacity: .4
}

.orbit svg {
  width: 100%;
  height: 100%;
  animation: spin 100s linear infinite
}

.orbit-left {
  width: 280px;
  height: 280px;
  left: -176px;
  top: 200px
}

.orbit-right {
  width: 410px;
  height: 410px;
  right: -280px;
  bottom: 55px
}

.hero-flower {
  position: absolute;
  color: #efa330;
  animation: flower-float 6s ease-in-out infinite;
  filter: drop-shadow(0 9px 6px #9650170d)
}

.flower-one {
  width: 65px;
  height: 65px;
  left: 9%;
  top: 145px;
  transform: rotate(-15deg)
}

.flower-two {
  width: 96px;
  height: 96px;
  right: 6%;
  top: 165px;
  animation-delay: -2s
}

.flower-three {
  width: 39px;
  height: 39px;
  right: 17%;
  bottom: 130px;
  animation-delay: -4s
}

.petal {
  position: absolute;
  top: -20px;
  display: block;
  border-radius: 90% 5% 80% 10%;
  background: #e4a346;
  width: 8px;
  height: 13px;
  opacity: 0;
  animation: petal-fall var(--duration) var(--delay) linear infinite;
  left: var(--left)
}

.photo-scene {
  height: 135vh;
  min-height: 900px;
  position: relative;
  background: var(--paper)
}

.photo-pin {
  position: sticky;
  top: 89px;
  height: calc(100vh - 90px);
  max-height: 910px;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.photo-frame {
  width: calc(100% - (1 - var(--scene))*112px);
  height: calc(100% - (1 - var(--scene))*64px);
  border-radius: calc((1 - var(--scene))*28px);
  position: relative;
  overflow: hidden;
  background: #524539;
  isolation: isolate
}

.community-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(calc(1.09 - var(--scene)*.09));
  will-change: transform
}

.photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #17171000 25%, #14191024 45%, #11180ecc 100%);
  opacity: calc(.75 + var(--scene)*.25)
}

.photo-caption {
  position: absolute;
  left: 7%;
  bottom: 11%;
  color: white;
  transform: translateY(calc(18px*(1 - var(--scene))))
}

.photo-kicker {
  font-size: 12px;
  letter-spacing: .19em;
  color: #f0e3c6;
  font-weight: 500
}

.photo-caption h2 {
  font-size: clamp(38px, 4.8vw, 74px);
  line-height: 1.15;
  margin: 20px 0 24px;
  font-weight: 600;
  letter-spacing: -.055em
}

.photo-note {
  font-size: 13px;
  color: #e2e2d0
}

.photo-stamp {
  width: 114px;
  height: 114px;
  position: absolute;
  right: 7%;
  bottom: 12%;
  display: grid;
  place-items: center;
  color: #ffbe58
}

.photo-stamp svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 50s linear infinite;
  opacity: .9
}

.photo-stamp span {
  position: relative;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .11em;
  text-align: center;
  color: #6d3916;
  font-weight: 800
}

.community-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-top: 105px;
  padding-bottom: 105px
}

.intro-copy h2 {
  font-size: 38px;
  line-height: 1.25;
  margin: 18px 0
}

.intro-copy>p:last-child {
  font-size: 16px;
  line-height: 1.9;
  color: var(--body);
  max-width: 460px
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-content: center;
  position: relative
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 9px
}

.stat-number {
  font: 600 clamp(35px, 3.8vw, 59px)/1.1 var(--display);
  letter-spacing: -.07em;
  white-space: nowrap
}

.stat-number sup {
  font-size: 28px;
  font-weight: 400;
  color: var(--orange);
  position: relative;
  top: -5px;
  margin-left: 1px
}

.stat>span:last-child {
  font-size: 13px;
  color: var(--body)
}

.sample-note {
  font-size: 12px;
  color: #9a9c94;
  line-height: 1.6
}

.community-stats>.sample-note {
  grid-column: 1/-1;
  margin-top: 8px
}

.celebrations-section {
  background: #f6f6f2;
  padding: 110px 0
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 47px
}

.section-heading h2 {
  font-size: clamp(36px, 4.1vw, 62px);
  line-height: 1.14;
  margin-top: 20px
}

.heading-aside {
  max-width: 280px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--body);
  padding-bottom: 5px
}

.festival-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(310px, auto);
  gap: 20px
}

.festival-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  text-align: left;
  padding: 34px;
  background: #eee;
  transition: transform .4s, box-shadow .4s;
  isolation: isolate;
  min-width: 0
}

.festival-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px #3b38200c
}

.tile-eyebrow {
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 650;
  position: relative;
  z-index: 2
}

.tile-title {
  font-family: var(--display);
  font-size: 43px;
  line-height: 1.12;
  letter-spacing: -.06em;
  font-weight: 600;
  display: block;
  margin-top: 16px;
  position: relative;
  z-index: 2
}

.tile-small-copy {
  font-size: 13px;
  margin-top: 14px;
  position: relative;
  z-index: 2
}

.round-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid #25282344;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  transition: background .25s, transform .25s
}

.round-arrow svg {
  width: 17px;
  height: 17px
}

.festival-tile:hover .round-arrow {
  background: #ffffff88;
  transform: rotate(45deg)
}

.festival-ganesh {
  grid-column: span 7;
  grid-row: span 2;
  background: #ede5d5;
  min-height: 640px;
  color: #5a432d
}

.festival-ganesh>.tile-title {
  font-size: 31px;
  max-width: 350px;
  letter-spacing: -.04em
}

.tile-subtitle {
  display: block;
  font-size: 64px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.065em;
  margin-top: 17px
}

.tile-devanagari {
  font: 17px/1.5 'Tiro Devanagari Sanskrit', serif;
  margin-top: 20px;
  color: #936d3e;
  z-index: 2
}

.poster-wrap {
  position: absolute;
  width: 49%;
  right: -7%;
  bottom: -5%;
  z-index: 1;
  transform: rotate(-11deg);
  box-shadow: -15px 15px 40px #4a2a1c33;
  transition: transform .7s cubic-bezier(.2, .65, .3, 1);
  transform-origin: center 65%
}

.poster-wrap img {
  width: 100%;
  height: auto
}

.festival-ganesh:hover .poster-wrap {
  transform: translate(-8px, -12px) rotate(-6deg)
}

.tile-bottom {
  margin-top: auto;
  width: 100%;
  z-index: 3;
  font-size: 13px;
  padding-top: 140px;
  max-width: 210px
}

.festival-ganesh .round-arrow {
  border-color: #755f4340;
  background: #ede5d5
}

.festival-shiv {
  grid-column: span 5;
  background: #f3aa48;
  color: #683c1d
}

.festival-shiv .tile-title {
  font-size: 49px
}

.fort-art {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 0
}

.flag {
  transform-origin: 202px 30px;
  animation: flag-wave 3s ease-in-out infinite
}

.festival-shiv .round-arrow {
  background: #ffcb78;
  border-color: transparent
}

.festival-independence {
  grid-column: span 5;
  background: #e7ebe4;
  color: #3f5441;
  min-height: 310px
}

.festival-independence .tile-title {
  font-size: 42px
}

.chakra-art {
  position: absolute;
  width: 200px;
  height: 200px;
  right: -45px;
  bottom: -38px;
  color: #52627e;
  opacity: .7;
  animation: spin 80s linear infinite;
  z-index: 0
}

.festival-independence .round-arrow {
  background: #e7ebe4;
  border-color: #58735844
}

.tricolour-lines {
  display: flex;
  gap: 5px;
  margin-top: 25px
}

.tricolour-lines i {
  width: 26px;
  height: 3px;
  background: #df954d
}

.tricolour-lines i:nth-child(2) {
  background: #fff
}

.tricolour-lines i:nth-child(3) {
  background: #788764
}

.festival-dussehra {
  grid-column: span 6;
  min-height: 285px;
  background: #f1e5de;
  color: #805044
}

.festival-gatherings {
  grid-column: span 6;
  min-height: 285px;
  background: #e9e8f0;
  color: #615b77
}

.festival-dussehra .tile-title,
.festival-gatherings .tile-title {
  font-size: 43px
}

.bow-art {
  position: absolute;
  right: 12px;
  top: 70px;
  width: 210px;
  height: 180px;
  opacity: .75;
  transition: transform .4s
}

.festival-dussehra:hover .bow-art {
  transform: translateX(10px)
}

.festival-dussehra .tile-small-copy {
  max-width: 210px
}

.gathering-art {
  position: absolute;
  right: -50px;
  bottom: -63px;
  width: 250px;
  height: 250px;
  color: #9993b0;
  opacity: .7;
  animation: spin 100s linear infinite
}

.festival-gatherings .tile-title {
  max-width: 320px
}

.festival-gatherings .round-arrow {
  background: #e9e8f0
}

.events-section {
  padding-top: 110px;
  padding-bottom: 110px
}

.events-section .section-heading {
  margin-bottom: 40px
}

.event-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px
}

.event-filters {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 30px;
  gap: 2px
}

.filter-button {
  border-radius: 25px;
  padding: 9px 17px;
  font-size: 13px;
  color: #777d6e;
  background: transparent;
  white-space: nowrap;
  transition: background .25s, color .25s
}

.filter-button.active {
  background: var(--ink);
  color: #fff
}

.event-tools .sample-note {
  max-width: 245px;
  text-align: right
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  min-height: 390px;
  align-items: start
}

.event-image {
  position: relative;
  border-radius: 19px;
  width: 100%;
  aspect-ratio: 1.37;
  overflow: hidden;
  display: block;
  text-align: left;
  padding: 24px;
  transition: transform .35s
}

.event-image:hover {
  transform: translateY(-4px)
}

.event-badge {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .08em;
  background: #ffffffd9;
  padding: 6px 9px;
  border-radius: 20px;
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 3;
  color: #40483c;
  font-weight: 650
}










.image-arrow {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  background: #ffffff22;
  border-radius: 50%;
  display: grid;
  place-items: center
}

.image-arrow svg {
  width: 14px;
  height: 14px
}

.event-upcoming {
  background: #f6d4b8;
  color: #765543
}

.upcoming-script {
  position: absolute;
  left: 30px;
  top: 60px;
  font: 600 38px/1.03 var(--display);
  letter-spacing: -.05em
}

.upcoming-script em {
  font-style: normal;
  color: #a76d4b
}

.upcoming-flower {
  position: absolute;
  color: #e9a359;
  animation: spin 45s linear infinite
}

.upcoming-flower-one {
  width: 100px;
  height: 100px;
  right: -20px;
  top: 60px;
  opacity: .85
}

.upcoming-flower-two {
  width: 55px;
  height: 55px;
  right: 50px;
  bottom: -10px;
  opacity: .7;
  animation-direction: reverse
}

.event-upcoming .image-arrow {
  background: #ffffff44
}

.event-past {
  background: #ba975e;
  padding: 0
}

.event-past>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .7s
}

.event-past:hover>img {
  transform: scale(1.05)
}

.event-past .image-arrow {
  background: #ffffffde;
  color: var(--ink)
}

.event-information {
  padding: 21px 0 0
}

.event-date {
  font-size: 11px;
  letter-spacing: .12em;
  color: #898d81;
  font-weight: 600
}

.event-information h3 {
  font-size: 22px;
  letter-spacing: -.045em;
  margin-top: 7px;
  line-height: 1.3
}

.event-bottom {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between
}

.event-bottom>span {
  font-size: 13px;
  color: #898d81;
  max-width: 75%
}

.event-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  padding: 0;
  font-size: 13px;
  white-space: nowrap
}

.event-detail-link svg {
  width: 13px;
  height: 13px
}

.event-detail-link:hover {
  color: var(--orange)
}

.event-follow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 42px;
  font-size: 13px;
  color: #8d9186
}

.event-follow a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--ink)
}

.event-follow svg {
  width: 13px;
  height: 13px
}

.story-section {
  position: relative;
  background: #f1f0e9;
  overflow: hidden
}

.story-inner {
  padding-top: 105px;
  padding-bottom: 95px;
  position: relative;
  z-index: 1
}

.story-statement {
  font-size: clamp(40px, 5.9vw, 88px);
  line-height: 1.19;
  font-weight: 550;
  letter-spacing: -.06em;
  margin: 35px 0 55px
}

.story-statement>span {
  color: #959c8b;
  transition: color .3s
}

.story-statement>span.lit {
  color: #3e4a34
}

.story-statement>.story-highlight.lit {
  color: #c76e2f
}

.story-bottom {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 35px;
  align-items: start;
  max-width: 1030px
}

.story-rule {
  display: block;
  width: 54px;
  height: 1px;
  background: #8a927b;
  margin-top: 11px
}

.story-bottom>p {
  font-size: 15px;
  color: #707766;
  line-height: 1.9
}

.story-signature {
  padding-left: 55px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  font-size: 13px;
  color: #59634e;
  line-height: 1.8
}

.signature-mark {
  font-size: 33px;
  line-height: 1;
  margin-bottom: 15px;
  color: #b38843
}

.story-signature small {
  color: #9c9f92;
  font-size: 13px
}

.story-art {
  position: absolute;
  right: -235px;
  top: -55px;
  width: 600px;
  height: 600px;
  color: #b7bda7;
  opacity: .22;
  pointer-events: none
}

.story-art svg {
  width: 100%;
  height: 100%;
  animation: spin 130s linear infinite
}

.social-section {
  padding-top: 90px;
  padding-bottom: 100px
}

.social-heading h2 {
  font-size: 37px;
  line-height: 1.3;
  margin-top: 18px
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 35px
}

.social-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  gap: 22px;
  padding: 30px;
  align-items: center;
  transition: background .25s, border-color .25s
}

.social-icon {
  width: 30px;
  height: 30px
}

.social-platform {
  font-size: 11px;
  letter-spacing: .15em;
  font-weight: 600;
  color: #8f9487
}

.social-card h3 {
  font-size: 22px;
  margin-top: 3px;
  letter-spacing: -.04em
}

.social-card p {
  font-size: 13px;
  color: #8b9083;
  margin-top: 3px
}

.social-arrow {
  margin-left: auto;
  width: 20px;
  height: 20px
}

.social-instagram:hover {
  background: #fff8f2;
  border-color: #ddc9b5
}

.social-facebook:hover {
  background: #f6f8f3;
  border-color: #b5c5a6
}

.join-section {
  background: #fbfaf7;
  padding: 100px 0 95px
}

.join-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 100px
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #7b9262;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #7b92620b
}

.join-intro h2 {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.2;
  margin-top: 23px;
  letter-spacing: -.055em
}

.join-intro>p:not(.eyebrow) {
  max-width: 340px;
  font-size: 15px;
  color: var(--body);
  line-height: 1.9;
  margin-top: 25px
}

.join-intro .button {
  margin-top: 28px;
  min-width: 142px
}

.join-options {
  padding-top: 20px
}

.join-option {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  align-items: center
}

.join-option:first-child {
  padding-top: 0
}

.join-number {
  font-size: 12px;
  color: #a8ab9d;
  align-self: flex-start;
  padding-top: 6px
}

.join-option h3 {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -.04em
}

.join-option p {
  font-size: 13px;
  color: #969b8d;
  margin-top: 5px
}

.join-option>svg {
  margin-left: auto;
  width: 18px;
  height: 18px;
  transition: transform .25s
}

.join-option:hover>svg {
  transform: translate(4px, -4px);
  color: var(--orange)
}

.email-line {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 29px
}

.email-line>span {
  font-size: 13px;
  color: #808775
}

.email-line button {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  border: 1px solid #d6dacd;
  border-radius: 30px;
  background: transparent;
  padding: 7px 10px;
  white-space: nowrap
}

.email-line svg {
  height: 12px;
  width: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4
}

.email-line button:hover {
  background: #f0f1e9
}

.site-footer {
  background: #eeefe8;
  position: relative;
  padding-top: 50px;
  overflow: hidden;
  color: #5d6652
}

.wave-band {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 200%;
  opacity: .3;
  background-image: radial-gradient(circle at 50% 100%, transparent 9px, #a2b08d 9.5px, #a2b08d 10px, transparent 10.5px, transparent 15px, #a2b08d 15.5px, #a2b08d 16px, transparent 16.5px, transparent 21px, #a2b08d 21.5px, #a2b08d 22px, transparent 22.5px);
  background-size: 44px 22px;
  animation: wave-drift 30s linear infinite
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px
}

.footer-brand {
  font-size: 20px
}

.footer-brand img {
  height: 56px;
  width: 56px
}

.footer-brand .brand-sub {
  font-size: 9px
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #8b9380
}

.back-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px
}

.back-top svg {
  height: 15px;
  width: 15px
}

.footer-wordmark {
  font: 650 clamp(65px, 13.5vw, 199px)/1.2 var(--display);
  letter-spacing: -.07em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: .15;
  white-space: nowrap;
  padding: 20px 0 22px;
  user-select: none
}

.footer-wordmark>span {
  font-weight: 400;
  color: #bb7f3a;
  font-size: .7em;
  line-height: 1
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  border-top: 1px solid #d6dcca;
  padding: 25px 0 20px;
  color: #939b87
}

.footer-bottom>div {
  display: flex;
  gap: 23px;
  color: #667357
}

.footer-bottom a:hover {
  color: var(--orange)
}

.footer-demo {
  font-size: 11px;
  text-align: center;
  color: #a0a795;
  padding: 0 0 18px
}

dialog {
  border: 0;
  border-radius: 26px;
  padding: 0;
  max-width: 620px;
  width: calc(100% - 36px);
  max-height: 90dvh;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 100px #121a1255
}

dialog::backdrop {
  background: #17201688;
  backdrop-filter: blur(7px)
}

body.dialog-open {
  overflow: hidden
}

.dialog-close {
  position: absolute;
  z-index: 5;
  right: 18px;
  top: 18px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: #ffffffea;
  border-radius: 50%;
  border: 1px solid #242c2212
}

.dialog-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5
}

.dialog-close:hover {
  background: #f6e6d0
}

.dialog-body {
  padding: 44px
}

.dialog-body .eyebrow {
  padding-right: 20px
}

.dialog-body h2 {
  font-size: 40px;
  line-height: 1.15;
  margin: 20px 0 20px
}

.dialog-body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--body)
}

.dialog-body p+p {
  margin-top: 17px
}

.dialog-meta {
  margin: 22px 0;
  background: #f0f0e7;
  padding: 18px;
  border-radius: 12px;
  display: grid;
  gap: 8px
}

.dialog-meta div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 15px;
  font-size: 14px
}

.dialog-meta dt {
  color: #929b86
}

.dialog-meta dd {
  margin: 0
}

.dialog-body .button {
  margin-top: 25px
}

.dialog-poster {
  max-width: 330px;
  width: 100%;
  margin: 25px auto 0;
  border-radius: 10px
}

.demo-warning {
  padding: 13px 16px;
  border-radius: 10px;
  background: #faeddb;
  color: #8d632f !important;
  font-size: 13px !important;
  margin-bottom: 20px
}

.toast {
  position: fixed;
  z-index: 70;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 12px 22px;
  border-radius: 50px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 5px 30px #25282322;
  opacity: 0;
  transition: transform .3s, opacity .3s;
  pointer-events: none;
  max-width: calc(100% - 30px);
  text-align: center
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0)
}

.offscreen * {
  animation-play-state: paused !important
}

/* Entrance animations must always finish, even if a section was briefly marked off screen */
.offscreen :is(.hero-eyebrow, .hero-line, .hero-description, .hero-buttons, .hero-motto, .bloom) {
  animation-play-state: running !important
}

.js .reveal {
  opacity: 0;
  transform: translateY(23px);
  transition: opacity .75s, transform .75s cubic-bezier(.2, .65, .3, 1)
}

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

.js .festival-tile.reveal.visible:hover {
  transform: translateY(-5px)
}

.festival-grid>.reveal:nth-child(2),
.social-grid>.reveal:nth-child(2),
.event-grid>.reveal:nth-child(2) {
  transition-delay: .08s
}

.festival-grid>.reveal:nth-child(3),
.event-grid>.reveal:nth-child(3) {
  transition-delay: .16s
}

html[lang=ja] body {
  font-family: 'Noto Sans JP', var(--font)
}

html[lang=ja] h1,
html[lang=ja] h2,
html[lang=ja] h3 {
  letter-spacing: -.045em
}

html[lang=ja] .hero h1 {
  font-size: clamp(35px, 5.8vw, 90px);
  line-height: 1.4
}

html[lang=ja] .hero-description {
  line-height: 2;
  max-width: 490px;
  font-size: 16px
}

html[lang=ja] .eyebrow {
  letter-spacing: .09em
}

html[lang=ja] .tile-title {
  font-size: 34px;
  line-height: 1.35
}

html[lang=ja] .tile-subtitle {
  font-size: 61px;
  line-height: 1.1
}

html[lang=ja] .tile-small-copy {
  font-size: 13px
}

html[lang=ja] .tile-eyebrow {
  font-size: 11px
}

html[lang=ja] .story-statement {
  font-size: clamp(35px, 4.7vw, 70px);
  line-height: 1.55
}

html[lang=ja] .join-intro h2 {
  font-size: clamp(28px, 3vw, 45px);
  line-height: 1.5
}

html[lang=ja] .section-heading h2 {
  font-size: clamp(28px, 3.3vw, 50px);
  line-height: 1.45
}

html[lang=ja] .event-information h3 {
  font-size: 18px;
  line-height: 1.6
}

html[lang=ja] .join-option h3 {
  font-size: 17px
}

html[lang=ja] .story-signature {
  font-size: 13px
}

html[lang=ja] .photo-caption h2 {
  line-height: 1.4
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

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

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes flower-float {

  0%,
  100% {
    translate: 0 0;
    rotate: -8deg
  }

  50% {
    translate: 0 -13px;
    rotate: 10deg
  }
}

@keyframes flag-wave {

  0%,
  100% {
    transform: scaleX(1) skewY(0)
  }

  50% {
    transform: scaleX(.9) skewY(5deg)
  }
}

@keyframes scroll-down {
  to {
    top: 100%
  }
}



@keyframes wave-drift {
  to {
    transform: translateX(-44px)
  }
}

@keyframes petal-fall {
  0% {
    opacity: 0;
    transform: translate(0, -10px) rotate(10deg)
  }

  15% {
    opacity: .3
  }

  85% {
    opacity: .3
  }

  100% {
    opacity: 0;
    transform: translate(60px, 730px) rotate(330deg)
  }
}

@media(min-width:1600px) {
  .hero {
    min-height: 840px
  }

  .hero-content {
    max-width: 1440px
  }

  .flower-one {
    left: 14%
  }

  .flower-two {
    right: 10%
  }
}

@media(max-width:1150px) {
  .section-shell {
    padding-left: 36px;
    padding-right: 36px
  }

  .nav-shell {
    padding: 0 36px;
    gap: 18px
  }

  .nav-links {
    gap: 20px;
    margin-right: 10px
  }

  .nav-actions {
    gap: 18px
  }

  .hero {
    min-height: 710px
  }

  .hero h1 {
    font-size: 7.4vw
  }

  .flower-one {
    left: 5%;
    top: 175px;
    width: 48px;
    height: 48px
  }

  .flower-two {
    right: 4%;
    width: 70px;
    height: 70px;
    top: 80px
  }

  .flower-three {
    right: 7%;
    bottom: 130px
  }

  .community-intro {
    gap: 40px
  }

  .community-stats {
    gap: 15px
  }

  .tile-subtitle {
    font-size: 54px
  }

  .festival-tile {
    padding: 28px
  }

  .festival-ganesh>.tile-title {
    font-size: 27px
  }

  .festival-grid {
    grid-auto-rows: 290px;
    gap: 16px
  }

  .festival-ganesh {
    min-height: 596px
  }

  .festival-shiv .tile-title {
    font-size: 43px
  }

  .festival-independence .tile-title {
    font-size: 36px
  }

  .festival-dussehra .tile-title,
  .festival-gatherings .tile-title {
    font-size: 36px
  }

  .festival-dussehra,
  .festival-gatherings {
    min-height: 290px
  }

  .gathering-art {
    width: 210px;
    height: 210px
  }

  .bow-art {
    width: 150px;
    right: 0
  }

  .event-grid {
    gap: 20px
  }

  .event-image {
    aspect-ratio: 1.25
  }


  .upcoming-script {
    font-size: 33px;
    left: 25px
  }

  .event-information h3 {
    font-size: 20px
  }

  .event-bottom {
    gap: 5px
  }

  .event-date {
    font-size: 11px
  }

  .event-bottom>span {
    font-size: 12px
  }

  .join-grid {
    gap: 50px
  }

  .join-option {
    gap: 17px
  }

  .story-bottom {
    gap: 20px
  }

  .story-signature {
    padding-left: 25px
  }

  .footer-location {
    font-size: 12px
  }
}

@media(max-width:880px) {
  .nav-shell {
    height: 78px;
    padding: 0 26px
  }

  .brand {
    font-size: 20px
  }

  .brand img {
    width: 45px;
    height: 45px
  }

  .brand-sub {
    font-size: 9px
  }

  .nav-links {
    position: absolute;
    display: none;
    top: 78px;
    left: 0;
    right: 0;
    background: #fffffff5;
    backdrop-filter: blur(20px);
    padding: 25px 28px 30px;
    box-shadow: 0 25px 25px #1d301010;
    margin: 0;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    gap: 6px;
    font-size: 16px
  }

  .nav-links.open {
    display: flex;
    flex-direction: column
  }

  .nav-links a {
    padding: 10px 0
  }

  .mobile-join {
    display: block
  }

  .nav-join {
    display: none
  }

  .menu-button {
    width: 34px;
    height: 34px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px
  }

  .menu-button span {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--ink);
    transition: transform .25s
  }

  .menu-button[aria-expanded=true] span:first-child {
    transform: translateY(3.5px) rotate(45deg)
  }

  .menu-button[aria-expanded=true] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg)
  }

  .nav-actions {
    gap: 19px
  }

  .hero {
    min-height: 710px;
    padding-top: 110px
  }

  .hero h1 {
    font-size: 7.8vw
  }

  .hero-eyebrow {
    font-size: 12px
  }

  .hero-description {
    font-size: 16px;
    max-width: 430px
  }

  .hero-motto {
    margin-top: 35px
  }

  .photo-pin {
    top: 77px;
    min-height: 540px;
    height: calc(100vh - 78px)
  }

  .photo-scene {
    min-height: 840px;
    height: 130vh
  }

  .photo-frame {
    width: calc(100% - (1 - var(--scene))*60px);
    height: calc(100% - (1 - var(--scene))*46px)
  }

  .photo-caption h2 {
    font-size: 48px
  }

  .community-intro {
    padding-top: 75px;
    padding-bottom: 75px;
    grid-template-columns: 1fr;
    gap: 40px
  }

  .intro-copy>p:last-child {
    max-width: 570px
  }

  .intro-copy h2 {
    font-size: 34px
  }

  .community-stats {
    max-width: 560px
  }

  .stat-number {
    font-size: 50px
  }

  .section-heading {
    gap: 25px
  }

  .heading-aside {
    max-width: 230px;
    font-size: 13px
  }

  .section-heading h2 {
    font-size: 38px
  }

  .celebrations-section {
    padding: 80px 0
  }

  .festival-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto
  }

  .festival-ganesh {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 610px
  }

  .festival-shiv,
  .festival-independence {
    grid-column: span 1;
    min-height: 297px
  }

  .festival-dussehra,
  .festival-gatherings {
    grid-column: span 1;
    min-height: 285px
  }

  .tile-subtitle {
    font-size: 46px
  }

  .festival-ganesh>.tile-title {
    font-size: 24px
  }

  .festival-ganesh>.tile-eyebrow {
    font-size: 11px;
    max-width: 190px
  }

  .tile-devanagari {
    font-size: 16px
  }

  .poster-wrap {
    width: 65%;
    right: -15%;
    bottom: 4%
  }

  .tile-bottom {
    font-size: 12px;
    max-width: 150px
  }

  .festival-shiv .tile-title {
    font-size: 37px
  }

  .festival-shiv .tile-eyebrow,
  .festival-independence .tile-eyebrow {
    font-size: 11px
  }

  .festival-independence .tile-title {
    font-size: 32px
  }

  .tile-small-copy {
    font-size: 13px
  }

  .festival-dussehra .tile-title,
  .festival-gatherings .tile-title {
    font-size: 31px
  }

  .festival-dussehra .tile-small-copy {
    max-width: 130px
  }

  .bow-art {
    width: 130px;
    height: 140px;
    top: 115px;
    right: -10px
  }

  .gathering-art {
    width: 180px;
    height: 180px;
    bottom: -25px;
    right: -50px
  }

  .events-section {
    padding-top: 80px;
    padding-bottom: 80px
  }

  .events-section .section-heading {
    align-items: flex-start
  }

  .event-tools {
    padding-top: 28px
  }

  .event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    min-height: 320px
  }

  .event-image {
    aspect-ratio: 1
  }

  .event-badge {
    font-size: 9px;
    padding: 5px 7px;
    top: 12px;
    left: 12px
  }



  .upcoming-script {
    font-size: 28px;
    top: 56px;
    left: 20px
  }

  .upcoming-flower-one {
    width: 70px;
    height: 70px;
    top: 70px;
    right: -25px
  }

  .upcoming-flower-two {
    width: 40px;
    height: 40px;
    right: 30px
  }

  .event-information h3 {
    font-size: 17px
  }

  .event-bottom {
    flex-direction: column;
    gap: 12px
  }

  .event-bottom>span {
    max-width: 100%
  }

  .event-date {
    font-size: 9px
  }

  .event-follow {
    font-size: 13px;
    flex-wrap: wrap
  }

  .story-inner {
    padding-top: 80px;
    padding-bottom: 75px
  }

  .story-statement {
    font-size: 56px
  }

  .story-bottom {
    grid-template-columns: 35px 1.3fr 1fr;
    gap: 20px
  }

  .story-rule {
    width: 25px
  }

  .story-bottom>p {
    font-size: 13px
  }

  .story-signature {
    padding-left: 10px;
    font-size: 12px
  }

  .story-signature small {
    font-size: 12px
  }

  .social-section {
    padding-top: 70px;
    padding-bottom: 75px
  }

  .social-card {
    gap: 15px;
    padding: 22px
  }

  .social-icon {
    width: 25px;
    height: 25px
  }

  .social-card h3 {
    font-size: 20px
  }

  .social-card p {
    font-size: 12px
  }

  .social-arrow {
    width: 15px;
    height: 15px
  }

  .social-heading h2 {
    font-size: 32px
  }

  .join-section {
    padding: 80px 0
  }

  .join-grid {
    grid-template-columns: 1fr;
    gap: 45px
  }

  .join-intro h2 {
    font-size: 46px
  }

  .join-intro>p:not(.eyebrow) {
    max-width: 460px
  }

  .join-options {
    padding-top: 0
  }

  .join-option h3 {
    font-size: 21px
  }

  .join-option p {
    font-size: 14px
  }

  .email-line>span {
    font-size: 14px
  }

  .footer-top {
    flex-wrap: wrap
  }

  .footer-location {
    display: none
  }

  .footer-bottom {
    font-size: 11px
  }

  .footer-bottom>div {
    gap: 15px
  }

  .photo-stamp {
    width: 90px;
    height: 90px
  }

  .photo-stamp span {
    font-size: 11px
  }

  html[lang=ja] .tile-title {
    font-size: 27px
  }

  html[lang=ja] .tile-subtitle {
    font-size: 43px
  }

  html[lang=ja] .tile-small-copy {
    font-size: 12px
  }

  html[lang=ja] .section-heading h2 {
    font-size: 29px
  }

  html[lang=ja] .event-information h3 {
    font-size: 15px
  }

  html[lang=ja] .story-statement {
    font-size: 42px
  }
}

@media(max-width:600px) {
  html {
    scroll-padding-top: 90px
  }

  .section-shell {
    padding-left: 23px;
    padding-right: 23px
  }

  .preview-bar {
    font-size: 11px;
    min-height: 27px;
    gap: 7px
  }

  .preview-bar>span:nth-child(2) {
    display: none
  }

  .preview-separator {
    display: none
  }

  .nav-shell {
    padding: 0 19px;
    height: 74px;
    gap: 10px
  }

  .nav-links {
    top: 74px
  }

  .brand {
    font-size: 18px;
    gap: 7px
  }

  .brand img {
    width: 43px;
    height: 43px
  }

  .brand-sub {
    font-size: 5.5px;
    letter-spacing: .1em
  }

  .nav-actions {
    gap: 11px
  }

  .language-switch {
    gap: 4px
  }

  .lang-button {
    font-size: 12px
  }

  .menu-button {
    width: 28px
  }

  .hero {
    min-height: 710px;
    padding: 100px 20px 105px;
    align-items: flex-start
  }

  .hero h1 {
    font-size: clamp(42px, 8.4vw, 52px);
    line-height: 1.13;
    letter-spacing: -.065em;
    margin: 27px auto 25px;
    max-width: 520px
  }

  .hero-line:last-child {
    max-width: 9em;
    margin: auto
  }

  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: .15em;
    gap: 7px
  }

  .hero-eyebrow .tiny-flower {
    font-size: 19px
  }

  .hero-description {
    max-width: 305px;
    font-size: 14px;
    line-height: 1.85
  }

  .hero-buttons {
    gap: 20px;
    margin-top: 25px;
    flex-direction: column
  }

  .button {
    padding: 14px 20px;
    font-size: 13px;
    min-height: 47px;
    gap: 24px
  }

  .text-link {
    font-size: 13px
  }

  .hero-motto {
    margin-top: 31px
  }

  .hero-motto p {
    font-size: 16px
  }

  .hero-motto>span {
    font-size: 11px;
    margin-top: 4px
  }

  .flower-one {
    left: 0;
    top: 27px;
    width: 40px;
    height: 40px
  }

  .flower-two {
    width: 57px;
    height: 57px;
    right: 3%;
    top: 35px
  }

  .flower-three {
    width: 28px;
    height: 28px;
    right: 8%;
    bottom: 78px
  }

  .orbit-left {
    width: 180px;
    height: 180px;
    left: -146px;
    top: 270px
  }

  .orbit-right {
    width: 250px;
    height: 250px;
    right: -200px;
    bottom: 50px
  }

  .petal {
    width: 5px;
    height: 9px
  }

  .scroll-cue {
    font-size: 9px
  }

  .scroll-line {
    height: 27px
  }

  .photo-scene {
    height: 110vh;
    min-height: 780px
  }

  .photo-pin {
    top: 73px;
    height: calc(100svh - 74px);
    min-height: 580px;
    max-height: 780px
  }

  .photo-frame {
    width: calc(100% - (1 - var(--scene))*30px);
    height: calc(100% - (1 - var(--scene))*30px);
    border-radius: calc((1 - var(--scene))*18px)
  }

  .community-photo {
    object-position: 47% center
  }

  .photo-caption {
    left: 7%;
    right: 7%;
    bottom: 11%
  }

  .photo-kicker {
    font-size: 11px;
    letter-spacing: .14em
  }

  .photo-caption h2 {
    font-size: 37px;
    line-height: 1.2;
    margin: 14px 0 20px;
    max-width: 350px
  }

  .photo-note {
    font-size: 11px
  }

  .photo-stamp {
    right: 7%;
    bottom: auto;
    top: 30px;
    width: 75px;
    height: 75px
  }

  .photo-stamp span {
    font-size: 11px
  }

  .community-intro {
    padding-top: 65px;
    padding-bottom: 65px;
    gap: 38px
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: .12em
  }

  .intro-copy h2 {
    font-size: 31px;
    line-height: 1.3;
    margin-top: 16px
  }

  .intro-copy>p:last-child {
    font-size: 14px;
    line-height: 1.9
  }

  .community-stats {
    gap: 15px;
    grid-template-columns: 1fr 1.15fr 1fr
  }

  .stat-number {
    font-size: 38px
  }

  .stat-number sup {
    font-size: 20px;
    top: -3px
  }

  .stat {
    gap: 7px
  }

  .stat>span:last-child {
    font-size: 11px;
    max-width: 90px;
    line-height: 1.7
  }

  .community-stats>.sample-note {
    font-size: 11px;
    margin-top: 2px
  }

  .celebrations-section {
    padding: 65px 0
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px
  }

  .section-heading h2 {
    font-size: 34px;
    line-height: 1.18;
    margin-top: 17px
  }

  .heading-aside {
    font-size: 14px;
    max-width: 320px;
    line-height: 1.85;
    padding: 0
  }

  .festival-grid {
    grid-template-columns: 1fr;
    gap: 15px
  }

  .festival-tile {
    padding: 28px;
    border-radius: 20px;
    grid-column: span 1;
    grid-row: span 1;
    min-height: 290px
  }

  .festival-ganesh {
    min-height: 530px
  }

  .festival-ganesh>.tile-eyebrow {
    max-width: 100%;
    font-size: 11px
  }

  .festival-ganesh>.tile-title {
    font-size: 26px
  }

  .tile-subtitle {
    font-size: 56px
  }

  .tile-devanagari {
    font-size: 15px;
    margin-top: 17px
  }

  .poster-wrap {
    width: 46%;
    right: -7%;
    bottom: -5%
  }

  .tile-bottom {
    font-size: 13px;
    max-width: 180px
  }

  .round-arrow {
    width: 35px;
    height: 35px;
    right: 24px;
    bottom: 24px
  }

  .festival-shiv .tile-title {
    font-size: 46px
  }

  .festival-independence .tile-title {
    font-size: 39px
  }

  .festival-tile .tile-eyebrow {
    font-size: 11px
  }

  .tile-small-copy {
    font-size: 13px
  }

  .fort-art {
    height: 155px
  }

  .chakra-art {
    width: 210px;
    height: 210px;
    right: -26px;
    bottom: -39px
  }

  .festival-dussehra .tile-title,
  .festival-gatherings .tile-title {
    font-size: 38px
  }

  .festival-dussehra .tile-small-copy {
    max-width: 175px
  }

  .bow-art {
    width: 150px;
    height: 160px;
    top: 110px;
    right: 3px
  }

  .gathering-art {
    width: 220px;
    height: 220px;
    right: -50px;
    bottom: -65px
  }

  .events-section {
    padding-top: 65px;
    padding-bottom: 65px
  }

  .events-section .section-heading {
    gap: 24px;
    margin-bottom: 26px
  }

  .event-tools {
    align-items: flex-start;
    padding: 0;
    gap: 9px;
    width: 100%
  }

  .event-tools .sample-note {
    text-align: left;
    max-width: 100%;
    font-size: 11px
  }

  .filter-button {
    font-size: 12px;
    padding: 8px 15px
  }

  .event-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    min-height: 0
  }

  .event-image {
    aspect-ratio: 1.4;
    border-radius: 18px
  }

  .event-badge {
    font-size: 11px;
    top: 18px;
    left: 18px;
    padding: 6px 9px
  }



  .image-arrow {
    width: 30px;
    height: 30px
  }

  .upcoming-script {
    font-size: 40px;
    left: 28px;
    top: 62px
  }

  .upcoming-flower-one {
    width: 105px;
    height: 105px;
    right: -10px;
    top: 65px
  }

  .upcoming-flower-two {
    width: 55px;
    height: 55px;
    right: 60px;
    bottom: -7px
  }

  .event-date {
    font-size: 11px
  }

  .event-information {
    padding-top: 17px
  }

  .event-information h3 {
    font-size: 24px;
    margin-top: 6px
  }

  .event-bottom {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px
  }

  .event-bottom>span {
    font-size: 13px;
    max-width: 75%
  }

  .event-detail-link {
    font-size: 13px
  }

  .event-follow {
    gap: 6px;
    margin-top: 33px;
    line-height: 1.8;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    text-align: center
  }

  .story-inner {
    padding-top: 65px;
    padding-bottom: 65px
  }

  .story-inner>.eyebrow {
    font-size: 11px;
    gap: 7px
  }

  .story-statement {
    font-size: clamp(32px, 8.1vw, 43px);
    line-height: 1.3;
    margin: 30px 0 35px
  }

  .story-bottom {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .story-rule {
    width: 45px
  }

  .story-bottom>p {
    font-size: 14px;
    line-height: 1.9;
    max-width: 350px
  }

  .story-signature {
    padding: 0;
    font-size: 13px
  }

  .signature-mark {
    font-size: 27px;
    margin-bottom: 10px
  }

  .story-signature small {
    font-size: 13px
  }

  .story-art {
    width: 400px;
    height: 400px;
    right: -280px;
    top: 30px
  }

  .social-section {
    padding-top: 60px;
    padding-bottom: 65px
  }

  .social-heading h2 {
    font-size: 30px
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 25px
  }

  .social-card {
    padding: 23px;
    border-radius: 16px;
    gap: 18px
  }

  .social-icon {
    width: 27px;
    height: 27px
  }

  .social-card h3 {
    font-size: 22px
  }

  .social-card p {
    font-size: 13px;
    margin-top: 4px
  }

  .social-arrow {
    width: 18px;
    height: 18px
  }

  .join-section {
    padding: 65px 0
  }

  .join-grid {
    gap: 35px
  }

  .join-intro h2 {
    font-size: 35px;
    line-height: 1.24;
    margin-top: 20px
  }

  .join-intro>p:not(.eyebrow) {
    font-size: 14px;
    max-width: 315px;
    margin-top: 20px
  }

  .join-intro .button {
    margin-top: 22px
  }

  .join-option {
    padding: 24px 0;
    gap: 17px
  }

  .join-option h3 {
    font-size: 20px
  }

  .join-option p {
    font-size: 13px
  }

  .join-number {
    font-size: 11px;
    padding-top: 4px
  }

  .join-option>svg {
    height: 16px;
    width: 16px
  }

  .email-line {
    margin-top: 25px;
    gap: 5px
  }

  .email-line>span {
    font-size: 13px
  }

  .email-line button {
    font-size: 11px;
    padding: 7px 8px
  }

  .site-footer {
    padding-top: 41px
  }

  .footer-top {
    gap: 12px
  }

  .footer-brand {
    font-size: 16px
  }

  .footer-brand img {
    height: 43px;
    width: 43px
  }

  .footer-brand .brand-sub {
    font-size: 9px
  }

  .back-top {
    font-size: 11px;
    gap: 6px
  }

  .back-top svg {
    height: 12px;
    width: 12px
  }

  .footer-wordmark {
    font-size: 14.4vw;
    padding-top: 28px;
    padding-bottom: 26px
  }

  .footer-bottom {
    flex-wrap: wrap;
    row-gap: 15px;
    font-size: 11px;
    padding: 20px 0
  }

  .footer-bottom>span:first-child {
    width: 100%
  }

  .footer-bottom>span:last-child {
    margin-left: auto
  }

  .footer-bottom>div {
    gap: 18px
  }

  .footer-demo {
    text-align: left;
    font-size: 11px;
    line-height: 1.8
  }

  .dialog-body {
    padding: 40px 26px 30px
  }

  .dialog-body h2 {
    font-size: 31px;
    max-width: 100%;
    padding-right: 8px
  }

  .dialog-body p {
    font-size: 14px
  }

  .dialog-body .eyebrow {
    max-width: 90%;
    font-size: 11px
  }

  .dialog-meta div {
    font-size: 13px;
    grid-template-columns: 55px 1fr
  }

  .dialog-body .button {
    font-size: 13px
  }

  html[lang=ja] .hero h1 {
    font-size: clamp(29px, 7.6vw, 45px);
    line-height: 1.55;
    letter-spacing: -.04em
  }

  html[lang=ja] .hero-line:last-child {
    max-width: 100%
  }

  html[lang=ja] .hero-description {
    font-size: 14px;
    max-width: 295px
  }

  html[lang=ja] .section-heading h2 {
    font-size: 27px;
    line-height: 1.5
  }

  html[lang=ja] .intro-copy h2 {
    font-size: 26px
  }

  html[lang=ja] .tile-title {
    font-size: 35px
  }

  html[lang=ja] .tile-subtitle {
    font-size: 53px
  }

  html[lang=ja] .tile-small-copy {
    font-size: 13px
  }

  html[lang=ja] .story-statement {
    font-size: clamp(24px, 6.7vw, 34px);
    line-height: 1.7
  }

  html[lang=ja] .join-intro h2 {
    font-size: 28px
  }

  html[lang=ja] .join-option h3 {
    font-size: 17px
  }

  html[lang=ja] .social-heading h2 {
    font-size: 25px
  }

  html[lang=ja] .photo-caption h2 {
    font-size: 31px
  }

  html[lang=ja] .event-information h3 {
    font-size: 20px
  }
}

@media(max-width:600px) {
  html[lang=ja] .festival-shiv .tile-title {
    font-size: 27px
  }

  html[lang=ja] .festival-gatherings .tile-title {
    font-size: 29px
  }
}

@media(max-width:360px) {
  .hero h1 {
    font-size: 39px
  }

  .brand {
    font-size: 16px
  }

  .brand-sub {
    font-size: 9px
  }

  .nav-shell {
    padding: 0 12px
  }

  .nav-actions {
    gap: 6px
  }

  .section-shell {
    padding-left: 19px;
    padding-right: 19px
  }

  .hero-buttons {
    gap: 16px
  }

  .stat-number {
    font-size: 34px
  }

  .stat-number sup {
    font-size: 18px
  }

  .poster-wrap {
    width: 49%;
    right: -10%
  }

  .tile-subtitle {
    font-size: 51px
  }

  .festival-dussehra .tile-title,
  .festival-gatherings .tile-title {
    font-size: 34px
  }

  .join-intro h2 {
    font-size: 31px
  }

  .email-line>span {
    font-size: 12px
  }

  .join-option h3 {
    font-size: 18px
  }

  html[lang=ja] .hero h1 {
    font-size: 25px;
    letter-spacing: -.055em
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important
  }

  .js .reveal {
    opacity: 1;
    transform: none
  }

  .photo-scene {
    height: auto;
    min-height: 0
  }

  .photo-pin {
    position: relative;
    top: auto;
    height: 70vh;
    min-height: 450px;
    max-height: 760px
  }

  .photo-frame {
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    border-radius: 20px
  }

  .community-photo {
    transform: none
  }

  .photo-caption {
    transform: none
  }

  .petal {
    display: none
  }

  .story-statement>span {
    color: #3e4a34
  }

  .story-statement>.story-highlight {
    color: #c76e2f
  }
}

/* ==========================================================================
   Added in the merged version (ChatGPT design + Claude prototype)
   ========================================================================== */

:root {
  --ph-label: "CONFIRM";
  --next-label: "NEXT UP"
}

html[lang=ja] {
  --ph-label: "要確認";
  --next-label: "次の行事"
}

/* Placeholders: anything the committee still has to confirm */
.ph {
  text-decoration: underline dashed #de681e 1.5px;
  text-underline-offset: .22em
}

.ph::after {
  content: var(--ph-label);
  display: inline-block;
  margin-left: .5em;
  padding: 3px 8px 2px;
  border-radius: 20px;
  background: #f3a131;
  color: #3b2208;
  font: 700 11px/1.2 var(--font);
  letter-spacing: .08em;
  vertical-align: middle;
  text-decoration: none
}

.stat-number .ph::after {
  display: block;
  width: max-content;
  margin: 8px 0 0;
  letter-spacing: .08em
}

.community-intro>*,
.stat {
  min-width: 0
}

.community-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

/* Marigold toran across the top of the hero */
.toran {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
  overflow: visible
}

.bloom {
  transform-box: fill-box;
  transform-origin: center;
  animation: bloom-in .55s cubic-bezier(.34, 1.56, .64, 1) both
}

.swag,
.tassel {
  transform-box: fill-box;
  transform-origin: 50% 0
}

.swag {
  animation: sway 4.5s ease-in-out infinite alternate
}

.tassel {
  animation: swing 3.2s ease-in-out infinite alternate
}

/* Festival tiles: when it happens, and the name in Devanagari */
.tile-when {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: #ffffff8c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap
}

.tile-when [lang=sa],
.tile-when [lang=hi] {
  font: 400 15px/1.3 'Tiro Devanagari Sanskrit', serif
}

.tile-deva {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  font: 22px/1.4 'Tiro Devanagari Sanskrit', serif;
  opacity: .85
}

.fort-art {
  transition: transform 1.2s cubic-bezier(.2, .75, .2, 1) .25s
}

.js .festival-shiv:not(.visible) .fort-art {
  transform: translateY(45%)
}

.chakra-art {
  transition: rotate 1.8s cubic-bezier(.2, .75, .2, 1) .2s, scale 1.8s cubic-bezier(.2, .75, .2, 1) .2s, opacity 1s .2s
}

.js .festival-independence:not(.visible) .chakra-art {
  rotate: -220deg;
  scale: .5;
  opacity: 0
}

.arrow-shot {
  transition: transform 1s cubic-bezier(.3, 1.35, .5, 1) .35s, opacity .4s .35s
}

.js .festival-dussehra:not(.visible) .arrow-shot {
  transform: translateX(-90px);
  opacity: 0
}

.gathering-art {
  transition: scale 1.4s cubic-bezier(.2, .75, .2, 1) .2s, opacity 1s .2s
}

.js .festival-gatherings:not(.visible) .gathering-art {
  scale: .4;
  opacity: 0
}

/* Calendar: the festival year */
.year-block {
  margin-top: 120px;
  scroll-margin-top: 90px
}

.months-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px
}

.months-scroll::-webkit-scrollbar {
  display: none
}

.months {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 560px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px
}

.months li {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 14px 0 16px;
  border-radius: 16px;
  font-size: 13px;
  color: var(--muted)
}

.months i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  transition: transform .6s cubic-bezier(.3, 1.6, .5, 1);
  transition-delay: calc(var(--i, 0) * 60ms)
}

.months li.has {
  color: var(--ink);
  font-weight: 650
}

.months li.has i {
  background: var(--orange)
}

.months li.now {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink)
}

.js .year-strip:not(.visible) .months i {
  transform: scale(0)
}

.month-line {
  min-width: 560px;
  height: 3px;
  margin-top: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden
}

.month-line span {
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  border-radius: 3px;
  background: linear-gradient(90deg, #f3a131, #de681e);
  transition: width 1.6s cubic-bezier(.2, .75, .2, 1) .3s
}

.js .year-strip:not(.visible) .month-line span {
  width: 0
}

.year-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px
}

.year-card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 24px;
  border-radius: 19px;
  border: 1px solid var(--line);
  background: #fff
}

.year-card.next {
  border: 2px solid var(--saffron)
}

.year-card.next::before {
  content: var(--next-label);
  justify-self: start;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--saffron);
  color: #3b2208;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em
}

.year-when {
  font-size: 13px;
  font-weight: 650;
  color: var(--orange)
}

.year-card h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.04em
}

.year-card p {
  font-size: 14px;
  color: var(--body)
}

.year-card [lang=sa],
.year-card [lang=hi] {
  font: 16px/1.4 'Tiro Devanagari Sanskrit', serif
}

/* Independence Day memory card uses the community photo */
.event-photo>img {
  object-position: 60% 50%
}

/* Photo moments strip */
.moments-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 34px 0 30px;
  padding-bottom: 8px;
  scrollbar-width: thin
}

.moment {
  position: relative;
  flex: 0 0 clamp(240px, 26vw, 330px);
  aspect-ratio: 4/5;
  margin: 0;
  overflow: hidden;
  border-radius: 19px;
  background: #f6f6f2;
  scroll-snap-align: start
}

.moment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transition: transform .8s
}

.moment:hover img {
  transform: scale(1.05)
}

.moment figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 18px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(transparent, #0009)
}

.moment-empty {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
  border: 1.5px dashed #d8d4c8
}

.moment-empty svg {
  width: 46px;
  height: 46px;
  color: #efa330;
  opacity: .85
}

.moment-empty .ph {
  font-size: 13px;
  color: var(--orange)
}

.moment-empty strong {
  font: 650 20px/1.2 var(--display);
  letter-spacing: -.04em
}

@media(max-width:1000px) {
  .year-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:600px) {
  .hero {
    padding-top: 100px
  }

  .year-block {
    margin-top: 80px
  }

  .year-cards {
    grid-template-columns: minmax(0, 1fr)
  }

  .tile-deva {
    font-size: 19px
  }
}

/* Videos from the YouTube channel */
.videos-section {
  background: #fbfaf7;
  padding: 110px 0
}

.video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 19px;
  aspect-ratio: 16/9;
  background: #2b2622
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .65, .3, 1)
}

.video-thumb:hover img {
  transform: scale(1.04)
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffffe6;
  color: var(--orange);
  box-shadow: 0 10px 30px #0000002e;
  transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), background .3s
}

.video-play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px
}

.video-thumb:hover .video-play {
  transform: scale(1.12);
  background: #fff
}

.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 19px;
  background: #000
}

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

.video-feature {
  margin-bottom: 28px
}

.video-feature .video-thumb {
  border-radius: 26px;
  aspect-ratio: 21/9
}

.video-feature .video-thumb img {
  object-position: 50% 0%
}

.video-feature .video-frame {
  border-radius: 26px;
  aspect-ratio: 16/9
}

.video-feature .video-play {
  width: 86px;
  height: 86px;
  margin: -43px 0 0 -43px
}

.video-feature .video-play svg {
  width: 34px;
  height: 34px
}

.feature-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #0000 40%, #000000b3 100%)
}

.feature-copy {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 34px;
  z-index: 2;
  display: grid;
  gap: 8px;
  color: #fff
}

.feature-copy .video-tag {
  color: #ffd08a
}

.feature-title {
  max-width: 760px;
  font: 600 clamp(24px, 3vw, 42px)/1.15 var(--display);
  letter-spacing: -.045em
}

.feature-deva {
  font: 18px/1.4 'Tiro Devanagari Sanskrit', serif;
  color: #f4e7d2
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 20px
}

.video-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0
}

.video-card .video-thumb {
  margin-bottom: 6px
}

.video-tag {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  color: var(--orange)
}

.video-title {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -.02em
}

/* Contact us */
.contact-section {
  background: #fff;
  padding: 100px 0;
  border-top: 1px solid var(--line)
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start
}

.contact-intro h2 {
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.15;
  margin: 18px 0 20px
}

.contact-intro>p:last-child {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--body)
}

.contact-list {
  border-top: 1px solid var(--line)
}

.contact-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: background .25s
}

a.contact-row:hover {
  background: #fbfaf7
}

.contact-label {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .06em;
  color: var(--muted)
}

.contact-value {
  font-size: 17px;
  font-weight: 550;
  overflow-wrap: anywhere
}

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

.contact-email {
  grid-template-columns: 150px minmax(0, 1fr)
}

.contact-email .email-line {
  margin: 0;
  padding: 0;
  border: 0
}

.contact-email .email-line>span {
  font-size: 17px;
  font-weight: 550;
  color: var(--ink)
}

/* Three social cards: Instagram, Facebook, YouTube */
.social-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.social-youtube:hover {
  background: #fdf3f1;
  border-color: #e0b9b0
}

@media(max-width:1100px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .social-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px
  }
}

@media(max-width:600px) {
  .videos-section {
    padding: 80px 0
  }

  .videos-section .event-filters {
    flex-wrap: wrap;
    border-radius: 22px
  }

  .video-feature .video-thumb {
    aspect-ratio: 16/11
  }

  .feature-title {
    font-size: 21px
  }

  .feature-copy {
    left: 20px;
    right: 20px;
    bottom: 22px
  }

  .feature-deva {
    font-size: 15px
  }

  .video-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .contact-section {
    padding: 80px 0
  }

  .contact-row,
  .contact-email {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px
  }

  .contact-label {
    grid-column: 1/-1
  }
}

/* ==========================================================================
   Inner pages: About, Events, event detail, 404
   ========================================================================== */

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

.page-hero {
  position: relative;
  overflow: hidden;
  background: #fbfaf7;
  padding: 120px 0 90px
}

.page-hero-art {
  position: absolute;
  right: -160px;
  top: -120px;
  width: 560px;
  height: 560px;
  color: #e8dfcd;
  opacity: .7;
  pointer-events: none
}

.page-hero-art svg {
  width: 100%;
  height: 100%;
  animation: spin 160s linear infinite
}

.page-hero-inner {
  position: relative;
  z-index: 1
}

.page-hero h1 {
  max-width: 980px;
  margin: 22px 0 26px;
  font-size: clamp(42px, 6vw, 92px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -.06em
}

.page-lead {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--body)
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 34px
}

/* About */
.motto-band {
  background: #fff;
  border-block: 1px solid var(--line);
  padding: 90px 0;
  text-align: center
}

.motto-sanskrit {
  margin-top: 18px;
  font: clamp(30px, 4.4vw, 60px)/1.35 'Tiro Devanagari Sanskrit', serif;
  color: #b9541f
}

.motto-meaning {
  margin-top: 12px;
  font-size: 18px;
  color: var(--body)
}

.about-what,
.about-friends,
.about-team,
.event-block {
  padding-top: 110px;
  padding-bottom: 20px
}

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

.about-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 250px;
  padding: 34px;
  border-radius: 22px;
  background: #f6f6f2
}

.about-card:nth-child(2) {
  background: #eef0f6
}

.about-card:nth-child(3) {
  background: #f8efe6
}

.about-card:nth-child(4) {
  background: #eff3ea
}

.about-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: #efa330
}

.about-icon-chakra {
  color: #273f8f
}

.about-icon-rangoli {
  color: #c06a3e
}

.about-card h3 {
  font-size: 28px;
  letter-spacing: -.045em
}

.about-card p {
  max-width: 460px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--body)
}

.about-facts-band {
  margin-top: 110px;
  padding: 100px 0;
  background: #fbfaf7
}

.about-facts {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: start
}

.about-facts h2 {
  margin-top: 18px;
  font-size: clamp(34px, 3.8vw, 56px)
}

.chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.chip-list li {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: #fff;
  font-size: 15px;
  font-weight: 550
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}

.team-card {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 30px;
  border: 1px dashed #d8d4c8;
  border-radius: 22px
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #f6f6f2;
  color: #efa330
}

.team-avatar svg {
  width: 40px;
  height: 40px
}

.team-card h3 {
  font-size: 22px;
  letter-spacing: -.04em
}

.team-card p {
  font-size: 15px;
  color: var(--muted)
}

.cta-band {
  margin-top: 110px;
  padding: 100px 0;
  background: #f1f0e9;
  text-align: center
}

.cta-band h2 {
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.1;
  letter-spacing: -.06em
}

.cta-band .cta-buttons {
  justify-content: center
}

/* Events list page */
.events-page-list {
  padding-top: 70px
}

.events-page-list .section-heading {
  margin-bottom: 34px
}

/* Event detail */
.event-hero {
  padding: 70px 0 90px
}

.event-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 70px;
  align-items: center
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  font-size: 15px;
  font-weight: 550;
  color: var(--body)
}

.back-link svg {
  width: 18px;
  height: 18px
}

.back-link:hover {
  color: var(--orange)
}

.eyebrow-deva {
  font: 16px/1 'Tiro Devanagari Sanskrit', serif;
  letter-spacing: 0
}

.event-hero h1 {
  font-size: clamp(38px, 4.8vw, 74px)
}

.event-facts {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--line)
}

.event-facts>div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line)
}

.event-facts dt {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .06em;
  color: var(--muted)
}

.event-facts dd {
  margin: 0;
  font-size: 16px;
  font-weight: 550
}

.event-hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 30px 60px -30px #4a2d1666
}

.event-hero-media img {
  width: 100%;
  height: auto
}

.event-hero-media.is-poster {
  justify-self: center;
  max-width: 440px;
  transform: rotate(2deg)
}

.programme-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--line)
}

.programme-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.5
}

.programme-list svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: #efa330
}

.event-videos {
  margin-top: 110px
}

.notfound-hero {
  min-height: 70vh;
  display: flex;
  align-items: center
}

@media(max-width:1000px) {
  .about-facts,
  .event-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px
  }

  .event-hero-media.is-poster {
    max-width: 360px;
    justify-self: start
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:700px) {
  .page-hero {
    padding: 80px 0 60px
  }

  .page-hero-art {
    width: 380px;
    height: 380px;
    right: -180px;
    top: -60px
  }

  .page-lead {
    font-size: 16px
  }

  .about-cards,
  .programme-list,
  .team-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .about-card {
    min-height: 0;
    padding: 28px
  }

  .about-what,
  .about-friends,
  .about-team,
  .event-block {
    padding-top: 80px
  }

  .about-facts-band,
  .cta-band,
  .event-videos {
    margin-top: 80px
  }

  .event-hero {
    padding: 48px 0 60px
  }

  .event-facts>div {
    grid-template-columns: 80px minmax(0, 1fr)
  }

  .section-heading {
    flex-wrap: wrap
  }
}

@keyframes bloom-in {
  from {
    transform: scale(0)
  }
}

@keyframes sway {
  from {
    transform: rotate(-1deg)
  }

  to {
    transform: rotate(1deg)
  }
}

@keyframes swing {
  from {
    transform: rotate(-7deg)
  }

  to {
    transform: rotate(7deg)
  }
}

@media(prefers-reduced-motion:reduce) {
  .js .festival-shiv:not(.visible) .fort-art,
  .js .festival-dussehra:not(.visible) .arrow-shot {
    transform: none;
    opacity: 1
  }

  .js .festival-independence:not(.visible) .chakra-art,
  .js .festival-gatherings:not(.visible) .gathering-art {
    rotate: none;
    scale: none;
    opacity: .7
  }

  .js .year-strip:not(.visible) .months i {
    transform: none
  }
}

/* ---------- Event photo album (photos from static/assets/photos/<event>/) ---------- */
.photo-grid {
  columns: 3 260px;
  column-gap: 14px;
  margin: 34px 0 10px
}

.photo-tile {
  display: block;
  margin: 0 0 14px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 16px;
  background: #f3f1ea
}

.photo-tile img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .8s cubic-bezier(.2, .65, .3, 1)
}

.photo-tile:hover img {
  transform: scale(1.04)
}

.photo-tile:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px
}

.photo-grid:not(.show-all) .photo-more {
  display: none
}

.album-more {
  display: flex;
  justify-content: center;
  margin-top: 18px
}

.button-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line)
}

.button-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-3px)
}

dialog.photo-viewer {
  max-width: none;
  max-height: none;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  border-radius: 0;
  background: #14120fee;
  overflow: hidden;
  display: none;
  place-items: center
}

dialog.photo-viewer[open] {
  display: grid
}

dialog.photo-viewer::backdrop {
  background: #14120fcc;
  backdrop-filter: blur(6px)
}

.photo-viewer-img {
  max-width: calc(100vw - 150px);
  max-height: calc(100dvh - 110px);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 90px #0008
}

.photo-viewer-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: #ffffff1f;
  color: #fff;
  cursor: pointer;
  transition: background .2s
}

.photo-viewer-btn:hover {
  background: #ffffff3d
}

.photo-viewer-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.photo-viewer-close {
  top: 18px;
  right: 18px
}

.photo-viewer-prev {
  left: 18px;
  top: 50%;
  translate: 0 -50%
}

.photo-viewer-next {
  right: 18px;
  top: 50%;
  translate: 0 -50%
}

.photo-viewer-count {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  color: #fffc;
  font-size: 14px;
  letter-spacing: .08em
}

@media(max-width:600px) {
  .photo-grid {
    columns: 2 140px;
    column-gap: 10px
  }

  .photo-tile {
    margin-bottom: 10px;
    border-radius: 12px
  }

  .photo-viewer-img {
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 150px)
  }

  .photo-viewer-prev,
  .photo-viewer-next {
    top: auto;
    bottom: 50px;
    translate: none
  }
}

/* A YouTube-supplied thumbnail is 4:3 with black bars; keep its centre */
.video-thumb img.thumb-youtube {
  object-position: 50% 50%
}
