/* Sterling Shift — near-monochrome shell, black service ribbon, centred brand, objects on cool grey fields, pill actions. */
:root {
  --pbn-content-max: 1920px;
  --pbn-gutter-min: 24px;
  --pbn-gutter-max: 80px;
  --pbn-sidebar-min: 220px;
  --pbn-sidebar-max: 320px;
  --pbn-space-unit: 10px;
  --pbn-catalog-gap-min: 32px;
  --pbn-catalog-gap-max: 56px;
  --pbn-section-gap-max: 88px;
  --pbn-control-height: 48px;
  --pbn-header-nav-gap: 32px;
  --pbn-header-nav-min-height: 44px;
  --pbn-header-nav-max-height: 72px;
  --pbn-accent: #2cbcff;
  --pbn-responsive-padding: clamp(16px, 2.2vw, 32px);
  --ink: #222222;
  --ink-soft: #555555;
  --paper: #ffffff;
  --field: #f2f2f2;
  --line: #d8d8d8;
  --band: #0b1220;
  --gutter: clamp(var(--pbn-gutter-min), 2.6vw, var(--pbn-gutter-max));
  --section-gap: clamp(48px, 6vw, var(--pbn-section-gap-max));
  --catalog-gap: clamp(var(--pbn-catalog-gap-min), 3vw, var(--pbn-catalog-gap-max));
  --hover: 120ms;
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-color: var(--pbn-accent) var(--field); -webkit-text-size-adjust: 100%; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--pbn-accent); border-radius: 999px; }
::-webkit-scrollbar-track { background: var(--field); }
body { margin: 0; font: 400 16px/20px var(--font); color: var(--ink); background: var(--paper); overflow-x: hidden; }
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color var(--hover) ease, background-color var(--hover) ease; }
a:hover, a:focus-visible { color: #000; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, dl, figure { margin: 0; }
ul { padding: 0; list-style: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--pbn-accent); outline-offset: 2px; }
.shell { width: 100%; max-width: var(--pbn-content-max); margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.main { flex: 1 0 auto; }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 20px; border-radius: 999px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font: 400 16px/20px var(--font); white-space: nowrap; transition: background-color var(--hover) ease, color var(--hover) ease, border-color var(--hover) ease; }
.btn--sm { min-height: 36px; padding: 7px 16px; font-size: 14px; line-height: 18px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--outline:hover, .btn--outline:focus-visible, .btn--light:hover, .btn--light:focus-visible { background: var(--field); border-color: var(--ink); color: var(--ink); }
.btn--ink:hover, .btn--ink:focus-visible { background: #3a3a3a; color: var(--paper); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--ink); transition: background-color var(--hover) ease, border-color var(--hover) ease; }
.icon-btn:hover, .icon-btn:focus-visible { background: var(--field); border-color: var(--line); }
.icon-btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.icon-btn--ink:hover, .icon-btn--ink:focus-visible { background: #3a3a3a; border-color: #3a3a3a; }
.field { width: 100%; min-height: var(--pbn-control-height); padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: inherit; color: var(--ink); }
.field--area { min-height: 120px; resize: vertical; }

/* Ribbon */
.ribbon { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 40px; padding: 8px var(--gutter); background: var(--ink); color: var(--paper); font-size: 14px; line-height: 18px; }
.ribbon__message { text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ribbon__action { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.ribbon__action:hover, .ribbon__action:focus-visible { color: var(--line); }

/* Header */
.masthead { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 96px; max-height: 120px; padding: 0 var(--gutter); }
.masthead__left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.masthead__right { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-width: 0; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); }
.dir-nav { display: contents; }
.dir-nav__group { display: flex; align-items: center; gap: var(--pbn-header-nav-gap); min-height: var(--pbn-header-nav-min-height); max-height: var(--pbn-header-nav-max-height); }
.dir-nav__link { display: inline-flex; align-items: center; min-height: var(--pbn-header-nav-min-height); font-size: 16px; line-height: 20px; text-decoration: underline transparent; text-decoration-thickness: 1px; text-underline-offset: 8px; transition: text-decoration-color var(--hover) ease, text-underline-offset var(--hover) ease, color var(--hover) ease; }
.dir-nav__link:hover, .dir-nav__link:focus-visible { text-decoration-color: var(--ink); text-underline-offset: 5px; color: #000; }
.dir-nav__mobile-city { display: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: center; }
.brand__mark { width: 40px; height: auto; }
.brand__name { font-size: 22px; line-height: 26px; letter-spacing: 0.02em; white-space: nowrap; }
.profile-search { display: flex; align-items: center; min-height: 40px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--field); border: 1px solid transparent; transition: border-color var(--hover) ease, background-color var(--hover) ease; }
.profile-search:focus-within { border-color: var(--ink); background: var(--paper); }
.profile-search__input { width: clamp(120px, 12vw, 200px); border: 0; background: transparent; font: inherit; color: var(--ink); padding: 8px 0; min-height: 38px; }
.profile-search__input:focus { outline: none; }
.profile-search__submit { width: 32px; height: 32px; }
.search-toggle { display: none; }
.locale { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 6px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }
.locale__country { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 18px; white-space: nowrap; }
.locale__flag { font-size: 16px; line-height: 1; }
.city-launch { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 14px; line-height: 18px; white-space: nowrap; transition: background-color var(--hover) ease, color var(--hover) ease; }
.city-launch:hover, .city-launch:focus-visible { background: #3a3a3a; }
.city-launch__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--pbn-accent); }
.city-launch__switch { padding-left: 8px; border-left: 1px solid rgba(255,255,255,.35); color: var(--line); }

/* Hero — vignette band */
.hero { background: var(--band); color: var(--paper); }
.hero__box { position: relative; width: 100%; max-width: calc(66vh * var(--hero-w) / var(--hero-h)); aspect-ratio: var(--hero-w) / var(--hero-h); margin-inline: auto; overflow: visible; }
.hero__media { display: block; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
.hero__media img { width: 100%; height: auto; display: block; }
.hero__copy { position: absolute; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(10px, 1.6vh, 20px); width: 45%; max-width: 680px; padding: clamp(16px, 3vh, 40px) var(--gutter); }
.hero__title { font-size: clamp(22px, 1.4vw + 1.8vh, 36px); line-height: 1.2; font-weight: 400; text-wrap: balance; text-shadow: 0 1px 24px rgba(0,0,0,.5); }
.hero__lede { font-size: clamp(13px, 0.5vw + 0.9vh, 16px); line-height: 1.35; color: #d8dee8; max-width: 40ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero__copy .btn { align-self: flex-start; }

/* Showroom */
.showroom { display: grid; grid-template-columns: clamp(var(--pbn-sidebar-min), 18vw, var(--pbn-sidebar-max)) minmax(0, 1fr); gap: var(--catalog-gap); padding: clamp(32px, 4vw, 64px) var(--gutter) var(--section-gap); align-items: start; scroll-margin-top: 110px; }
.rail { position: sticky; top: 112px; max-height: calc(100vh - 128px); overflow-y: auto; padding-right: 4px; display: flex; flex-direction: column; gap: 32px; }
.filters__toolbar { display: none; }
.filters__head { display: grid; grid-template-columns: 1fr 40px; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.filters__title { font-size: 20px; line-height: 24px; font-weight: 400; }
.filters__close { display: none; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup__trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--pbn-control-height); padding: 12px 0; background: transparent; border: 0; text-align: left; font-size: 16px; line-height: 20px; transition: color var(--hover) ease, background-color var(--hover) ease; }
.fgroup__trigger:hover, .fgroup__trigger:focus-visible { background: var(--field); padding-inline: 8px; }
.fgroup__trigger[aria-expanded="true"] .fgroup__chevron { transform: rotate(180deg); }
.fgroup__chevron { transition: transform var(--hover) ease; flex: none; }
.fgroup__panel { display: grid; gap: 2px; padding: 0 0 14px; }
.fgroup__link { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; padding: 6px 8px; border-radius: 8px; font-size: 15px; line-height: 20px; color: var(--ink-soft); }
.fgroup__link:hover, .fgroup__link:focus-visible { background: var(--field); color: var(--ink); }
.fgroup__count { font-size: 13px; color: #777; }
.seo-note { max-height: 360px; overflow: hidden; padding: 20px; border-radius: 12px; background: var(--field); display: grid; gap: 10px; }
.seo-note__title { font-size: 18px; line-height: 24px; font-weight: 400; }
.seo-note__text { font-size: 14px; line-height: 20px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 11; -webkit-box-orient: vertical; overflow: hidden; }

.collection { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: space-between; gap: var(--catalog-gap) var(--pbn-catalog-gap-min); }
.collection__cell { display: flex; flex-direction: column; min-width: 0; }
.collection__cell--offset-card { padding-top: 40px; }
.collection__cell--small-card { align-items: flex-end; }
.collection__cell--small-card .card { max-width: 280px; }
.collection__empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; background: var(--field); border-radius: 16px; display: grid; gap: 8px; }
.collection__empty-title { font-size: 24px; line-height: 30px; }
.collection__empty-text { color: var(--ink-soft); }

/* Card — framed object */
.card { display: flex; flex-direction: column; width: 100%; min-width: 0; max-width: 320px; max-height: 480px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); overflow: visible; transition: background-color var(--hover) ease, border-color var(--hover) ease; }
.card:hover, .card:focus-within { background: var(--field); border-color: var(--ink); }
.card__frame { display: flex; justify-content: center; align-items: flex-start; padding: 14px; background: var(--field); border-radius: 13px 13px 0 0; border-bottom: 1px solid var(--line); }
.card__object { display: block; width: 100%; max-width: 200px; }
.card__object img { width: 100%; height: auto; display: block; border-radius: 6px; transition: opacity var(--hover) ease, filter var(--hover) ease; }
.card:hover .card__object img, .card__frame:focus-visible img { opacity: .82; }
.card__register { display: grid; gap: 6px; padding: 12px 16px 6px; }
.card__name { font-size: 18px; line-height: 22px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__facts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; line-height: 18px; color: var(--ink-soft); }
.card__fact { display: inline-flex; gap: 5px; }
.card__fact dt { color: #888; }
.card__fact dd { margin: 0; }
.card__fact--price dd { color: var(--ink); }
.card__action { display: flex; gap: 8px; padding: 6px 16px 14px; flex-wrap: wrap; }
.card__action .btn { flex: 1 1 auto; }

/* Pagination — load-more hybrid */
.pager { display: grid; justify-items: center; gap: 12px; width: min(100%, 560px); margin: var(--section-gap) auto 0; text-align: center; }
.pager__load { width: 100%; }
.pager__more { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); transition: background-color var(--hover) ease; }
.pager__more:hover, .pager__more:focus-visible { background: #3a3a3a; color: var(--paper); }
.pager__more.is-disabled { background: var(--field); color: var(--ink-soft); border-color: var(--line); }
.pager__summary { font-size: 14px; line-height: 18px; color: var(--ink-soft); }
.pager__fallback { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pager__step, .pager__num { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); transition: background-color var(--hover) ease, border-color var(--hover) ease; }
.pager__step:hover, .pager__num:hover, .pager__step:focus-visible, .pager__num:focus-visible { background: var(--field); border-color: var(--ink); }
.pager__num.is-current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager__step.is-disabled { color: #999; }

/* Footer — approved 25 ledger */
.footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer__ledger { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-areas: "brand navigation locations" "legal legal legal"; gap: 32px var(--catalog-gap); padding: 48px var(--gutter) 24px; }
.footer__brand { grid-area: brand; display: grid; gap: 16px; align-content: start; }
.footer__nav { grid-area: navigation; }
.footer__locations { grid-area: locations; }
.footer__legal { grid-area: legal; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 18px; color: var(--ink-soft); }
.footer__tagline { font-size: 14px; line-height: 20px; color: var(--ink-soft); max-width: 44ch; }
.footer__heading { font-size: 16px; line-height: 20px; font-weight: 400; margin-bottom: 14px; }
.footer__list { display: grid; gap: 8px; }
.footer__list a { display: inline-flex; min-height: 24px; align-items: center; font-size: 14px; line-height: 18px; color: var(--ink-soft); text-decoration: underline transparent; text-underline-offset: 4px; transition: color var(--hover) ease, text-decoration-color var(--hover) ease; }
.footer__list a:hover, .footer__list a:focus-visible, .footer__country:hover, .footer__country:focus-visible { color: var(--ink); text-decoration-color: var(--ink); }
.footer__country { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: underline transparent; }
.footer__note { font-size: 14px; color: var(--ink-soft); }

/* City dialog portal */
.city-portal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.city-portal__scrim { position: absolute; inset: 0; background: rgba(11, 18, 32, .62); }
.city-dialog { position: relative; z-index: 1; width: min(560px, 100%); max-height: min(80vh, 100%); display: grid; grid-template-rows: auto auto minmax(0, 1fr); background: var(--paper); color: var(--ink); border-radius: 16px; box-shadow: 0 24px 64px rgba(0,0,0,.35); overflow: hidden; }
.city-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 12px 24px; border-bottom: 1px solid var(--line); }
.city-dialog__head h2 { font-size: 20px; line-height: 24px; font-weight: 400; }
.city-dialog__search { margin: 12px 16px; min-height: var(--pbn-control-height); padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; color: var(--ink); background: var(--field); }
.city-dialog__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 16px 16px; overflow-y: auto; min-height: 0; }
.city-dialog__link { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 10px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); transition: background-color var(--hover) ease, border-color var(--hover) ease; }
.city-dialog__link:hover, .city-dialog__link:focus-visible { background: var(--field); border-color: var(--ink); color: var(--ink); }
.city-dialog__link--country { grid-column: 1 / -1; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.city-dialog__link--country:hover, .city-dialog__link--country:focus-visible { background: #3a3a3a; color: var(--paper); }

/* Phone popover — anchored, no backdrop */
.phone-pop { position: absolute; z-index: 90; display: grid; grid-template-columns: 1fr 32px; grid-template-areas: "head close" "value value"; gap: 4px 8px; width: 260px; padding: 12px 12px 14px 16px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.phone-pop__head { grid-area: head; font-size: 13px; line-height: 18px; color: var(--ink-soft); }
.phone-pop__value { grid-area: value; font-size: 18px; line-height: 24px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.phone-pop__value:hover, .phone-pop__value:focus-visible { color: #000; text-decoration-color: var(--pbn-accent); }
.phone-pop__close { grid-area: close; width: 32px; height: 32px; }

/* Profile — split column */
.profile { padding-bottom: var(--section-gap); }
.profile__split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.9fr); align-items: start; }
.gallery { position: relative; background: var(--field); border-right: 1px solid var(--line); }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__chapter { flex: 0 0 100%; scroll-snap-align: start; display: grid; place-items: center; padding: clamp(16px, 3vh, 40px) var(--gutter) clamp(60px, 9vh, 90px); min-height: 40vh; }
.gallery__trigger { display: block; padding: 0; border: 0; background: transparent; max-width: 100%; }
.gallery__trigger img { width: auto; height: auto; max-width: 100%; max-height: 62vh; border-radius: 4px; transition: opacity var(--hover) ease; }
.gallery__trigger:hover img, .gallery__trigger:focus-visible img { opacity: .86; }
.gallery__nav { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(16px, 3vh, 28px); display: flex; align-items: center; gap: 8px; }
.gallery__progress { flex: 1; display: flex; gap: 4px; margin-left: 12px; }
.gallery__segment { flex: 1; height: 2px; background: var(--line); transition: background-color var(--hover) ease; }
.gallery__segment.is-active { background: var(--ink); }
.panel { background: var(--paper); align-self: stretch; }
.panel__inner { position: sticky; top: 112px; display: grid; gap: 28px; padding: clamp(24px, 3vw, 40px) var(--gutter); }
.panel__crumb { font-size: 14px; line-height: 18px; color: var(--ink-soft); margin-bottom: 8px; }
.panel__title { font-size: 36px; line-height: 45px; font-weight: 400; }
.panel__heading, .chapter__title { font-size: 20px; line-height: 26px; font-weight: 400; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: var(--field); font-size: 14px; line-height: 18px; }
.chip__label { color: var(--ink-soft); }
.chip__label::after { content: ":"; }
.rates { position: sticky; top: 0; background: var(--field); border-radius: 12px; padding: 16px 18px 18px; }
.rates__table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 20px; }
.rates__table th, .rates__table td { padding: 8px 0; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.rates__table thead th { font-size: 13px; color: var(--ink-soft); }
.rates__table tbody tr:last-child th, .rates__table tbody tr:last-child td { border-bottom: 0; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.profile__chapters { display: grid; gap: var(--section-gap); padding: var(--section-gap) var(--gutter) 0; max-width: 1100px; }
.chapter__prose { color: var(--ink-soft); line-height: 24px; max-width: 70ch; }
.chapter__prose p + p { margin-top: 12px; }
.ledger__rows { display: grid; }
.ledger__row { display: flex; align-items: center; min-height: 44px; padding: 10px 0; border-top: 1px solid var(--line); }
.ledger__row:last-child { border-bottom: 1px solid var(--line); }
.ledger__row a { text-decoration: underline transparent; text-underline-offset: 4px; transition: text-decoration-color var(--hover) ease; }
.ledger__row a:hover, .ledger__row a:focus-visible { text-decoration-color: var(--ink); }
.terms__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 32px; }
.terms__label { font-size: 14px; line-height: 18px; color: var(--ink-soft); font-weight: 400; margin-bottom: 10px; }
.terms__list { display: flex; flex-wrap: wrap; gap: 8px; }
.term-pill { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; line-height: 18px; transition: background-color var(--hover) ease, border-color var(--hover) ease; }
a.term-pill:hover, a.term-pill:focus-visible { background: var(--field); border-color: var(--ink); }
.report__hint { color: var(--ink-soft); max-width: 60ch; margin-bottom: 20px; }
.report__form { display: grid; gap: 16px; max-width: 560px; }
.report__row { display: grid; gap: 6px; }
.report__label { font-size: 14px; color: var(--ink-soft); }
.report__file { grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.report__filename { font-size: 14px; color: var(--ink-soft); }
.report__submit { grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
.report__status { font-size: 14px; }

/* Gallery viewer — bottom sheet */
.viewer { position: fixed; inset: 0; z-index: 110; display: grid; align-items: end; }
.viewer__scrim { position: absolute; inset: 0; background: rgba(11, 18, 32, .55); }
.viewer__sheet { position: relative; z-index: 1; width: 100%; height: 88vh; display: grid; grid-template-rows: 36px minmax(0, 1fr) 44px; background: var(--paper); border-radius: 20px 20px 0 0; box-shadow: 0 -12px 48px rgba(0,0,0,.3); padding: 0 16px 8px; }
.viewer__grabber { display: grid; place-items: center; border: 0; background: transparent; }
.viewer__grabber span { display: block; width: 56px; height: 5px; border-radius: 999px; background: var(--line); transition: background-color var(--hover) ease; }
.viewer__grabber:hover span, .viewer__grabber:focus-visible span { background: var(--ink); }
.viewer__stage { display: grid; place-items: center; min-height: 0; }
.viewer__image { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.viewer__dots { display: flex; justify-content: center; align-items: center; gap: 8px; }
.viewer__dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 1px solid var(--ink); background: var(--paper); transition: background-color var(--hover) ease; }
.viewer__dot:hover, .viewer__dot:focus-visible, .viewer__dot.is-active { background: var(--ink); }

.page-body { padding: var(--section-gap) var(--gutter); max-width: 900px; }
.page-entry__title { font-size: 36px; line-height: 45px; font-weight: 400; margin-bottom: 24px; }

/* Tablet */
@media (max-width: 1100px) {
  .collection { grid-template-columns: repeat(2, minmax(0, 320px)); }
  .profile__split { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); }
  .profile-search__input { width: 120px; }
}
@media (max-width: 991px) {
  .masthead__row { grid-template-columns: auto 1fr auto; min-height: 72px; gap: 12px; }
  .menu-toggle { display: inline-flex; }
  .dir-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30; flex-direction: column; gap: 8px; padding: 16px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0,0,0,.12); }
  .dir-nav.is-open { display: flex; }
  .dir-nav__group { flex-direction: column; align-items: stretch; gap: 0; max-height: none; }
  .dir-nav__link { min-height: 44px; }
  .dir-nav__mobile-city { display: block; padding-top: 12px; border-top: 1px solid var(--line); }
  .dir-nav__mobile-city .city-launch { width: 100%; justify-content: center; min-height: 44px; }
  .locale { display: flex; gap: 6px; padding: 0 4px 0 10px; }
  .locale__country { font-size: 13px; }
  .city-launch__switch { display: none; }
  .city-launch__value { max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
  .brand__name { font-size: 20px; }
  .brand__mark { width: 34px; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  .ribbon { min-height: 32px; padding: 6px var(--pbn-responsive-padding); font-size: 13px; }
  .ribbon__action { display: none; }
  .masthead__row { padding: 0 var(--pbn-responsive-padding); }
  .profile-search { display: none; position: absolute; left: var(--pbn-responsive-padding); right: var(--pbn-responsive-padding); top: calc(100% + 8px); z-index: 31; }
  .profile-search.is-open { display: flex; }
  .profile-search__input { width: 100%; }
  .search-toggle { display: inline-grid; }
  .hero__box { --hero-w: var(--hero-mw); --hero-h: var(--hero-mh); max-width: calc(66vh * var(--hero-mw) / var(--hero-mh)); }
  .hero__media { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
  .hero__copy { width: 100%; max-width: none; justify-content: flex-end; padding: 16px var(--pbn-responsive-padding) 20px; background: linear-gradient(180deg, transparent 30%, rgba(11,18,32,.7) 70%); }
  .hero__title { font-size: 24px; line-height: 30px; }
  .hero__lede { -webkit-line-clamp: 2; }
  .showroom { display: flex; flex-direction: column; gap: 24px; padding: 24px var(--pbn-responsive-padding) var(--section-gap); }
  .rail { display: contents; overflow: visible; max-height: none; }
  .filters { order: 1; position: relative; }
  .filters__toolbar { display: flex; }
  .filters__open { width: 100%; justify-content: center; min-height: var(--pbn-control-height); }
  .filters__panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; max-height: 60vh; overflow-y: auto; padding: 8px 16px 16px; background: var(--paper); border: 1px solid var(--ink); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.14); }
  .filters__close { display: inline-grid; }
  .showroom__main { order: 2; }
  .seo-note { order: 3; }
  .collection { grid-template-columns: minmax(0, 320px); justify-content: center; gap: 28px; }
  .collection__cell--offset-card { padding-top: 0; }
  .collection__cell--small-card { align-items: stretch; }
  .collection__cell--small-card .card { max-width: 320px; }
  .pager { margin-top: 40px; }
  .footer__ledger { grid-template-columns: 1fr; grid-template-areas: "brand" "navigation" "locations" "legal"; gap: 28px; padding: 36px var(--pbn-responsive-padding) 20px; }
  .city-portal { padding: 0; align-items: end; }
  .city-dialog { width: 100%; max-height: 86vh; border-radius: 20px 20px 0 0; }
  .city-dialog__list { grid-template-columns: 1fr; }
  .phone-pop { position: fixed; left: 0 !important; right: 0; top: auto !important; bottom: 0; width: 100%; border-radius: 20px 20px 0 0; padding: 16px var(--pbn-responsive-padding) 24px; }
  .profile__split { grid-template-columns: 1fr; }
  .gallery { border-right: 0; border-bottom: 1px solid var(--line); }
  .gallery__chapter { padding: 16px var(--pbn-responsive-padding) 64px; min-height: 0; }
  .gallery__trigger img { max-height: 56vh; }
  .gallery__nav { left: var(--pbn-responsive-padding); right: var(--pbn-responsive-padding); }
  .panel__inner { position: static; padding: 24px var(--pbn-responsive-padding); gap: 22px; }
  .panel__title { font-size: 24px; line-height: 30px; }
  .rates { position: static; }
  .profile__chapters { padding: 40px var(--pbn-responsive-padding) 0; gap: 40px; }
  .viewer__sheet { height: 90vh; }
  .report__file, .report__submit { grid-template-columns: 1fr; }
}
@media (max-height: 640px) {
  .rail { top: 96px; max-height: calc(100vh - 104px); }
  .gallery__trigger img { max-height: 58vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; scroll-behavior: auto !important; }
}
[data-header-directory-nav] a:hover, [data-header-directory-nav] a:focus-visible, [data-header-nav-zone] a:hover { text-decoration-color: var(--ink); text-underline-offset: 5px; }
.showroom, .profile__chapters, .panel__inner, .footer__ledger { row-gap: calc(var(--pbn-space-unit) * 3.2); }
.card__register { gap: calc(var(--pbn-space-unit) * 0.6); }
/* Sweep fixes */
.dir-nav { display: flex; align-items: center; gap: var(--pbn-header-nav-gap); min-height: var(--pbn-header-nav-min-height); }
.card__fact dt, .fgroup__count, .pager__step.is-disabled { color: #555; }
.city-launch { min-height: 44px; padding: 0 14px; }
.locale { min-height: 48px; padding: 0 4px 0 14px; }
.collection { grid-template-columns: repeat(3, 240px); }
.card { width: 240px; max-width: 240px; }
.card__frame { padding: 6px 6px 4px; }
.card__object { max-width: 100%; }
.card__object img { object-fit: contain; }
.card__register { padding: 8px 12px 2px; gap: 4px; }
.card__name { font-size: 16px; line-height: 20px; }
.card__facts { font-size: 13px; line-height: 16px; gap: 2px 10px; }
.card__action { padding: 4px 12px 10px; gap: 6px; }
.card__action { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px 10px 10px; }
.card__action .btn--sm { min-height: 32px; padding: 5px 6px; font-size: 12px; min-width: 0; }
.collection__cell--small-card .card { max-width: 240px; }
.footer__ledger { padding: 24px var(--gutter) 16px; gap: 16px var(--catalog-gap); row-gap: 16px; }
.footer__list { gap: 4px; }
.footer__list a { min-height: 22px; font-size: 13px; }
.footer__heading { margin-bottom: 8px; font-size: 14px; }
.footer__tagline { font-size: 13px; line-height: 18px; }
.footer__legal { padding-top: 12px; font-size: 13px; }
.footer__country { min-height: 32px; }
.footer__brand { gap: 8px; }
.showroom { grid-template-columns: clamp(236px, 18vw, var(--pbn-sidebar-max)) minmax(0, 1fr); }
.rail { padding-right: 0; }
.hero__box { --box-w: var(--hero-w); --box-h: var(--hero-h); max-width: calc(66vh * var(--box-w) / var(--box-h)); aspect-ratio: var(--box-w) / var(--box-h); }
.hero__lede, .seo-note__text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.seo-note { overflow: hidden; max-height: 360px; }
.seo-note__text { max-height: 260px; overflow: hidden; }
.gallery__track { gap: 8px; padding: 16px var(--gutter) 72px; }
.gallery__chapter { flex: 0 0 auto; padding: 0; min-height: 0; display: block; }
.gallery__trigger img { height: min(56vh, 620px); width: auto; max-width: 84vw; max-height: none; }
.viewer { display: block; }
.viewer__sheet { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; height: 82vh; grid-template-rows: 36px minmax(0, 1fr) 44px; }
.viewer__stage { height: calc(82vh - 88px); }
.viewer__image { max-height: calc(82vh - 88px); }
@media (max-width: 1100px) { .collection { grid-template-columns: repeat(2, 240px); } }
@media (max-width: 767px) {
  .collection { grid-template-columns: 240px; }
  .card, .collection__cell--small-card .card { max-width: 240px; }
  .showroom { padding-top: 8px; gap: 12px; }
  .rates { position: sticky; top: 80px; }
  .gallery__track { padding: 12px var(--pbn-responsive-padding) 64px; }
  .gallery__trigger img { height: min(52vh, 520px); max-width: 88vw; }
  .viewer__sheet { height: 82vh; }
  .hero__box { --box-w: var(--hero-mw); --box-h: var(--hero-mh); }
  .hero__title { font-size: 22px; line-height: 28px; }
  .hero__lede { font-size: 13px; line-height: 18px; }
}
.card__object { max-width: 100%; }
.seo-note { padding: 16px; gap: 8px; }
.seo-note__text { max-height: 160px; }
@media (max-width: 991px) {
  .dir-nav { display: none; }
  .dir-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
}
@media (max-width: 767px) {
  .showroom { padding-top: 4px; gap: 8px; }
  .filters__head { grid-template-columns: 1fr 44px; }
  .filters__close { width: 44px; height: 44px; }
  .viewer__sheet { height: 80vh; }
  .viewer__stage, .viewer__image { height: auto; max-height: calc(80vh - 88px); }
}
/* Repair #1 */
.gallery, .panel { min-width: 0; }
.gallery__track { max-width: 100%; }
.profile__split { grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.9fr); }
@media (max-width: 1100px) { .profile__split { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); } }
@media (max-width: 991px) {
  .masthead__row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .masthead__right { gap: 8px; }
  .brand__name { font-size: 17px; }
}
@media (max-width: 767px) {
  .profile__split { grid-template-columns: minmax(0, 1fr); }
  .filters__panel { max-height: min(50vh, calc(100vh - 140px)); overscroll-behavior: contain; }
  .locale__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .locale__country { min-width: 24px; min-height: 44px; justify-content: center; }
}
@media (max-width: 767px) {
  .showroom { align-items: stretch; }
  .filters { width: 100%; }
  .filters__panel { position: absolute; top: calc(100% + 8px); max-height: none; overflow: visible; }
  .city-launch__value { max-width: none; overflow: visible; text-overflow: clip; white-space: normal; font-size: 12px; line-height: 14px; text-align: left; }
  .city-launch { padding: 4px 12px; }
  .gallery__track { flex-wrap: wrap; overflow: visible; gap: 12px; scroll-snap-type: none; padding-bottom: 16px; }
  .gallery__chapter { flex: 0 0 100%; display: block; }
  .gallery__trigger { width: 100%; }
  .gallery__trigger img { width: 100%; max-width: 100%; height: auto; max-height: none; }
  .gallery__nav { display: none; }
}
/* Repair #2 */
.card__facts { gap: 2px 8px; }
.viewer { position: fixed; top: auto; left: 0; right: 0; bottom: 0; height: 82vh; display: block; background: var(--paper); border-radius: 20px 20px 0 0; box-shadow: 0 -12px 48px rgba(0,0,0,.3); }
.viewer__scrim { position: fixed; inset: 0; z-index: -1; }
.viewer__sheet { position: static; height: 100%; border-radius: 0; box-shadow: none; }
.viewer__stage { height: auto; max-height: calc(82vh - 88px); }
.viewer__image { max-height: calc(82vh - 88px); }
.card__action { padding: 2px 10px 8px; }
.card__register { padding: 6px 12px 2px; }

/* Header objects never share pixels: the right group shrinks before it can reach the centred brand. */
.masthead__left { min-width: 0; }
.masthead__right { min-width: 0; flex-wrap: nowrap; }
.profile-search { flex: 1 1 120px; min-width: 0; max-width: 260px; }
.profile-search__input { width: auto; flex: 1 1 40px; min-width: 0; }
.locale { flex: 0 0 auto; }
.brand { min-width: 0; max-width: 100%; }
@media (max-width: 1280px) {
  .city-launch__switch { display: none; }
}
@media (max-width: 1100px) {
  .city-launch__value { max-width: 120px; white-space: normal; overflow: visible; text-overflow: clip; font-size: 12px; line-height: 14px; text-align: left; }
  .city-launch { padding: 4px 12px; }
  .locale__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .locale__country { min-width: 24px; justify-content: center; }
}
@media (max-width: 991px) {
  .profile-search { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px); z-index: 31; max-width: none; }
  .profile-search.is-open { display: flex; }
  .profile-search__input { width: 100%; }
  .search-toggle { display: inline-grid; }
}
@media (max-width: 560px) {
  .brand__name { display: none; }
  .brand__mark { width: 40px; flex: 0 0 40px; }
  .city-launch__value { max-width: 80px; }
  .masthead__right { gap: 6px; }
}
/* iPad portrait: rail + two fixed 240px cards exceeded 768px; the cards flex down before the page scrolls sideways. */
@media (max-width: 860px) and (min-width: 768px) {
  .showroom { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
  .collection { grid-template-columns: repeat(2, minmax(0, 240px)); gap: 20px 16px; justify-content: start; }
  .card, .collection__cell--small-card .card { width: 100%; max-width: 240px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .masthead__row { grid-template-columns: 1fr auto 1fr; }
}
