/* Makon — home page: one continuous story around a live 3D room */
body.home2 { background: var(--night); }
body.home2 .top { transition: background .4s, backdrop-filter .4s; background: linear-gradient(rgba(14,17,16,.55), rgba(14,17,16,0)); }
body.home2.scrolled .top { background: rgba(14,17,16,.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* the story: a tall section, the 3D room sticks while the steps change */
.story { position: relative; height: 560vh; }
.story-stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
#h3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#h3d.grab { cursor: grabbing; }
.h3d-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h3d-labels { position: absolute; inset: 0; pointer-events: none; }
.h3d-dim { position: absolute; left: 0; top: 0; font: 600 11px var(--sans); letter-spacing: .06em; color: #fff; background: #18201d; padding: 4px 8px; white-space: nowrap; transition: opacity .3s; }
/* soft shade so text stays readable over the 3D */
.story-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(14,17,16,.62) 0%, rgba(14,17,16,.28) 34%, transparent 58%); }
.story-steps { position: absolute; left: var(--pad); bottom: clamp(70px, 12vh, 140px); z-index: 2; width: min(560px, calc(100% - 2 * var(--pad))); pointer-events: none; }
.step { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.step.on { opacity: 1; transform: none; pointer-events: auto; }
.step h1, .step h2 { font: 400 clamp(36px, min(5.4vw, 8.2vh), 88px)/.98 var(--serif); letter-spacing: -.03em; margin: 14px 0 18px; color: var(--white); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.step h2 { font-size: clamp(36px, min(5.2vw, 8.5vh), 80px); }
.step p { font-size: 16px; line-height: 1.65; color: rgba(251,248,242,.88); max-width: 470px; margin: 0; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.step .num { color: var(--accent); }
.hero-cta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.hero-cta .btn-light { padding: 15px 24px; }
.room-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.room-chips button { border: 1px solid rgba(255,255,255,.28); background: rgba(14,17,16,.35); color: #fff; padding: 8px 12px; font: 500 12.5px var(--sans); cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, color .2s; }
.room-chips button:hover { background: rgba(255,255,255,.15); }
.room-chips button[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.story-dots { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); z-index: 2; display: grid; gap: 10px; }
.story-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(24,32,29,.35); transition: transform .3s, background .3s; }
.story-dots i.on { background: var(--accent); transform: scale(1.6); }
.story-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; color: #18201d; background: rgba(240,234,223,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 7px 14px; border-radius: 99px; white-space: nowrap; transition: opacity .4s; }
.story-hint .touch { display: none; }
@media (hover: none) { .story-hint .touch { display: inline; } .story-hint .desk { display: none; } }
.eve-btn { position: absolute; right: var(--pad); bottom: 22px; z-index: 3; border: 1px solid rgba(24,32,29,.25); background: rgba(255,255,255,.7); color: var(--ink); padding: 9px 14px; cursor: pointer; backdrop-filter: blur(6px); }
.eve-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); }

/* before / after on a real photo */
.ba { padding: clamp(100px, 12vw, 170px) var(--pad) clamp(40px, 6vw, 80px); max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.ba-head h2 { font: 400 clamp(40px, 4.6vw, 70px)/1 var(--serif); letter-spacing: -.03em; margin: 14px 0 18px; }
.ba-head p { color: var(--soft); line-height: 1.65; margin: 0 0 22px; }
.ba-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d100f; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--x)); }
.ba-frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 18px rgba(0,0,0,.35); pointer-events: none; }
.ba-frame input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-handle { position: absolute; top: 50%; left: var(--x); transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 18px; pointer-events: none; box-shadow: 0 8px 24px rgba(0,0,0,.35); z-index: 2; }
.ba-tag { position: absolute; top: 16px; z-index: 2; color: #fff; background: rgba(0,0,0,.45); padding: 6px 10px; }
.ba-tag.l { left: 16px; } .ba-tag.r { right: 16px; }

@media (max-width: 900px) {
  .story { height: 520vh; }
  .story-stage::before { background: linear-gradient(0deg, rgba(14,17,16,.82) 0%, rgba(14,17,16,.5) 40%, transparent 68%); }
  .story-steps { bottom: 64px; }
  .step h1 { font-size: clamp(38px, 11vw, 54px); }
  .step h2 { font-size: clamp(34px, 9.5vw, 48px); }
  .step p { font-size: 14.5px; }
  .room-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--pad)); }
  .room-chips::-webkit-scrollbar { display: none; }
  .room-chips button { white-space: nowrap; }
  .story-dots { top: 140px; transform: none; right: 14px; }
  .story-hint { bottom: 16px; font-size: 9px; }
  .eve-btn { top: 128px; bottom: auto; right: 34px; left: auto; padding: 7px 11px; }
  body:not(.has-announce) .eve-btn { top: 92px; } body:not(.has-announce) .story-dots { top: 104px; }
  .ba { grid-template-columns: 1fr; }
}
.h3d-fallback[hidden] { display: none !important; }

