:root {
    --ink: #171813;
    --soft-ink: #595b54;
    --paper: #f4f1e9;
    --ivory: #fbfaf6;
    --white: #fff;
    --sage: #bec1ae;
    --olive: #4c5143;
    --night: #111a1c;
    --line: rgba(23, 24, 19, 0.18);
    --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --max: 1320px;
    --gutter: clamp(20px, 4vw, 64px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    color: inherit;
    font: inherit;
}

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

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 0.98;
}

h1 {
    font-size: clamp(3.2rem, 6.8vw, 7rem);
    letter-spacing: -0.045em;
}

h2 {
    font-size: clamp(2.4rem, 4.2vw, 4.8rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: clamp(1.35rem, 1.8vw, 1.8rem);
}

:focus-visible {
    outline: 2px solid #b76b39;
    outline-offset: 4px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    background: var(--white);
    transition: transform 150ms ease;
}

.skip-link:not(:focus) {
    transform: translateX(calc(-100% - 30px));
}

.eyebrow {
    margin-bottom: 18px;
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.3;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    gap: 30px;
    padding: 0 22px;
    border: 1px solid var(--ink);
    border-radius: 0;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.button-dark {
    color: var(--white);
    background: var(--ink);
}

.button-dark:hover {
    background: var(--olive);
}

.button-outline {
    background: transparent;
}

.button-outline:hover {
    color: var(--white);
    background: var(--ink);
}

/* Header */
.site-header {
    position: relative;
    z-index: 30;
}

.campaign-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 var(--gutter);
    color: rgba(255, 255, 255, 0.78);
    background: #373325;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.header-bar {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 82px;
    padding: 0 var(--gutter);
    background: rgba(251, 250, 246, 0.96);
    border-bottom: 1px solid rgba(23, 24, 19, 0.1);
}

.site-brand {
    position: absolute;
    left: 50%;
    max-width: 42vw;
    transform: translateX(-50%);
    font-family: var(--serif);
    font-size: clamp(1.15rem, 2.1vw, 1.75rem);
    letter-spacing: 0.13em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-city {
    display: flex;
    flex-direction: column;
    justify-self: start;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
}

.header-city span {
    color: var(--soft-ink);
    font-size: 0.63rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.header-city strong {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 400;
}

.menu-toggle {
    display: none;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle > span:first-child {
    position: absolute;
    width: 25px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
}

.menu-toggle::before {
    transform: translateY(-7px);
}

.menu-toggle::after {
    transform: translateY(7px);
}

.menu-toggle[aria-expanded="true"]::before {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
    transform: rotate(-45deg);
}

.menu-toggle[aria-expanded="true"] > span:first-child {
    opacity: 0;
}

.mobile-navigation {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    min-height: min(790px, calc(100svh - 116px));
    color: var(--white);
    background: var(--night);
}

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

.hero-media {
    background: url("../images/generated/london-dusk-townhouses.webp") center center / cover no-repeat;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(6, 12, 14, 0.68) 0%, rgba(6, 12, 14, 0.2) 54%, rgba(6, 12, 14, 0.12) 100%),
        linear-gradient(0deg, rgba(5, 9, 10, 0.58) 0%, transparent 55%);
}

.hero-content {
    position: absolute;
    z-index: 1;
    bottom: 120px;
    left: var(--gutter);
    width: min(850px, calc(100% - (var(--gutter) * 2)));
}

.hero-content h1 {
    max-width: 900px;
    margin-bottom: 0;
}

.discovery-deck {
    position: absolute;
    z-index: 3;
    right: var(--gutter);
    bottom: -64px;
    left: var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1fr 220px;
    min-height: 128px;
    max-width: var(--max);
    margin: 0 auto;
    color: var(--ink);
    background: var(--ivory);
    box-shadow: 0 20px 60px rgba(10, 14, 12, 0.2);
}

.discovery-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    padding: 24px 34px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    text-align: left;
}

.discovery-cell span {
    margin-bottom: 8px;
    color: var(--soft-ink);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.discovery-cell strong {
    overflow: hidden;
    max-width: 100%;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.discovery-action {
    align-self: center;
    min-height: 62px;
    margin: 24px;
}

.editorial-intro {
    width: min(890px, calc(100% - (var(--gutter) * 2)));
    margin: 0 auto;
    padding: 180px 0 120px;
    text-align: center;
}

.editorial-intro h2 {
    margin-bottom: 32px;
}

.editorial-intro > p:last-child {
    max-width: 610px;
    margin: 0 auto;
    color: var(--soft-ink);
}

/* Catalog */
.catalog-section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter) 130px;
}

.catalog-masthead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}

.catalog-masthead h1,
.catalog-masthead h2 {
    max-width: 820px;
    margin-bottom: 0;
}

.catalog-count {
    margin: 16px 0 0;
    color: var(--soft-ink);
    font-size: 0.69rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.catalog-filter-trigger {
    display: none;
    flex: 0 0 auto;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: clamp(35px, 5vw, 76px);
    padding-top: 44px;
}

.filters-panel {
    position: sticky;
    top: 22px;
    align-self: start;
    max-height: calc(100svh - 44px);
}

.filters-header h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.filters-close,
.filter-scrim {
    display: none;
}

.filters-panel.is-open .filters-close {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--paper);
    font-size: 1.4rem;
}

.filters-scroll {
    overflow-y: auto;
    max-height: calc(100svh - 170px);
    padding-right: 10px;
    scrollbar-width: thin;
}

.filter-group {
    border-top: 1px solid var(--line);
}

.filter-group:last-child {
    border-bottom: 1px solid var(--line);
}

.filter-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    list-style: none;
    text-transform: uppercase;
}

