:root {
  --maroon: #641b1b;
  --gold: #bd9650;
  --gold-light: #e5c987;
  --ivory: #fff9ed;
  --ink: #38251d;
  --muted: #806e5b;
  --line: #dfc99f;
  --shadow: 0 18px 55px rgba(78, 37, 20, .10)
}

* {
  box-sizing: border-box
}

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "DM Sans", sans-serif
}

body[data-lang=te] {
  font-family: "Noto Serif Telugu", "DM Sans", sans-serif
}

.topbar {
  height: 72px;
  padding: 0 clamp(18px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--maroon);
  color: #fff8e8;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 20px #39101030
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-family: "Playfair Display", serif;
  font-size: 19px
}

.brand-mark {
  color: var(--gold-light);
  font-size: 27px
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 26px
}

.nav-link {
  color: #f8e9cb;
  text-decoration: none;
  font-size: 13px
}

.language-switch {
  display: flex;
  padding: 4px;
  border: 1px solid #d7b979;
  border-radius: 99px;
  gap: 3px
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #fff4dc;
  padding: 8px 13px;
  border-radius: 99px;
  cursor: pointer;
  font-weight: 700
}

.lang-btn.active {
  background: var(--gold-light);
  color: #4b2018
}

.section-shell {
  width: min(1080px, calc(100% - 40px));
  margin: auto
}

.hero {
  text-align: center;
  padding: 70px 20px 82px;
  position: relative
}



.hero:before {
  left: 2%
}

.hero:after {
  right: 2%
}

.auspicious-line {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px
}

.deity-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 27px auto 25px
}

.ganesha-seal {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  outline: 5px double #e8d6b1;
  outline-offset: 5px;
  background: radial-gradient(circle, #fffdf6, #f1e1c2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: var(--shadow)
}

.ganesha-image-wrapper {
  width: 146px;
  height: 146px;
  margin-top: 4px
}

.ganesha-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12%;
  mix-blend-mode: multiply
}

.tilak {
  display: flex;
  gap: 5px;
  align-items: center;
  height: 13px
}

.tilak i {
  width: 6px;
  height: 14px;
  background: var(--maroon);
  border-radius: 50%
}

.tilak b {
  width: 6px;
  height: 19px;
  background: #c42b25;
  border-radius: 50%
}

.eyebrow,
.section-kicker {
  color: #a27a3f;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 11px;
  font-weight: 700
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 500;
  margin: 14px 0 6px;
  color: var(--maroon)
}

.title-rule {
  color: var(--gold);
  font-size: 23px
}

.event-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  color: var(--maroon);
  margin: 8px 0 0
}

.subtitle {
  font-family: "Playfair Display", serif;
  color: #9b733c;
  font-style: italic;
  font-size: 18px;
  margin: 0
}

.intro {
  max-width: 600px;
  margin: 22px auto 27px;
  color: #725e4c;
  line-height: 1.8
}

.primary-cta,
.map-button {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  background: var(--maroon);
  color: #fff7e7;
  text-decoration: none;
  border-radius: 99px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 7px 18px #641b1b25
}

.home-section,
.details-section,
.family-section,
.location-section {
  padding: 60px 0
}

.home-section {
  border-top: 1px solid var(--line)
}

.section-heading {
  text-align: center;
  margin-bottom: 32px
}

.section-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 39px);
  font-weight: 500;
  color: var(--maroon);
  margin: 9px 0
}

.section-heading p {
  color: var(--muted);
  font-size: 14px
}

