:root {
    --accent-1: #7034cf;
    --accent-2: #332cd1;
    --accent-3: #ab39cc;
    --accent-1-rgb: 112, 52, 207;
    --accent-2-rgb: 51, 44, 209;
    --accent-3-rgb: 171, 57, 204;
    --bg: #09080d;
    --panel: rgba(17, 15, 23, 0.76);
    --panel-strong: #100e16;
    --text: #f8f5fb;
    --muted: #aaa4b2;
    --quiet: #77717e;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.15);
    --line-accent: rgba(var(--accent-3-rgb), 0.28);
    color-scheme: dark;
    font-family: "DM Sans", sans-serif;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    overflow-x: clip;
    overflow-y: auto;
    background: var(--bg);
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

body {
    min-width: 320px;
    min-height: 100dvh;
    margin: 0;
    overflow: visible;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 8%, rgba(var(--accent-1-rgb), 0.12), transparent 28%),
        radial-gradient(circle at 86% 42%, rgba(var(--accent-2-rgb), 0.08), transparent 30%),
        var(--bg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.housing-page {
    width: 100%;
    min-height: 100dvh;
    overflow: visible;
}

.housing-hero,
.housing-highlights,
.housing-floorplan-section,
.home-panel-section,
.content-section {
    scroll-margin-top: 82px;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid rgba(var(--accent-3-rgb), 0.9);
    outline-offset: 3px;
}

.housing-ambient {
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(var(--accent-1-rgb), 0.04), transparent 24%, transparent 76%, rgba(var(--accent-3-rgb), 0.035));
}

.lightbox-close {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0 0 2px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.025);
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
}

.warband-message {
    margin: 20px 4px;
    color: var(--quiet);
    font-size: 0.75rem;
}

.housing-hero {
    position: relative;
    display: flex;
    min-height: 520px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 92px 48px 76px;
    border-bottom: 0;
}

.hero-media,
.hero-vignette {
    position: absolute;
    inset: 0;
}

.hero-media {
    background:
        radial-gradient(circle at 66% 34%, rgba(var(--accent-3-rgb), 0.25), transparent 30%),
        linear-gradient(135deg, #0d0a18, #14296a 58%, #6d24a3);
}

.hero-media img,
.hero-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: hero-arrive 1400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-media video,
.hero-media.is-video img {
    display: none;
}

.hero-media.is-video video {
    display: block;
}

.hero-vignette {
    bottom: -2px;
    background: linear-gradient(
        0deg,
        var(--bg) 0%,
        var(--bg) 4%,
        rgba(9, 8, 13, 0.96) 9%,
        rgba(9, 8, 13, 0.66) 20%,
        rgba(9, 8, 13, 0.2) 34%,
        transparent 48%
    );
}

body[data-housing-page="room"] .housing-hero {
    border-bottom: 1px solid var(--line);
}

body[data-housing-page="room"] .hero-vignette {
    display: none;
}

@keyframes hero-arrive {
    from { opacity: 0; transform: scale(1.035); }
    to { opacity: 1; transform: scale(1); }
}

.hero-content {
    position: absolute;
    z-index: 2;
    top: 74%;
    left: 50%;
    display: grid;
    width: min(900px, calc(100% - 48px));
    justify-items: center;
    text-align: center;
    transform: translate(-50%, -50%);
}

.kicker {
    margin: 0 0 14px;
    color: rgba(var(--accent-3-rgb), 0.92);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-content > .kicker {
    margin-bottom: 11px;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.82);
}

.hero-content h1,
.content-section h2 {
    width: fit-content;
    max-width: 100%;
    margin: 0;
    font-family: "Bungee", sans-serif;
    font-weight: 400;
    background-image: linear-gradient(
        135deg,
        var(--accent-1) 0%,
        var(--accent-2) 34%,
        var(--accent-3) 68%,
        var(--accent-1) 100%
    );
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-content h1 {
    max-width: 850px;
    font-size: clamp(3.35rem, 4.2vw, 4.6rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
    text-wrap: balance;
    background-size: 300% 300%;
    background-position: 0% 100%;
    background-origin: border-box;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    filter: drop-shadow(0 5px 24px rgba(0, 0, 0, 0.72));
    animation: housingTitleGradientFlow 16s linear infinite alternate;
    will-change: background-position;
}

@keyframes housingTitleGradientFlow {
    from {
        background-position: 0% 100%;
    }

    to {
        background-position: 100% 0%;
    }
}

.hero-intro {
    max-width: 680px;
    margin: 11px auto 0;
    color: rgba(241, 236, 247, 0.76);
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.7;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.82);
}

.hero-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 13px 17px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--text);
    background: rgba(var(--accent-1-rgb), 0.12);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-action:hover {
    border-color: rgba(var(--accent-3-rgb), 0.82);
    background: rgba(var(--accent-1-rgb), 0.24);
    transform: translateY(-2px);
}

.house-facts dt {
    color: var(--quiet);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.housing-page-message {
    margin: 22px 0 0;
    color: #f0b9c4;
    font-size: 0.82rem;
}

.housing-highlights {
    position: relative;
    display: grid;
    width: min(1180px, calc(100% - 56px));
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.housing-highlights[hidden] {
    display: none;
}

.housing-highlights::after {
    position: absolute;
    z-index: 2;
    right: 50%;
    bottom: 0;
    width: 100vw;
    height: 1px;
    background: #25232a;
    content: "";
    transform: translateX(50%);
    pointer-events: none;
}

.housing-highlights::before {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 50%;
    width: 100vw;
    height: 1px;
    background: #25232a;
    content: "";
    transform: translateX(50%);
    pointer-events: none;
}

.housing-highlight-tile {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 128px;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: center;
    column-gap: 13px;
    padding: 24px 28px;
    border-right: 1px solid var(--line);
    background: rgba(14, 13, 18, 0.7);
}

.housing-highlight-tile:last-child {
    border-right: 0;
}

.housing-highlight-icon {
    display: grid;
    width: 46px;
    height: 46px;
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    place-items: center;
    color: var(--accent-3);
}

.housing-highlight-icon::before {
    width: 36px;
    height: 36px;
    background-color: currentColor;
    content: "";
    -webkit-mask: var(--highlight-icon) center / contain no-repeat;
    mask: var(--highlight-icon) center / contain no-repeat;
}

.housing-tile-label {
    grid-column: 2;
    grid-row: 1;
    color: var(--quiet);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.housing-highlight-tile strong {
    grid-column: 2;
    grid-row: 2;
    overflow: hidden;
    margin: 5px 0 1px;
    font-family: "Bungee", sans-serif;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    font-weight: 400;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.housing-highlight-tile small {
    grid-column: 2;
    grid-row: 3;
    color: var(--quiet);
    font-size: 0.65rem;
}

.housing-floorplan-section {
    width: min(1220px, calc(100% - 80px));
    margin: 0 auto;
    padding: 34px 0 24px;
}

.housing-floorplan-section[hidden] {
    display: none;
}

.housing-floorplan-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background:
        radial-gradient(circle at 18% 0%, rgba(var(--accent-1-rgb), 0.11), transparent 38%),
        radial-gradient(circle at 86% 100%, rgba(var(--accent-3-rgb), 0.075), transparent 40%),
        rgba(15, 13, 20, 0.82);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.housing-floorplan-panel::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.018), transparent 34%, rgba(var(--accent-2-rgb), 0.035));
    content: "";
    pointer-events: none;
}

.housing-floorplan-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding: 0 2px 22px;
}

.housing-floorplan-heading .kicker {
    margin: 0 0 8px;
}

.housing-floorplan-heading h2 {
    margin: 0;
    font-family: "Bungee", sans-serif;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    font-weight: 400;
    line-height: 1.05;
}

.housing-floorplan-heading > div > p:last-child {
    max-width: 580px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.housing-floorplan-tabs {
    display: inline-grid;
    flex: 0 0 auto;
    grid-auto-flow: column;
    gap: 5px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(6, 5, 9, 0.54);
}

.housing-floorplan-tabs button {
    display: grid;
    min-width: 124px;
    min-height: 50px;
    align-content: center;
    gap: 4px;
    padding: 7px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: var(--quiet);
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.housing-floorplan-tabs button span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.housing-floorplan-tabs button small {
    font-size: 0.55rem;
    letter-spacing: 0.04em;
}

.housing-floorplan-tabs button:hover,
.housing-floorplan-tabs button:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.035);
}

.housing-floorplan-tabs button.is-active {
    border-color: rgba(var(--accent-3-rgb), 0.36);
    color: var(--text);
    background: linear-gradient(135deg, rgba(var(--accent-1-rgb), 0.28), rgba(var(--accent-2-rgb), 0.13));
    box-shadow: 0 0 22px rgba(var(--accent-2-rgb), 0.1);
}

.housing-floorplan-tabs button.is-active small {
    color: color-mix(in srgb, var(--accent-3) 62%, white 38%);
}

.housing-floorplan-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 258px;
    gap: 14px;
}

