/* ============================================================
   Front Range Modern - The Night Showroom
   Single stylesheet. Custom properties first.
   ============================================================ */

/* ---- Fonts (self-hosted, latin subset, variable) ---- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  --espresso: #1A1512;
  --walnut-shadow: #26201A;
  --gallery-cream: #EFE6D8;
  --taupe: #A2917F;
  --cognac: #C77B3B;
  --brass: #B3985F;

  --brass-hairline: rgba(179, 152, 95, 0.25);
  --brass-hairline-strong: rgba(179, 152, 95, 0.45);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;

  --step-hero: clamp(2.8rem, 7vw, 5.5rem);
  --step-h2: clamp(1.8rem, 4vw, 3rem);
  --step-body: 1.0625rem;
  --step-placard: 0.8125rem;
  --step-eyebrow: 0.75rem;

  --section-gap: clamp(5rem, 12vh, 9rem);
  --radius: 2px;
  --track: 0.12em;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --nav-h: 60px;
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--step-body);
  line-height: 1.65;
  color: var(--gallery-cream);
  background: var(--espresso);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }

/* ---- Film grain overlay ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("../img/brand/grain.svg");
  background-size: 200px;
  opacity: 0.03;
  mix-blend-mode: overlay;
}

/* ---- Utilities ---- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--step-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--track);
  color: var(--taupe);
}
.eyebrow--cognac { color: var(--cognac); }
.section { padding-block: var(--section-gap); position: relative; z-index: 2; }
.hairline { border: 0; border-top: 1px solid var(--brass-hairline); }
.display { font-family: var(--font-display); font-optical-sizing: auto; }
.italic { font-style: italic; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--walnut-shadow); color: var(--gallery-cream);
  padding: 0.6rem 1rem; border: 1px solid var(--brass); border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Focus rings - brass */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: var(--track);
  padding: 0.95em 1.6em; border-radius: var(--radius);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--primary { background: var(--cognac); color: #1A1512; }
.btn--primary:hover { background: #d78c4c; transform: translateY(-2px); }
.btn--ghost { color: var(--gallery-cream); border: 1px solid var(--brass-hairline-strong); }
.btn--ghost:hover { border-color: var(--cognac); color: var(--cognac); }
.textlink {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.8125rem;
  text-transform: uppercase; letter-spacing: var(--track); color: var(--cognac);
  display: inline-flex; align-items: center; gap: 0.5em;
  transition: gap 0.25s var(--ease);
}
.textlink:hover { gap: 0.85em; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(26, 21, 18, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brass-hairline);
}
.nav__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
}
.wordmark {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.8125rem;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--gallery-cream);
  line-height: 1; white-space: nowrap;
}
.wordmark span { position: relative; }
.wordmark span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--brass);
}
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav__links a {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: var(--track); color: var(--taupe);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--gallery-cream); }
.nav__links a.nav__cta { color: var(--cognac); }
.nav__links a.nav__cta:hover { color: #d78c4c; }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__toggle svg { stroke: var(--gallery-cream); }

@media (max-width: 720px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--walnut-shadow);
    border-bottom: 1px solid var(--brass-hairline);
    padding: 0.5rem var(--gutter) 1.25rem;
    transform: translateY(-120%); transition: transform 0.35s var(--ease);
    visibility: hidden;
  }
  .nav__links.is-open { transform: translateY(0); visibility: visible; }
  .nav__links a { width: 100%; padding: 0.85rem 0; font-size: 0.9rem; border-bottom: 1px solid var(--brass-hairline); }
  .nav__links li:last-child a { border-bottom: 0; }
}

/* ============================================================
   Placard - the signature element
   ============================================================ */