.building-card {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  background: linear-gradient(125deg, #f4ead7, #fffaf0);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.building-illustration {
  min-height: 350px;
  background: linear-gradient(#e9ddc7, #f8f0df);
  padding: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column
}

.building {
  width: min(100%, 430px);
  background: #e7dfd0;
  border: 5px solid #c6b69b;
  border-bottom: 10px solid #a88e6b;
  padding: 12px 14px 0;
  box-shadow: inset 0 0 0 4px #f9f2e5, 0 14px 22px #53351d20;
  position: relative
}

.building-roof {
  width: min(88%, 390px);
  height: 16px;
  background: #a48a69;
  border-radius: 6px 6px 0 0
}

.floor {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-bottom: 3px solid #bba98b
}

.floor i {
  width: 43px;
  height: 31px;
  background: linear-gradient(90deg, #553e2e 0 8%, #d9b879 8% 92%, #553e2e 92%);
  border: 3px solid #8b7659;
  display: block;
  position: relative
}

.floor i:after {
  content: "";
  position: absolute;
  left: 50%;
  height: 100%;
  border-left: 2px solid #8b7659
}

.floor .flat-highlight {
  width: 60px;
  height: 38px;
  background: #f4d27f;
  border: 3px solid #b17b27;
  box-shadow: 0 0 0 4px #dcb45c80;
  display: grid;
  place-items: center
}

.flat-highlight b {
  font-size: 13px;
  color: #6a211a
}

.entrance {
  height: 43px;
  width: 95px;
  margin: auto;
  background: #5e3427;
  border: 5px solid #a98b61;
  border-bottom: 0
}

.floor-label {
  margin-top: 18px;
  background: var(--maroon);
  color: #fff4d9;
  border-radius: 99px;
  padding: 9px 17px;
  font-size: 12px
}

.building-copy {
  padding: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column
}

.mini-ornament {
  color: var(--gold);
  font-size: 24px
}

.building-copy h3 {
  font-family: "Playfair Display", serif;
  font-size: 27px;
  color: var(--maroon);
  margin: 12px 0 5px
}

.apartment-name {
  font-weight: 700
}

.building-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px
}

.flat-number {
  font-family: "Playfair Display", serif;
  color: var(--gold);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  margin: 12px 0
}

.floor-pill {
  border: 1px solid var(--gold);
  color: #815a28;
  padding: 8px 13px;
  border-radius: 99px;
  font-size: 12px
}

.details-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.detail-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 26px;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 18px
}

.detail-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #f2e5ca;
  color: #986b2c;
  border-radius: 50%;
  font-size: 25px;
  flex: none
}

.detail-label {
  display: block;
  color: #9c7846;
  font-size: 12px;
  margin-bottom: 7px
}

.detail-card strong {
  display: block;
  color: var(--maroon);
  font-family: "Playfair Display", serif;
  font-size: 20px
}

.detail-card small {
  display: block;
  color: var(--muted);
  margin-top: 6px
}

.calendar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 22px
}

.calendar-row p {
  font-size: 13px;
  color: var(--muted)
}

.outline-cta {
  border: 1px solid var(--gold);
  border-radius: 99px;
  padding: 12px 17px;
  color: var(--maroon);
  font-size: 12px;
  text-decoration: none;
  font-weight: 700
}

.hosts-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px
}

.host-card {
  padding: 32px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf7;
  box-shadow: var(--shadow)
}

.host-card:before {
  content: "✧";
  color: var(--gold);
  font-size: 22px
}

.host-label {
  display: block;
  color: #9c7846;
  font-size: 12px;
  margin: 13px 0
}

.host-name {
  font-family: "Playfair Display", serif;
  color: var(--maroon);
  font-size: 22px
}

.location-section {
  border-top: 1px solid var(--line)
}

.location-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow)
}

.location-pin {
  width: 62px;
  height: 62px;
  background: #f2e5ca;
  color: var(--maroon);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 35px
}

.address-block h3 {
  font-family: "Playfair Display", serif;
  color: var(--maroon);
  font-size: 21px;
  margin: 0 0 9px
}

.address-block p {
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 8px;
  font-size: 14px
}

.flat-address {
  color: var(--maroon) !important
}

.map-button {
  margin-top: 10px;
  padding: 12px 17px;
  font-size: 12px
}

