.gr-memory-house {
    --mh-bg: #0a1020;
    --mh-panel: #111a2b;
    --mh-ink: #fff3df;
    --mh-muted: #d6c8b6;
    --mh-gold: #e2b575;
    --mh-line: #654f3b;
    background: var(--mh-bg);
    color: var(--mh-ink);
    font: 17px/1.6 Georgia, serif;
}
.gr-memory-house h1,
.gr-memory-house h2,
.gr-memory-house h3,
.gr-memory-house p,
.gr-memory-house figure { margin: 0; }
.gr-memory-house h1,
.gr-memory-house h2,
.gr-memory-house h3 { font-weight: 600; line-height: 1.02; }
.gr-memory-house h2 { font-size: clamp(2.3rem, 5.2vw, 4.45rem); letter-spacing: -.04em; }
.gr-memory-house h3 { font-size: clamp(1.55rem, 3vw, 2.65rem); letter-spacing: -.025em; }
.gr-memory-house p { max-width: 39ch; color: var(--mh-muted); }
.gr-memory-house a { color: inherit; }
.gr-memory-house img { display: block; width: 100%; height: auto; }
.gr-memory-house figure { min-width: 0; }
.mh-shell { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.mh-kicker, .mh-step, .mh-jump, .mh-credit,
.gr-memory-house figcaption { font: 650 .74rem/1.4 system-ui, sans-serif; }
.mh-kicker, .mh-step {
    color: var(--mh-gold);
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-bottom: .6rem;
}
.mh-hero {
    position: relative;
    isolation: isolate;
    min-height: 580px;
    display: grid;
    align-items: end;
    background: #1e2b2b;
}
.mh-hero img {
    position: absolute;
    inset: 0;
    height: 100%;
    z-index: -2;
    object-fit: cover;
    object-position: 50% 54%;
}
.mh-hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(90deg, #080e1bc9, transparent 76%), linear-gradient(0deg, #080e1bed, transparent 75%);
}
.mh-hero-content { padding-bottom: 52px; }
.mh-hero h1 { font-size: clamp(4rem, 9vw, 8.8rem); max-width: 9ch; letter-spacing: -.055em; }
.mh-hero p { color: var(--mh-ink); font-size: clamp(1rem, 2vw, 1.4rem); margin: .7rem 0 1.45rem; max-width: 35ch; }
.gr-memory-house .mh-jump {
    color: #101523;
    background: var(--mh-gold);
    display: inline-flex;
    gap: .8rem;
    padding: .75rem 1.1rem;
    border-radius: 3px;
    text-decoration: none;
}
.mh-chapter { padding-block: 64px; border-bottom: 1px solid #443a33; }
.mh-chapter p { margin-top: .85rem; }
.mh-intro { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 2rem; margin-bottom: 26px; }
.mh-intro p { justify-self: end; }
.mh-angles { display: grid; grid-template-columns: 1.06fr 1.15fr .82fr .9fr; gap: .8rem; }
.mh-angles img { height: 170px; object-fit: cover; }
.mh-angles figure { border-bottom: 1px solid var(--mh-line); }
.gr-memory-house figcaption, .mh-credit { color: var(--mh-gold); padding: .55rem 0; }
.mh-art {
    background-image: url(memory-house/workshop-v3.webp);
    background-repeat: no-repeat;
    background-size: 200% 300%;
    aspect-ratio: 3/2;
    background-color: #192331;
}
.mh-sketch { background-position: 0 0; }
.mh-flatten { background-position: 100% 0; }
.mh-laser { background-position: 0 50%; }
.mh-sketchup-original img { border: 1px solid var(--mh-line); }
.mh-sketchup-inset { margin-top: 1.1rem; max-width: 380px; }
.mh-split { display: grid; grid-template-columns: 1.56fr .9fr; gap: clamp(25px, 6vw, 86px); align-items: center; }
.mh-reverse { grid-template-columns: .9fr 1.56fr; }
.mh-reverse figure { grid-column: 2; grid-row: 1; }
.mh-reverse .mh-copy { grid-column: 1; grid-row: 1; }
.mh-plans { background: #161d29; }
.mh-plan-grid, .mh-bench-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.mh-cut { background: #f4f2ec; border: 9px solid #e4d8bf; display: grid; align-items: center; aspect-ratio: 3/2; }
.mh-cut img { max-height: 100%; object-fit: contain; }
.mh-bench-grid figure { background: var(--mh-panel); border-bottom: 2px solid var(--mh-line); }
.mh-bench-grid .mh-caption { padding: 21px; }
.mh-bench-grid .mh-caption p { margin-top: .6rem; }
.mh-assemble { background-image: url(memory-house/actual-finished-model.jpg); background-size: contain; background-position: center; aspect-ratio: 4/3; }
.mh-interior-stage { background: linear-gradient(115deg, #1c2430, #111825 66%); }
.mh-interior { background-image: url(memory-house/sketchup-roof-off.webp); background-size: contain; background-position: center; aspect-ratio: 1382/973; }
.mh-interior-notes { padding-left: 1rem; border-left: 1px solid var(--mh-gold); margin-top: 1.35rem; color: var(--mh-muted); }
.mh-interior-notes div + div { margin-top: .62rem; }
.mh-interior-notes strong { color: var(--mh-ink); }
.mh-roof-ref { margin-top: 1.2rem; }
.mh-memory-window {
    background-image: url(memory-house/window-closeup-v14.webp);
    background-size: contain;
    background-position: center;
    aspect-ratio: 2/3;
    width: min(100%, 360px);
    margin-inline: auto;
}
.mh-extra-window-views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.mh-extra-window-views figure { width: min(100%, 360px); justify-self: center; }
.mh-extra-window-views img { aspect-ratio: 2/3; object-fit: contain; }
.mh-extra-window-views figcaption { text-align: center; }
.mh-reveal { padding-block: 65px; background: radial-gradient(ellipse at 80% 20%, #32251b, #101423 63%); }
.mh-reveal .mh-intro { align-items: end; }
.mh-reveal .mh-feature { display: grid; grid-template-columns: .62fr 1fr; gap: 28px; align-items: center; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--mh-line); }
.mh-bbq { background-image: url(memory-house/bbq-closeup-v15.webp); background-size: cover; background-position: center; aspect-ratio: 4/3; }
.mh-sign-ref { display: block; margin: 1rem auto 0; width: min(100%, 250px); height: auto; }
.mh-sign-ref + figcaption { text-align: center; }
.gr-memory-house .mh-credit { padding-top: 1.2rem; color: #cdb99f; font-weight: 500; }
.gr-memory-house .mh-finished-photo { max-width: 720px; margin-inline: auto; }
@media (max-width: 750px) {
    .mh-shell { width: calc(100% - 38px); }
    .mh-hero { min-height: 480px; }
    .mh-intro, .mh-split, .mh-reverse, .mh-plan-grid, .mh-bench-grid,
    .mh-reveal .mh-feature, .mh-extra-window-views { grid-template-columns: minmax(0, 1fr); }
    .mh-reverse figure, .mh-reverse .mh-copy { grid-column: auto; grid-row: auto; }
    .mh-intro p { justify-self: start; }
    .mh-angles { grid-template-columns: 1fr 1fr; }
    .mh-angles img { height: 125px; }
    .mh-chapter, .mh-reveal { padding-block: 38px; }
    .mh-hero-content { padding-bottom: 32px; }
}
