/* ==========================================================
   Open House — Priya & Sam's housewarming, Portland
   Teal door, sage walls, honey floors, porch light; Fraunces, Tenor Sans, Lora, Caveat.
   ========================================================== */
.oh {
  --g-bg: #1f4f52; --g-bg2: #f7f1e6; --g-ink: #fdf8ef; --g-muted: rgba(253, 248, 239, 0.82);
  --g-accent: #d9a45b; --g-accent2: #f6e3b4; --g-card: #fffcf6; --g-card-ink: #24312f;
  --g-display: 'Fraunces', serif; --g-script: 'Caveat', cursive;
  --g-body: 'Lora', serif; --g-label: 'Tenor Sans', sans-serif;
  --teal: #1f5f63; --teal-d: #163f42; --sage: #9caf88; --honey: #d9a45b; --cream: #f7f1e6; --ink: #24312f;
  --vx-accent: #1f5f63; --vx-accent-ink: #fff; --vx-label: #1f5f63;
}
.oh .vx-loader { background: radial-gradient(circle at 50% 35%, #2b6a6e, #163f42 70%); }
.oh .gr-big { font-weight: 500; }
.oh .gr-big em { font-family: var(--g-script); font-size: 1.25em; color: var(--g-accent2); }
.oh .gr-hero .vx-btn, .oh-share .vx-btn, .oh-gifts .vx-btn { --vx-accent: var(--honey); --vx-accent-ink: #1d2a28; }
.oh-turn { position: absolute; inset: -30%; width: 160%; height: 160%; overflow: visible; }
.oh-turn path { fill: none; stroke: var(--g-accent2); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 7 8; filter: drop-shadow(0 0 6px rgba(246, 227, 180, 0.9)); animation: oh-dash 1.4s linear infinite; }
.oh-turn .oh-turn-head { stroke-dasharray: none; animation: none; }
@keyframes oh-dash { to { stroke-dashoffset: -30; } }

.oh-k { margin: 0 0 10px; font: 400 0.9rem var(--g-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.oh-k--light { color: var(--g-accent2); }
.oh-h2 { margin: 0 0 16px; font: 500 clamp(2.1rem, 9.4vw, 2.7rem)/1.08 var(--g-display); color: var(--ink); text-wrap: balance; }
.oh-h2--light { color: var(--g-ink); }
.oh-p { max-width: 340px; margin: 0 auto 24px; font: 400 1.02rem/1.65 var(--g-body); color: #4a5654; }
.oh-p--light { color: var(--g-muted); }

/* ---------- change-of-address postcard ---------- */
.oh-post-sec { padding: 76px 14px 90px; text-align: center; background: var(--cream) radial-gradient(circle at 50% 0%, #fff, transparent 60%); }
.oh-postcard { position: relative; max-width: 380px; margin: 0 auto 46px; padding: 22px 20px 24px; border-radius: 6px; background: #fffdf8; color: var(--ink); text-align: left; box-shadow: 0 26px 46px -24px rgba(40, 50, 45, 0.5); background-image: repeating-linear-gradient(135deg, #c84b3c 0 10px, #fff 10px 20px, #1f5f63 20px 30px, #fff 30px 40px); background-size: 100% 8px; background-repeat: no-repeat; background-position: 0 0; }
.oh-post-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin: 8px 0 18px; }
.oh-moved { margin: 0; font: 600 2.6rem/1 var(--g-script); color: var(--teal); transform: rotate(-4deg); }
.oh-stamp { flex: none; width: 96px; margin: 0; padding: 6px 6px 4px; background: #fff; transform: rotate(4deg); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); outline: 2px dashed #d8d2c4; outline-offset: -3px; }
.oh-stamp img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.oh-stamp figcaption { padding-top: 3px; font: 400 0.84rem var(--g-label); text-align: center; color: var(--teal); }
.oh-postmark { position: absolute; right: 64px; top: 46px; display: grid; place-items: center; width: 84px; height: 84px; border: 2px solid rgba(60, 60, 80, 0.45); border-radius: 50%; font: 400 0.84rem/1.2 var(--g-label); text-transform: uppercase; color: rgba(60, 60, 80, 0.65); transform: rotate(-16deg); pointer-events: none; }
.oh-addr { margin: 0 0 16px; padding: 12px 0; border-top: 1px dashed rgba(36, 49, 47, 0.3); border-bottom: 1px dashed rgba(36, 49, 47, 0.3); }
.oh-addr-old { position: relative; display: inline-block; margin: 0 0 6px; font: 400 1.05rem var(--g-body); color: #7a8482; }
.oh-addr-old i { position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; border-radius: 2px; background: #c84b3c; transform: scaleX(0); transform-origin: 0 50%; }
.oh-addr-new { margin: 0; font: 700 2.2rem/1.1 var(--g-script); color: #1d3a8a; clip-path: inset(0 100% 0 0); }
.oh-addr-city { margin: 2px 0 0; font: 400 0.95rem var(--g-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.oh-letter { margin: 0 0 16px; font: 400 1.05rem/1.7 var(--g-body); }
.oh-when { margin: 0 0 12px; font: 600 1.08rem/1.5 var(--g-body); color: var(--teal-d); }
.oh-when b { display: block; font: 400 0.9rem var(--g-label); letter-spacing: 0.12em; text-transform: uppercase; color: #c84b3c; }
.oh-sign { margin: 0; font: 600 1.55rem/1.2 var(--g-script); color: var(--teal); }
.oh-keytag { position: relative; max-width: 360px; margin: 0 auto; padding: 46px 18px 26px; border-radius: 28px 28px 22px 22px; background: linear-gradient(160deg, #2b6a6e, #163f42); color: #fff; box-shadow: 0 26px 40px -22px rgba(22, 63, 66, 0.8); }
.oh-keytag::before { content: ''; position: absolute; left: 50%; top: 14px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4); }
.oh-keytag-key { position: absolute; left: 50%; top: -58px; width: 150px; margin-left: -20px; transform: rotate(-70deg); transform-origin: 14% 50%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.35)); }
.oh-keytag .oh-k { color: var(--g-accent2); }
.oh-keytag .vx-unit { border-color: rgba(246, 227, 180, 0.4); }
.oh-keytag .vx-unit b { color: var(--g-accent2); }
.oh-keytag .vx-unit > span { color: #fff; }
.oh-keytag .vx-btn { --vx-accent: var(--honey); --vx-accent-ink: #1d2a28; }
.oh-keytag .vx-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.6); }

/* ---------- the dollhouse ---------- */
.oh-doll-sec { padding: 86px 12px 90px; text-align: center; background: #e9efe4; }
.oh-doll { max-width: 390px; margin: 0 auto 22px; padding: 0 4px 16px; border-bottom: 14px solid #7aa36a; border-radius: 0 0 6px 6px; }
.oh-floors { position: relative; display: grid; grid-template-columns: 1fr 1fr 0.78fr; grid-template-rows: 118px 124px 124px; grid-template-areas: "attic attic ." "study guest garden" "kitchen living garden"; gap: 6px; padding: 0 0 0; }
.oh-roof { grid-area: attic; position: relative; margin: -14px -14px -2px; background: #8a3b2f; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.oh-chimney { position: absolute; right: 22%; top: 18%; width: 22px; height: 40px; background: #6a2b22; }
.oh-room { position: relative; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: #1e2b36; box-shadow: inset 0 0 0 4px #f0e6d4; cursor: pointer; transition: background 0.6s; }
.oh-room--attic { grid-area: attic; margin: 6px 14px 0; border-radius: 0; clip-path: polygon(50% 4%, 96% 100%, 4% 100%); box-shadow: none; }
.oh-room--study { grid-area: study; } .oh-room--guest { grid-area: guest; } .oh-room--kitchen { grid-area: kitchen; } .oh-room--living { grid-area: living; }
.oh-room--garden { grid-area: garden; border-radius: 0 60px 4px 4px; box-shadow: none; background: #17222b; }
.oh-room img { position: relative; z-index: 1; width: 62%; max-height: 64%; object-fit: contain; filter: brightness(0.25) saturate(0.4); transition: filter 0.6s, transform 0.6s; }
.oh-room--attic img { width: 24%; margin-top: 8%; }
.oh-room--attic .oh-room-name { bottom: 2px; }
.oh-room--garden img { width: 54%; }
.oh-room-name { position: absolute; z-index: 2; left: 0; right: 0; bottom: 6px; font: 400 0.95rem var(--g-label); letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.75); }
.oh-room-lamp { position: absolute; top: 0; left: 50%; width: 2px; height: 16px; background: #555; }
.oh-room-lamp::after { content: ''; position: absolute; left: -9px; top: 14px; width: 20px; height: 10px; border-radius: 10px 10px 2px 2px; background: #3a3a3a; }
.oh-room--attic .oh-room-lamp, .oh-room--garden .oh-room-lamp { display: none; }
.oh-room.is-lit { background: radial-gradient(circle at 50% 18%, #fff3c6, #f2c46d 45%, #c98b3c); }
.oh-room--study.is-lit { background: radial-gradient(circle at 50% 18%, #fff3c6, #c9d6b4 50%, #8fa57a); }
.oh-room--guest.is-lit { background: radial-gradient(circle at 50% 18%, #fff3c6, #f2c9c0 50%, #d39a8c); }
.oh-room--kitchen.is-lit { background: radial-gradient(circle at 50% 18%, rgba(255, 243, 198, 0.9), rgba(255, 243, 198, 0) 70%), repeating-conic-gradient(#fff 0 25%, #e6eef0 0 50%) 0 0 / 22px 22px; }
.oh-room--living.is-lit { background: radial-gradient(circle at 50% 18%, #fff3c6, #6fa3a0 55%, #1f5f63); }
.oh-room--garden.is-lit { background: radial-gradient(circle at 50% 30%, #ffe7a8, #3d6b4f 60%, #20402f); }
.oh-room--attic.is-lit { background: radial-gradient(circle at 50% 60%, #fff3c6, #d9a45b 60%, #a0702e); }
.oh-room.is-lit img { filter: none; transform: scale(1.05); }
.oh-room.is-lit .oh-room-name { color: #1d2a28; font-weight: 700; }
.oh-room.is-lit .oh-room-lamp::after { background: #ffe9a0; box-shadow: 0 6px 30px 14px rgba(255, 230, 150, 0.7); }
.oh-room:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; }
.oh-room-card { max-width: 360px; min-height: 104px; margin: 0 auto 12px; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: 0 16px 30px -20px rgba(30, 60, 50, 0.5); text-align: left; }
.oh-room-card strong { display: block; margin-bottom: 4px; font: 600 1.35rem var(--g-display); color: var(--teal); }
.oh-room-card p { margin: 0; font: 400 1.02rem/1.55 var(--g-body); color: #4a5654; }
.oh-lit { margin: 0; font: 400 0.95rem var(--g-label); color: var(--teal); }
.oh-lit b { font: 600 1.3rem var(--g-display); }

/* ---------- moving boxes ---------- */
.oh-box-sec { padding: 86px 14px 90px; text-align: center; background: #f3ead9; }
.oh-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 128px 14px; max-width: 380px; margin: 0 auto; padding-top: 120px; }
.oh-boxes .oh-box:last-child:nth-child(odd) { grid-column: 1 / -1; width: 56%; justify-self: center; }
.oh-box { position: relative; display: block; height: 150px; padding: 0; border: 0; background: none; cursor: pointer; transform: rotate(var(--r)); }
.oh-box-photo { position: absolute; z-index: 1; left: 17%; right: 17%; bottom: 0; padding: 6px; background: #fff; box-shadow: 0 10px 18px -10px rgba(0, 0, 0, 0.5); transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.2, 1.2); }
.oh-box-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.oh-box-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 130px; display: grid; align-content: center; justify-items: center; gap: 4px; padding: 26px 8px 10px; border-radius: 3px; background: linear-gradient(170deg, #d4a56a, #b9864c); box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.06), 0 14px 20px -12px rgba(60, 40, 10, 0.6); }
.oh-flap { position: absolute; top: 0; width: 50%; height: 30px; background: linear-gradient(180deg, #c4935a, #b07e46); transition: transform 0.6s cubic-bezier(0.3, 1.4, 0.4, 1); }
.oh-flap--l { left: 0; transform-origin: 0 0; border-right: 1px solid rgba(0, 0, 0, 0.15); }
.oh-flap--r { right: 0; transform-origin: 100% 0; }
.oh-tape { position: absolute; left: 50%; top: 0; width: 26px; height: 46px; margin-left: -13px; background: rgba(240, 225, 190, 0.75); transition: opacity 0.3s; }
.oh-box-label { font: 700 1.4rem/1.1 var(--g-script); color: #2a1d10; text-wrap: balance; }
.oh-box-cap { display: none; font: 600 1.15rem/1.25 var(--g-script); font-style: normal; color: #2a1d10; }
.oh-box-hint { font: 400 0.95rem var(--g-label); color: rgba(42, 29, 16, 0.75); }
.oh-box.is-open .oh-flap--l { transform: rotate(-150deg); }
.oh-box.is-open .oh-flap--r { transform: rotate(150deg); }
.oh-box.is-open .oh-tape { opacity: 0; }
.oh-box.is-open .oh-box-photo { transform: translateY(-118px) rotate(-3deg); }
.oh-box.is-open .oh-box-label, .oh-box.is-open .oh-box-hint { display: none; }
.oh-box.is-open .oh-box-cap { display: block; }

/* ---------- paint chips ---------- */
.oh-paint-sec { padding: 86px 14px 90px; text-align: center; background: #fff; }
.oh-chips { position: relative; display: block; width: 300px; height: 280px; margin: 10px auto 18px; padding: 0; border: 0; background: none; cursor: pointer; }
.oh-chip { position: absolute; left: 50%; bottom: 0; width: 120px; height: 210px; margin-left: -60px; padding: 0 0 12px; border-radius: 10px; background: #fff; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.06); transform-origin: 50% 92%; transform: rotate(calc((var(--i) - 1.5) * 3deg)); transition: transform 0.9s cubic-bezier(0.2, 1.2, 0.3, 1); display: flex; flex-direction: column; justify-content: flex-end; }
.oh-chip::before { content: ''; position: absolute; left: 8px; right: 8px; top: 8px; height: 62%; border-radius: 6px; background: var(--c); }
.oh-chip b { font: 600 1.05rem/1.2 var(--g-display); color: var(--ink); }
.oh-chip i { font: 400 0.86rem var(--g-label); font-style: normal; color: #6a7472; }
.oh-chips.is-open .oh-chip { transform: rotate(calc((var(--i) - 1.5) * 24deg)); }

/* ---------- to-do list ---------- */
.oh-todo-sec { padding: 86px 14px 90px; background: var(--sage) radial-gradient(circle at 30% 20%, #b8c9a6, transparent 60%); }
.oh-pad { max-width: 370px; margin: 0 auto; padding: 0 0 18px; border-radius: 4px; background: #fff8c9; box-shadow: 0 26px 40px -22px rgba(30, 50, 30, 0.6); background-image: linear-gradient(90deg, transparent 50px, rgba(200, 75, 60, 0.45) 50px 52px, transparent 52px), repeating-linear-gradient(180deg, transparent 0 35px, rgba(60, 110, 160, 0.25) 35px 36px); }
.oh-pad-title { margin: 0 0 6px; padding: 22px 16px 12px 62px; border-top: 22px solid #c84b3c; font: 700 2rem var(--g-script); color: var(--teal-d); }
.oh-todo { margin: 0; padding: 0; list-style: none; }
.oh-task { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; padding: 10px 16px 12px 62px; }
.oh-check { position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border: 2px solid var(--teal); border-radius: 6px; background: #fff; }
.oh-check svg { width: 100%; height: 100%; }
.oh-check path { fill: none; stroke: #c84b3c; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.oh-task time { font: 400 0.9rem var(--g-label); letter-spacing: 0.08em; color: #c84b3c; }
.oh-task strong { font: 700 1.55rem/1.15 var(--g-script); color: var(--teal-d); }
.oh-task p { margin: 2px 0 0; font: 400 1rem/1.5 var(--g-body); color: #3e4a48; }

/* ---------- the street ---------- */
.oh-street-sec { padding: 86px 16px 90px; text-align: center; background: linear-gradient(180deg, #1f4f52, #163f42); color: var(--g-ink); }
.oh-signpost { position: relative; display: inline-block; margin: 0 auto 22px; }
.oh-signpost span { display: block; padding: 8px 22px; border: 3px solid #fff; border-radius: 6px; background: #1d6b3a; font: 700 1.3rem var(--g-label); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; box-shadow: 0 8px 16px -8px #000; }
.oh-signpost i { display: block; width: 8px; height: 40px; margin: 0 auto; background: #9aa4a8; }
.oh-mailbox { position: relative; width: 200px; height: 250px; margin: 10px auto 6px; cursor: pointer; }
.oh-mailbox-body { position: absolute; left: 20px; right: 20px; top: 40px; height: 110px; border-radius: 80px 80px 8px 8px; background: linear-gradient(90deg, #a83a2e, #d4513f 40%, #a83a2e); box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.15), 0 10px 20px -8px #000; display: grid; place-items: center; }
.oh-mailbox-num { padding: 4px 12px; border-radius: 6px; background: #fff; font: 700 1.3rem var(--g-display); color: var(--teal-d); }
.oh-mailbox-post { position: absolute; left: 50%; top: 150px; bottom: 0; width: 18px; margin-left: -9px; background: linear-gradient(90deg, #6b4a2a, #8a6238); }
.oh-mailbox-flag { position: absolute; right: 6px; top: 70px; width: 8px; height: 60px; background: #f2b134; transform-origin: 50% 100%; transform: rotate(90deg); transition: transform 0.6s cubic-bezier(0.3, 1.6, 0.4, 1); }
.oh-mailbox-flag::after { content: ''; position: absolute; left: 0; top: 0; width: 26px; height: 18px; background: #f2b134; }
.oh-mail { position: absolute; z-index: 3; left: 50%; top: 60px; width: 270px; margin-left: -135px; padding: 14px 16px; border-radius: 8px; background: #fffdf6; color: var(--ink); text-align: left; font: 400 1rem/1.5 var(--g-body); box-shadow: 0 20px 30px -14px #000; opacity: 0; visibility: hidden; transform: translateY(40px) scale(0.6); }
.oh-mail b { display: block; font: 400 0.86rem var(--g-label); letter-spacing: 0.1em; text-transform: uppercase; color: #c84b3c; }
.oh-mailbox.is-open .oh-mailbox-flag { transform: rotate(0); }
.oh-hint-light { margin: 0 0 26px; font: 600 1.2rem var(--g-script); color: var(--g-accent2); }

/* ---------- doorbell RSVP ---------- */
.oh-bell-sec { padding: 86px 12px 90px; background: var(--teal) repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 70px); }
.oh-door { max-width: 390px; margin: 0 auto 22px; padding: 0 0 22px; border-radius: 22px; background: var(--g-card); color: var(--g-card-ink); box-shadow: 0 30px 60px -24px #000; overflow: hidden; }
.oh-door-top { padding: 30px 18px 6px; text-align: center; background: linear-gradient(180deg, #f6e3b4, var(--g-card)); }
.oh-door-top .oh-p { margin-bottom: 4px; }
.oh-doorbell { position: relative; display: block; width: 74px; height: 74px; margin: 0 auto 16px; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c6, #c9a24f 55%, #8a6a24); box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.5), inset 0 -4px 8px rgba(0, 0, 0, 0.25); cursor: pointer; }
.oh-doorbell i { position: absolute; inset: 22px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #ffe9a0); box-shadow: 0 0 14px 4px rgba(255, 233, 160, 0.9); animation: oh-glow 2s ease-in-out infinite; }
@keyframes oh-glow { 50% { box-shadow: 0 0 4px 1px rgba(255, 233, 160, 0.5); } }
.oh-door .vx-rsvp, .oh-door .vx-thanks { padding: 18px 18px 0; }
.oh-gifts { max-width: 360px; margin: 0 auto; padding: 14px 16px; border: 1px solid rgba(246, 227, 180, 0.5); border-radius: 14px; color: var(--g-ink); }
.oh-gifts summary { font: 400 0.95rem var(--g-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--g-accent2); cursor: pointer; }
.oh-gifts p { margin: 12px 0 0; font: 400 1.02rem/1.6 var(--g-body); }

/* ---------- the fridge ---------- */
.oh-fridge-sec { padding: 86px 12px 90px; text-align: center; background: #f1ebe0 repeating-linear-gradient(90deg, #f1ebe0 0 48px, #ece4d6 48px 50px); }
.oh-fridge { position: relative; max-width: 380px; margin: 0 auto 18px; padding: 120px 14px 22px; border-radius: 26px; background: linear-gradient(90deg, #bfe0d6, #d7efe7 40%, #c4e3d9); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.05), 0 26px 40px -24px rgba(40, 70, 60, 0.6); }
.oh-handle { position: absolute; right: 14px; top: 24px; width: 10px; height: 110px; border-radius: 6px; background: linear-gradient(90deg, #9aa8a4, #e6ecea, #9aa8a4); }
.oh-letters { position: absolute; left: 10px; right: 34px; top: 12px; height: 100px; }
.oh-letter-mag { position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; width: 36px; height: 40px; font: 800 1.9rem/1 var(--g-display); color: var(--c); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.oh-letter-mag.is-drag { cursor: grabbing; z-index: 3; transform: scale(1.15); }
.oh-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; text-align: left; }
.oh-note { position: relative; margin: 0; padding: 22px 12px 12px; background: var(--bg); font: 600 1.25rem/1.25 var(--g-script); color: #2a2a2a; transform: rotate(var(--r)); box-shadow: 0 8px 14px -8px rgba(0, 0, 0, 0.4); }
.oh-note strong { display: block; margin-top: 6px; font-size: 1.05rem; color: var(--teal-d); }
.oh-magnet { position: absolute; left: 50%; top: -8px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9a8a, #c84b3c); box-shadow: 0 3px 5px rgba(0, 0, 0, 0.35); }
.oh-note:nth-child(5n) { grid-column: 1 / -1; }

/* ---------- lights on ---------- */
.oh-night-sec { background: #0e1a24; }
.oh-night { position: relative; min-height: 100svh; padding: 90px 16px 40px; overflow: hidden; text-align: center; background: linear-gradient(180deg, #0b1420, #142838 60%, #1f3a33); }
.oh-moon { position: absolute; right: 12%; top: 8%; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fffbe6, #f2e3b0); box-shadow: 0 0 40px 10px rgba(246, 227, 180, 0.35); }
.oh-night-big { position: relative; margin: 0 0 30px; font: 500 clamp(2.2rem, 10vw, 2.9rem)/1.05 var(--g-display); color: #fff; }
.oh-night-big em { display: block; font-family: var(--g-script); font-style: normal; font-size: 1.15em; color: var(--g-accent2); }
.oh-house { position: relative; width: 280px; margin: 0 auto 26px; }
.oh-house-roof { display: block; height: 96px; margin: 0 -18px; background: #0a0f15; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.oh-house-body { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 22px; padding: 22px 24px 90px; background: #151c25; box-shadow: 0 0 0 rgba(255, 220, 140, 0); transition: box-shadow 1.2s; }
.oh-win { position: relative; height: 70px; padding: 0; border: 4px solid #2a333f; border-radius: 3px; background: #0b0f14; cursor: pointer; transition: background 0.4s, box-shadow 0.4s; }
.oh-win i::before, .oh-win i::after { content: ''; position: absolute; background: #2a333f; }
.oh-win i::before { left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; }
.oh-win i::after { top: 50%; left: 0; right: 0; height: 3px; margin-top: -1.5px; }
.oh-win.is-on { background: radial-gradient(circle at 50% 40%, #fff6cf, #f6c76a); box-shadow: 0 0 26px 6px rgba(255, 210, 120, 0.55); }
.oh-house-door { position: absolute; left: 50%; bottom: 0; width: 56px; height: 80px; margin-left: -28px; border-radius: 28px 28px 0 0; background: var(--teal); box-shadow: inset 0 0 0 4px #123a3c; }
.oh-house.is-home .oh-house-body { box-shadow: 0 0 80px 10px rgba(255, 210, 120, 0.35); }
.oh-night-sign { position: relative; margin: 0; font: 600 1.6rem/1.3 var(--g-script); color: var(--g-accent2); opacity: 0; }
.oh-share { padding: 40px 16px 120px; text-align: center; color: var(--g-ink); }