.filter-group summary::-webkit-details-marker {
    display: none;
}

.filter-group[open] summary span:last-child {
    transform: rotate(45deg);
}

.filter-options {
    padding: 0 0 18px;
}

.filter-options a {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 6px 0;
    color: var(--soft-ink);
    font-size: 0.86rem;
}

.filter-options a:hover {
    color: var(--ink);
}

.filter-options small {
    color: rgba(23, 24, 19, 0.5);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 52px 22px;
}

.profile-card {
    min-width: 0;
}

.card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #d8d6ce;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.card-media:hover img {
    transform: scale(1.025);
}

.card-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-top: 17px;
}

.card-body h3 {
    margin-bottom: 8px;
}

.card-body p {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-bottom: 0;
    color: var(--soft-ink);
    font-size: 0.69rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 8px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0 0 8px;
    border: 0;
    border-bottom: 1px solid var(--ink);
    background: none;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 70px;
}

.pagination .page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    font-size: 0.75rem;
}

.pagination .current,
.pagination a:hover {
    color: var(--white);
    background: var(--ink);
}

.empty-state {
    padding: 80px 0;
}

.seo-story {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1.15fr);
    gap: clamp(50px, 9vw, 140px);
    padding: 120px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    background: var(--sage);
}

.seo-story h2 {
    margin-bottom: 0;
}

.prose {
    color: #3e413a;
    font-family: var(--serif);
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.7;
}

.prose > *:last-child {
    margin-bottom: 0;
}

/* Archive and generic */
.archive-page,
.content-page {
    padding-top: 1px;
}

.page-intro {
    display: grid;
    place-items: center;
    min-height: 340px;
    padding: 55px var(--gutter);
    text-align: center;
}

.page-intro h1 {
    max-width: 930px;
    margin: 0;
}

.page-intro button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 25px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--ink);
    background: transparent;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.archive-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.archive-filter-trigger {
    display: none;
}

.archive-page .catalog-masthead > div {
    display: none;
}

.archive-page .catalog-masthead {
    justify-content: flex-end;
    padding-bottom: 20px;
}

.content-entry {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px var(--gutter);
    border-top: 1px solid var(--line);
}

/* Profile */
.profile-page {
    padding-bottom: 0;
}

.profile-breadcrumb {
    display: flex;
    max-width: var(--max);
    gap: 10px;
    margin: 0 auto;
    padding: 24px var(--gutter);
    color: var(--soft-ink);
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.profile-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.58fr) minmax(340px, 0.82fr);
    max-width: var(--max);
    min-height: 660px;
    margin: 0 auto;
    padding: 0 var(--gutter) 110px;
}

.profile-stage-no-gallery {
    grid-template-columns: 1fr;
    min-height: 0;
}

.profile-stage-no-gallery .profile-identity {
    min-height: 520px;
}

.profile-gallery {
    display: grid;
    grid-template-columns: 1.3fr 0.35fr 0.35fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 5px;
    height: 660px;
    background: #d4d2ca;
}