.housing-floorplan-stage {
    position: relative;
    min-width: 0;
    min-height: 520px;
    overflow: auto hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background:
        linear-gradient(rgba(7, 6, 10, 0.25), rgba(7, 6, 10, 0.25)),
        rgba(7, 6, 10, 0.72);
    scrollbar-color: rgba(var(--accent-3-rgb), 0.28) rgba(255, 255, 255, 0.025);
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.housing-floorplan-stage:focus-visible {
    outline: 1px solid rgba(var(--accent-3-rgb), 0.65);
    outline-offset: 2px;
}

.housing-floorplan-canvas {
    width: 100%;
    min-width: 760px;
    min-height: 100%;
}

.housing-floorplan-svg {
    display: block;
    width: 100%;
    height: 520px;
}

.housing-floorplan-grid {
    opacity: 0.56;
}

.housing-floorplan-grid-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.045);
    stroke-width: 1.5;
}

.housing-floorplan-room {
    color: var(--quiet);
    cursor: pointer;
    outline: none;
}

.housing-floorplan-room-shape {
    fill: rgba(39, 37, 44, 0.88);
    stroke: rgba(255, 255, 255, 0.19);
    stroke-width: 4;
    vector-effect: non-scaling-stroke;
    transition: fill 180ms ease, stroke 180ms ease, filter 180ms ease;
}

