/* museum.dad-look.com - The Museum of One Book */
body { margin: 0; background: #f4f1ea; color: #1c1c1c; font-family: Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #d95450; outline-offset: 3px; }
.mu-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
h1, h2, h3, .mu-logo, .mu-ticket h2 { font-family: Georgia, "Times New Roman", serif; }
.mu-kicker { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: #d95450; }

/* Header */
.mu-header { max-width: 1100px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #ddd5c4; }
.mu-logo { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; text-decoration: none; }
.mu-logo span { padding: 4px 8px; background: #1c1c1c; color: #f4f1ea; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 900; letter-spacing: 0.08em; }
.mu-header nav { display: flex; gap: 20px; font-size: 15px; }
.mu-header nav a { text-decoration: none; }
.mu-header nav a:hover { text-decoration: underline; }
.mu-shared { max-width: 1052px; margin: 20px auto 0; padding: 14px 18px; background: #fff; border-left: 4px solid #d95450; }

/* Hero */
.mu-hero { max-width: 900px; margin: 0 auto; padding: 70px 24px 60px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.mu-hero h1 { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: 1.05; font-weight: 700; }
.mu-sub { margin: 0; font-size: 20px; font-style: italic; font-family: Georgia, serif; color: #5c554a; }
.mu-facts { margin: 18px 0 8px; display: grid; grid-template-columns: repeat(5, auto); gap: 0; border-top: 1px solid #1c1c1c; border-bottom: 1px solid #1c1c1c; }
.mu-facts div { padding: 14px 20px; border-left: 1px solid #ddd5c4; }
.mu-facts div:first-child { border-left: 0; }
.mu-facts dt { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #8a8173; }
.mu-facts dd { margin: 4px 0 0; font-family: Georgia, serif; font-size: 20px; }
.mu-enter { display: inline-flex; align-items: center; min-height: 52px; padding: 0 30px; background: #1c1c1c; color: #f4f1ea; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.mu-enter:hover { background: #d95450; }

/* Tour */
.mu-tour { background: #26392f; color: #f4f1ea; padding: 40px 24px 50px; overflow: hidden; }
.mu-tour-bar { max-width: 1000px; margin: 0 auto 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mu-room-count { margin: 0; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: #c9d6cd; }
.mu-audio { min-height: 40px; padding: 0 16px; border: 1px solid #c9a24a; border-radius: 999px; background: none; color: #f0d58f; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.mu-audio:hover, .mu-audio[aria-pressed="true"] { background: #c9a24a; color: #1c1c1c; }
.mu-room { max-width: 1000px; margin: 0 auto 70px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: center; }
.js .mu-tour.is-touring .mu-room { margin-bottom: 0; }
.mu-room-name { grid-column: 1 / -1; margin: 0; font-family: Georgia, serif; font-style: italic; font-size: 22px; color: #f0d58f; }
.mu-wall { position: relative; display: flex; flex-direction: column; align-items: center; padding: 50px 20px 0; }
.mu-spot { position: absolute; top: -20px; left: 50%; width: 520px; max-width: 120%; height: 460px; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 0%, rgba(255, 244, 214, 0.28), rgba(255, 244, 214, 0) 65%); pointer-events: none; }
.mu-frame { position: relative; display: block; width: min(320px, 70vw); aspect-ratio: 3 / 4; padding: 22px; border: 14px solid #b8913c; background: #faf6ec; box-shadow: inset 0 0 0 2px #8a6a25, 0 18px 40px rgba(0, 0, 0, 0.45); cursor: not-allowed; }
.mu-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mu-frame.is-empty { background: #faf6ec; }
.mu-empty-note { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-family: Georgia, serif; font-style: italic; font-size: 14px; color: #a39a8a; }
.mu-rope { width: 100%; max-width: 440px; margin-top: 46px; display: flex; justify-content: space-between; position: relative; height: 70px; }
.mu-rope::before, .mu-rope::after { content: ""; width: 10px; height: 70px; border-radius: 5px 5px 2px 2px; background: linear-gradient(90deg, #8a6a25, #e3c36f, #8a6a25); }
.mu-rope span { position: absolute; left: 8px; right: 8px; top: 6px; height: 34px; border-bottom: 7px solid #8e1f2a; border-radius: 0 0 50% 50%; }
.mu-label { background: #f4f1ea; color: #1c1c1c; padding: 22px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); }
.mu-label h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.2; }
.mu-label h3 span { font-weight: 400; color: #5c554a; }
.mu-label dl { margin: 0 0 14px; font-size: 13px; }
.mu-label dl div { display: flex; gap: 6px; padding: 3px 0; }
.mu-label dt { color: #8a8173; min-width: 80px; }
.mu-label dd { margin: 0; }
.mu-guide { margin: 0; padding-top: 12px; border-top: 1px solid #ddd5c4; font-size: 15px; line-height: 1.55; }
.mu-guide.is-speaking { background: linear-gradient(transparent 60%, rgba(201, 162, 74, 0.35) 60%); }
.mu-tour-nav { max-width: 1000px; margin: 34px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.mu-tour-nav > button { min-height: 46px; padding: 0 18px; border: 1px solid #f4f1ea; background: none; color: #f4f1ea; font: inherit; font-weight: 800; cursor: pointer; }
.mu-tour-nav > button:hover { background: #f4f1ea; color: #26392f; }
.mu-tour-nav > button:disabled { opacity: 0.3; cursor: default; background: none; color: #f4f1ea; }
.mu-dots { margin: 0; padding: 0; list-style: none; display: flex; gap: 10px; }
.mu-dots button { width: 14px; height: 14px; padding: 0; border: 2px solid #f4f1ea; border-radius: 50%; background: none; cursor: pointer; }
.mu-dots button[aria-current="true"] { background: #f0d58f; border-color: #f0d58f; }
.mu-touch-note { max-width: 1000px; margin: 18px auto 0; text-align: center; font-weight: 800; color: #ffb4b0; min-height: 1.3em; }
.mu-touch-note a { color: #ffffff; }
.mu-alarm { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at center, rgba(217, 84, 80, 0) 40%, rgba(217, 84, 80, 0.75)); }
.mu-alarm.is-on { opacity: 1; }

/* Gift shop */
.mu-shop, .mu-guestbook { max-width: 1100px; margin: 0 auto; padding: 60px 24px 10px; }
.mu-shop h2, .mu-guestbook h2 { margin: 6px 0 22px; font-size: 38px; }
.mu-shop ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mu-shop li { display: flex; flex-direction: column; gap: 8px; background: #ffffff; padding: 14px; border: 1px solid #ddd5c4; }
.mu-shop img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 59% 62%; }
.mu-shop li:nth-child(2) img { filter: sepia(0.6) hue-rotate(-20deg); }
.mu-shop li:nth-child(3) img { filter: grayscale(1) contrast(1.2); }
.mu-shop li:nth-child(4) img { filter: grayscale(1); opacity: 0.4; }
.mu-shop h3 { margin: 0; font-size: 19px; }
.mu-shop p { margin: 0; font-size: 14px; line-height: 1.45; color: #5c554a; flex: 1; }
.mu-price { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; background: #1c1c1c; color: #f4f1ea; font-weight: 800; text-decoration: none; }
.mu-price:hover { background: #d95450; }
.mu-price.is-sold { background: #ddd5c4; color: #8a8173; }

/* Guestbook */
.mu-guestbook ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mu-guestbook li { padding: 20px; background: #fffdf7; border: 1px solid #ddd5c4; transform: rotate(-0.6deg); }
.mu-guestbook li:nth-child(even) { transform: rotate(0.6deg); }
.mu-guestbook li p { margin: 0 0 8px; font-family: Georgia, serif; font-style: italic; font-size: 19px; line-height: 1.4; }
.mu-guestbook li span { font-size: 14px; color: #8a8173; }
.mu-small { margin: 14px 0 0; font-size: 13px; color: #8a8173; }

/* Ticket */
.mu-ticket-box { max-width: 1100px; margin: 0 auto; padding: 60px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px; scroll-margin-top: 20px; }
.mu-ticket { position: relative; width: 320px; padding: 28px; background: #f4ead5; border: 3px solid #c9a24a; outline: 10px solid #f4ead5; text-align: center; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18); transform: rotate(-2deg); }
.mu-ticket p { margin: 0; }
.mu-ticket-top { font-size: 13px; font-weight: 900; letter-spacing: 0.4em; color: #d95450; }
.mu-ticket h2 { margin: 12px 0 6px; font-size: 32px; }
.mu-ticket-seen { margin-top: 14px !important; padding-top: 14px; border-top: 2px dashed #b3a889; }
.mu-ticket-share { max-width: 360px; display: flex; flex-direction: column; gap: 12px; }
.mu-ticket-share p { margin: 0; font-size: 18px; }
.mu-button { min-height: 50px; padding: 0 24px; border: 0; background: #d95450; color: #ffffff; font: inherit; font-size: 17px; font-weight: 900; cursor: pointer; }
.mu-button:hover { background: #1c1c1c; }
.mu-status { font-size: 14px !important; font-weight: 700; color: #26392f; }
.mu-status:empty { display: none; }

/* Bottom */
.mu-bottom { max-width: 1100px; margin: 0 auto; padding: 0 24px 48px; display: flex; flex-direction: column; gap: 28px; }
.mu-cta { background: #1c1c1c; color: #f4f1ea; padding: 44px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.mu-cta h2 { margin: 0; font-size: 34px; }
.mu-cta p { margin: 0; font-size: 17px; color: #d6d0c4; }
.mu-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 560px; min-height: 72px; padding: 18px 24px; border-radius: 999px; background: #d95450; color: #ffffff; font-size: 21px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.mu-cta-button:hover { background: #e8706c; }
.mu-cta-button:focus-visible { outline-color: #ffffff; outline-offset: 4px; }
.mu-cta-arrow { display: inline-block; }
.mu-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #8a8173; border-top: 1px solid #ddd5c4; padding-top: 14px; }

@media (max-width: 860px) {
	.mu-room { grid-template-columns: 1fr; gap: 24px; }
	.mu-facts { grid-template-columns: repeat(2, auto); }
	.mu-facts div { border-left: 0; border-bottom: 1px solid #ddd5c4; }
	.mu-shop ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mu-guestbook ul { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.mu-header, .mu-hero, .mu-shop, .mu-guestbook, .mu-ticket-box, .mu-bottom { padding-left: 16px; padding-right: 16px; }
	.mu-tour { padding: 30px 16px 40px; }
	.mu-header nav { gap: 14px; font-size: 14px; }
	.mu-hero { padding-top: 44px; padding-bottom: 44px; }
	.mu-facts { width: 100%; grid-template-columns: 1fr 1fr; }
	.mu-facts div { padding: 12px 10px; }
	.mu-facts div:last-child { grid-column: 1 / -1; }
	.mu-frame { padding: 14px; border-width: 10px; }
	.mu-tour-nav > button { padding: 0 12px; font-size: 14px; }
	.mu-shop ul { grid-template-columns: 1fr; }
	.mu-shop h2, .mu-guestbook h2 { font-size: 30px; }
	.mu-ticket { width: 100%; box-sizing: border-box; }
	.mu-cta h2 { font-size: 26px; }
	.mu-cta-button { font-size: 18px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.js .mu-hero > * { animation: mu-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.js .mu-hero > *:nth-child(2) { animation-delay: 0.08s; }
	.js .mu-hero > *:nth-child(3) { animation-delay: 0.16s; }
	.js .mu-hero > *:nth-child(4) { animation-delay: 0.24s; }
	.js .mu-hero > *:nth-child(5) { animation-delay: 0.32s; }
	.js .mu-room.is-entering .mu-frame { animation: mu-hang 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.js .mu-room.is-entering .mu-spot { animation: mu-light 1.2s ease both; }
	.js .mu-room.is-entering .mu-label { animation: mu-rise 0.6s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.mu-frame.is-touched { animation: mu-shake 0.4s ease both; }
	.mu-alarm { transition: opacity 0.15s ease; }
	.mu-alarm.is-on { animation: mu-flash 0.5s ease-in-out 4 alternate; }
	.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.js .mu-guestbook .reveal.is-in { transform: rotate(-0.6deg); }
	.js .mu-guestbook li:nth-child(even).reveal.is-in { transform: rotate(0.6deg); }
	.mu-ticket { transition: transform 0.3s ease; }
	.mu-ticket:hover { transform: rotate(0deg) scale(1.03); }
	.mu-cta-button { animation: mu-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.mu-cta-button:hover { transform: scale(1.02); }
	.mu-cta-arrow { animation: mu-nudge 1.1s ease-in-out infinite; }
}

@keyframes mu-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes mu-hang { 0% { opacity: 0; transform: translateY(-30px) rotate(-3deg); } 60% { opacity: 1; transform: rotate(1.5deg); } 100% { transform: none; } }
@keyframes mu-light { from { opacity: 0; } to { opacity: 1; } }
@keyframes mu-shake { 0%, 100% { transform: none; } 25% { transform: rotate(-2deg); } 75% { transform: rotate(2deg); } }
@keyframes mu-flash { from { opacity: 1; } to { opacity: 0.2; } }
@keyframes mu-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(217, 84, 80, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(217, 84, 80, 0); } }
@keyframes mu-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
