/* undo.quest -- mid-century, organic blob cards, navy-metallic */
:root {
    --navy: #1a2a3a;
    --navy-light: #2a3a4a;
    --silver: #8a9aaa;
    --copper: #c07850;
    --bg-warm: #f0ece4;
    --text-dark: #1a2028;
    --text-light: #d8e0e8;
    --green: #5a8a60;

    --shape-1: 40% 60% 60% 40% / 50% 50% 60% 40%;
    --shape-2: 65% 35% 50% 50% / 40% 50% 50% 60%;
    --shape-3: 50% 50% 35% 65% / 60% 40% 60% 40%;
    --shape-4: 30% 70% 60% 40% / 65% 35% 65% 35%;
    --shape-5: 60% 40% 40% 60% / 50% 60% 40% 50%;
    --shape-6: 55% 45% 65% 35% / 45% 55% 35% 65%;

    --shape-hover: 50% 50% 50% 50% / 50% 50% 50% 50%;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-dark);
    background: var(--bg-warm);
    overflow-x: hidden;
}

::selection { background: var(--copper); color: #ffffff; }

/* === SHOWROOM ENTRANCE === */
.showroom {
    position: relative;
    min-height: 100vh;
    background: var(--navy);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 32px 56px;
    overflow: hidden;
    isolation: isolate;
}

.showroom-sheen {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(138,154,170,0.10) 0%, transparent 50%, rgba(192,120,80,0.08) 100%),
        radial-gradient(ellipse at 30% 20%, rgba(138,154,170,0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.showroom-inner {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}

.showroom-eyebrow {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 28px;
}

.hero-undo {
    font-family: 'Epilogue', sans-serif;
    font-size: clamp(72px, 14vw, 220px);
    line-height: 0.95;
    color: var(--text-light);
    letter-spacing: -0.01em;
    font-variation-settings: 'wght' 100;
    transition: font-variation-settings 80ms linear;
    margin-bottom: 28px;
    word-break: break-word;
}

.hero-sub {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-size: clamp(16px, 1.8vw, 22px);
    color: var(--text-light);
    max-width: 640px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.hero-sub-aside {
    font-family: 'Merriweather', serif;
    font-style: italic;
    color: var(--silver);
    font-size: 15px;
    margin-bottom: 32px;
    max-width: 640px;
}

.hero-cta {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light);
    background: transparent;
    border: 2px solid var(--copper);
    padding: 14px 32px;
    border-radius: var(--shape-1);
    text-decoration: none;
    transition: border-radius 600ms ease, background 240ms, color 240ms, transform 240ms;
    display: inline-block;
}

.hero-cta:hover {
    background: var(--copper);
    color: var(--navy);
    border-radius: var(--shape-hover);
    transform: translateY(-2px);
}

.showroom-meta {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 56px auto 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid rgba(138,154,170,0.22);
    padding-top: 18px;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--silver);
}
.weight-readout strong { color: var(--copper); }

/* === SECTION HEADERS === */
.section-eyebrow {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Epilogue', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-variation-settings: 'wght' 700;
}
.section-title.light-on-dark { color: var(--text-light); }

.section-lede {
    font-family: 'Merriweather', serif;
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--text-dark);
    max-width: 720px;
    line-height: 1.65;
}
.section-lede.light-on-dark { color: var(--text-light); }

/* === CARDS GRID === */
.cards-section {
    background: var(--bg-warm);
    padding: 96px 32px;
}

.cards-header {
    max-width: 1080px;
    margin: 0 auto 56px;
}

.cards-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.quest-card {
    background: var(--navy-light);
    color: var(--text-light);
    padding: 36px 32px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-radius 600ms ease, transform 600ms ease, opacity 600ms ease, box-shadow 320ms ease, background 320ms ease;
    box-shadow: 0 8px 28px rgba(26,42,58,0.12);
    opacity: 0;
    transform: scale(0.9) translateY(16px);
    will-change: transform, opacity;
}

.shape-1 { border-radius: var(--shape-1); }
.shape-2 { border-radius: var(--shape-2); }
.shape-3 { border-radius: var(--shape-3); }
.shape-4 { border-radius: var(--shape-4); }
.shape-5 { border-radius: var(--shape-5); }
.shape-6 { border-radius: var(--shape-6); }

.quest-card.is-revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.quest-card:hover {
    background: var(--navy);
    box-shadow: 0 16px 40px rgba(26,42,58,0.25);
}

.quest-card.shape-1:hover, .quest-card.shape-4:hover { border-radius: var(--shape-3); }
.quest-card.shape-2:hover, .quest-card.shape-5:hover { border-radius: var(--shape-6); }
.quest-card.shape-3:hover, .quest-card.shape-6:hover { border-radius: var(--shape-1); }

.card-label {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--copper);
}

.card-title {
    font-family: 'Epilogue', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: var(--text-light);
    font-variation-settings: 'wght' 600;
}

.card-body {
    font-family: 'Merriweather', serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    flex-grow: 1;
}

.card-foot {
    font-family: 'Work Sans', sans-serif;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    color: var(--silver);
    text-transform: uppercase;
}

/* === NATURE SECTION === */
.nature-section {
    background: var(--navy);
    color: var(--text-light);
    padding: 96px 32px;
}

.nature-header {
    max-width: 1080px;
    margin: 0 auto 56px;
}

.nature-row {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.nature-figure {
    background: rgba(138,154,170,0.06);
    padding: 28px;
    border-radius: var(--shape-2);
    transition: border-radius 600ms ease, background 240ms;
    opacity: 0;
    transform: translateY(16px);
}

.nature-figure:hover {
    border-radius: var(--shape-5);
    background: rgba(138,154,170,0.12);
}

.nature-figure.is-revealed {
    opacity: 1;
    transform: translateY(0);
    transition: border-radius 600ms ease, background 240ms, opacity 600ms ease, transform 600ms ease;
}

.nature-figure svg {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

.nature-figure figcaption {
    display: grid;
    gap: 6px;
    font-family: 'Merriweather', serif;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.55;
}

.nature-num {
    font-family: 'Work Sans', sans-serif;
    color: var(--copper);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nature-figure strong {
    font-family: 'Epilogue', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-light);
    font-variation-settings: 'wght' 600;
}

/* === BLUEPRINT FOOTER === */
.blueprint-footer {
    position: relative;
    background: var(--navy-light);
    color: var(--text-light);
    padding: 80px 32px 60px;
    overflow: hidden;
}

.blueprint-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(138,154,170,0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138,154,170,0.10) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.blueprint-inner {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
}

.blueprint-tag {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 14px;
}

.blueprint-title {
    font-family: 'Epilogue', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    color: var(--text-light);
    margin-bottom: 28px;
}

.blueprint-notes {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-bottom: 36px;
}

.blueprint-notes li {
    font-family: 'Merriweather', serif;
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    border-bottom: 1px dashed rgba(138,154,170,0.25);
    padding-bottom: 12px;
    display: flex;
    gap: 14px;
}

.bn-num {
    font-family: 'Work Sans', sans-serif;
    color: var(--copper);
    font-weight: 700;
    flex: 0 0 28px;
}

.blueprint-foot {
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--silver);
    border-top: 1px solid rgba(138,154,170,0.22);
    padding-top: 18px;
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .nature-row { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 620px) {
    .cards-grid { grid-template-columns: 1fr; }
    .quest-card { padding: 28px 24px; min-height: 240px; }
    .showroom { padding: 72px 22px 48px; }
    .cards-section, .nature-section { padding: 72px 22px; }
}