.housing-floorplan-room:hover .housing-floorplan-room-shape,
.housing-floorplan-room.is-selected .housing-floorplan-room-shape {
    fill: color-mix(in srgb, var(--accent-1) 18%, #25222b);
    stroke: color-mix(in srgb, var(--accent-3) 55%, white 12%);
    filter: drop-shadow(0 0 14px rgba(var(--accent-2-rgb), 0.26));
}

.housing-floorplan-room.is-linked .housing-floorplan-room-shape {
    fill: color-mix(in srgb, var(--map-c1) 25%, #17151c);
    stroke: color-mix(in srgb, var(--map-c3) 58%, white 10%);
}

.housing-floorplan-room.is-linked:hover .housing-floorplan-room-shape,
.housing-floorplan-room.is-linked:focus-visible .housing-floorplan-room-shape,
.housing-floorplan-room.is-linked.is-selected .housing-floorplan-room-shape {
    fill: color-mix(in srgb, var(--map-c2) 38%, #1b1821);
    stroke: color-mix(in srgb, var(--map-c3) 82%, white 18%);
    filter: drop-shadow(0 0 16px color-mix(in srgb, var(--map-c2) 42%, transparent));
}

.housing-floorplan-room-label {
    fill: rgba(228, 223, 234, 0.58);
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    text-anchor: middle;
    dominant-baseline: central;
    pointer-events: none;
    transition: fill 180ms ease;
}

.housing-floorplan-room-label.is-linked {
    fill: rgba(255, 255, 255, 0.88);
}

.housing-floorplan-room-label.is-selected {
    fill: #fff;
}

.housing-floorplan-preview {
    --preview-c1: var(--accent-1);
    --preview-c2: var(--accent-2);
    --preview-c3: var(--accent-3);
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 520px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 16px;
    background:
        radial-gradient(circle at 70% 12%, color-mix(in srgb, var(--preview-c2) 18%, transparent), transparent 42%),
        rgba(18, 16, 23, 0.88);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.housing-floorplan-preview.has-linked-room {
    border-color: color-mix(in srgb, var(--preview-c3) 48%, var(--line));
    box-shadow: 0 0 30px color-mix(in srgb, var(--preview-c2) 12%, transparent);
}

.housing-floorplan-preview-media {
    position: absolute;
    z-index: -1;
    inset: 0 0 42%;
    background-position: center;
    background-size: cover;
    opacity: 0.32;
    -webkit-mask-image: linear-gradient(#000 40%, transparent 100%);
    mask-image: linear-gradient(#000 40%, transparent 100%);
    transition: opacity 220ms ease;
}

.housing-floorplan-preview.has-linked-room .housing-floorplan-preview-media {
    opacity: 0.7;
}

.housing-floorplan-preview::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-position: center;
    background-size: 30px 30px;
    content: "";
    opacity: 0.45;
}

.housing-floorplan-preview-copy {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(0deg, rgba(12, 10, 16, 0.98) 0%, rgba(12, 10, 16, 0.86) 47%, transparent 82%);
}

.housing-floorplan-preview-copy > p:first-child {
    margin: 0 0 9px;
    color: color-mix(in srgb, var(--preview-c3) 58%, white 42%);
    font-size: 0.57rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.housing-floorplan-preview-copy h3 {
    margin: 0;
    font-family: "Bungee", sans-serif;
    font-size: 1.18rem;
    font-weight: 400;
    line-height: 1.2;
}

.housing-floorplan-preview-copy > p:nth-of-type(2) {
    margin: 13px 0 22px;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.55;
}

.housing-floorplan-preview-copy button {
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid color-mix(in srgb, var(--preview-c3) 56%, transparent);
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, color-mix(in srgb, var(--preview-c1) 64%, #15121a), color-mix(in srgb, var(--preview-c2) 55%, #15121a));
    cursor: pointer;
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: border-color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.housing-floorplan-preview-copy button:hover,
.housing-floorplan-preview-copy button:focus-visible {
    border-color: color-mix(in srgb, var(--preview-c3) 82%, white 18%);
    filter: brightness(1.12);
    transform: translateY(-2px);
}

.home-panel-section {
    width: min(1220px, calc(100% - 80px));
    margin: 0 auto;
    padding: 28px 0 120px;
}

.home-panel-section[hidden] {
    display: none;
}

.home-floorplan-panel {
    margin-bottom: 14px;
    scroll-margin-top: 92px;
}

.room-page-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.room-page-link-grid > div {
    min-width: 0;
    margin-bottom: 0;
}

.home-room-panel.home-floorplan-feature,
.home-room-panel.home-blueprints-feature {
    min-height: 112px;
    padding: 20px 30px;
}

.home-floorplan-feature .home-room-panel-copy,
.home-blueprints-feature .home-room-panel-copy {
    width: min(58%, 520px);
}

.home-floorplan-feature .home-room-panel-copy p,
.home-blueprints-feature .home-room-panel-copy p {
    margin: 6px 0 12px;
    -webkit-line-clamp: 1;
}

.home-floorplan-feature .home-room-panel-button,
.home-blueprints-feature .home-room-panel-button {
    min-height: 34px;
}

.home-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(210px, 1fr);
    gap: 14px;
    scroll-margin-top: 92px;
}

.home-panel-grid > .is-full-width {
    grid-column: 1 / -1;
}

.home-floorplan-tile {
    scroll-margin-top: 92px;
}

.home-room-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 210px;
    overflow: hidden;
    align-items: stretch;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 10%, rgba(var(--accent-2-rgb), 0.11), transparent 55%),
        rgba(17, 15, 23, 0.76);
}

.home-room-panel-blueprint,
.room-carousel-blueprint {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    max-width: calc(100% - 28px);
    padding: 4px 7px;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-3-rgb), 0.45);
    border-radius: 999px;
    color: var(--text);
    background: rgba(8, 7, 11, 0.78);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
    font-size: 0.42rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.room-carousel-blueprint {
    border-color: color-mix(in srgb, var(--card-c3) 72%, white 8%);
    color: color-mix(in srgb, var(--card-c3) 58%, white 42%);
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--card-c1) 70%, #08070b),
        color-mix(in srgb, var(--card-c2) 52%, #08070b)
    );
    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.28),
        0 0 16px color-mix(in srgb, var(--card-c3) 24%, transparent);
}

.home-room-panel-media {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    opacity: 0.58;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.38) 34%, #000 72%, #000 100%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.38) 34%, #000 72%, #000 100%);
}

.home-room-panel-media::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 8, 13, 0.86) 0%, rgba(9, 8, 13, 0.62) 42%, rgba(9, 8, 13, 0.12) 78%),
        linear-gradient(90deg, transparent 45%, rgba(var(--accent-2-rgb), 0.12));
    content: "";
}

.home-room-panel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-room-panel-copy {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(62%, 360px);
    min-width: 0;
    align-items: flex-start;
    flex-direction: column;
}

.home-room-panel-copy h3 {
    margin: 0;
    font-family: "Bungee", sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.2;
}

.home-room-panel-copy p {
    display: -webkit-box;
    margin: 12px 0 22px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-room-panel-button {
    min-height: 38px;
    margin-top: auto;
    padding: 0 15px;
    border: 1px solid rgba(var(--accent-3-rgb), 0.42);
    border-radius: 10px;
    color: var(--text);
    background: rgba(var(--accent-1-rgb), 0.16);
    cursor: pointer;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.home-room-panel-button:hover,
.home-room-panel-button:focus-visible {
    border-color: rgba(var(--accent-3-rgb), 0.82);
    background: rgba(var(--accent-2-rgb), 0.27);
    transform: translateY(-2px);
}

.home-room-panel-button:disabled {
    opacity: 0.38;
    cursor: default;
    transform: none;
}

.content-section {
    position: relative;
    isolation: isolate;
    width: min(1220px, calc(100% - 80px));
    margin: 0 auto;
    padding: 120px 0;
    border-bottom: 1px solid var(--line);
}

body[data-housing-page="room"] .housing-overview {
    padding: 16px 0 8px;
    border-bottom: 0;
}

body[data-housing-page="room"] .housing-gallery {
    padding-top: 8px;
    padding-bottom: 28px;
}

body[data-housing-page="room"] .housing-inventory {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 0;
}

body[data-housing-page="room"] .house-summary {
    gap: 0;
    padding-top: 28px;
    padding-bottom: 10px;
    border-bottom: 0;
}

body[data-housing-page="room"] .room-floorplan-link {
    padding-top: 10px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

body[data-housing-page="room"] .room-floorplan-link .home-floorplan-panel,
body[data-housing-page="room"] .room-floorplan-link .home-blueprints-panel {
    margin-bottom: 0;
}

.housing-overview[hidden],
.housing-inventory[hidden],
.housing-gallery[hidden],
.house-summary[hidden],
.room-floorplan-link[hidden] {
    display: none;
}

.content-section > :not(.section-background) {
    position: relative;
    z-index: 1;
}

.section-background {
    position: absolute;
    z-index: 0;
    top: 34px;
    bottom: 34px;
    left: 50%;
    width: 100vw;
    overflow: hidden;
    border-radius: 0;
    opacity: 0.42;
    pointer-events: none;
    transform: translateX(-50%);
}

.content-section[data-content-align="left"] .section-background {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 18%, #000 58%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 18%, #000 58%, #000 100%);
}

.content-section[data-content-align="right"] .section-background {
    -webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.16) 18%, #000 58%, #000 100%);
    mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.16) 18%, #000 58%, #000 100%);
}

.section-background::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, var(--bg), transparent 22%, transparent 76%, var(--bg)),
        linear-gradient(135deg, rgba(var(--accent-1-rgb), 0.14), rgba(var(--accent-3-rgb), 0.06));
    content: "";
}

.section-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.04);
}

.housing-overview {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 16px;
    align-items: stretch;
}

.overview-text-panel,
.overview-image-panel {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 40%),
        rgba(17, 16, 22, 0.82);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

.overview-media-column {
    display: flex;
    min-width: 0;
    min-height: 360px;
    flex-direction: column;
}

