body.house {
  --night: #f6f8fb;
  --night-2: #ffffff;
  --panel: #ffffff;
  --panel-cool: #f3f7fb;
  --wine: #1f4e79;
  --wine-deep: #163a5c;
  --maroon: #1f4e79;
  --rose: #1f6f8a;
  --gold: #c4a15a;
  --gold-2: #8a6424;
  --gold-deep: #6e4e16;
  --silver: #4d5d6c;
  --silver-2: #16324a;
  --ivory: #1b2836;
  --muted: #526170;
  --peacock: #1f7a72;
  --line: rgba(31, 78, 121, 0.16);
  --display: "Fraunces", Palatino, "Palatino Linotype", serif;
  --text: Outfit, "Segoe UI", sans-serif;
  margin: 0;
  max-width: 100%;
  color: var(--ivory);
  color-scheme: light;
  background:
    radial-gradient(880px 420px at 100% -10%, rgba(31, 111, 138, 0.12), transparent 56%),
    radial-gradient(720px 380px at -8% 12%, rgba(196, 161, 90, 0.18), transparent 52%),
    var(--night);
  font-family: var(--text);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.house h1,
body.house h2,
body.house h3,
body.house .display {
  font-family: var(--display);
  font-weight: 560;
  font-optical-sizing: auto;
  letter-spacing: 0;
  color: var(--ivory);
  line-height: 1.12;
  overflow-wrap: anywhere;
}
body.house h2 {
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.16;
  overflow: visible;
}
body.house .section,
body.house .section-intro { overflow: visible; }
body.house p { overflow-wrap: break-word; }
body.house a { color: inherit; }
body.house ::selection { background: #d7e6f2; color: #16324a; }

body.house .curtain {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  overflow: hidden;
  pointer-events: none;
}
body.house .curtain span {
  flex: 1;
  background: linear-gradient(180deg, #f6f8fb, #e7f0f6);
}
body.house .curtain span:first-child { animation: wipe-left 0.9s cubic-bezier(.7, 0, .2, 1) forwards; }
body.house .curtain span:last-child { animation: wipe-right 0.9s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes wipe-left { to { transform: translateX(-110%); } }
@keyframes wipe-right { to { transform: translateX(110%); } }

body.house .skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--gold-2);
  color: #2a160c;
  padding: 8px 12px;
  z-index: 500;
}
body.house .skip:focus { top: 12px; }

body.house .nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ivory);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  overflow: visible;
}
body.house .brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
body.house .brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #24160f;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  background-image: linear-gradient(115deg, #8e97a3 0%, #f7f8fa 40%, #d5dbe4 52%, #9aa3ae 70%, #f4f6f8 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  box-shadow: inset 0 0 0 1px rgba(243, 212, 138, 0.65), 0 8px 16px rgba(0, 0, 0, 0.35);
  animation: sheen 5.2s ease-in-out infinite;
}
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
body.house .brand strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--ivory);
  white-space: nowrap;
}
body.house .brand small {
  display: block;
  font-family: var(--text);
  font-weight: 500;
  color: var(--gold-2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
  margin-top: 2px;
}
body.house .nav-links { display: flex; align-items: center; gap: 22px; }
body.house .nav-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
body.house .nav-links a:hover { color: var(--gold-2); }
body.house .nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(243, 212, 138, 0.7);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 3;
}
body.house .nav-toggle span,
body.house .nav-toggle span::before,
body.house .nav-toggle span::after {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: #1f4e79;
  content: "";
}
body.house .nav-toggle span { top: 21px; }
body.house .nav-toggle span::before { top: -6px; }
body.house .nav-toggle span::after { top: 6px; }

body.house .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.house .btn-gold,
body.house .nav-links .btn-gold {
  background: linear-gradient(180deg, #f8e7b4, #d4b36a 46%, #8d6230);
  color: #2a160c;
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 8px 18px rgba(0, 0, 0, 0.25);
}
body.house .btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ivory);
}
body.house .btn-tiny { min-height: 40px; padding: 0 14px; font-size: 0.92rem; }
body.house .btn:hover { transform: translateY(-1px); }

body.house .wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
body.house .tamil {
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--rose);
  margin: 0 0 6px;
  line-height: 1.35;
}
body.house .eyebrow {
  margin: 0 0 8px;
  font-family: var(--text);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--silver);
}
body.house .lead { color: var(--muted); max-width: 58ch; font-size: 1.12rem; font-weight: 300; line-height: 1.75; margin: 0; }
body.house .fine { color: var(--muted); font-size: 0.92rem; font-weight: 400; letter-spacing: 0.01em; margin: 0; }
body.house .section-intro { max-width: 40rem; display: grid; gap: 8px; }
body.house .section-intro h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--gold-2), transparent);
}

