:root {
  --ink: #182326;
  --soft-ink: #4b5c60;
  --muted: #58676d;
  --line: #dae1e3;
  --mist: #eff3f4;
  --blue: #0646ff;
  --blue-deep: #0633b4;
  --blue-soft: #eaf0ff;
  --paper: #fff;
  --gutter: clamp(1.25rem, 4.4vw, 4.5rem);
  --shell: 1240px;
  color-scheme: light;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { min-width: 0; margin: 0; font-size: 1rem; line-height: 1.5; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select, input[type="checkbox"], input[type="radio"], summary { cursor: pointer; }
button { appearance: none; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; }
button:disabled { cursor: default; }
button, input, select, textarea { max-width: 100%; }
img { display: block; max-width: 100%; }
svg { display: inline-block; flex-shrink: 0; vertical-align: middle; }
:focus-visible { outline: 3px solid #0646ff; outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { color: #091e46; background: #c8d8ff; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 100; top: .5rem; left: .5rem; padding: .65rem 1rem; background: white; }
.shell { width: min(calc(100% - var(--gutter) * 2), var(--shell)); margin-inline: auto; }
#main { min-height: 50vh; }
.eyebrow, .kicker {
  color: var(--blue-deep); font-weight: 740; font-size: .72rem;
  letter-spacing: .115em; line-height: 1.45; text-transform: uppercase;
}
.muted { color: var(--muted); }
.text-link, .breadcrumbs a:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: .23em; }
.text-link { font-weight: 690; text-decoration-thickness: 1px; }
.text-link svg { width: 1.05em; height: 1.05em; margin-left: .25em; }

.site-head { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 4; }
.bar { min-height: 77px; display: flex; gap: clamp(1rem, 2.4vw, 2.5rem); align-items: center; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo img { width: clamp(151px, 13.4vw, 190px); height: auto; max-height: 64px; object-fit: contain; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(.9rem, 2.15vw, 2.2rem); }
.desktop-nav > a, .desktop-nav > button, .desktop-nav summary {
  display: inline-flex; align-items: center; min-height: 44px; gap: .28rem;
  border: none; background: transparent; padding: .25rem 0; font-size: .9rem; font-weight: 640;
}
.desktop-nav a:hover, .desktop-nav button:hover, .desktop-nav a[aria-current="page"] { color: var(--blue-deep); }
.desktop-nav details { position: relative; }
.desktop-nav details > div {
  position: absolute; right: 0; top: 100%; min-width: 175px; padding: .45rem; background: white;
  border: 1px solid var(--line); border-radius: .65rem; box-shadow: 0 8px 25px #15262b1a;
}
.desktop-nav details > div a { display: block; padding: .62rem .7rem; font-size: .9rem; }
.owner-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; border: 1px solid var(--ink); border-radius: 6px; padding: .45rem .9rem; font-weight: 690; font-size: .87rem; }
.owner-link:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; margin-left: auto; }
.menu-toggle, .sheet-head > button, .icon-button, .close-button {
  align-items: center; justify-content: center; gap: .35rem; min-width: 44px; min-height: 44px;
  padding: .45rem; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: white;
}
.menu-toggle svg, .sheet-head > button svg { width: 23px; height: 23px; }

.hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); min-height: clamp(425px, 40vw, 540px); margin-top: clamp(1.25rem, 2.7vw, 2.5rem); overflow: hidden; border-radius: 12px; background: var(--mist); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 4.6vw, 4.85rem); }
.hero-copy h1 { font-size: clamp(3.3rem, 5.55vw, 5.35rem); letter-spacing: -.070em; font-weight: 710; line-height: .997; }
.hero-copy h1 :is(span,strong,em) { color: var(--blue); font-style: normal; font-weight: inherit; }
.hero-copy > .eyebrow { margin-bottom: 1.1rem; }
.hero-copy > p:not(.eyebrow) { max-width: 38ch; font-size: clamp(1rem, 1.36vw, 1.17rem); color: var(--soft-ink); line-height: 1.55; margin-top: 1.05rem; }
.hero-picture { position: relative; overflow: hidden; min-width: 0; min-height: 255px; background: #ddd9d2; }
.hero-picture > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-picture figcaption, .detail-photo figcaption {
  position: absolute; bottom: 1rem; left: 1rem; max-width: calc(100% - 2rem); padding: .28rem .56rem;
  border-radius: .22rem; color: white; background: #162426bf; font-size: .7rem; font-weight: 560; line-height: 1.45;
}
.actions, .owner-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-copy .actions { margin-top: clamp(1.3rem, 2.25vw, 2rem); }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: .55rem; min-height: 46px; padding: .72rem 1.2rem; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); font-size: .95rem; font-weight: 680; line-height: 1.22; text-align: center; white-space: normal; transition: background-color .16s, border-color .16s, color .16s; }
.btn svg { width: 17px; height: 17px; }
.btn:hover { border-color: #aebbc1; background: #f3f6f7; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: white; }
.btn.primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn.secondary { background: transparent; border-color: var(--blue); color: var(--blue-deep); }
.btn.secondary:hover { background: #e4ebff; }
.btn.light { background: white; border-color: white; color: var(--ink); }
.btn.light:hover { background: #e9eeef; border-color: #e9eeef; }
.hero-copy .btn { min-width: 7.7rem; }

.section { padding-block: clamp(2.7rem, 6.1vw, 5.7rem); }
.section + .section, .section + .owners { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.1rem, 2.4vw, 2rem); }
.section-head h2, .owner-copy h2, .owners h2, .box h2, .detail-copy h2 { font-size: clamp(1.7rem, 3.1vw, 2.8rem); font-weight: 690; letter-spacing: -.052em; }
.section-head .eyebrow { margin-bottom: .45rem; }
.section-head > p, .section-head > div > p:not(.eyebrow) { color: var(--muted); margin-top: .45rem; }
.section-head > a { flex: 0 0 auto; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.95rem, 2.2vw, 1.8rem); align-items: stretch; }
.card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: white; transition: border-color .18s, box-shadow .18s; }
a.card:hover { border-color: #99aabd; box-shadow: 0 5px 20px #17242b0c; }
.card-photo { position: relative; overflow: hidden; aspect-ratio: 1.62; background: #e6e4df; }
.card-photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform .36s ease; }
a.card:hover .card-photo > img { transform: scale(1.024); }
.card-photo > :is(span,small) { position: absolute; top: .7rem; left: .7rem; max-width: calc(100% - 1.4rem); padding: .3rem .58rem; border-radius: 4px; background: #fffffff2; color: #25363a; font-size: .7rem; font-weight: 680; line-height: 1.3; }
.card-photo > :is(span,small) + :is(span,small) { top: auto; left: auto; bottom: .7rem; right: .7rem; }
.card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(.92rem, 1.6vw, 1.35rem); }
.card-body .kicker { margin-bottom: .45rem; }
.card-body h3 { font-size: clamp(1.07rem, 1.7vw, 1.48rem); letter-spacing: -.034em; font-weight: 675; line-height: 1.22; overflow-wrap: anywhere; }
.card-price { font-size: clamp(1.25rem, 1.9vw, 1.55rem); margin-top: .55rem; font-weight: 725; letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: var(--ink); }
.card-price small { font-size: .76rem; color: var(--muted); font-weight: 550; letter-spacing: 0; }
.specs { display: flex; flex-wrap: wrap; align-items: center; column-gap: .9rem; row-gap: .36rem; margin-top: .8rem; width: 100%; padding-top: .72rem; border-top: 1px solid #e7ebec; color: var(--soft-ink); line-height: 1.4; font-size: .86rem; }
.specs > span, .specs > div { display: inline-flex; align-items: center; gap: .27rem; }
.specs svg { width: 16px; height: 16px; }

.owners { padding-block: clamp(2.5rem, 4.5vw, 4.8rem); }
.owner-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.65rem, 4vw, 3.3rem); border-radius: 10px; background: #152b35; color: white; }
.owner-inner .eyebrow { color: #a9c5ff; margin-bottom: .6rem; }
.owner-copy { max-width: 44rem; }
.owner-copy p:not(.eyebrow) { max-width: 52ch; color: #d1dce0; margin-top: .7rem; }
.owner-actions { flex-shrink: 0; }
.owner-inner .btn.secondary { border-color: #b4c1c7; color: white; }
.owner-inner .btn.secondary:hover { background: #234354; }

footer, .site-foot { border-top: 1px solid var(--line); background: #f5f7f7; }
.foot-grid { display: grid; grid-template-columns: 1.13fr 1fr 1fr; gap: clamp(1.25rem, 5vw, 4.3rem); padding-block: clamp(2.2rem, 4.5vw, 4rem); }
.foot-grid img { width: 155px; height: auto; }
.foot-grid p, .foot-grid address, .foot-grid ul { font-style: normal; color: var(--soft-ink); font-size: .9rem; margin: .4rem 0 0; }
.foot-grid h2, .foot-grid h3, .foot-grid h4 { font-size: .9rem; font-weight: 700; margin: 0 0 .6rem; letter-spacing: -.01em; }
.foot-grid ul { list-style: none; padding: 0; }
.foot-grid li + li { margin-top: .35rem; }
.foot-grid a:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }

.page-intro { padding-block: clamp(1.9rem, 4.6vw, 4rem) 1.5rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: 1.1rem; font-size: .83rem; color: var(--muted); }
.breadcrumbs svg { width: 14px; height: 14px; }
.page-intro .eyebrow, .detail-copy .eyebrow { margin-bottom: .6rem; }
h1.page-title, .page-intro h1, .detail-copy h1 { font-size: clamp(2.15rem, 5vw, 4.15rem); font-weight: 700; line-height: 1.04; letter-spacing: -.064em; }
.page-intro > p:not(.eyebrow), .page-intro > .shell > p:not(.eyebrow) { max-width: 65ch; margin-top: .85rem; color: var(--soft-ink); }
.toolbar { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; padding-block: .65rem 1rem; }
.toolbar button, .toolbar select { min-height: 44px; }
.toolbar :is(select,button):not(.btn) { background: white; border: 1px solid #c4ced2; color: var(--ink); border-radius: 6px; padding: .55rem .85rem; }
.toolbar label { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .36rem .7rem; border: 1px solid #c4d4ff; background: var(--blue-soft); color: #173d98; border-radius: 99px; font-size: .83rem; line-height: 1.3; font-weight: 620; }
.chip:hover { background: #dce7ff; }
.results-count { color: var(--muted); font-size: .88rem; margin-block: .65rem .85rem; }
.empty { padding: clamp(1.65rem, 4.5vw, 4rem); border: 1px solid var(--line); border-radius: 9px; background: var(--mist); text-align: center; }
.empty > * + * { margin-top: .7rem; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: start; gap: clamp(1.5rem, 4vw, 4rem); }
.detail-photo { position: relative; overflow: hidden; background: var(--mist); border-radius: 10px; }
.detail-photo > img { width: 100%; aspect-ratio: 1.16; height: auto; object-fit: cover; }
.detail-copy { min-width: 0; align-self: center; }
.detail-copy h1 { font-size: clamp(2rem, 4.2vw, 3.65rem); }
.detail-copy > p:not(.eyebrow,.card-price) { color: var(--soft-ink); margin-block: .65rem; }
.detail-copy .actions { margin-top: 1.3rem; }
.detail-copy .card-price { font-size: clamp(1.6rem, 3vw, 2.55rem); }
.box { padding: clamp(1.25rem, 2.7vw, 2.4rem); border: 1px solid var(--line); border-radius: 9px; min-width: 0; }
.box h2, .detail-copy h2 { font-size: clamp(1.3rem, 2.3vw, 1.85rem); }
.box p, .box ul, .box ol { margin-top: .65rem; }
.data-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: .65rem; padding: 0; margin-block: 1rem; }
.data-grid > div { background: var(--mist); border-radius: 5px; padding: .7rem .8rem; }
.data-grid dt, .data-grid small { color: var(--muted); font-size: .8rem; }
.data-grid dd, .data-grid strong { font-size: 1.1rem; font-weight: 680; display: block; }
.reference-list { padding-left: 1.15rem; color: var(--soft-ink); overflow-wrap: anywhere; }
.reference-list li + li { margin-top: .5rem; }
.reference-list a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: .2em; }
.contact-text { overflow-wrap: anywhere; color: var(--soft-ink); line-height: 1.6; }

dialog.sheet { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 465px); height: 100%; height: 100dvh; max-width: 100%; max-height: none; padding: 0; border: 0; color: var(--ink); background: white; box-shadow: -12px 0 40px #15262b24; }
dialog.sheet[open] { display: flex; flex-direction: column; }
dialog.sheet::backdrop { background: rgb(20 34 39 / .47); }
.sheet-head, .sheet-foot { flex-shrink: 0; display: flex; align-items:center; padding: 1.15rem 1.45rem; gap: .65rem; }
.sheet-head { justify-content: space-between; border-bottom: 1px solid var(--line); }
.sheet-head h2, .sheet-head h3 { font-size: 1.42rem; letter-spacing: -.035em; }
.sheet-head > button { display: inline-flex; font-size: 1.35rem; }
.sheet-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 1.35rem 1.45rem; }
.sheet-body p + p, .sheet-body p + .actions { margin-top: .75rem; }
.sheet-foot { justify-content: flex-end; border-top: 1px solid var(--line); padding-bottom: max(1.15rem, env(safe-area-inset-bottom)); }
.sheet-foot:empty { display: none; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field-grid > *, .field { min-width: 0; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-block: 0 .8rem; font-weight: 640; font-size: .9rem; }
.field :is(input,select,textarea), .field-grid > label :is(input,select,textarea), .sheet-body > select { display: block; width: 100%; font-weight: 450; min-height: 45px; padding: .55rem .65rem; border: 1px solid #b9c6cb; border-radius: 5px; color: var(--ink); background: white; }
.field input[type="checkbox"], .field input[type="radio"] { width: auto; min-height: auto; accent-color: var(--blue); }
.option-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.option-list > :is(button,label) { min-height: 40px; padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 5px; background: white; }
.option-list > [aria-pressed="true"], .option-list > label:has(:checked) { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-deep); }
.drawer-links, .menu-group { display: flex; flex-direction: column; }
.drawer-links a, .drawer-links summary, .menu-group > button { display: flex; justify-content: space-between; align-items: center; min-height: 46px; padding: .55rem .2rem; font-weight: 620; }
.drawer-links > a, .menu-group { border-bottom: 1px solid var(--line); }
.drawer-links a:hover { color: var(--blue-deep); }
.menu-group a:not(:first-child), .menu-group details a { color: var(--soft-ink); padding-left: 1rem; font-size: .92rem; font-weight: 500; }
.wa { position: fixed; z-index: 8; right: max(1.2rem, env(safe-area-inset-right)); bottom: max(1.2rem, env(safe-area-inset-bottom)); width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 2px solid white; border-radius: 50%; background: #11864c; color: white; box-shadow: 0 4px 14px #122a2638; }
.wa svg { width: 29px; height: 29px; }
.wa:hover { background: #087240; }

@media(max-width: 980px) {
  .bar { gap: 1rem; min-height: 66px; }
  .desktop-nav { gap: .8rem; }
  .desktop-nav > a, .owner-link, .desktop-nav > button, .desktop-nav summary { font-size: .8rem; }
  .hero-copy { padding: clamp(1.5rem, 3.4vw, 2.8rem); }
  .hero-copy h1 { font-size: clamp(2.95rem, 5.8vw, 4rem); }
  .hero { min-height: 375px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owner-inner { flex-wrap: wrap; }
}
@media(max-width: 740px) {
  :root { --gutter: 1.16rem; }
  .bar { min-height: 63px; }
  .logo img { width: 149px; max-height: 50px; }
  .desktop-nav, .bar > .owner-link { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; margin-top: 1rem; border-radius: 9px; }
  .hero-copy { padding: clamp(1.4rem, 5.5vw, 2.5rem); }
  .hero-copy h1 { font-size: clamp(2.55rem, 8.15vw, 3.75rem); }
  .hero-copy > .eyebrow { margin-bottom: .65rem; }
  .hero-copy > p:not(.eyebrow) { font-size: .99rem; margin-top: .65rem; }
  .hero-copy .actions { margin-top: 1rem; }
  .hero-picture { min-height: clamp(170px, 40vw, 245px); }
  .hero-picture figcaption, .detail-photo figcaption { left: .65rem; bottom: .65rem; }
  .section { padding-block: 2.55rem; }
  .section-head { align-items: flex-start; flex-wrap: wrap; }
  .section-head h2, .owners h2 { font-size: clamp(1.65rem, 4.8vw, 2.15rem); }
  .section-head > a { font-size: .87rem; }
  .owner-inner { gap: 1rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.35rem; padding-bottom: 4.1rem; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .detail-grid { grid-template-columns: minmax(0,1fr); }
  .detail-photo > img { aspect-ratio: 1.55; }
  .detail-copy { align-self: auto; }
  .page-intro { padding-top: 1.5rem; }
}
@media(max-width: 520px) {
  .card-grid { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .card-body { padding: 1.02rem; }
  .card-body h3 { font-size: 1.28rem; }
  .card-price { font-size: 1.38rem; }
  .hero-copy .btn { min-width: 0; flex: 1; }
  .hero-copy .actions { width: 100%; }
  .toolbar { gap: .5rem; }
  .toolbar .btn, .toolbar select { font-size: .9rem; }
  .toolbar label { flex-wrap: wrap; }
  .field-grid { gap: .6rem; }
  dialog.sheet { width: 100%; }
  .sheet-body, .sheet-head, .sheet-foot { padding-inline: var(--gutter); }
  .wa { right: .87rem; bottom: max(.87rem, env(safe-area-inset-bottom)); width: 51px; height: 51px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media(max-width: 350px) {
  :root { --gutter: .85rem; }
  .hero-copy { padding: 1.05rem; }
  .hero-copy h1 { font-size: 2.18rem; }
  .btn { padding-inline: .8rem; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* The contact label stays visible where the full control fits. */
.wa:has(> span) { width: auto; min-width: 54px; gap: .43rem; padding: 0 .88rem; border-radius: 99px; }
.wa > span { font-size: .84rem; font-weight: 690; }
.foot-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: .28rem; }
.foot-grid > div > strong { margin-bottom: .22rem; font-size: .92rem; }
.foot-grid > div > a:not(.logo) { color: var(--soft-ink); font-size: .9rem; }
button.text-link { border: 0; padding: .12rem 0; background: transparent; }
@media(max-width: 740px) {
  .wa:has(> span) { height: 51px; padding-inline: .75rem; }
  .wa > span { white-space: nowrap; }
}

.desktop-nav > [aria-current], .desktop-nav > .active { color: var(--blue-deep); }
.inventory-note {
  display: flex; align-items: baseline; gap: .5rem; max-width: 100%; width: fit-content;
  margin: 0 0 1rem; padding: .48rem .74rem; border-left: 2px solid #91a8d7;
  border-radius: 0 3px 3px 0; background: #f1f5fb; color: #40536e; font-size: .83rem; line-height: 1.45;
}
.inventory-note > span { font-size: .92em; flex-shrink: 0; }
.card-photo figcaption {
  position: absolute; left: .65rem; bottom: .65rem; padding: .22rem .44rem; border-radius: 3px;
  color: white; background: #182326cc; max-width: calc(100% - 1.3rem); font-size: .66rem; line-height: 1.35; font-weight: 560;
}
.card-body .kicker b { padding-inline: .13em; color: #788fce; }
.catalogue { padding-top: 0; }
.catalogue .page-intro { padding-bottom: 1rem; }
.catalogue .chips:not(:empty) { margin-bottom: 1rem; }
.list-location { display: flex; align-items: center; gap: .32rem; color: var(--muted); }
.list-location svg { width: 16px; height: 16px; }
.toolbar .results-count { margin-left: auto; }
.sort-control { display: flex; }
.sort-control > svg { display: none; }
.detail-price { font-size: clamp(1.85rem, 3.9vw, 3.2rem); color: var(--ink) !important; font-weight: 720; line-height: 1.12; letter-spacing: -.055em; }
.detail-price > small { font-size: .96rem; letter-spacing: 0; font-weight: 550; color: var(--muted); }
.detail-copy .inventory-note { margin: 1.2rem 0; }
.detail-copy .specs { border: 0; padding-top: 0; }
.photo-credit { font-size: .76rem; line-height: 1.45; color: var(--muted); margin-top: .55rem; }
.photo-credit a { text-decoration: underline; text-underline-offset: .15em; }
.detail-notes { margin-top: clamp(1.7rem, 4vw, 3.4rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.detail-notes > h2 { font-size: clamp(1.45rem, 2.35vw, 2.1rem); letter-spacing: -.04em; }
.detail-notes > p { color: var(--soft-ink); max-width: 70ch; margin-top: .6rem; }
.sources { margin-top: 1.2rem; border: 1px solid var(--line); border-radius: 6px; max-width: 780px; background: #fafbfb; }
.sources summary { padding: .85rem 1rem; color: var(--ink); font-weight: 670; font-size: .93rem; }
.sources[open] { padding-bottom: .85rem; }
.sources > p { margin: .35rem 1rem; font-size: .88rem; line-height: 1.55; color: var(--soft-ink); }
.sources > .reference-list { margin: .65rem 1rem 0; font-size: .86rem; }
.detail-copy p.photo-credit, .detail-copy p.inventory-note { line-height: 1.45; }
.data-grid > .box { padding: clamp(1.25rem, 2.6vw, 2.3rem); }
.data-grid > .box .btn { margin-top: .85rem; }
.menu-group { padding-block: .72rem; }
.menu-group h3 { font-size: 1.14rem; margin: .25rem 0 .3rem; letter-spacing: -.02em; }
.sheet form .sheet-foot { position: sticky; bottom: 0; margin-inline: -1.45rem; background: white; z-index: 1; }
.contact-text { padding: .85rem 1rem; border-radius: 6px; background: #eef4f0; }
.error-text { color: #972423; font-size: .88rem; }
@media(max-width: 740px) {
  .sheet form .sheet-foot { margin-inline: calc(-1 * var(--gutter)); }
}
@media(max-width: 520px) {
  .toolbar .results-count { width: 100%; margin: 0; }
  .data-grid:has(> .box) { grid-template-columns: 1fr; }
}
.chips:not(:empty){margin-bottom:1rem}
.inventory-note{font-size:.88rem;color:#47586a;line-height:1.45;display:flex;align-items:baseline;gap:.45rem;margin:.45rem 0 1.2rem}
.section-head:has(+.inventory-note){margin-bottom:.65rem}
.inventory-note span{font-weight:700;color:#264571}
.card-photo figcaption{position:absolute;bottom:.55rem;left:.55rem;line-height:1.2;background:#fffffff2;color:#233748;border-radius:3px;padding:.24rem .4rem;font-size:.7rem}
.list-location{display:flex;align-items:center;gap:.4rem;color:var(--muted)}
.card-body .kicker{font-size:.74rem}.kicker b{color:#7c8b9c;font-weight:500}
.results-count{margin-left:auto}.catalogue .page-intro{padding-top:0}
.detail-copy .detail-price{font-size:clamp(1.65rem,4vw,2.5rem);letter-spacing:-.04em;font-weight:720;color:var(--ink)}
.detail-price small{font-size:.95rem;font-weight:550;letter-spacing:0}
.photo-credit{font-size:.83rem;margin:.55rem 0 0;color:var(--muted)}.photo-credit a,.sources a{color:var(--blue-deep);text-decoration:underline}
.detail-notes{max-width:760px;margin-top:2rem}.detail-notes>p{margin:.75rem 0 1.5rem}.sources{margin-top:1.2rem;border-block:1px solid var(--line);padding:1rem 0;color:var(--soft-ink)}.sources summary{font-weight:650;color:var(--ink)}.sources>p{margin:.8rem 0}.reference-list li{margin:.2rem 0}
.error-text{color:#962a26}.menu-group h3{margin:.85rem 0 .35rem}.data-grid .btn{margin-top:1rem}.data-grid>.box{padding:clamp(1.2rem,3vw,2.2rem)}
.desktop-nav .active,.desktop-nav a[aria-current]{color:var(--blue-deep)}
figure figcaption a{color:inherit;text-decoration:underline;text-underline-offset:2px}
@media(max-width:590px){.data-grid{grid-template-columns:1fr}.results-count{font-size:.8rem}.toolbar{gap:.4rem}.sort-control>svg{display:none}.owner-page .detail-photo{margin-top:.8rem}}
@media(max-width:385px){.results-count{width:100%;margin:.2rem 0 0}}
.hero-owner{font-size:.88rem;color:var(--soft-ink);margin-top:1.05rem;text-decoration:underline;text-underline-offset:3px}
.hero-copy h1 .title-start{display:block;color:var(--ink);white-space:nowrap}.hero-copy h1{font-size:clamp(2.7rem,4.56vw,4.35rem)}
.state-tabs{display:flex;align-items:stretch;gap:.22rem;max-width:max-content;background:#f1f4f6;padding:.24rem;border-radius:8px;margin:.35rem 0 1rem;font-size:.9rem;font-weight:600}
.state-tab{color:#435467;padding:.5rem .85rem;min-height:40px;display:inline-flex;align-items:center;border-radius:5px}
.state-tab[aria-current]{background:white;color:#143dad;box-shadow:0 1px 3px #25374724}
.pager{display:grid;grid-template-columns:1fr auto 1fr;gap:.7rem;align-items:center;margin:2rem 0 0;color:#536474;font-size:.9rem}
.pager a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.5rem 1rem;justify-self:start;border:1px solid #bcc9d4;border-radius:5px;color:#123dca;font-weight:650}
.pager > :last-child{justify-self:end}
.card-photo>.status-ribbon,.detail-photo>.status-ribbon{display:block;position:absolute;top:.9rem;left:0;background:#b72035;color:#fff;font:750 .82rem/1 system-ui,sans-serif;letter-spacing:.09em;padding:.68rem 1.6rem .68rem .9rem;box-shadow:0 1px 2px #54121f33;clip-path:polygon(0 0,100% 0,calc(100% - .65rem) 50%,100% 100%,0 100%)}
.detail-photo>.available-tag{position:absolute;top:1rem;left:1rem;background:white;border:1px solid #dde3e7;border-radius:4px;padding:.3rem .55rem;color:#223b46;font-size:.82rem;font-weight:650}
.credits-list{padding-left:1.2rem}.credits-list li{padding:.45rem 0}.credits-list a{color:var(--blue-deep);text-decoration:underline}
@media(max-width:740px){.hero-copy h1{font-size:clamp(2.42rem,9vw,3.4rem)}}
.gallery-nav{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.85rem}.gallery-nav button{background:white;border:1px solid var(--line);border-radius:5px;padding:.38rem .65rem;min-height:40px}.gallery-nav button[aria-pressed=true]{color:var(--blue-deep);border-color:#7f99e4;background:#eff3ff}

.whole-card{display:flex;flex-direction:column;height:100%;color:var(--ink)}
.whole-card:hover h3,.whole-card:focus-visible h3{color:var(--blue-deep)}
.whole-card:hover .open-file span{transform:translateX(3px)}
.open-file{margin-top:.85rem;color:var(--blue-deep);font-weight:650;font-size:.9rem}
.open-file span{display:inline-block;transition:transform .15s}
.card-photo img,.hero-picture img{object-fit:cover}
.card-photo figcaption{bottom:.55rem;left:auto;right:.55rem;background:#17242add;color:white;padding:.22rem .44rem}
.local-album{min-width:0;outline-offset:6px}
.detail-photo.photo-stage{height:auto;aspect-ratio:1.38;background:#eff1ef;isolation:isolate}
.main-photo{width:100%;height:100%;background:none;border:0;padding:0;cursor:zoom-in}
.main-photo img{width:100%;height:100%;object-fit:contain}
.photo-arrow,.zoom-key,.frame-count{position:absolute;z-index:2;display:grid;place-items:center;line-height:1.1}
.photo-arrow{top:50%;transform:translateY(-50%);width:42px;height:42px;max-width:42px;border-radius:50%;border:1px solid #ffffff90;background:#ffffffee;color:#152f43;font-size:2.1rem;font-weight:400;padding:0 0 .2rem}
.photo-arrow.prev{left:9px}.photo-arrow.next{right:9px}
.photo-arrow:hover,.zoom-key:hover{background:white;box-shadow:0 2px 9px #1c325633}
.zoom-key,.frame-count{border:0;border-radius:6px;letter-spacing:.02em;font-size:.88rem;font-weight:650;padding:.42rem .62rem}
.zoom-key{right:.65rem;top:.75rem;display:flex;align-items:center;gap:.25rem;background:#fffffff0;color:#132c49;min-height:38px}
.frame-count{right:.65rem;bottom:.65rem;background:#152230d9;color:white;font-variant-numeric:tabular-nums}
.album-caption{margin:.65rem .1rem .5rem;color:var(--soft-ink);font-size:.93rem;line-height:1.45}
.album-thumbs{display:flex;gap:.43rem;max-width:100%;overflow-x:auto;padding:.2rem .1rem .45rem;overscroll-behavior-inline:contain;scrollbar-width:thin}
.album-thumb{position:relative;flex:0 0 72px;height:53px;padding:2px;background:white;border-radius:5px;border:2px solid transparent}
.album-thumb img{width:100%;height:100%;object-fit:cover;border-radius:2px}
.album-thumb[aria-pressed=true]{border-color:var(--blue)}
.detail-photo>.status-ribbon,.detail-photo>.available-tag{z-index:2;pointer-events:none}
.viewer{color:#fff;background:#11191d;border:0;border-radius:12px;max-width:98vw;width:min(1080px,95vw);max-height:95vh;max-height:95dvh;padding:.7rem 1rem;margin:auto;overflow:auto}
.viewer::backdrop{background:#0a1216d9}
.viewer-head,.viewer-foot{display:flex;align-items:center;gap:1rem;justify-content:space-between;padding:.19rem 0 .52rem}
.viewer-head h2{font-size:clamp(1rem,2.6vw,1.25rem);font-weight:650;line-height:1.3}
.viewer-close{width:42px;height:42px;border-radius:50%;border:1px solid #77868d;background:transparent;color:white;font-size:1.65rem;line-height:1}
.viewer-stage{position:relative;background:#0a1013;touch-action:pan-y pinch-zoom}
.viewer-stage img{width:100%;height:70vh;height:70dvh;object-fit:contain}
.viewer-foot{justify-content:flex-start;padding:.55rem .15rem .25rem;align-items:baseline;line-height:1.35}
#viewer-count{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.84rem;color:#c2d3dd}
#viewer-caption{font-size:.96rem}
.photo-stage{touch-action:pan-y pinch-zoom}
@media(max-width:740px){.detail-grid{gap:1.1rem}.photo-arrow{width:40px;height:40px}.album-thumb{flex-basis:67px;height:51px}.album-caption{font-size:.87rem}.viewer{width:100vw;max-width:100vw;padding:.6rem;border-radius:0}.viewer-stage img{height:66vh;height:66dvh}.zoom-key{top:.6rem;right:.5rem}}
@media(prefers-reduced-motion:reduce){.open-file span{transition:none}}

.album-pending{position:relative;min-height:11rem;display:grid;place-content:center;background:#f2f4f5;color:#465b69;font-size:.94rem;border:1px solid #e0e6ea}.detail-grid>.album-pending{min-height:13.5rem}.photo-arrow[hidden]{display:none}.local-album .album-thumbs:has(>.album-thumb:only-child){display:none}
.property-summary{margin:1.15rem 0 1rem;max-width:56ch;line-height:1.6;font-size:1.02rem;color:var(--ink)}

.album-thumbs { margin-top: .65rem; }
.viewer-foot { justify-content: center; }
.catalog-context {
  margin: 0;
  padding: .45rem 1rem;
  background: #f3f6fa;
  color: #36465c;
  text-align: center;
  font-size: .875rem;
  line-height: 1.35;
}
.catalog-context strong { color: #223a56; font-weight: 650; }
.catalog-context span { padding-inline: .18rem; }

.office-picture {
  aspect-ratio: 1 / 1;
  min-height: 0;
  background: #e8f3fe;
}
.office-picture > img { object-position: 50% 17%; }
@media (max-width: 740px) {
  .office-picture { aspect-ratio: 4 / 5; }
  .hero-copy h1 { font-size: clamp(1.95rem, 8.5vw, 3.4rem); }
  .hero-copy h1 .title-start { white-space: normal; }
}

.hero-copy .hero-owner {
  min-height: 48px;
  justify-content: center;
  background: #142f55;
  color: #fff;
  border: 1px solid #142f55;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
}

.hero-copy .hero-owner {
  width: 100%;
  max-width: 27rem;
  padding: .85rem 1.05rem;
  text-align: center;
  line-height: 1.25;
  background: #142f55;
  box-shadow: 0 3px 9px #142f5529;
}
.hero-copy .hero-owner:hover { background: #204578; }
.hero-copy .hero-owner:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.owner-page .office-picture { border-radius: 10px; }
@media (max-width: 740px) {
  .hero-copy .hero-owner { width: 100%; text-align: center; flex: none; }
}

.office-art {
  position: absolute;
  inset-inline: 0;
  top: 17%;
  transform: translateY(-17%);
  container-type: inline-size;
}
.office-art > img { display: block; width: 100%; height: auto; }
.office-sign {
  position: absolute;
  top: 21.17%;
  left: 60.85%;
  width: 33.6%;
  height: 11.5%;
  display: flex;
  flex-direction: column;
  border: .42cqw solid #fff;
  border-radius: 2.15cqw;
  overflow: hidden;
  background: #fff;
  color: #08347f;
  text-align: center;
  font-family: system-ui, sans-serif;
  line-height: 1.1;
}
.office-sign > strong {
  display: grid;
  place-items: center;
  height: 20%;
  flex: none;
  font-size: 2.76cqw;
  text-transform: uppercase;
}
.office-sign > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background: #07357e;
  color: #fff;
  font-size: 2.38cqw;
  border-radius: 1.2cqw;
}
.office-sign > div > span:last-child { font-size: 2.05cqw; }
.office-number {
  background: #f8fbff;
  color: #07357e;
  border-radius: 2cqw;
  padding: .24cqw 2.5cqw;
  font-size: 2.63cqw;
}

.featured-description { color: var(--soft-ink); margin: 0 0 1.25rem; }
.featured-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
@media (max-width: 740px) {
  .featured-links { display: grid; grid-template-columns: 1fr; }
  .featured-links .btn { justify-content: center; min-height: 48px; }
}

.hero-copy h1 .title-start { white-space: normal; }
.city-filter { display: grid; gap: .35rem; max-width: 19rem; margin: 0 0 1.25rem; font-weight: 650; }
.city-filter select { min-height: 46px; width: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: .5rem; background: #fff; }
.experience { padding-block: clamp(1.75rem, 5vw, 4rem); }
.experience-inner { background: var(--mist); border-radius: 12px; padding: clamp(1.25rem, 4vw, 3rem); }
.experience h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
.experience p { margin-top: .75rem; max-width: 63ch; color: var(--soft-ink); }
.experience ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: .5rem 1.5rem; margin: 1rem 0 0; padding-left: 1.2rem; }