.overview-media-column.has-blueprint {
    gap: 16px;
}

.overview-media-column .overview-image-panel {
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    margin: 0;
}

.blueprint-copy-button {
    position: relative;
    display: block;
    width: 100%;
    min-height: 58px;
    flex: 0 0 58px;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
    perspective: 900px;
    text-align: left;
    transition: filter 150ms ease, transform 150ms ease;
}

.blueprint-copy-button[hidden] {
    display: none;
}

.blueprint-copy-button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.blueprint-copy-button:focus-visible {
    outline: 2px solid var(--accent-3);
    outline-offset: 3px;
    border-radius: 12px;
}

.blueprint-copy-flipper {
    position: absolute;
    inset: 0;
    display: block;
    transform-style: preserve-3d;
    transition: transform 620ms cubic-bezier(0.2, 0.78, 0.2, 1);
}

.blueprint-copy-button.is-copied .blueprint-copy-flipper,
.blueprint-dialog-copy-button.is-copied .blueprint-copy-flipper {
    transform: rotateX(180deg);
}

.blueprint-copy-face {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    padding: 11px 13px 11px 15px;
    align-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2) 48%, var(--accent-3));
    background-clip: padding-box;
    box-shadow: 0 14px 35px rgba(var(--accent-2-rgb), 0.25);
    backface-visibility: hidden;
}

.blueprint-copy-face::after {
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(
        315deg,
        color-mix(in srgb, var(--accent-3) 82%, white 18%) 0%,
        color-mix(in srgb, var(--accent-2) 74%, white 26%) 50%,
        color-mix(in srgb, var(--accent-1) 82%, white 18%) 100%
    );
    content: "";
    opacity: 0.78;
    pointer-events: none;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.blueprint-copy-back {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 46%),
        linear-gradient(135deg, var(--accent-3), var(--accent-2) 55%, var(--accent-1));
    transform: rotateX(180deg);
}

.blueprint-copy-face .button-kicker {
    align-self: end;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.53rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.blueprint-copy-face strong {
    grid-column: 1;
    font-size: 0.78rem;
}

.blueprint-copy-icon,
.blueprint-copy-confirmation {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.blueprint-copy-icon {
    display: block;
    width: 24px;
    height: 24px;
    background: currentColor;
    -webkit-mask: var(--blueprint-icon, url("https://droog.uk/housing-images/icons/site-icons-about.svg?v=20260907")) center / contain no-repeat;
    mask: var(--blueprint-icon, url("https://droog.uk/housing-images/icons/site-icons-about.svg?v=20260907")) center / contain no-repeat;
}

.blueprint-copy-confirmation {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    font-size: 0.72rem;
}

.overview-text-panel {
    padding: clamp(30px, 4vw, 50px);
}

.overview-text-panel::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0, rgba(var(--accent-2-rgb), 0.1), transparent 24rem);
    content: "";
    pointer-events: none;
}

.overview-text-panel > * {
    position: relative;
    z-index: 1;
}

.overview-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.overview-heading .kicker {
    margin-bottom: 0;
    color: #a79cc1;
    font-size: 0.58rem;
}

.housing-overview .overview-heading h2 {
    width: auto;
    max-width: none;
    margin: 5px 0 0;
    font-family: "DM Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: normal;
    background: none;
    color: var(--text);
    -webkit-text-fill-color: currentColor;
}

.overview-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid rgba(var(--accent-2-rgb), 0.38);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(var(--accent-1-rgb), 0.19), rgba(var(--accent-3-rgb), 0.07));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.overview-icon::before {
    width: 26px;
    height: 26px;
    background: var(--accent-3);
    content: "";
    -webkit-mask: var(--overview-icon) center / contain no-repeat;
    mask: var(--overview-icon) center / contain no-repeat;
}

.overview-icon[hidden] {
    display: none;
}

.overview-text-panel > .prose {
    max-width: 760px;
    margin-top: 28px;
}

.overview-image-panel {
    min-height: 360px;
    margin: 0;
    background:
        radial-gradient(circle at 70% 20%, rgba(var(--accent-3-rgb), 0.2), transparent 48%),
        rgba(17, 16, 22, 0.82);
}

.overview-image-panel img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overview-image-panel.is-missing img {
    display: none;
}

.room-inventory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.room-inventory-grid.has-single-panel {
    grid-template-columns: minmax(0, 1fr);
}

.room-inventory-panel {
    position: relative;
    display: grid;
    height: clamp(480px, 44vw, 550px);
    min-width: 0;
    grid-template-rows: auto minmax(0, 1fr);
    padding: clamp(26px, 3.2vw, 40px);
    overflow: hidden;
    scroll-margin-top: 110px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(var(--accent-2-rgb), 0.1), transparent 26rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 42%),
        rgba(17, 16, 22, 0.82);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

.room-inventory-panel[hidden] {
    display: none;
}

.room-decor-panel {
    grid-template-rows: auto auto minmax(0, 1fr);
}

.room-pets-panel {
    grid-template-rows: auto auto minmax(0, 1fr);
}

.room-inventory-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.room-inventory-heading .kicker {
    margin-bottom: 0;
    color: #a79cc1;
    font-size: 0.58rem;
}

.housing-inventory .room-inventory-heading h2 {
    width: auto;
    max-width: none;
    margin: 5px 0 0;
    font-family: "DM Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: normal;
    background: none;
    color: var(--text);
    -webkit-text-fill-color: currentColor;
}

.room-decor-count {
    min-width: 2.2ch;
    margin-left: auto;
    align-self: center;
    color: var(--text);
    font-family: "Bungee", sans-serif;
    font-size: clamp(2rem, 2.8vw, 2.4rem);
    font-weight: 400;
    line-height: 1;
    text-align: right;
}

.room-decor-count[hidden] {
    display: none;
}

.room-decor-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: -8px 0 16px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(0, 0, 0, 0.16);
}

.room-decor-toolbar[hidden] {
    display: none;
}

.room-pet-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(112px, 0.55fr);
    gap: 8px;
    margin: -8px 0 16px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(0, 0, 0, 0.16);
}

.room-pet-toolbar[hidden] {
    display: none;
}

.room-pet-search,
.room-pet-select {
    display: flex;
    min-width: 0;
    min-height: 36px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
}

.room-pet-search {
    gap: 8px;
    padding: 0 10px;
}

.room-pet-search:focus-within,
.room-pet-select:focus-within {
    border-color: rgba(var(--accent-2-rgb), 0.48);
    box-shadow: 0 0 0 3px rgba(var(--accent-2-rgb), 0.09);
}

.room-pet-search svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.7;
    stroke-linecap: round;
}

.room-pet-search input,
.room-pet-select select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font: inherit;
    font-size: 0.62rem;
    font-weight: 600;
}

.room-pet-search input::placeholder {
    color: var(--quiet);
}