body.house .hero { position: relative; padding: 42px 0 12px; overflow: visible; }
body.house .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  min-height: 0;
}
body.house .hero-grid > * { min-width: 0; }
body.house .hero h1 {
  margin: 0;
  font-size: clamp(3.3rem, 6.4vw, 5.8rem);
  line-height: 0.98;
  overflow-wrap: break-word;
}
body.house .hero h1 em {
  font-style: italic;
  color: var(--gold-2);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  body.house .hero h1 em {
    background: linear-gradient(180deg, #f7f8fb 0%, #f3d48a 46%, #e7b4c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
body.house .hero h1::after {
  content: "";
  display: block;
  width: 92px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--gold-2), transparent);
}
body.house .hero-copy {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 12px;
  min-width: 0;
  text-align: left;
}
body.house .hero-copy > * {
  margin-left: 0;
  margin-right: 0;
  justify-self: start;
  width: 100%;
  max-width: 40rem;
}
body.house .hero-photo {
  width: 100%;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(22, 58, 92, 0.14);
  border: 1px solid rgba(31, 78, 121, 0.1);
}
body.house .hero-photo img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 30%;
}
body.house .hero-copy .tamil,
body.house .hero-copy .eyebrow,
body.house .hero-copy h1,
body.house .hero-copy .lead {
  margin-left: 0;
  padding-left: 0;
  text-align: left;
}
body.house .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
}

body.house .stage {
  position: relative;
  justify-self: center;
  align-self: center;
  width: min(100%, 420px);
  max-width: 100%;
  height: 440px;
  margin-inline: auto;
  overflow: hidden;
  display: grid;
  place-items: center;
}
body.house .halo {
  position: absolute;
  width: 72%;
  height: 78%;
  border-radius: 180px 180px 40px 40px;
  background:
    radial-gradient(circle at 50% 28%, rgba(244, 247, 251, 0.28), transparent 42%),
    radial-gradient(circle at 50% 70%, rgba(212, 179, 106, 0.2), transparent 48%),
    linear-gradient(180deg, rgba(154, 48, 72, 0.18), transparent);
}
body.house .prabha {
  position: absolute;
  width: 62%;
  height: 70%;
  border-radius: 160px 160px 36px 36px;
  border: 8px solid transparent;
  background:
    linear-gradient(#161116, #161116) padding-box,
    conic-gradient(from var(--spin), #8d939c, #f4f7fb, #d4b36a, #9a3048, #d5dbe4, #8d939c) border-box;
  animation: spin 22s linear infinite;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
body.house .haar {
  position: relative;
  z-index: 2;
  width: min(210px, 56%);
  height: auto;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.35));
  animation: sway 5.5s ease-in-out infinite;
}
body.house .haar .chain {
  stroke-dasharray: 520;
  stroke-dashoffset: 0;
}
body.house .jimikki {
  position: absolute;
  top: 14%;
  z-index: 3;
  width: 44px;
  height: auto;
  transform-origin: top center;
  animation: swing 3.2s ease-in-out infinite;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.35));
}
body.house .jimikki.left { left: 6%; }
body.house .jimikki.right { right: 6%; animation-delay: -1.1s; }
@keyframes sway {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}
@keyframes swing {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}
body.house .petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
body.house .petals i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50% 0 50% 0;
  background: var(--silver-2);
  opacity: 0.55;
  animation: fall 11s linear infinite;
}
body.house .petals i:nth-child(1) { left: 12%; animation-delay: 0s; }
body.house .petals i:nth-child(2) { left: 38%; animation-delay: -3s; background: var(--gold-2); }
body.house .petals i:nth-child(3) { left: 70%; animation-delay: -6s; background: var(--silver); }
body.house .petals i:nth-child(4) { left: 86%; animation-delay: -1.5s; background: var(--rose); }
@keyframes fall {
  from { transform: translateY(-20px) rotate(0); }
  to { transform: translateY(460px) rotate(180deg); }
}