.placard {
  display: block;
  font-family: var(--font-sans);
  border: 1px solid var(--brass);
  background: rgba(26, 21, 18, 0.72);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  padding: 0.85rem 1rem;
  border-radius: 0;
}
.placard__name {
  display: block;
  font-weight: 500; font-size: var(--step-placard);
  text-transform: uppercase; letter-spacing: var(--track);
  color: var(--gallery-cream); line-height: 1.25;
}
.placard__meta {
  display: block;
  margin-top: 0.4rem; font-size: 0.6875rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--taupe); line-height: 1.4;
}
.placard__row {
  margin-top: 0.6rem; padding-top: 0.55rem;
  border-top: 1px solid var(--brass-hairline);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.placard__price {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--gallery-cream);
  letter-spacing: 0;
}
.placard__status {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--taupe);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cognac);
  box-shadow: 0 0 8px rgba(199, 123, 59, 0.7);
}
.status--pending .status-dot { background: var(--brass); box-shadow: none; }
.status--sold .status-dot { background: var(--taupe); box-shadow: none; }
.status--sold .placard__status, .status--pending .placard__status { color: var(--taupe); }

/* ============================================================
   Piece card
   ============================================================ */
.card {
  position: relative; display: block; text-align: left;
  background: var(--walnut-shadow);
  border: 1px solid var(--brass-hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: var(--brass-hairline-strong); }
.card__frame {
  display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--espresso);
}
.card__frame::after { /* inset vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 60px 8px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.card__spotlight { /* cursor-follow gallery light */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 40%),
              rgba(255, 240, 214, 0.16), transparent 60%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.card:hover .card__spotlight { opacity: 1; }
.card__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.03) brightness(0.98);
  transition: transform 0.5s var(--ease);
}
.card:hover .card__img { transform: scale(1.03); }

/* Placeholder block where a photo will drop in */
.card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--walnut-shadow);
  color: var(--taupe);
}
.card__placeholder svg { width: 40px; height: 40px; opacity: 0.5; }

.card__placard { margin: 0; border-top: 0; }
.card .placard {
  border: 0; border-top: 1px solid var(--brass-hairline);
  background: transparent; backdrop-filter: none;
}

/* SOLD corner badge */
.sold-badge {
  position: absolute; top: 0; right: 0; z-index: 4;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.625rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--espresso);
  background: var(--brass); padding: 0.35rem 0.7rem;
}
.pending-badge {
  position: absolute; top: 0; right: 0; z-index: 4;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.625rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gallery-cream);
  background: rgba(26, 21, 18, 0.85); border: 1px solid var(--brass-hairline-strong);
  padding: 0.3rem 0.65rem;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--nav-h); position: relative; z-index: 2;
}
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  width: 100%;
}
.hero__copy .eyebrow { display: block; margin-bottom: 1.5rem; }
.hero__title {
  font-family: var(--font-display); font-optical-sizing: auto;
  font-weight: 340; font-size: var(--step-hero); color: var(--gallery-cream);
  line-height: 1.02; letter-spacing: -0.02em; max-width: 14ch;
}
.hero__title em { font-weight: 380; }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }

.hero__stage { position: relative; }
.hero__spotlight {
  position: absolute; inset: -12% -8% -12% -12%; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 30% 25%,
              rgba(255, 236, 205, 0.22), transparent 70%);
}
.hero__figure {
  position: relative; z-index: 1; aspect-ratio: 4 / 5;
  border: 1px solid var(--brass-hairline); border-radius: var(--radius);
  overflow: hidden; background: var(--walnut-shadow);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.03) brightness(0.98); }
.hero__figure .card__placeholder svg { width: 56px; height: 56px; }
.hero__figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 90px 12px rgba(0, 0, 0, 0.5);
}
.hero__placard {
  position: absolute; z-index: 2; left: -1rem; bottom: -1rem;
  min-width: 240px; max-width: 78%;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.9);
}

/* Hero stats strip */
.hero-stats {
  border-top: 1px solid var(--brass-hairline);
  border-bottom: 1px solid var(--brass-hairline);
}
.hero-stats ul {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem;
  padding-block: 1.25rem; justify-content: center;
}
.hero-stats li {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: var(--track); color: var(--taupe);
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { max-width: 420px; margin-inline: auto; width: 100%; }
  .hero { padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 3rem; }
  .hero-stats ul { justify-content: flex-start; }
}