.room-pet-select {
    padding: 0 9px;
}

.room-pet-select select {
    color-scheme: dark;
    cursor: pointer;
}

.room-decor-search,
.room-decor-select {
    display: flex;
    min-width: 0;
    min-height: 36px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
}

.room-decor-search {
    grid-column: 1 / -1;
    gap: 8px;
    padding: 0 10px;
}

.room-decor-search:focus-within,
.room-decor-select:focus-within {
    border-color: rgba(var(--accent-2-rgb), 0.48);
    box-shadow: 0 0 0 3px rgba(var(--accent-2-rgb), 0.09);
}

.room-decor-search svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.7;
    stroke-linecap: round;
}

.room-decor-search input,
.room-decor-select select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font: inherit;
    font-size: 0.62rem;
}

.room-decor-search input::placeholder {
    color: var(--quiet);
}

.room-decor-search input::-webkit-search-cancel-button {
    filter: invert(1);
    opacity: 0.45;
}

.room-decor-select {
    padding: 0 8px;
}

.room-decor-select select {
    color-scheme: dark;
    cursor: pointer;
}

.room-inventory-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid rgba(var(--accent-2-rgb), 0.38);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(var(--accent-1-rgb), 0.19), rgba(var(--accent-3-rgb), 0.07));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.room-inventory-icon::before {
    width: 27px;
    height: 27px;
    background: var(--accent-3);
    content: "";
}

.room-pets-icon::before {
    -webkit-mask: url("https://droog.uk/housing-images/icons/site-icons-battlepets.svg?v=20260907") center / contain no-repeat;
    mask: url("https://droog.uk/housing-images/icons/site-icons-battlepets.svg?v=20260907") center / contain no-repeat;
}

.room-decor-icon::before {
    -webkit-mask: url("https://droog.uk/housing-images/icons/site-icons-house-decor.svg?v=20260907") center / contain no-repeat;
    mask: url("https://droog.uk/housing-images/icons/site-icons-house-decor.svg?v=20260907") center / contain no-repeat;
}

.room-inventory-scroll {
    min-height: 0;
    padding-right: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(var(--accent-3-rgb), 0.5) rgba(255, 255, 255, 0.035);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.room-inventory-scroll::-webkit-scrollbar {
    width: 7px;
}

.room-inventory-scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
}

.room-inventory-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(var(--accent-3-rgb), 0.5);
}

.room-pets-status,
.room-decor-status {
    margin: 28px 0;
    color: var(--quiet);
    font-size: 0.72rem;
    text-align: center;
}

.room-pets-status[hidden],
.room-pet-grid[hidden],
.room-decor-status[hidden],
.room-decor-table[hidden] {
    display: none;
}

.room-decor-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.room-decor-table tr + tr {
    border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.room-decor-table td {
    padding: 14px 2px;
    color: var(--text);
    font-size: 0.72rem;
    line-height: 1.35;
    vertical-align: top;
}

.room-decor-table td:first-child {
    padding-right: 16px;
}

.room-decor-table strong,
.room-decor-table small {
    display: block;
}

.room-decor-table strong {
    font-weight: 600;
}

.room-decor-table small {
    margin-top: 5px;
    color: var(--quiet);
    font-size: 0.59rem;
    line-height: 1.4;
}

.room-decor-table td:last-child {
    width: 62px;
    color: var(--accent-3);
    font-family: "Bungee", sans-serif;
    font-size: 0.82rem;
    text-align: right;
    white-space: nowrap;
}

.room-pet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.room-pet-card {
    position: relative;
    z-index: 0;
    display: grid;
    min-width: 0;
    grid-template-rows: auto minmax(46px, auto);
    padding: 7px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: var(--text);
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.045), transparent 46%),
        rgba(255, 255, 255, 0.018);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
    cursor: pointer;
    text-align: left;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.room-pet-card:hover,
.room-pet-card:focus-visible {
    z-index: 2;
    border-color: rgba(var(--accent-2-rgb), 0.52);
    background:
        radial-gradient(ellipse at 50% 115%, rgba(var(--accent-2-rgb), 0.24), transparent 58%),
        linear-gradient(150deg, rgba(var(--accent-1-rgb), 0.12), transparent 48%),
        rgba(255, 255, 255, 0.03);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.22),
        0 0 24px rgba(var(--accent-2-rgb), 0.14),
        inset 0 -24px 34px rgba(var(--accent-2-rgb), 0.08);
}

.room-pet-art {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 11px;
    color: rgba(255, 255, 255, 0.62);
    background:
        radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.16), transparent 34%) padding-box,
        linear-gradient(145deg, rgba(var(--accent-1-rgb), 0.72), rgba(var(--accent-2-rgb), 0.52) 54%, rgba(var(--accent-3-rgb), 0.5)) padding-box,
        linear-gradient(
            315deg,
            color-mix(in srgb, var(--accent-3) 82%, white 18%) 0%,
            color-mix(in srgb, var(--accent-2) 74%, white 26%) 50%,
            color-mix(in srgb, var(--accent-1) 82%, white 18%) 100%
        ) border-box;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.room-pet-art::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(7, 6, 10, 0.58));
    content: "";
    pointer-events: none;
}

.room-pet-art img {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.room-pet-card:hover .room-pet-art img,
.room-pet-card:focus-visible .room-pet-art img {
    transform: scale(1.035);
}

.room-pet-copy {
    display: grid;
    min-width: 0;
    align-content: center;
    gap: 2px;
    padding: 8px 5px 5px;
}

.room-pet-type-tag {
    position: absolute;
    z-index: 4;
    top: 13px;
    left: 13px;
    max-width: calc(100% - 26px);
    padding: 4px 7px;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-3-rgb), 0.45);
    border-radius: 999px;
    color: var(--text);
    background: rgba(8, 7, 11, 0.78);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
    font-size: 0.42rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.room-pet-type-tag[hidden] {
    display: none;
}

.room-pet-copy strong {
    display: -webkit-box;
    min-height: 2.2em;
    overflow: hidden;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.15;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.room-pet-copy small {
    overflow: hidden;
    color: rgba(var(--accent-3-rgb), 0.82);
    font-size: 0.48rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.room-detail-column {
    min-width: 0;
    margin-top: 28px;
}

.room-detail-column .room-quote:first-child {
    margin-top: 0;
}

.room-detail-column .room-details:first-child {
    margin-top: 0;
}

.room-detail-column .house-facts:not(:first-child) {
    margin-top: 28px;
}

.house-summary[data-content-align="right"] h2 {
    margin-left: auto;
}

.content-section h2 {
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
}

.prose,
.room-copy > p:not(.kicker) {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.78;
}

.prose {
    max-width: 720px;
    margin-top: 0;
}

.prose p {
    margin: 0 0 16px;
}

.room-quote {
    margin: 30px 0 0;
    padding: 4px 0 4px 22px;
    border-left: 2px solid var(--accent-3);
    color: rgba(241, 236, 247, 0.74);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.7;
}

.house-facts {
    margin: 0;
    border-top: 1px solid var(--line);
}

.house-facts div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.house-facts dd {
    margin: 0;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 600;
}

.room-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1.36fr);
    gap: clamp(50px, 7vw, 100px);
    align-items: center;
}