body.house .board-wrap { margin-top: 18px; position: relative; z-index: 3; }
body.house .board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 1.2fr);
  grid-template-rows: auto auto auto;
  column-gap: 0;
  row-gap: 0;
  color: var(--ivory);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(31, 78, 121, 0.14);
  background-color: #ffffff;
  background-image: linear-gradient(180deg, #ffffff, #f4f8fb);
  background-size: 42% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: -70% 0, 0 0;
  box-shadow:
    inset 0 1px 0 rgba(244, 247, 251, 0.28),
    0 18px 40px rgba(0, 0, 0, 0.35);
  animation: board-sheen 6.8s ease-in-out infinite;
}
@keyframes board-sheen {
  0%, 58% { background-position: -70% 0, 0 0; }
  82%, 100% { background-position: 160% 0, 0 0; }
}
body.house .board article {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  min-width: 0;
  align-content: stretch;
  padding: 0;
}
body.house .board article + article > * { border-left: 1px solid rgba(243, 212, 138, 0.28); }
body.house .board .tamil,
body.house .board .rate-num,
body.house .board .fine {
  margin: 0;
  min-width: 0;
  align-self: stretch;
  padding-left: 24px;
  padding-right: 22px;
}
body.house .board .tamil {
  color: var(--gold-2);
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-top: 20px;
  padding-bottom: 14px;
}
body.house .board .fine {
  color: #526170;
  display: flex;
  align-items: flex-start;
  padding-top: 12px;
  padding-bottom: 20px;
}
body.house .rate-num {
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  font-family: var(--display);
  font-weight: 560;
  font-optical-sizing: auto;
  font-size: clamp(2.15rem, 3.1vw, 3rem);
  line-height: 1.15;
  color: var(--silver-2);
  font-variant-numeric: tabular-nums;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}
body.house .rate-mid,
body.house .rate-name { font-size: clamp(1.7rem, 2.4vw, 2.25rem); }
body.house .rate-name { white-space: normal; }
body.house .live {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #b7e0c8;
  box-shadow: 0 0 0 0 rgba(183, 224, 200, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

body.house .garland {
  width: min(1120px, calc(100% - 40px));
  max-width: 100%;
  margin: 28px auto 0;
  overflow: hidden;
  border-block: 1px solid rgba(212, 179, 106, 0.4);
  background-color: #f3f7fb;
  background-image: linear-gradient(100deg, transparent, rgba(243, 212, 138, 0.22), transparent);
  background-size: 28% 100%;
  background-repeat: no-repeat;
  background-position: -40% 0;
  animation: garland-glint 7.5s linear infinite;
}
@keyframes garland-glint {
  from { background-position: -40% 0; }
  to { background-position: 140% 0; }
}
body.house .garland-track {
  display: block;
  width: auto;
  max-width: 100%;
  animation: none;
  text-align: center;
}
body.house .garland-track span + span { display: none; }
body.house .garland span {
  display: block;
  padding: 12px 8px;
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.7;
  color: var(--gold-2);
  white-space: normal;
}

body.house .section { padding: 64px 0; }
body.house .section,
body.house .board-wrap { scroll-margin-top: 88px; }
body.house #ornaments {
  background:
    radial-gradient(520px 240px at 0% 0%, rgba(196, 161, 90, 0.16), transparent 62%),
    #ffffff;
}
body.house #pieces {
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(31, 111, 138, 0.08), transparent 58%),
    #f3f7fb;
}
body.house #metal {
  background:
    radial-gradient(460px 220px at 0% 100%, rgba(31, 122, 114, 0.08), transparent 62%),
    #ffffff;
}
body.house .ornaments,
body.house .plans,
body.house .essay-grid { margin-top: 26px; }
body.house .ornaments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
body.house .plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
body.house .jewel-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e7eef5;
  border-radius: 17px 17px 0 0;
}
body.house .jewel-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s ease;
}
body.house .essay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
body.house .essay-grid > *,
body.house .ornaments > *,
body.house .plans > * { min-width: 0; }
body.house .essay-grid h3 {
  margin: 0 0 8px;
  font-size: 1.7rem;
  line-height: 1.2;
}
body.house .essay-grid p { margin: 0 0 12px; color: var(--muted); }
body.house .essay-grid p:last-child { margin-bottom: 0; }
body.house .jewel,
body.house .plan-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid rgba(212, 179, 106, 0.4);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
}
body.house .plan-card {
  padding: 20px 18px 18px;
  background: var(--panel-cool);
  border-color: rgba(213, 219, 228, 0.28);
}
body.house .jewel-copy { padding: 14px 16px 16px; }
body.house .jewel h3,
body.house .plan-card h3 {
  position: relative;
  z-index: 1;
  margin: 4px 0 4px;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.15;
}
body.house .plan-kicker,
body.house .jewel p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  margin: 0;
}
body.house .price {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--gold-2);
  margin: 12px 0 0;
}
body.house .essay-grid .card {
  border-top: 3px solid var(--peacock);
}

