/* Hallmark · shape: app screen · genre: modern-minimal · theme: Editorial
 * nav: equipment and premises, with a listing action · signature: the machine beside its asking price · states: results, empty, filter, details, draft · catalog: paper
 * axes: light/editorial/chromatic-green · posture: restrained · contrast: checked with palette ratios · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V4 · weakest: S, the machine and its local asking price replaced a generic welcome headline. */
@import url("../street/tokens.css");
@import url("./base.css");
@import url("../shared/brand.css");

:root {
  --heading: var(--font-display);
  --body: var(--font-body);
  --figures: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --photo-paper: var(--line);
  --clear: transparent;
  --color-paper: var(--paper);
  --color-ink: var(--ink);
  --color-muted: var(--muted);
  --color-rule: var(--line);
  --color-accent: var(--accent);
  --color-focus: var(--accent);
}

html, body { overflow-x: clip; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); }
.depot-wrap { max-width: 96rem; margin: 0 auto; padding-inline: clamp(1.1rem, 4.7%, 4.75rem); }
.skip { position: fixed; z-index: 10; inset: .6rem auto auto .6rem; padding: .7rem 1.1rem; background: var(--accent); color: var(--on-accent); transform: translateY(-190%); }
.skip:focus-visible { transform: none; }
.depot-header { display: flex; align-items: center; gap: 2.2rem; min-height: 5.4rem; border-bottom: 1px solid var(--line); }
.depot-name { display: inline-flex; align-items: center; gap: var(--space-sm); flex: 0 0 auto; text-decoration: none; }
.depot-name strong { font-family: var(--heading); font-size: 1.72rem; letter-spacing: -.065em; font-weight: 850; }
.depot-nav { display: flex; align-items: center; gap: clamp(var(--space-md), 2.5vw, 2.75rem); margin-left: auto; }
.depot-nav :is(a,button), .depot-footer button, .depot-crumb button, .depot-shelf button {
  color: var(--muted); background: var(--clear); border: 0; border-radius: 0; padding: 0; cursor: pointer; font: inherit; min-height: 44px;
}
.depot-nav :is(a,button) { font-size: .9375rem; }
.depot-post, .depot-button { min-height: 44px; padding: .65rem 1.4rem; font: 700 1rem/1.2 var(--body); cursor: pointer; border-radius: var(--radius); }
.depot-post { color: var(--ink); border: 1px solid var(--muted); background: var(--clear); }
.depot-button { color: var(--on-accent); border: 1px solid var(--accent); background: var(--accent); }
.depot-feature { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); margin-top: 1.75rem; margin-bottom: 2rem; min-height: 28.4rem; }
.depot-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 clamp(1.7rem, 3.2vw, var(--space-2xl)) 0 0; }
.depot-crumb { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .875rem; }
.depot-crumb button { color: var(--muted); }
.depot-copy h1 { font-family: var(--heading); font-weight: 900; font-size: clamp(4.25rem, 5.7vw, 6rem); letter-spacing: -.065em; line-height: 1.04; min-width: 0; overflow-wrap: break-word; margin: .55rem 0 0; }
.depot-copy h1 > span { display: block; white-space: nowrap; }
.depot-location { display: flex; align-items: center; gap: .45rem; color: var(--muted); margin: 1.2rem 0 0; }
.depot-location svg { flex-shrink: 0; }
.depot-sale { display: flex; justify-content: space-between; align-items: flex-end; gap: .85rem; width: 100%; border-top: 1px solid var(--line); margin-top: 2.25rem; padding-top: var(--space-md); }
.depot-priceline small { font-variant-numeric: tabular-nums; display: block; color: var(--muted); font-size: .875rem; }
.depot-priceline p { font: 650 clamp(2.1rem, 2.7vw, 2.95rem)/1.03 var(--figures); font-variant-numeric: tabular-nums; letter-spacing: -.045em; white-space: nowrap; margin: var(--space-2xs) 0 0; }
.depot-priceline p span { font-variant-numeric: tabular-nums; font-size: .48em; line-height: 1; margin-right: .36em; letter-spacing: 0; }
.depot-stage { position: relative; overflow: hidden; margin: 0; min-height: 26rem; background: var(--photo-paper); border: 1px solid var(--line); }
.depot-stage img { position: absolute; inset: 0; width: 100%; height: calc(100% - 3rem); max-width: none; display: block; object-fit: cover; object-position: center; filter: saturate(.8) contrast(1.03); }
.depot-stage figcaption { position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: var(--space-md); min-height: 3rem; background: var(--surface); color: var(--ink); padding-inline: var(--space-md); font: 400 .875rem/1.3 var(--body); }
.depot-spec { display: inline-flex; flex: none; white-space: nowrap; align-items: baseline; gap: var(--space-xs); }
.depot-spec > span, .depot-photo-note { color: var(--muted); }
.depot-spec b { font-weight: 650; font-variant-numeric: tabular-nums; }
.depot-spec + .depot-spec { border-left: 1px solid var(--line); padding-left: var(--space-md); }
.depot-photo-note { margin-left: auto; font-size: .75rem; }
.depot-catalog { border-top: 3px solid var(--ink); padding: var(--space-lg) 0 2rem; scroll-margin-top: var(--space-md); }
.depot-catalog-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); margin-bottom: 1.2rem; }
.depot-catalog-head h2 { font: 800 clamp(1.8rem, 2.4vw, 2.35rem)/1.12 var(--heading); letter-spacing: -.055em; }
.depot-catalog-head > span { white-space: nowrap; color: var(--muted); font-size: .9rem; }
.depot-catalog-head strong { color: var(--ink); font: 650 1rem var(--figures); }
.depot-search { margin-bottom: var(--space-lg); }
.depot-grid { display: grid; grid-template-columns: minmax(8rem, .52fr) minmax(0, 3fr); gap: clamp(1.25rem, 3.1vw, 3rem); align-items: start; }
.depot-shelf { border-top: 1px solid var(--line); }
.depot-shelf h3 { font: 700 1.12rem/1.3 var(--body); padding: var(--space-md) 0 var(--space-xs); }
.depot-shelf button { width: 100%; text-align: left; border-bottom: 1px solid var(--line); line-height: 1.4; padding: .4rem 0; }
.depot-inventory { min-width: 0; }
.depot-footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); color: var(--muted); border-top: 1px solid var(--line); padding: .8rem 0; font-size: .875rem; }
.depot-footer strong { font-family: var(--heading); color: var(--ink); font-size: 1.1rem; margin-right: .65rem; }
.depot-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; }
.depot-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.depot-wrap button:disabled { opacity: .55; cursor: not-allowed; }
.depot-wrap button[aria-busy="true"] { cursor: progress; }
@media (hover: hover) {
  .depot-wrap :is(.depot-nav, .depot-footer, .depot-shelf, .depot-crumb) :is(button, a):hover { color: var(--accent); text-decoration: underline; }
  .depot-post:hover { border-color: var(--accent); color: var(--accent); }
  .depot-button:hover { background: var(--ink); border-color: var(--ink); }
}
.depot-button:active, .depot-post:active { transform: translateY(1px); }