.room-section-reverse {
    grid-template-columns: minmax(0, 1.36fr) minmax(260px, 0.64fr);
}

.room-section-reverse .room-copy {
    grid-column: 2;
    grid-row: 1;
}

.room-section-reverse .room-gallery {
    grid-column: 1;
    grid-row: 1;
}

.room-copy h2 {
    font-size: clamp(2.2rem, 4.4vw, 4.6rem);
}

.room-copy > p:not(.kicker) {
    margin: 28px 0 0;
}

.room-copy blockquote {
    margin: 30px 0 0;
    padding: 4px 0 4px 22px;
    border-left: 2px solid var(--accent-3);
    color: rgba(241, 236, 247, 0.74);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.7;
}

.room-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.room-details span {
    padding: 6px 9px;
    border: 1px solid rgba(var(--accent-3-rgb), 0.28);
    border-radius: 999px;
    color: rgba(var(--accent-3-rgb), 0.86);
    background: rgba(var(--accent-1-rgb), 0.07);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.09em;
}

.room-gallery {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.room-gallery-wide .image-primary,
.room-gallery-mosaic .image-primary {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 8.7;
}

.room-gallery-tall {
    grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.6fr);
}

.room-gallery-tall .image-primary {
    aspect-ratio: 4 / 4.5;
}

.room-gallery-tall .image-detail {
    aspect-ratio: auto;
}

.image-frame {
    position: relative;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    color: var(--text);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 40%),
        rgba(17, 16, 22, 0.82);
    box-shadow: none;
    cursor: zoom-in;
    appearance: none;
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.image-frame:hover,
.image-frame:focus-visible {
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 28px rgba(var(--accent-2-rgb), 0.24);
    transform: translateY(-3px);
}

.image-frame:focus-visible {
    outline-color: rgba(255, 255, 255, 0.22);
}

.image-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), filter 220ms ease;
}

.image-frame:hover img,
.image-frame:focus-visible img {
    transform: scale(1.025);
}

.image-detail {
    aspect-ratio: 4 / 3;
}

.crop-left img {
    object-position: 18% center;
}

.crop-centre img {
    object-position: center;
}

.crop-right img {
    object-position: 82% center;
}

.housing-gallery {
    padding-bottom: 140px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 150px;
    gap: 12px;
}

.gallery-grid:empty {
    display: none;
}

.gallery-a {
    grid-column: span 7;
    grid-row: span 3;
}

.gallery-b {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-c {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-d {
    grid-column: span 7;
    grid-row: span 3;
}


.house-summary {
    display: grid;
    gap: 42px;
}

.room-pet-dialog {
    width: min(720px, calc(100% - 32px));
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-2-rgb), 0.38);
    border-radius: 20px;
    color: var(--text);
    background: #121016;
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.68), 0 0 55px rgba(var(--accent-1-rgb), 0.13);
}

.blueprint-dialog {
    width: min(700px, calc(100% - 32px));
    max-height: min(780px, calc(100dvh - 48px));
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-2-rgb), 0.38);
    border-radius: 20px;
    color: var(--text);
    background:
        radial-gradient(circle at 100% 0, rgba(var(--accent-2-rgb), 0.12), transparent 26rem),
        #121016;
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.68), 0 0 55px rgba(var(--accent-1-rgb), 0.13);
}

.blueprint-dialog::backdrop {
    background: rgba(5, 4, 7, 0.8);
    backdrop-filter: blur(7px);
}

.blueprint-dialog-shell {
    position: relative;
    display: grid;
    max-height: min(780px, calc(100dvh - 48px));
    gap: 24px;
    padding: 40px;
    overflow: auto;
    scrollbar-color: rgba(var(--accent-3-rgb), 0.42) transparent;
    scrollbar-width: thin;
}

.blueprint-dialog-close {
    position: absolute;
    z-index: 5;
    top: 14px;
    right: 14px;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    color: var(--text);
    background: rgba(8, 7, 11, 0.78);
    cursor: pointer;
    font-size: 1.2rem;
}

.blueprint-dialog-heading {
    padding-right: 28px;
}

.blueprint-dialog-heading > p {
    margin: 0 0 7px;
    color: rgba(var(--accent-3-rgb), 0.84);
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.13em;
}

.blueprint-dialog-heading h2 {
    margin: 0;
    font-family: "Bungee", sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    line-height: 1.08;
}

.blueprint-dialog-heading > div {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.65;
}

.blueprint-dialog-heading > div p {
    margin: 0;
}

.blueprint-dialog-list {
    display: grid;
    gap: 11px;
}

.blueprint-dialog-copy-button {
    position: relative;
    display: block;
    width: 100%;
    min-height: 68px;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
    perspective: 900px;
    text-align: left;
    transition: filter 150ms ease, transform 150ms ease;
}

.blueprint-dialog-copy-button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.blueprint-dialog-copy-button:focus-visible {
    outline: 2px solid var(--accent-3);
    outline-offset: 3px;
    border-radius: 12px;
}

.blueprint-dialog-copy-button .blueprint-copy-face {
    padding-inline: 17px;
}

.blueprint-dialog-copy-button .blueprint-copy-face strong {
    overflow: hidden;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.room-pet-dialog::backdrop {
    background: rgba(5, 4, 7, 0.8);
    backdrop-filter: blur(7px);
}

.room-pet-dialog-layout {
    position: relative;
    display: grid;
    min-height: 310px;
    grid-template-columns: minmax(230px, 0.9fr) minmax(0, 1.1fr);
}

.room-pet-dialog-close {
    position: absolute;
    z-index: 5;
    top: 14px;
    right: 14px;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    color: var(--text);
    background: rgba(8, 7, 11, 0.78);
    cursor: pointer;
    font-size: 1.2rem;
}

.room-pet-dialog-art {
    position: relative;
    display: grid;
    min-height: 310px;
    overflow: hidden;
    place-items: center;
    color: rgba(var(--accent-3-rgb), 0.72);
    background: linear-gradient(145deg, rgba(var(--accent-1-rgb), 0.68), rgba(var(--accent-2-rgb), 0.5), rgba(var(--accent-3-rgb), 0.42));
    font-size: 4.5rem;
}

.room-pet-dialog-art::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, transparent 58%, #121016 100%);
    content: "";
    pointer-events: none;
}

