:root {
    --bg: #eee9df;
    --paper: #fffdf8;
    --ink: #202522;
    --muted: #726f68;
    --line: rgba(32, 37, 34, .09);
    --shadow: 0 18px 60px rgba(52, 47, 38, .08);
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
    min-height: 100svh;
    background: var(--bg);
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
}

.stage {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.quote {
    position: relative;
    display: block;
    width: min(720px, 88vw);
    padding: clamp(34px, 6vw, 58px) clamp(30px, 7vw, 70px);
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--paper);
    box-shadow: var(--shadow);
    color: inherit;
    text-decoration: none;
    text-align: center;
    font-size: clamp(1.55rem, 3.8vw, 2.6rem);
    line-height: 1.42;
    letter-spacing: -.015em;
    transition: transform .16s ease, box-shadow .16s ease;
}

.quote::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 28px;
    height: 28px;
    background: var(--paper);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transform: translateX(-50%) rotate(45deg);
}

.quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 70px rgba(52, 47, 38, .11);
}

.quote:active { transform: translateY(0); }

.info-button {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(32, 37, 34, .18);
    border-radius: 999px;
    background: rgba(255,255,255,.34);
    color: var(--muted);
    font: italic 18px/1 Georgia, serif;
    cursor: pointer;
}

.info-button:hover { background: rgba(255,255,255,.58); }

.info-dialog {
    width: min(390px, calc(100vw - 40px));
    padding: 34px 34px 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 24px 90px rgba(0,0,0,.14);
    text-align: center;
}

.info-dialog::backdrop {
    background: rgba(31, 32, 29, .16);
    backdrop-filter: blur(3px);
}

.info-dialog strong,
.info-dialog em,
.info-dialog a { display: block; }

.info-dialog strong { font-size: 1.25rem; margin-bottom: 12px; }
.info-dialog em { color: var(--muted); line-height: 1.5; margin-bottom: 22px; }
.info-dialog a { color: inherit; font-family: system-ui, sans-serif; font-size: .88rem; }

.close-button {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 24px;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .quote { transition: none; }
}
