/* Static, crawlable model + category pages. Shares the Lesenehise design tokens
   with models.css so the generated pages match the JS catalogue. */
:root {
  --ink: #17130e;
  --dark: #1c1812;
  --paper: #fbf8f2;
  --white: #fffdf9;
  --oak: #b08d57;
  --oak-dark: #8f6f3f;
  --muted: #756d62;
  --hairline: #ded5c7;
  --surface-muted: hsl(39 29% 91%);
  --header-height: 72px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3 { line-height: 1.2; margin: 0; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 500; letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; font-weight: 600; }

em { font-family: "Cormorant Garamond", serif; font-style: italic; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oak-dark);
  font-weight: 600;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header-height);
  display: flex; align-items: center;
  background: hsl(41 43% 97% / 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; }
.header-inner img { height: 26px; width: auto; }
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: 0.9rem; flex-wrap: wrap; }
.site-nav a:hover { color: var(--oak-dark); }
.header-cta {
  padding: 0.6rem 1.15rem; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font-size: 0.85rem; font-weight: 500; white-space: nowrap;
}
@media (max-width: 860px) { .site-nav { display: none; } }

/* ---------- breadcrumb ---------- */
.breadcrumb { padding: 1.5rem 0 0; font-size: 0.82rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; }
.breadcrumb li::after { content: "›"; margin-left: 0.45rem; color: var(--hairline); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a:hover { color: var(--oak-dark); }

/* ---------- hero ---------- */
.page-hero { padding: 1.75rem 0 2.5rem; }
.page-hero p.lede { margin: 1rem 0 0; max-width: 62ch; color: var(--body-strong, #4b443c); font-size: 1.05rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.tag {
  padding: 0.35rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--hairline); background: var(--white);
  font-size: 0.78rem; color: var(--muted);
}

/* ---------- fact strip ---------- */
.facts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 1.75rem; }
.fact { padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--hairline); border-radius: 14px; }
.fact strong { display: block; font-size: 1rem; font-weight: 600; }
.fact span { font-size: 0.85rem; color: var(--muted); }

/* ---------- generic section ---------- */
.section { padding: 2.75rem 0; border-top: 1px solid var(--hairline); }
.section > .container > .eyebrow { margin-bottom: 0.35rem; }
.prose { max-width: 68ch; margin-top: 1.25rem; }
.prose p { margin: 0 0 1rem; }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1.5rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; border: 1px solid var(--hairline); background: var(--surface-muted); }

/* ---------- spec list ---------- */
.specs { margin-top: 1.5rem; display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.spec {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 1rem; background: var(--white);
  border: 1px solid var(--hairline); border-radius: 10px; font-size: 0.9rem;
}
.spec span:last-child { color: var(--muted); white-space: nowrap; }
.spec.is-heading { background: var(--surface-muted); font-weight: 600; grid-column: 1 / -1; }

/* ---------- model grid (category pages) ---------- */
.model-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 2rem; }
.model-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.model-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px hsl(30 20% 40% / 0.13); }
.model-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--surface-muted); }
.model-card-body { padding: 1.1rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.model-card-body .kicker { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--oak-dark); font-weight: 600; }
.model-card-body h3 { font-size: 1.1rem; font-weight: 500; }
.model-card-body p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.model-card-body .more { margin-top: auto; padding-top: 0.75rem; font-size: 0.85rem; color: var(--oak-dark); font-weight: 500; }

/* ---------- category chips ---------- */
.category-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.category-nav a {
  padding: 0.55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--hairline); background: var(--white); font-size: 0.88rem;
}
.category-nav a[aria-current="page"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- prev / next ---------- */
.pager { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; font-size: 0.9rem; }
.pager a { color: var(--oak-dark); font-weight: 500; }

/* ---------- CTA ---------- */
.cta {
  margin: 3rem 0; padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
  background: var(--dark); color: var(--white); border-radius: 20px;
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
}
.cta h2 { max-width: 22ch; }
.cta .eyebrow { color: var(--oak); }
.button {
  display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px;
  background: var(--oak); color: var(--ink); font-weight: 600; font-size: 0.92rem;
}
.button:hover { background: var(--white); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding: 2rem 0 3rem; font-size: 0.85rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