/* ============================================================
   Section heading block
   ============================================================ */
.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 40rem; }
.section__head .eyebrow { display: block; margin-bottom: 1rem; }
.section__title { font-family: var(--font-display); font-size: var(--step-h2); color: var(--gallery-cream); }
.section__head p { margin-top: 1rem; color: var(--taupe); }
.section__foot { margin-top: clamp(2rem, 4vw, 3rem); }

/* ============================================================
   Featured - asymmetric editorial grid
   ============================================================ */
.featured-grid {
  display: grid; gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(4, 1fr);
}
.featured-grid .card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.featured-grid .card:nth-child(1) .card__frame { aspect-ratio: 4 / 5; }
.featured-grid .card:nth-child(3) { margin-top: clamp(0px, 3vw, 2.5rem); }
.featured-grid .card:nth-child(5) { margin-top: clamp(0px, 3vw, 2.5rem); }

@media (max-width: 860px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid .card:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .featured-grid .card:nth-child(1) .card__frame { aspect-ratio: 16 / 11; }
  .featured-grid .card:nth-child(3),
  .featured-grid .card:nth-child(5) { margin-top: 0; }
}
@media (max-width: 520px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid .card:nth-child(1) { grid-column: span 1; }
  .featured-grid .card:nth-child(1) .card__frame { aspect-ratio: 4 / 5; }
}

/* ============================================================
   The Standard - split with detail photo + makers strip
   ============================================================ */
.craft-grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
  grid-template-columns: 1fr 1fr;
}
.craft__body h3 {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: var(--track); color: var(--cognac);
  margin-top: 1.75rem; margin-bottom: 0.5rem;
}
.craft__body h3:first-child { margin-top: 0; }
.craft__body p { color: var(--gallery-cream); opacity: 0.9; }
@media (max-width: 820px) { .craft-grid { grid-template-columns: 1fr; } }

/* Detail photo - same card frame treatment */
.standard__figure {
  border: 1px solid var(--brass-hairline); border-radius: var(--radius);
  background: var(--walnut-shadow);
}

/* Makers we hunt - placard strip */
.makers { margin-top: clamp(3rem, 6vw, 4.5rem); }
.makers__title { display: block; margin-bottom: 1.25rem; }
.makers__strip {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.maker-placard {
  font-family: var(--font-sans); font-weight: 500; font-size: var(--step-placard);
  text-transform: uppercase; letter-spacing: var(--track); color: var(--gallery-cream);
  border: 1px solid var(--brass-hairline); background: rgba(38, 32, 26, 0.5);
  padding: 0.7rem 1.1rem; white-space: nowrap;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.maker-placard:hover { border-color: var(--brass); color: var(--gallery-cream); }
@media (max-width: 640px) {
  .makers__strip {
    flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.75rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin; scrollbar-color: var(--brass-hairline-strong) transparent;
  }
  .makers__strip::-webkit-scrollbar { height: 6px; }
  .makers__strip::-webkit-scrollbar-thumb { background: var(--brass-hairline-strong); border-radius: 3px; }
  .maker-placard { flex: 0 0 auto; scroll-snap-align: start; }
}

/* ============================================================
   How it works - numbered timeline
   ============================================================ */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--brass-hairline); padding-top: 2.5rem;
}
.step__num {
  font-family: var(--font-display); font-size: 2.25rem; color: var(--cognac);
  line-height: 1; margin-bottom: 0.85rem;
}
.step h3 {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: var(--track);
  color: var(--gallery-cream); margin-bottom: 0.5rem;
}
.step p { color: var(--taupe); font-size: 0.95rem; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================================
   Recently placed - horizontal scroll strip
   ============================================================ */
.strip {
  display: flex; gap: 1.25rem; overflow-x: auto;
  padding-bottom: 1rem; scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--brass-hairline-strong) transparent;
}
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--brass-hairline-strong); border-radius: 3px; }
.strip .card { flex: 0 0 clamp(200px, 40vw, 240px); scroll-snap-align: start; }
.strip .card__frame { aspect-ratio: 4 / 5; }
.strip .placard__meta, .strip .placard__row { display: none; }
.strip .placard__name { font-size: 0.75rem; }