.room-pet-dialog-art img {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-pet-dialog-copy {
    display: flex;
    min-width: 0;
    justify-content: center;
    flex-direction: column;
    padding: 52px 42px 38px 34px;
}

.room-pet-dialog-copy > p:first-child {
    margin: 0 0 6px;
    color: rgba(var(--accent-3-rgb), 0.82);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.room-pet-dialog-copy h2 {
    margin: 0 0 18px;
    font-family: "Bungee", sans-serif;
    font-size: clamp(1.15rem, 3vw, 1.75rem);
    font-weight: 400;
    line-height: 1.08;
}

.room-pet-dialog-copy > p:nth-of-type(2) {
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.7;
}

.room-pet-dialog-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 24px;
}

.room-pet-dialog-facts span {
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--quiet);
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.54rem;
}

.room-pet-dialog-facts span:last-child {
    border-color: var(--accent-1);
    color: #fff;
    background: rgba(var(--accent-1-rgb), 0.72);
    box-shadow: 0 0 18px rgba(var(--accent-1-rgb), 0.18);
}

.lightbox {
    width: min(1440px, calc(100vw - 48px));
    height: min(900px, calc(100dvh - 48px));
    max-width: none;
    max-height: calc(100dvh - 48px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    color: var(--text);
    background: rgba(7, 6, 10, 0.98);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
}

.lightbox::backdrop {
    background: rgba(3, 2, 5, 0.86);
    backdrop-filter: blur(10px);
}

.lightbox img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    border-radius: inherit;
}

.lightbox-close {
    position: absolute;
    z-index: 2;
    top: 24px;
    right: 24px;
    color: #fff;
    background: rgba(7, 6, 10, 0.74);
}

.lightbox-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    color: #fff;
    background: rgba(7, 6, 10, 0.74);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
    cursor: pointer;
    transform: translateY(-50%);
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
    border-color: rgba(var(--accent-3-rgb), 0.62);
    background: rgba(var(--accent-1-rgb), 0.42);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34), 0 0 22px rgba(var(--accent-2-rgb), 0.3);
}

.lightbox-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-nav[hidden] {
    display: none;
}

@media (max-width: 1100px) {

    .room-pet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .housing-floorplan-layout {
        grid-template-columns: minmax(0, 1fr) 230px;
    }
}