/* In motion: vertical films */
.ig { display: grid; grid-template-columns: minmax(260px, 1fr) 2.4fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.ig-head h2 { font-size: clamp(36px, 4.4vw, 64px); margin: 14px 0 18px; }
.ig-head p { max-width: 34ch; color: var(--muted, #6f675c); margin-bottom: 22px; }
.ig-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ig-card { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #1b1f1d; box-shadow: 0 18px 40px -22px rgba(0,0,0,.45); transform: translateZ(0); }
.ig-card:nth-child(even) { margin-top: 36px; }
.ig-card video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.ig-card figcaption { position: absolute; left: 12px; right: 52px; bottom: 12px; color: #fff; font-size: 12.5px; letter-spacing: .02em; text-shadow: 0 1px 6px rgba(0,0,0,.5); pointer-events: none; }
.ig-snd { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(20,22,21,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; cursor: pointer; }
.ig-snd svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ig-snd svg path:first-child { fill: currentColor; stroke: none; }
.ig-snd .on, .ig-snd[aria-pressed="true"] .off { display: none; }
.ig-snd[aria-pressed="true"] .on { display: inline; }
@media (max-width: 900px) {
  .ig { grid-template-columns: 1fr; }
  .ig-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--pad, 16px)); padding: 0 var(--pad, 16px) 6px; scrollbar-width: none; }
  .ig { overflow-x: clip; }
  .ig-row::-webkit-scrollbar { display: none; }
  .ig-card { flex: 0 0 62vw; max-width: 280px; scroll-snap-align: center; }
  .ig-card:nth-child(even) { margin-top: 0; }
}

/* Furniture & decor on the home page */
.dk { display: grid; grid-template-columns: minmax(260px, 1fr) 2.3fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.dk-head h2 { font-size: clamp(34px, 4.2vw, 60px); margin: 14px 0 18px; }
.dk-head p { color: var(--muted, #6f675c); max-width: 36ch; margin-bottom: 22px; }
.dk-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.dk-card { flex: 0 0 210px; scroll-snap-align: start; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink, #18201d); display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,.06); transition: transform .3s, box-shadow .3s; }
.dk-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(0,0,0,.4); }
.dk-img { position: relative; aspect-ratio: 4 / 3; background: #f2eee7; overflow: hidden; }
.dk-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dk-img i { position: absolute; left: 8px; top: 8px; font: 600 10px/1 Inter, sans-serif; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #e2a964; background: #141a17; padding: 6px 8px; border-radius: 99px; }
.dk-card b { font: 600 14px Inter, sans-serif; padding: 12px 14px 2px; }
.dk-card small { font-size: 12px; color: #8a8174; padding: 0 14px; }
.dk-card em { font-style: normal; font-size: 12px; font-weight: 600; color: #b9783a; padding: 10px 14px 14px; }
@media (max-width: 900px) { .dk { grid-template-columns: 1fr; overflow-x: clip; } .dk-row { margin: 0 calc(-1 * var(--pad, 16px)); padding: 0 var(--pad, 16px) 8px; } .dk-card { flex-basis: 62vw; max-width: 240px; } }

/* ---------- Tap anything in the room ---------- */
.tap { padding: clamp(90px, 11vw, 150px) var(--pad) clamp(40px, 6vw, 80px); max-width: 1500px; margin: 0 auto; }
.tap-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 14px 60px; align-items: end; margin-bottom: 28px; }
.tap-head .label { grid-column: 1 / -1; }
.tap-head h2 { font-size: clamp(36px, 4.6vw, 66px); line-height: 1.02; }
.tap-head p { color: var(--muted, #6f675c); }
.tap-tabs { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.tap-tabs button { border: 1px solid rgba(24,32,29,.2); background: transparent; padding: 9px 16px; border-radius: 99px; font: 500 13.5px var(--sans, Inter, sans-serif); cursor: pointer; color: inherit; }
.tap-tabs button[aria-pressed="true"] { background: var(--ink, #18201d); color: #fff; border-color: var(--ink, #18201d); }
.tap-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(18px, 3vw, 40px); align-items: start; }
.tap-frame { position: relative; aspect-ratio: var(--ar, 4 / 3); max-height: 82vh; margin: 0 auto; width: 100%; max-width: calc(82vh * (var(--arn, 1))); border-radius: 18px; overflow: hidden; background: #e6dfd3; box-shadow: 0 40px 80px -50px rgba(0,0,0,.5); }
.tap-frame img { width: 100%; height: 100%; object-fit: cover; display: block; animation: tapIn .8s ease both; }
@keyframes tapIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.tap-cap { position: absolute; left: 16px; bottom: 14px; color: #fff; font: 500 14px var(--sans, Inter, sans-serif); text-shadow: 0 1px 12px rgba(0,0,0,.6); pointer-events: none; }
.tap-dot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.28); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); cursor: pointer; display: grid; place-items: center; transition: transform .25s; }
.tap-dot i { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.15); transition: background .2s, transform .2s; }
.tap-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); animation: tapPulse 2.4s ease-out infinite; }
.tap-dot:hover { transform: scale(1.15); }
.tap-dot.on i { background: var(--accent, #e2a964); transform: scale(1.25); }
.tap-dot.on { background: rgba(226,169,100,.35); }
@keyframes tapPulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tap-dot::after { animation: none; } }
.tap-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid rgba(0,0,0,.06); position: sticky; top: 90px; }
.tap-pic { position: relative; background: #f2eee7; aspect-ratio: 4 / 3; }
.tap-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tap-pic .label { position: absolute; left: 12px; bottom: 10px; font-size: 10.5px; color: #6f675c; }
.tap-body { padding: 18px 20px 20px; display: grid; gap: 8px; }
.tap-body h3 { font: 400 26px/1.1 var(--serif, "Playfair Display", serif); }
.tap-body p { font-size: 14.5px; color: #4a453d; line-height: 1.5; }
.tap-body small { color: #8a8174; font-size: 12.5px; }
.tap-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tap-fav { border: 1px solid rgba(24,32,29,.25); background: transparent; padding: 10px 14px; cursor: pointer; color: inherit; }
.tap-fav[aria-pressed="true"] { color: #b9783a; border-color: #b9783a; }
.tap-more { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; margin-top: 4px; }
.tap-more a { color: inherit; }
.tap-more details summary { cursor: pointer; color: #8a8174; list-style: none; }
.tap-more details[open] { display: flex; gap: 8px; flex-wrap: wrap; } .tap-more details a { border: 1px solid #ddd5c8; border-radius: 99px; padding: 4px 9px; text-decoration: none; }
.tap-nav { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #eee7dc; padding-top: 12px; margin-top: 4px; font-size: 13px; color: #8a8174; }
.tap-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ddd5c8; background: transparent; cursor: pointer; font-size: 16px; color: inherit; }
@media (max-width: 900px) {
  .tap-head, .tap-stage { grid-template-columns: minmax(0, 1fr); }
  .tap-frame { max-height: none; max-width: none; border-radius: 14px; }
  .tap-card { position: static; }
  .tap-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--pad)); }
  .tap-tabs button { flex: none; }
}

/* ---------- style quiz band ---------- */
.quizband { background: #141a17; color: #f4efe6; padding: clamp(70px, 9vw, 130px) var(--pad); margin: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; }
.qz-in { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.quizband h2 { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.04; margin: 14px 0 18px; color: #f4efe6; }
.quizband h2 .ital { color: var(--accent, #e2a964); }
.quizband p { color: rgba(244,239,230,.72); max-width: 46ch; margin-bottom: 26px; }
.quizband .btn-light { background: var(--accent, #e2a964); color: #141a17; }
.qz-pics { position: relative; height: clamp(260px, 32vw, 440px); }
.qz-pics img { position: absolute; width: 58%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); transition: transform .6s; }
.qz-pics img:nth-child(1) { left: 0; top: 8%; transform: rotate(-5deg); }
.qz-pics img:nth-child(2) { left: 22%; top: 30%; transform: rotate(3deg); z-index: 2; }
.qz-pics img:nth-child(3) { right: 0; top: 0; transform: rotate(7deg); }
.quizband:hover .qz-pics img:nth-child(1) { transform: rotate(-8deg) translateX(-10px); } .quizband:hover .qz-pics img:nth-child(3) { transform: rotate(10deg) translateX(10px); }
@media (max-width: 900px) { .qz-in { grid-template-columns: minmax(0, 1fr); } .qz-pics { height: 62vw; } }
.tap-card { color: #18201d; }
.tap-card .btn-light { background: #18201d; color: #fbf8f2; }
.tap-tabs button { color: inherit; border-color: rgba(251,248,242,.25); }
.tap-tabs button[aria-pressed="true"] { background: var(--accent, #e2a964); color: #141a17; border-color: var(--accent, #e2a964); }
.tap-head p { color: rgba(251,248,242,.65); }
.quizband { background: #1c2420; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.style-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; pointer-events: auto; }
.style-chips .label { font-size: 10.5px; color: rgba(255,255,255,.7); margin-right: 4px; }
.style-chips button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.22); background: rgba(14,17,16,.35); color: #fff; padding: 6px 10px 6px 7px; border-radius: 99px; font: 500 12px var(--sans); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.style-chips button i { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--sw) 50%, var(--sw2) 50%); box-shadow: 0 0 0 1px rgba(255,255,255,.4); }
.style-chips button:hover { transform: translateY(-1px); background: rgba(255,255,255,.14); }
.style-chips button[aria-pressed="true"] { background: var(--accent, #e2a964); color: #141a17; border-color: var(--accent, #e2a964); }
@media (max-width: 900px) { .style-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--pad)); } .style-chips button { flex: none; } }
.tap-ar { border: 0; background: #f4efe6; color: #18201d; padding: 10px 14px; cursor: pointer; border-radius: 0; }