.gallery-tile {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 0;
    border: 0;
    background: #ccc9bf;
}

.gallery-tile-1 {
    grid-row: 1 / 3;
}

.gallery-tile:nth-of-type(n + 6) {
    display: none;
}

.gallery-tile img,
.gallery-tile video,
.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-tile img {
    transition: transform 500ms ease;
}

.gallery-tile:hover img {
    transform: scale(1.025);
}

.gallery-more {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 9px 12px;
    color: var(--white);
    background: rgba(12, 14, 12, 0.75);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: var(--white);
    background: rgba(12, 14, 12, 0.72);
    border-radius: 50%;
    font-size: 0.85rem;
    transform: translate(-50%, -50%);
}

.gallery-more-mobile {
    display: none;
}

.gallery-hidden-item {
    display: none;
}

.profile-identity {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px clamp(35px, 5vw, 76px);
    background: var(--ivory);
}

.profile-identity h1 {
    margin-bottom: 20px;
    font-size: clamp(3.6rem, 6vw, 6rem);
}

.profile-meta {
    margin-bottom: 42px;
    color: var(--soft-ink);
    font-size: 0.73rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-contact {
    display: grid;
    gap: 18px;
}

.profile-contact .button {
    width: 100%;
}

.messenger-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
}

.messenger-links a {
    border-bottom: 1px solid var(--ink);
    font-size: 0.67rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.identity-note {
    margin: 35px 0 0;
    color: var(--soft-ink);
    font-size: 0.75rem;
}

.profile-chapters {
    background: var(--ivory);
}

.profile-chapter {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(50px, 9vw, 150px);
    max-width: var(--max);
    margin: 0 auto;
    padding: 110px var(--gutter);
    border-top: 1px solid var(--line);
}

.profile-chapter header {
    position: relative;
}

.profile-chapter header h2 {
    margin-bottom: 0;
    font-size: clamp(2.7rem, 4vw, 4.4rem);
}

.chapter-number {
    font-size: 0.68rem;
    letter-spacing: 0.13em;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--line);
}

.detail-grid > div {
    padding: 20px 20px 20px 0;
    border-bottom: 1px solid var(--line);
}

.detail-grid > div:nth-child(odd) {
    margin-right: 20px;
}