@media (max-width: 820px) {
    .room-page-link-grid {
        grid-template-columns: 1fr;
    }

    html {
        scroll-padding-top: 70px;
    }

    .housing-floorplan-section {
        width: calc(100% - 40px);
        padding: 24px 0 18px;
    }

    .housing-floorplan-panel {
        padding: 20px;
    }

    .housing-floorplan-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .housing-floorplan-tabs {
        display: grid;
        width: 100%;
        grid-auto-columns: minmax(0, 1fr);
    }

    .housing-floorplan-tabs button {
        min-width: 0;
    }

    .housing-floorplan-layout {
        grid-template-columns: 1fr;
    }

    .housing-floorplan-stage {
        min-height: 460px;
    }

    .housing-floorplan-canvas {
        min-width: 840px;
    }

    .housing-floorplan-svg {
        height: 460px;
    }

    .housing-floorplan-preview {
        min-height: 230px;
    }

    .housing-floorplan-preview-media {
        inset: 0;
        -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
        mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
    }

    .housing-floorplan-preview-copy {
        width: min(68%, 430px);
        background: linear-gradient(90deg, rgba(12, 10, 16, 0.98) 0%, rgba(12, 10, 16, 0.84) 64%, transparent 100%);
    }

    .room-inventory-grid {
        grid-template-columns: 1fr;
    }

    .room-inventory-panel {
        height: auto;
        grid-template-rows: auto auto;
    }

    .room-inventory-scroll {
        max-height: 440px;
    }

    .room-pet-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .housing-hero {
        min-height: 560px;
        padding: 86px 20px 72px;
    }

    .hero-media img,
    .hero-media video {
        object-position: 62% center;
    }

    .hero-vignette {
        background: linear-gradient(
            0deg,
            var(--bg) 0%,
            rgba(9, 8, 13, 0.95) 6%,
            rgba(9, 8, 13, 0.5) 18%,
            transparent 42%
        );
    }

    .hero-content {
        width: calc(100% - 16px);
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, calc(2rem + 2.55vw), 3.35rem);
        line-height: 0.96;
    }

    .hero-intro {
        font-size: 0.94rem;
    }

    .content-section {
        width: calc(100% - 40px);
        padding: 82px 0;
    }

    .section-background {
        top: 24px;
        bottom: 24px;
        width: 100vw;
        border-radius: 0;
        opacity: 0.34;
    }

    .housing-highlights {
        width: calc(100% - 40px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .housing-highlight-tile {
        min-height: 108px;
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 9px;
        padding: 16px;
    }

    .housing-highlight-tile:nth-child(2) {
        border-right: 0;
    }

    .housing-highlight-tile:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .housing-highlight-icon {
        width: 38px;
        height: 38px;
    }

    .housing-highlight-icon::before {
        width: 30px;
        height: 30px;
    }

    .home-panel-section {
        width: calc(100% - 40px);
        padding: 18px 0 82px;
    }

    .home-panel-grid {
        grid-template-columns: 1fr;
    }

    .home-room-panel {
        min-height: 220px;
        padding: 25px;
    }

    .home-room-panel.home-floorplan-feature {
        min-height: 132px;
        padding: 20px 25px;
    }

    .home-floorplan-feature .home-room-panel-copy {
        width: 72%;
    }

    .home-floorplan-feature .home-room-panel-copy p {
        display: none;
    }

    .home-room-panel-media {
        width: 100%;
    }

    .home-room-panel-copy {
        width: 68%;
    }

    .housing-overview,
    .room-section,
    .room-section-reverse,
    .house-summary {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .housing-overview {
        gap: 14px;
    }

    .overview-media-column {
        min-height: clamp(240px, 58vw, 360px);
    }

    .overview-media-column.has-blueprint {
        min-height: calc(clamp(240px, 58vw, 360px) + 74px);
    }

    .room-pet-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .room-section-reverse .room-copy,
    .room-section-reverse .room-gallery {
        grid-column: 1;
    }

    .room-section-reverse .room-copy {
        grid-row: 1;
    }

    .room-section-reverse .room-gallery {
        grid-row: 2;
    }

    .room-gallery-tall {
        grid-template-columns: 1fr 0.72fr;
    }

    .room-gallery-tall .image-primary {
        min-height: 390px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 130px;
    }

    .gallery-a,
    .gallery-b,
    .gallery-c,
    .gallery-d {
        grid-column: span 1;
        grid-row: span 2;
    }

    .gallery-a,
    .gallery-d {
        grid-row: span 3;
    }

    .gallery-grid[data-count="1"] .image-frame {
        grid-column: 1 / -1;
        grid-row: span 3;
    }

    .gallery-grid[data-count="2"] .image-frame,
    .gallery-grid[data-count="3"] .image-frame:first-child,
    .gallery-grid[data-count="3"] .image-frame:not(:first-child) {
        grid-column: span 1;
        grid-row: span 2;
    }

    .gallery-grid[data-count="3"] .image-frame:first-child {
        grid-row: span 3;
    }

    .gallery-grid[data-layout="wide"] .image-frame,
    .gallery-grid[data-layout="wide"][data-count="1"] .image-frame,
    .gallery-grid[data-layout="wide"][data-count="2"] .image-frame {
        grid-column: 1 / -1;
        grid-row: span 3;
    }

    .gallery-grid[data-layout="wide"] .image-frame:first-child {
        grid-row: span 4;
    }

    .gallery-grid[data-layout="tall"] .image-frame,
    .gallery-grid[data-layout="tall"][data-count="2"] .image-frame {
        grid-column: span 1;
        grid-row: span 2;
    }

    .gallery-grid[data-layout="tall"] .image-frame:first-child,
    .gallery-grid[data-layout="tall"][data-count="1"] .image-frame,
    .gallery-grid[data-layout="tall"][data-count="2"] .image-frame:first-child {
        grid-column: 1 / -1;
        grid-row: span 4;
    }

    .gallery-grid[data-layout="grid"] .image-frame,
    .gallery-grid[data-layout="grid"][data-count="2"] .image-frame {
        grid-column: span 1;
        grid-row: span 2;
    }

    .gallery-grid[data-layout="grid"][data-count="1"] .image-frame {
        grid-column: 1 / -1;
        grid-row: span 3;
    }

    .gallery-grid[data-layout="filmstrip"] .image-frame {
        grid-column: 1 / -1;
        grid-row: span 3;
    }

    .gallery-grid[data-layout="compact"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }

    .gallery-grid[data-layout="compact"][data-count] .image-frame,
    .gallery-grid[data-layout="compact"][data-count] .image-frame:first-child {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 1;
    }

    .gallery-grid[data-layout="spotlight"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }

    .gallery-grid[data-layout="spotlight"][data-count] .image-frame,
    .gallery-grid[data-layout="spotlight"][data-count="3"] .image-frame:not(:first-child),
    .gallery-grid[data-layout="spotlight"][data-count="4"] .image-frame:not(:first-child) {
        grid-column: span 1;
        grid-row: auto;
        aspect-ratio: 1.2;
    }

    .gallery-grid[data-layout="spotlight"][data-count] .image-frame:first-child,
    .gallery-grid[data-layout="spotlight"][data-count="2"] .image-frame:not(:first-child) {
        grid-column: 1 / -1;
        aspect-ratio: 1.65;
    }

    .gallery-grid[data-layout="paired"] {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .gallery-grid[data-layout="paired"][data-count] .image-frame,
    .gallery-grid[data-layout="paired"][data-count] .image-frame:first-child {
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }

    .gallery-grid[data-layout="story"] {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .gallery-grid[data-layout="story"][data-count] .image-frame,
    .gallery-grid[data-layout="story"][data-count] .image-frame:nth-child(n) {
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 1.45;
    }

    .gallery-grid[data-layout="wall"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 86px;
    }

    .gallery-grid[data-layout="wall"][data-count] .image-frame:nth-child(n) {
        grid-column: span 1;
        grid-row: span 2;
    }

    .gallery-grid[data-layout="wall"][data-count] .image-frame:nth-child(4n + 1) {
        grid-column: 1 / -1;
        grid-row: span 2;
    }

}

@media (max-width: 520px) {
    .blueprint-dialog {
        width: calc(100% - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 16px;
    }

    .blueprint-dialog-shell {
        max-height: calc(100dvh - 24px);
        gap: 20px;
        padding: 34px 22px 24px;
    }

    .blueprint-dialog-heading {
        padding-right: 22px;
    }

    .blueprint-dialog-copy-button {
        min-height: 64px;
    }

    .housing-floorplan-section {
        width: calc(100% - 28px);
        padding-top: 18px;
    }

    .housing-floorplan-panel {
        padding: 14px;
        border-radius: 16px;
    }

    .housing-floorplan-heading {
        padding: 2px 2px 17px;
    }

    .housing-floorplan-heading h2 {
        font-size: 1.35rem;
    }

    .housing-floorplan-heading > div > p:last-child {
        font-size: 0.72rem;
    }

    .housing-floorplan-tabs button {
        min-height: 46px;
        padding: 6px 9px;
    }

    .housing-floorplan-tabs button span {
        font-size: 0.58rem;
    }

    .housing-floorplan-stage {
        min-height: 400px;
        border-radius: 13px;
    }

    .housing-floorplan-canvas {
        min-width: 780px;
    }

    .housing-floorplan-svg {
        height: 400px;
    }

    .housing-floorplan-preview {
        min-height: 210px;
        border-radius: 13px;
    }

    .housing-floorplan-preview-copy {
        width: 78%;
        padding: 20px;
    }

    .housing-hero {
        min-height: 540px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, calc(2rem + 2.55vw), 3.35rem);
    }

    .content-section {
        width: calc(100% - 32px);
        padding: 70px 0;
    }

    .housing-highlights,
    .home-panel-section {
        width: calc(100% - 28px);
    }

    .content-section h2,
    .room-copy h2 {
        font-size: clamp(2rem, 11vw, 3.2rem);
    }

    .housing-overview .overview-heading h2 {
        font-size: 1.2rem;
    }

    .overview-text-panel {
        padding: 26px;
    }

    .overview-heading {
        gap: 13px;
    }

    .overview-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 13px;
    }

    .overview-icon::before {
        width: 25px;
        height: 25px;
    }

    .room-inventory-panel {
        height: auto;
        padding: 24px;
    }

    .room-inventory-heading {
        gap: 13px;
    }

    .room-inventory-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 13px;
    }

    .room-pet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .room-pet-dialog-layout {
        grid-template-columns: 1fr;
    }

    .room-pet-dialog-art {
        min-height: min(58vw, 280px);
    }

    .room-pet-dialog-art::after {
        background: linear-gradient(180deg, transparent 58%, #121016 100%);
    }

    .room-pet-dialog-copy {
        padding: 28px 24px 26px;
    }

    .house-facts div {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .room-gallery,
    .room-gallery-tall {
        grid-template-columns: 1fr;
    }

    .room-gallery .image-primary,
    .room-gallery .image-detail {
        grid-column: 1;
        min-height: 230px;
        aspect-ratio: 4 / 3;
    }

    .room-gallery-tall .image-primary {
        min-height: 360px;
        aspect-ratio: 4 / 5;
    }

    .gallery-grid {
        grid-auto-rows: 110px;
        gap: 8px;
    }

    .image-frame {
        border-radius: 14px;
    }

    .lightbox {
        width: calc(100vw - 24px);
        height: calc(100dvh - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 15px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}
