/* ============================================================
   V6 — Furniture, fire, motion atmosphere
   ============================================================ */

/* ---------- Damask wallpaper for tinted zones ---------- */
.tinted,
.page-head,
.quote-band {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cpath d='M45 12c8 10 8 20 0 30-8-10-8-20 0-30zm0 36c8 10 8 20 0 30-8-10-8-20 0-30z' fill='none' stroke='%23b0893c' stroke-opacity='.09'/%3E%3Ccircle cx='45' cy='45' r='4' fill='none' stroke='%23b0893c' stroke-opacity='.09'/%3E%3Cpath d='M12 45c10-8 20-8 30 0-10 8-20 8-30 0zm36 0c10-8 20-8 30 0-10 8-20 8-30 0z' fill='none' stroke='%23b0893c' stroke-opacity='.09'/%3E%3C/svg%3E");
}

/* ---------- Wainscoting ---------- */
.wainscot {
  height: 18px;
  background: repeating-linear-gradient(90deg, #5d472c 0 82px, #4a3822 82px 86px);
  border-top: 3px solid #7a5c30;
  border-bottom: 3px solid #332616;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.35);
}

/* ---------- Bunting ---------- */
.bunting {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  z-index: 5;
  pointer-events: none;
}
.bunting svg.rope {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flag {
  position: absolute;
  width: 27px;
  height: 36px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  animation: flag-sway 3.4s ease-in-out infinite alternate;
  box-shadow: inset 0 -6px 8px -6px rgba(0, 0, 0, 0.3);
}
@keyframes flag-sway {
  from { transform: rotate(-4deg); }
  to { transform: rotate(4deg); }
}

/* ---------- Grandfather clock ---------- */
.sec-schedule .container {
  display: flex;
  align-items: stretch;
  gap: 56px;
}
.sec-schedule .schedule { flex: 1; }
.gclock {
  flex: none;
  width: 158px;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 22px 26px rgba(43, 32, 19, 0.45));
}
.gc-crown {
  height: 26px;
  background: linear-gradient(135deg, #6d5330, #4a3822);
  border-radius: 79px 79px 0 0;
  position: relative;
}
.gc-crown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 14px;
  background: radial-gradient(circle at 35% 30%, #e8c87a, #93722f);
  border-radius: 50% 50% 3px 3px;
}
.gc-head {
  height: 118px;
  background: linear-gradient(160deg, #5d472c, #382a17 70%);
  border: 2px solid #2b2013;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  display: grid;
  place-items: center;
}
.gc-face {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 32%, #fbf4de, #e9d7a8);
  box-shadow: inset 0 0 0 3px #93722f, inset 0 2px 6px rgba(43, 32, 19, 0.3);
}
.gc-num {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.6rem;
  color: #57462f;
}
.gc-num.g1 { top: 4px; left: 50%; transform: translateX(-50%); }
.gc-num.g2 { right: 5px; top: 50%; transform: translateY(-50%); }
.gc-num.g3 { bottom: 4px; left: 50%; transform: translateX(-50%); }
.gc-num.g4 { left: 5px; top: 50%; transform: translateY(-50%); }
.gc-hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform-origin: bottom center;
  background: #3a2b18;
  border-radius: 2px;
}
.gc-hand.h { width: 4px; height: 20px; transform: translateX(-50%) rotate(145deg); }
.gc-hand.m { width: 2.6px; height: 30px; transform: translateX(-50%) rotate(75deg); }
.gc-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background: #93722f;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.gc-waist {
  flex: 1;
  min-height: 190px;
  background: linear-gradient(90deg, #4a3822, #5d472c 30%, #382a17 70%, #2b2013);
  border: 2px solid #2b2013;
  position: relative;
  overflow: hidden;
}
.gc-door {
  position: absolute;
  inset: 10px 22px;
  border: 1.5px solid rgba(211, 169, 79, 0.4);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(244, 237, 218, 0.09), rgba(244, 237, 218, 0.02));
}
.gc-weight {
  position: absolute;
  top: 8px;
  width: 13px;
  height: 36px;
  background: linear-gradient(90deg, #8a6a2a, #e2c886 45%, #93722f);
  border-radius: 3px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
}
.gc-weight.w1 { left: 32%; animation: weight-bob 4.5s ease-in-out infinite alternate; }
.gc-weight.w2 { right: 32%; animation: weight-bob 4.5s ease-in-out infinite alternate-reverse; }
@keyframes weight-bob {
  from { transform: translateY(0); }
  to { transform: translateY(4px); }
}
.gc-pend {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 6px;
  height: 132px;
  transform-origin: top center;
  animation: pend 2.4s ease-in-out infinite alternate;
}
@keyframes pend {
  from { transform: translateX(-50%) rotate(-13deg); }
  to { transform: translateX(-50%) rotate(13deg); }
}
.gc-rod {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #93722f, #e2c886, #93722f);
  border-radius: 3px;
}
.gc-bob {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f0dfae, #b0893c 60%, #7a5c28);
  box-shadow: inset 0 0 0 2px rgba(255, 246, 214, 0.5), 0 4px 8px rgba(0, 0, 0, 0.5);
}
.gc-base {
  height: 34px;
  background: linear-gradient(160deg, #382a17, #241a0d);
  border: 2px solid #1f1609;
  border-radius: 0 0 8px 8px;
}

/* ---------- Fireplace ---------- */
.fireplace {
  max-width: 860px;
  margin: 0 auto 66px;
  filter: drop-shadow(0 26px 30px rgba(43, 32, 19, 0.4));
}
.fireplace svg {
  display: block;
  width: 100%;
  height: auto;
}
.fp-glow { animation: glow-pulse 3.6s ease-in-out infinite; }
@keyframes glow-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.9; }
}
.flame1 { transform-box: fill-box; transform-origin: 50% 100%; animation: flick 1.6s ease-in-out infinite; }
.flame2 { transform-box: fill-box; transform-origin: 50% 100%; animation: flick 1.15s ease-in-out infinite alternate; }
.flame3 { transform-box: fill-box; transform-origin: 50% 100%; animation: flick 2s ease-in-out infinite; }
.ember {
  transform-box: fill-box;
  animation: ember-rise 2.8s linear infinite;
  opacity: 0;
}
.ember.e2 { animation-delay: 0.9s; }
.ember.e3 { animation-delay: 1.7s; }
@keyframes ember-rise {
  0% { opacity: 0; transform: translateY(0); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-34px); }
}