.qr-block {
  text-align: center;
  color: var(--muted);
  font-size: 11px
}

.qr-block img {
  display: block;
  width: 112px;
  height: 112px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 8px
}

.location-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 17px
}

.closing {
  text-align: center;
  padding: 65px 20px;
  background: var(--maroon);
  color: #f9e8c1;
  border-radius: 26px 26px 0 0;
  max-width: none;
  width: 100%
}

.closing-ornament {
  font-size: 25px;
  color: var(--gold-light)
}

.closing p {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 4vw, 34px);
  font-style: italic;
  max-width: 700px;
  margin: 15px auto
}

.closing span {
  font-size: 12px;
  color: #e3c994
}

.closing-symbols {
  margin-top: 23px;
  color: var(--gold-light);
  letter-spacing: 8px
}

footer {
  background: #481414;
  color: #d8c49c;
  padding: 17px clamp(20px, 6vw, 90px);
  display: flex;
  justify-content: space-between;
  font-size: 11px
}

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

/* Decorative falling petals, tulsi leaves and gold glitter */
.shower {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 5
}

.piece {
  position: absolute;
  top: 0;
  left: var(--x);
  scale: var(--scale);
  opacity: .7;
  animation: fall var(--dur) linear var(--delay) infinite
}

.petal {
  width: 11px;
  height: 11px;
  background: radial-gradient(circle at 40% 35%, #fffaf3, #f3b9c0 60%, #e08d98);
  border-radius: 50% 0 50% 50%
}

.leaf {
  width: 9px;
  height: 15px;
  background: linear-gradient(160deg, #9cd17a, #2f7a3e);
  border-radius: 0 100% 0 100%
}

.glitter {
  width: 11px;
  height: 11px;
  background: linear-gradient(135deg, #fff6d5, #e5c987 45%, #bd9650);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: fall var(--dur) linear var(--delay) infinite, twinkle 2.4s ease-in-out infinite
}

@keyframes fall {
  from {
    translate: 0 -12vh;
    rotate: 0deg
  }

  to {
    translate: var(--drift) 112vh;
    rotate: var(--spin)
  }
}

@keyframes twinkle {

  0%,
  100% {
    opacity: .2
  }

  50% {
    opacity: 1
  }
}

@media(max-width:700px) {
  html {
    scroll-padding-top: 76px
  }

  .topbar {
    height: 64px;
    padding: 0 16px
  }

  .top-actions {
    gap: 10px
  }

  .nav-link {
    display: none
  }

  .brand {
    font-size: 16px
  }

  .lang-btn {
    padding: 7px 10px;
    font-size: 11px
  }

  .section-shell {
    width: calc(100% - 28px)
  }

  .hero {
    padding: 55px 8px 65px
  }

  .hero:before,
  .hero:after {
    width: 60px;
    height: 60px
  }

  .deity-art {
    gap: 8px
  }

  .ganesha-seal {
    width: 135px;
    height: 135px
  }

  .ganesha-image-wrapper {
    width: 100px;
    height: 100px
  }

  .building-card {
    grid-template-columns: 1fr
  }

  .building-illustration {
    min-height: 300px;
    padding: 25px 18px
  }

  .building-copy {
    padding: 25px 28px
  }

  .detail-grid,
  .hosts-grid {
    grid-template-columns: 1fr
  }

  .detail-card {
    padding: 20px
  }

  .calendar-row {
    align-items: flex-start;
    flex-direction: column
  }

  .location-card {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 22px
  }

  .qr-block {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center
  }

  .qr-block img {
    width: 90px;
    height: 90px;
    margin: 0
  }

  .closing {
    border-radius: 18px 18px 0 0;
    padding: 48px 20px
  }

  footer {
    gap: 12px;
    line-height: 1.5
  }

  .location-pin {
    width: 48px;
    height: 48px;
    font-size: 27px
  }
}