/* ============================================================
   Inquire / contact
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 5rem);
}
.contact__invite { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.4; max-width: 24ch; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-family: var(--font-sans); font-weight: 500;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: var(--track);
  color: var(--taupe); margin-bottom: 0.4rem;
}
.field input, .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: 1rem;
  color: var(--gallery-cream); background: var(--walnut-shadow);
  border: 1px solid var(--brass-hairline); border-radius: var(--radius);
  padding: 0.75rem 0.9rem; transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cognac); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--taupe); opacity: 0.7; }
.form-note { margin-top: 0.75rem; font-size: 0.8rem; color: var(--taupe); }
.form-note a { color: var(--cognac); }

.contact__direct dl { display: grid; gap: 1.25rem; }
.contact__direct dt {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: var(--track); color: var(--taupe);
  margin-bottom: 0.25rem;
}
.contact__direct dd a:hover { color: var(--cognac); }
.contact__direct dd { color: var(--gallery-cream); }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--brass-hairline);
  padding-block: 2.5rem; position: relative; z-index: 2;
}
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__nav a { font-family: var(--font-sans); font-weight: 500; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: var(--track); color: var(--taupe); }
.footer__nav a:hover { color: var(--gallery-cream); }
.footer__legal { font-size: 0.7rem; color: var(--taupe); letter-spacing: 0.04em; }

/* ============================================================
   Inventory page
   ============================================================ */
.page-band {
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vh, 6rem));
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}
.page-band .eyebrow { display: block; margin-bottom: 1rem; }
.page-band h1 { font-family: var(--font-display); font-size: var(--step-h2); }
.page-band p { margin-top: 1rem; color: var(--taupe); max-width: 46ch; }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--brass-hairline);
  border-bottom: 1px solid var(--brass-hairline);
  padding-block: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter-group { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.filter-btn {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: var(--track); color: var(--taupe);
  padding: 0.5rem 0.85rem; border-radius: var(--radius);
  border: 1px solid transparent; transition: all 0.2s var(--ease);
}
.filter-btn:hover { color: var(--gallery-cream); }
.filter-btn[aria-pressed="true"] { color: var(--espresso); background: var(--cognac); }
.toggle-group { display: flex; border: 1px solid var(--brass-hairline); border-radius: var(--radius); }
.toggle-group .filter-btn { border-radius: 0; margin: 0; }
.toggle-group .filter-btn[aria-pressed="true"] { background: var(--walnut-shadow); color: var(--gallery-cream); }

.inv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (max-width: 900px) { .inv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .inv-grid { grid-template-columns: 1fr; } }
.inv-empty { color: var(--taupe); padding: 3rem 0; text-align: center; }

/* ============================================================
   Detail overlay
   ============================================================ */
.overlay {
  position: fixed; inset: 0; z-index: 150;
  display: none; align-items: center; justify-content: center;
  padding: clamp(0px, 4vw, 3rem);
}
.overlay.is-open { display: flex; }
.overlay__scrim {
  position: absolute; inset: 0; background: rgba(14, 11, 9, 0.82);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.overlay__panel {
  position: relative; z-index: 1; width: min(1000px, 100%);
  max-height: 100%; overflow-y: auto;
  background: var(--walnut-shadow);
  border: 1px solid var(--brass-hairline-strong); border-radius: var(--radius);
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.9);
}
.overlay__close {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 4;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(26,21,18,0.8); border: 1px solid var(--brass-hairline);
  color: var(--gallery-cream); display: flex; align-items: center; justify-content: center;
}
.overlay__close:hover { border-color: var(--cognac); color: var(--cognac); }

.carousel { position: relative; background: var(--espresso); }
.carousel__track { display: flex; overflow: hidden; aspect-ratio: 4 / 5;
  transition: transform 0.35s var(--ease); }
.carousel__slide { flex: 0 0 100%; width: 100%; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.03) brightness(0.98); }
.carousel__slide .card__placeholder svg { width: 56px; height: 56px; }
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(26,21,18,0.75); border: 1px solid var(--brass-hairline);
  color: var(--gallery-cream); display: flex; align-items: center; justify-content: center;
}
.carousel__arrow:hover { border-color: var(--cognac); color: var(--cognac); }
.carousel__arrow--prev { left: 0.75rem; }
.carousel__arrow--next { right: 0.75rem; }
.carousel__dots { position: absolute; bottom: 0.75rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; gap: 0.4rem; }
.carousel__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--taupe); opacity: 0.5; }
.carousel__dot[aria-current="true"] { background: var(--cognac); opacity: 1; }