.detail-grid dt {
    margin-bottom: 8px;
    color: var(--soft-ink);
    font-size: 0.65rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.detail-grid dd {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.12rem;
}

.profile-prices {
    color: var(--white);
    background: var(--olive);
    max-width: none;
    padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}

.price-table {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.price-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.price-row span:not(:first-child) {
    text-align: right;
}

.price-head {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px;
}

.service-list span {
    padding: 10px 15px;
    border: 1px solid var(--line);
    font-family: var(--serif);
}

.profile-report form {
    display: grid;
    gap: 14px;
}

.profile-report label {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-report textarea {
    min-height: 130px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    resize: vertical;
}

.profile-report .button {
    justify-self: start;
}

.form-status {
    min-height: 1.5em;
    margin: 0;
    font-size: 0.8rem;
}

/* Dialogs */
dialog {
    padding: 0;
    border: 0;
    color: var(--ink);
    background: transparent;
}

dialog::backdrop {
    background: rgba(9, 12, 10, 0.72);
    backdrop-filter: blur(2px);
}

.dialog-panel {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    max-height: min(82svh, 820px);
    overflow: hidden;
    padding: clamp(35px, 6vw, 70px);
    background: var(--ivory);
}

.dialog-panel-small {
    width: min(520px, calc(100vw - 32px));
}

.dialog-panel h2 {
    max-width: 580px;
    margin-bottom: 36px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.dialog-close {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    background: transparent;
    font-size: 1.4rem;
}

.city-search input {
    width: 100%;
    padding: 15px 0;
    border: 0;
    border-bottom: 1px solid var(--ink);
    border-radius: 0;
    background: transparent;
}

.city-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 28px;
    border-top: 1px solid var(--line);
}

.city-list a {
    display: flex;
    justify-content: space-between;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 1.1rem;
}

.city-list a[hidden] {
    display: none;
}

.revealed-phone {
    display: block;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(1.5rem, 5vw, 2.8rem);
}

.gallery-dialog {
    width: 100vw;
    max-width: none;
    height: 100svh;
    max-height: none;
    overflow: hidden;
    color: var(--white);
    background: #080a09;
}

.gallery-dialog[open] {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 80px;
    align-items: center;
}

.gallery-dialog figure {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    width: 100%;
    height: 100svh;
    margin: 0;
    padding: 55px 0 30px;
}

.gallery-dialog img,
.gallery-dialog video {
    align-self: center;
    justify-self: center;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100svh - 120px);
    object-fit: contain;
}

.gallery-dialog video {
    width: 100%;
}

.gallery-dialog figcaption {
    min-height: 1.5em;
    padding-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-align: center;
}

.gallery-close {
    position: fixed;
    z-index: 2;
    top: 16px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    background: transparent;
    font-size: 1.4rem;
}

.gallery-arrow {
    width: 48px;
    height: 48px;
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    background: transparent;
}

/* Footer */
.site-footer {
    padding: 85px var(--gutter) 28px;
    color: var(--white);
    background: var(--night);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
    max-width: var(--max);
    min-height: 180px;
    margin: 0 auto;
}

.footer-brand {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.8rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-inner p {
    max-width: 280px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
    text-align: center;
}

.footer-inner button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    justify-self: end;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    background: transparent;
    font-size: 0.69rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: var(--max);
    margin: 65px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .discovery-deck {
        grid-template-columns: 1fr 1fr 180px;
    }

    .discovery-cell {
        padding: 22px;
    }

    .discovery-action {
        gap: 15px;
        margin: 18px;
        padding: 0 16px;
    }

    .profile-stage {
        grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
    }

    .profile-gallery {
        height: 590px;
    }

    .profile-identity {
        padding: 45px 35px;
    }
}

@media (max-width: 760px) {
    .discovery-deck {
        grid-template-columns: 1fr 1fr 180px;
    }

    .discovery-cell {
        padding: 22px;
    }

    .discovery-action {
        gap: 15px;
        margin: 18px;
        padding: 0 16px;
    }

    .catalog-filter-trigger {
        display: inline-flex;
    }

    .home .catalog-filter-trigger {
        display: none;
    }

    .catalog-layout {
        display: block;
    }

    .filters-panel {
        position: fixed;
        z-index: 70;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(420px, calc(100vw - 30px));
        max-height: none;
        padding: 35px 28px 0;
        background: var(--ivory);
        box-shadow: 20px 0 60px rgba(0, 0, 0, 0.2);
        transform: translateX(-105%);
        transition: transform 250ms ease;
    }

    .filters-panel.is-open {
        transform: none;
    }

    .filters-header {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    .filters-close {
        display: block;
        flex: 0 0 auto;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid var(--line);
        background: transparent;
        font-size: 1.4rem;
    }

    .filters-scroll {
        max-height: calc(100svh - 135px);
        padding-bottom: 35px;
    }

    .filter-scrim {
        position: fixed;
        z-index: 69;
        inset: 0;
        border: 0;
        background: rgba(8, 11, 9, 0.65);
    }

    .filter-scrim.is-open {
        display: block;
    }

    .profile-stage {
        grid-template-columns: 1fr;
    }

    .profile-gallery {
        height: 520px;
    }

    .profile-identity {
        min-height: 450px;
    }

    .profile-chapter {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media (max-width: 760px) {
    h1 {
        font-size: clamp(3rem, 15vw, 4.4rem);
    }

    h2 {
        font-size: clamp(2.2rem, 11vw, 3.6rem);
    }

    .campaign-ribbon {
        justify-content: flex-start;
        overflow: hidden;
        white-space: nowrap;
    }

    .header-bar {
        display: flex;
        min-height: 70px;
    }

    .menu-toggle {
        position: relative;
        display: grid;
        place-items: center;
    }

    .header-city {
        display: none;
    }

    .site-brand {
        max-width: 62vw;
        overflow: hidden;
        font-size: 1rem;
        letter-spacing: 0.09em;
        text-overflow: ellipsis;
    }

    .mobile-navigation {
        position: absolute;
        right: 0;
        left: 0;
        display: grid;
        gap: 0;
        padding: 0 var(--gutter);
        background: var(--ivory);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: 180ms ease;
    }

    .mobile-navigation[hidden] {
        display: none;
    }

    .mobile-navigation.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .mobile-navigation a,
    .mobile-navigation button {
        padding: 18px 0;
        border: 0;
        border-bottom: 1px solid var(--line);
        background: transparent;
        font-family: var(--serif);
        text-align: left;
    }

    .hero {
        min-height: 680px;
    }

    .hero-media {
        background-position: 63% center;
    }

    .hero-content {
        bottom: 220px;
    }

    .hero-content .eyebrow {
        max-width: 240px;
    }

    .discovery-deck {
        right: 16px;
        bottom: -90px;
        left: 16px;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .discovery-cell {
        min-height: 78px;
        padding: 15px 20px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .discovery-cell strong {
        font-size: 1.2rem;
    }

    .discovery-action {
        min-height: 52px;
        margin: 14px;
    }

    .editorial-intro {
        padding: 165px 0 90px;
    }

    .catalog-section {
        padding-right: 16px;
        padding-bottom: 90px;
        padding-left: 16px;
    }

    .catalog-masthead {
        align-items: flex-end;
        padding-bottom: 26px;
    }

    .catalog-masthead .eyebrow {
        margin-bottom: 10px;
    }

    .catalog-masthead h1,
    .catalog-masthead h2 {
        font-size: 2.2rem;
    }

    .catalog-filter-trigger {
        min-width: 52px;
        min-height: 48px;
        gap: 8px;
        padding: 0 10px;
        font-size: 0.62rem;
    }

    .catalog-filter-trigger span {
        font-size: 1.1rem;
    }

    .catalog-layout {
        padding-top: 25px;
    }

    .profile-grid {
        gap: 34px 10px;
    }

    .card-body {
        display: block;
        padding-top: 12px;
    }

    .card-body h3 {
        margin-bottom: 6px;
        font-size: 1.2rem;
    }

    .card-body p {
        display: grid;
        gap: 2px;
        font-size: 0.59rem;
    }

    .card-phone {
        margin-top: 10px;
        padding-left: 0;
    }

    .seo-story {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 80px var(--gutter);
    }

    .page-intro {
        min-height: 280px;
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .archive-page .catalog-masthead {
        display: none;
    }

    .archive-filter-trigger {
        display: inline-block;
    }

    .profile-breadcrumb {
        overflow: hidden;
        white-space: nowrap;
    }

    .profile-stage {
        display: flex;
        flex-direction: column;
        padding: 0 16px 70px;
    }

    .profile-identity {
        order: -1;
        min-height: 390px;
        padding: 48px 28px;
    }

    .profile-identity h1 {
        font-size: 4rem;
    }

    .profile-meta {
        margin-bottom: 30px;
    }

    .profile-gallery {
        grid-template-columns: 1.25fr 0.75fr;
        height: 350px;
    }

    .gallery-tile:nth-of-type(n + 4) {
        display: none;
    }

    .gallery-more-desktop {
        display: none;
    }

    .gallery-more-mobile {
        display: block;
    }

    .profile-chapter {
        gap: 35px;
        padding: 75px var(--gutter);
    }

    .profile-chapter header h2 {
        font-size: 3rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid > div:nth-child(odd) {
        margin-right: 0;
    }

    .price-row {
        grid-template-columns: 1.1fr 1fr 1fr;
        gap: 8px;
        font-size: 0.78rem;
    }

    .price-head {
        font-size: 0.55rem;
    }

    .gallery-dialog[open] {
        grid-template-columns: 54px minmax(0, 1fr) 54px;
    }

    .gallery-arrow {
        width: 38px;
        height: 38px;
    }

    .dialog-panel {
        width: calc(100vw - 20px);
        max-height: 88svh;
        padding: 55px 24px 30px;
    }

    .dialog-panel h2 {
        margin-bottom: 25px;
    }

    .city-list {
        max-height: 42svh;
    }

    .site-footer {
        padding-top: 65px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        align-items: start;
    }

    .footer-inner p {
        margin: 0;
        text-align: left;
    }

    .footer-inner button {
        justify-self: start;
    }

    .footer-bottom {
        flex-direction: column;
        margin-top: 45px;
    }
}

@media (max-width: 390px) {
    .hero-content {
        bottom: 215px;
    }

    .hero-content h1 {
        font-size: 3.25rem;
    }

    .profile-grid {
        column-gap: 8px;
    }

    .profile-identity h1 {
        font-size: 3.4rem;
    }

    .gallery-dialog[open] {
        grid-template-columns: 45px minmax(0, 1fr) 45px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