/* ---------- Candles ---------- */
.candle {
  position: absolute;
  width: 30px;
  bottom: -22px;
  z-index: 4;
  pointer-events: none;
}
.candle.c-l { left: -34px; }
.candle.c-r { right: -34px; bottom: -38px; transform: scale(0.86); }
.candle svg { display: block; width: 100%; height: auto; overflow: visible; }
.c-stick { fill: url(#candleWax); }
.c-drip { fill: #f7f0d9; }
.c-flame-g { transform-box: fill-box; transform-origin: 50% 100%; animation: flick 1.3s ease-in-out infinite alternate; }
.c-glow { animation: glow-pulse 2.6s ease-in-out infinite; }

/* ---------- Hourglass ---------- */
.honors { position: relative; }
.hourglass {
  position: absolute;
  right: 4%;
  top: -30px;
  width: 78px;
  height: 118px;
  pointer-events: none;
  filter: drop-shadow(0 12px 14px rgba(43, 32, 19, 0.35));
}
.hg-cap {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 11px;
  background: linear-gradient(135deg, #e2c886, #93722f);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 246, 214, 0.55);
}
.hg-cap.t { top: 0; }
.hg-cap.b { bottom: 0; }
.hg-pillar {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 5px;
  background: linear-gradient(90deg, #8a6a2a, #e2c886, #8a6a2a);
  border-radius: 3px;
}
.hg-pillar.l { left: 8px; }
.hg-pillar.r { right: 8px; }
.hg-bulb {
  position: absolute;
  left: 13px;
  right: 13px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(247, 240, 217, 0.75), rgba(233, 219, 182, 0.55));
  border: 1.5px solid rgba(122, 92, 40, 0.55);
}
.hg-bulb.top {
  top: 10px;
  height: 40px;
  clip-path: polygon(0 0, 100% 0, 62% 100%, 38% 100%);
}
.hg-bulb.bot {
  bottom: 10px;
  height: 40px;
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}
.hg-sand-top {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #d8b45f, #b8923c);
  height: 76%;
  animation: hgtop 7s linear infinite;
}
.hg-sand-bot {
  position: absolute;
  top: 0;
  left: 24%;
  right: 24%;
  background: linear-gradient(180deg, #b8923c, #d8b45f);
  height: 8%;
  animation: hgbot 7s linear infinite;
}
.hg-stream {
  position: absolute;
  top: 49px;
  left: 50%;
  width: 2.4px;
  height: 20px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #d8b45f, #a97f2c);
  animation: hgstream 7s linear infinite;
}
@keyframes hgtop {
  0% { height: 76%; }
  82% { height: 5%; }
  100% { height: 5%; }
}
@keyframes hgbot {
  0% { height: 8%; }
  82% { height: 78%; }
  100% { height: 78%; }
}
@keyframes hgstream {
  0%, 80% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

/* ---------- Globe ---------- */
.shelf-wrap { position: relative; }
.globe {
  position: absolute;
  right: 4%;
  top: -74px;
  width: 74px;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 12px 12px rgba(43, 32, 19, 0.4));
}
.globe svg { display: block; width: 100%; height: auto; overflow: visible; }
.g-spin {
  transform-origin: 40px 38px;
  animation: gspin 16s linear infinite;
}
@keyframes gspin {
  to { transform: rotate(360deg); }
}

/* ---------- Cat on the shelf ---------- */
.cat {
  position: absolute;
  left: 5%;
  bottom: 9px;
  width: 68px;
  z-index: 4;
  pointer-events: none;
}
.cat svg { display: block; width: 100%; height: auto; overflow: visible; }
.cat .tail {
  transform-origin: 14px 44px;
  animation: tail-swish 3.6s ease-in-out infinite alternate;
}
@keyframes tail-swish {
  from { transform: rotate(-10deg); }
  to { transform: rotate(16deg); }
}
.cat .eye-glint {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 4.6s infinite;
}
@keyframes blink {
  0%, 91%, 100% { transform: scaleY(1); }
  94% { transform: scaleY(0.06); }
  97% { transform: scaleY(1); }
}

/* ---------- Owl ---------- */
.owl {
  position: absolute;
  top: -52px;
  left: 57%;
  width: 56px;
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(43, 32, 19, 0.4));
}
.owl svg { display: block; width: 100%; height: auto; overflow: visible; }
.owl .owl-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 5.2s infinite;
}

/* ---------- Wind chime ---------- */
.chime {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 66px;
  pointer-events: none;
}
.chime svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chime .tube {
  transform-box: stroke-box;
  transform-origin: top center;
  animation: chime-sway 3.8s ease-in-out infinite alternate;
}
.chime .tube.t2 { animation-delay: -0.7s; }
.chime .tube.t3 { animation-delay: -1.4s; }
.chime .tube.t4 { animation-delay: -2.1s; }
.chime .tube.t5 { animation-delay: -2.8s; }
@keyframes chime-sway {
  from { transform: rotate(-6deg); }
  to { transform: rotate(6deg); }
}

/* ---------- Falling leaves & dust motes ---------- */
.leaf-zone {
  position: relative;
  overflow: hidden;
}
.fall-leaf {
  position: absolute;
  top: -6%;
  pointer-events: none;
  animation: leaf-fall linear infinite;
  opacity: 0;
  z-index: 3;
}
.fall-leaf svg { display: block; width: 100%; height: auto; }
@keyframes leaf-fall {
  0% { top: -6%; transform: translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.85; }
  50% { transform: translateX(30px) rotate(170deg); }
  90% { opacity: 0.7; }
  100% { top: 106%; transform: translateX(-22px) rotate(330deg); opacity: 0; }
}
.mote {
  position: fixed;
  width: 3.4px;
  height: 3.4px;
  border-radius: 50%;
  background: rgba(216, 183, 116, 0.55);
  filter: blur(1px);
  pointer-events: none;
  z-index: 1400;
  bottom: -4vh;
  animation: mote-rise linear infinite;
  opacity: 0;
}
@keyframes mote-rise {
  0% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: 0.6; }
  55% { transform: translate(14px, -58vh); }
  88% { opacity: 0.35; }
  100% { transform: translate(-8px, -112vh); opacity: 0; }
}

/* ---------- V6 responsive ---------- */
@media (max-width: 1220px) {
  .gclock { display: none; }
  .sec-schedule .container { display: block; }
  .hourglass { display: none; }
  .globe { display: none; }
  .cat { display: none; }
}
@media (max-width: 760px) {
  .candle, .owl, .chime { display: none; }
  .bunting { display: none; }
}