@media (max-width: 63rem) {
  .depot-feature { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); min-height: 25rem; }
  .depot-copy { padding-right: 1.6rem; }
  .depot-copy h1 { font-size: 4.2rem; }
  .depot-stage { min-height: 24rem; }
  .depot-button { padding-inline: .9rem; }
  .depot-priceline p { font-size: 2.15rem; }
}
@media (max-width: 45rem) {
  .depot-header { min-height: 4rem; flex-wrap: wrap; column-gap: var(--space-xs); row-gap: 0; }
  .depot-name { min-height: 3.9rem; }
  .depot-name strong { font-size: 1.5rem; }
  .depot-post { margin-left: auto; font-size: .875rem; padding-inline: var(--space-md); }
  .depot-nav { order: 1; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); gap: .45rem; }
  .depot-feature { margin-top: var(--space-md); margin-bottom: var(--space-lg); min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .depot-copy { display: contents; }
  .depot-crumb { grid-row: 1; }
  .depot-copy h1 { grid-row: 2; font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1.2; margin: 0; text-wrap: wrap; }
  .depot-copy h1 > span { display: inline-block; }
  .depot-location { grid-row: 3; margin: .35rem 0 .9rem; font-size: .9rem; }
  .depot-stage { grid-row: 4; min-height: 0; }
  .depot-stage img { position: static; height: auto; aspect-ratio: 16 / 9; }
  .depot-stage figcaption { position: static; flex-wrap: wrap; gap: var(--space-2xs) var(--space-sm); min-height: 44px; padding: var(--space-xs); }
  .depot-photo-note { white-space: nowrap; }
  .depot-spec + .depot-spec { padding-left: var(--space-xs); }
  .depot-sale { grid-row: 5; margin-top: 0; border: 0; padding: 1.1rem 0 0; align-items: center; flex-wrap: wrap; }
  .depot-button { flex: none; white-space: nowrap; padding-inline: .85rem; }
  .depot-catalog-head { flex-wrap: wrap; row-gap: var(--space-2xs); }
  .depot-catalog-head h2, .depot-nav :is(a,button), .depot-crumb button { white-space: nowrap; }
  .depot-nav { flex-wrap: wrap; }
  .depot-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .depot-shelf { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem .85rem; border-block: 1px solid var(--line); }
  .depot-shelf h3 { font-size: .875rem; padding: 0; }
  .depot-shelf button { width: auto; font-size: .875rem; border: 0; }
  .depot-footer { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

.depot-nav a { display: inline-flex; align-items: center; text-decoration: none; }

.catalog-brand-icon { color: var(--leaf); flex-shrink: 0; }

.depot-feature[data-public-only] .depot-button {display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:50rem){
  .depot-feature[data-public-only] .depot-copy h1{grid-row:1}
  .depot-feature[data-public-only] .depot-copy p{grid-row:2;margin:.65rem 0}
  .depot-feature[data-public-only] .depot-button{grid-row:3;justify-self:start;margin-bottom:var(--space-md)}
}