body.house .card {
  background: var(--panel);
  color: var(--ivory);
  border: 1px solid rgba(212, 179, 106, 0.42);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
body.house label {
  color: var(--muted);
  display: grid;
  gap: 6px;
  min-width: 0;
  font-family: var(--text);
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: 0.86rem;
}
body.house input,
body.house select,
body.house textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(212, 179, 106, 0.4);
  background: #ffffff;
  color: var(--ivory);
  padding: 12px 14px;
  font-family: var(--text);
  font-size: 16px;
  font-weight: 400;
}
body.house input::placeholder { color: #b5a496; }
body.house input:focus,
body.house select:focus,
body.house textarea:focus {
  outline: 2px solid var(--gold-2);
  outline-offset: 1px;
  border-color: var(--gold-2);
}
body.house input:-webkit-autofill {
  -webkit-text-fill-color: var(--ivory);
  caret-color: var(--ivory);
  box-shadow: 0 0 0 1000px #ffffff inset;
}
body.house .form { gap: 14px; }
body.house .form > * { margin: 0; min-width: 0; }
body.house .grid-2 > * { min-width: 0; }
body.house .note { padding: 12px 14px; border-radius: 12px; }
body.house .note.bad {
  background: rgba(154, 48, 72, 0.32);
  color: #ffd6dc;
  border: 1px solid rgba(255, 180, 190, 0.4);
}
body.house .note.good {
  background: rgba(143, 217, 208, 0.12);
  color: #d7f6f1;
  border: 1px solid rgba(143, 217, 208, 0.4);
}
body.house .auth {
  min-height: calc(100svh - 74px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 36px 16px 56px;
}
body.house .auth .card { width: min(560px, 100%); max-width: 100%; }
body.house .auth h1 {
  font-size: clamp(2.2rem, 6vw, 2.8rem);
  line-height: 1.08;
  overflow: visible;
}
body.house .auth a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.house .checks { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
body.house .checks li { padding-left: 16px; position: relative; color: var(--muted); }
body.house .checks li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 0.55em;
}
body.house .watermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15em;
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.4rem, 12vw, 7.2rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(31, 78, 121, 0.18);
  pointer-events: none;
  white-space: nowrap;
}
body.house .salem {
  position: relative;
  overflow: hidden;
  padding-bottom: 72px;
  background:
    radial-gradient(640px 280px at 82% 0%, rgba(31, 111, 138, 0.1), transparent 56%),
    linear-gradient(180deg, #e7f2f6, #f7f5ef);
}
body.house .salem .lead,
body.house .salem .checks li { color: var(--muted); }

body.house .footer {
  background: #eef3f8;
  color: #1b2836;
  padding: 32px 0;
  border: 0;
  border-top: 1px solid rgba(31, 78, 121, 0.14);
}
body.house .footer strong { color: #1f4e79; font-family: var(--display); font-weight: 600; letter-spacing: 0.06em; font-size: 1.05rem; }
body.house .footer p { color: #526170; margin: 0; }
body.house .footer-tamil { color: var(--rose); margin-top: 6px; }
body.house .footer-row { display: flex; justify-content: space-between; gap: 20px 32px; align-items: flex-start; }
body.house .footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
body.house .footer a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

html.js body.house .rise { opacity: 0; transform: translateY(16px); }
html.js body.house .rise.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) {
  body.house .jewel:hover,
  body.house .plan-card:hover,
  body.house .essay-grid .card:hover,
  html.js body.house .jewel.rise.in:hover,
  html.js body.house .plan-card.rise.in:hover,
  html.js body.house .essay-grid .card.rise.in:hover {
    transform: translateY(-8px);
    border-color: rgba(243, 212, 138, 0.8);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.38);
  }
  body.house .jewel:hover .jewel-photo img { transform: scale(1.06); }
}

@media (prefers-reduced-motion: no-preference) {
  body.house .hero-copy > * {
    animation: hero-in 0.8s ease both;
  }
  body.house .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
  body.house .hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
  body.house .hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
  body.house .hero-copy > *:nth-child(4) { animation-delay: 0.4s; }
  body.house .stage { animation: hero-in 0.95s 0.12s ease both; }
  body.house .hero h1::after {
    width: 0;
    animation: line-grow 0.8s 0.45s ease forwards;
  }
  body.house .haar .chain {
    stroke-dashoffset: 520;
    animation: chain-draw 2.3s ease forwards;
  }
  body.house .haar .chain-inner { animation-delay: 0.2s; }
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes line-grow { to { width: 92px; } }
@keyframes chain-draw { to { stroke-dashoffset: 0; } }

@media (max-width: 980px) {
  body.house .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  body.house .hero-photo img { height: 360px; }
  body.house .ornaments,
  body.house .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.house .essay-grid,
  body.house .board { grid-template-columns: 1fr; }
  body.house .board { grid-template-rows: none; }
  body.house .board article {
    display: grid;
    grid-template-rows: auto auto auto;
    grid-row: auto;
    row-gap: 8px;
    padding: 18px 20px 16px;
  }
  body.house .board article + article { border-top: 1px solid rgba(243, 212, 138, 0.28); }
  body.house .board article + article > * { border-left: 0; }
  body.house .board .tamil,
  body.house .board .rate-num,
  body.house .board .fine { padding: 0; }
  body.house .rate-num { white-space: normal; }
}
@media (max-width: 860px) {
  body.house .wrap,
  body.house .garland { width: min(1120px, calc(100% - 32px)); }
  body.house .nav { padding: 0 16px; }
  body.house .nav-toggle { display: inline-block; }
  body.house .nav-links { display: none; }
  body.house .nav.is-open {
    position: sticky;
    inset: auto;
    top: 0;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 300;
    height: auto;
    min-height: 74px;
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    grid-template-rows: none;
    align-items: center;
    align-content: center;
    gap: 12px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ivory);
    backdrop-filter: blur(16px);
    overflow: visible;
  }
  body.house .nav.is-open .brand,
  body.house .nav.is-open .nav-toggle {
    grid-column: auto;
    grid-row: auto;
    align-self: center;
  }
  body.house .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    align-self: stretch;
    grid-column: auto;
    grid-row: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    height: auto;
    max-height: min(70dvh, 420px);
    min-height: 0;
    margin: 0;
    padding: 8px 12px 14px;
    overflow-y: auto;
    background: #ffffff;
    border-bottom: 1px solid rgba(31, 78, 121, 0.16);
    box-shadow: 0 18px 36px rgba(22, 58, 92, 0.12);
    animation: sheet-in 0.28s ease;
  }
  body.house .nav.is-open .nav-links a {
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.55rem;
    line-height: 1.2;
    color: var(--ivory);
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 4px 10px;
    width: 100%;
    border-radius: 12px;
  }
  body.house .nav.is-open .nav-links a:hover { background: rgba(243, 212, 138, 0.08); }
  body.house .nav.is-open .nav-links a.btn {
    font-family: var(--text);
    letter-spacing: 0.08em;
    font-size: 1rem;
    line-height: 1.2;
    color: #2a160c;
    justify-content: center;
    margin-top: 6px;
    min-height: 48px;
  }
  body.house .nav.is-open .nav-toggle span { background: transparent; }
  body.house .nav.is-open .nav-toggle span::before,
  body.house .nav.is-open .nav-toggle span::after {
    top: 0;
    background: #1f4e79;
  }
  body.house .nav.is-open .nav-toggle span::before { transform: rotate(45deg); }
  body.house .nav.is-open .nav-toggle span::after { transform: rotate(-45deg); }
  body.house .hero { padding-top: 22px; }
  body.house .hero h1 { font-size: clamp(2.45rem, 11vw, 3.3rem); }
  body.house .hero-photo img { height: 280px; }
  body.house .section { padding: 44px 0; }
  body.house .ornaments,
  body.house .plans,
  body.house .essay-grid,
  body.house .grid-2 { grid-template-columns: 1fr; }
  body.house .auth { padding: 24px 16px 40px; }
  body.house .auth .btn { width: 100%; }
  body.house .card { padding: 22px 18px; }
  body.house .footer-row { flex-direction: column; }
  body.house .garland span { font-size: 1.02rem; padding: 10px 12px; }
}
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 420px) {
  body.house .hero-photo img { height: 240px; }
  body.house .hero h1 { font-size: clamp(2.3rem, 10.5vw, 2.9rem); }
  body.house .brand strong { font-size: 0.98rem; letter-spacing: 0.02em; }
}
@media (prefers-reduced-motion: reduce) {
  body.house .curtain { display: none; }
  body.house .prabha,
  body.house .haar,
  body.house .haar .chain,
  body.house .jimikki,
  body.house .petals i,
  body.house .garland,
  body.house .garland-track,
  body.house .live,
  body.house .brand-mark,
  body.house .board,
  body.house .hero-copy > *,
  body.house .stage,
  body.house .nav.is-open .nav-links { animation: none !important; }
  body.house .haar .chain { stroke-dashoffset: 0 !important; }
  body.house .hero h1::after { width: 92px; }
  html.js body.house .rise { opacity: 1; transform: none; }
  body.house .jewel:hover,
  body.house .plan-card:hover,
  body.house .essay-grid .card:hover,
  body.house .jewel:hover .jewel-photo img { transform: none; }
}