.detail { padding: clamp(1.5rem, 3vw, 2.5rem); }
.detail__name { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.detail__eyebrow { display: block; margin-bottom: 0.85rem; }
.detail__specs { margin-top: 1.5rem; display: grid; gap: 0.85rem;
  border-top: 1px solid var(--brass-hairline); padding-top: 1.5rem; }
.detail__spec { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; align-items: baseline; }
.detail__spec dt { font-family: var(--font-sans); font-weight: 500; font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: var(--track); color: var(--taupe); }
.detail__spec dd { font-size: 0.95rem; color: var(--gallery-cream); }
.detail__story { margin-top: 1.25rem; color: var(--taupe); font-size: 0.95rem; }
.detail__pricerow {
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--brass-hairline);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.detail__price { font-family: var(--font-display); font-size: 1.6rem; }
.detail__actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }
.detail__actions .btn { flex: 1 1 auto; justify-content: center; }

@media (max-width: 760px) {
  .overlay { padding: 0; }
  .overlay__panel { grid-template-columns: 1fr; border-radius: 0; max-height: 100svh; width: 100%; }
  .carousel__track { aspect-ratio: 1 / 1; }
}

/* ============================================================
   About page
   ============================================================ */
.about-hero { padding-top: calc(var(--nav-h) + clamp(3rem, 8vh, 6rem)); }
.about-hero h1 { font-family: var(--font-display); font-size: var(--step-hero); max-width: 16ch; line-height: 1.02; }
.about-hero h1 em { font-style: italic; }
.about-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.about-body p { margin-bottom: 1.25rem; color: var(--gallery-cream); opacity: 0.92; }
.about-figure { aspect-ratio: 4 / 5; border: 1px solid var(--brass-hairline); border-radius: var(--radius);
  overflow: hidden; background: var(--walnut-shadow); position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-figure .card__placeholder svg { width: 56px; height: 56px; }
.about-service { border-top: 1px solid var(--brass-hairline); padding-top: 1.75rem; margin-top: 1.75rem; }
.about-service h3 { font-family: var(--font-sans); font-weight: 500; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: var(--track); color: var(--cognac); margin-bottom: 0.6rem; }
@media (max-width: 820px) { .about-body { grid-template-columns: 1fr; } .about-figure { position: static; } }

/* ============================================================
   Motion - reveals & load
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

.hero__copy .eyebrow, .hero__title, .hero__actions, .hero__stage {
  opacity: 0; animation: rise 0.6s var(--ease) forwards;
}
.hero__title { animation-delay: 0.1s; }
.hero__actions { animation-delay: 0.2s; }
.hero__stage { animation-delay: 0.15s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important;
    transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__copy .eyebrow, .hero__title, .hero__actions, .hero__stage { opacity: 1; animation: none; }
  body::before { display: none; }
  .card:hover .card__img { transform: none; }
  .carousel__track { transition: none; }
}
