/* Byron Ceramic storefront V4 - quiet, editorial, mobile-first */
:root {
  --bg: #faf8f5;
  --bg-alt: #f2eee8;
  --surface: #ffffff;
  --ink: #1b1a18;
  --ink-2: #3d3a36;
  --muted: #6f6a63;
  --line: #e6e1d9;
  --line-strong: #cfc8bd;
  --accent: #8a6a4f;
  --ok: #1f6b3a;
  --err: #b42318;
  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 64px;
  --radius: 4px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  container-type: scroll-state;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
:target { scroll-margin-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-size-adjust: from-font;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-size-adjust: from-font;
  font-variant-numeric: lining-nums proportional-nums;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; overflow-wrap: break-word; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; background: var(--bg-alt); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.skip-link:focus-visible {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: #000; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--bg-alt); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.85rem; }
.btn-wa { background: #1f7a4d; border-color: #1f7a4d; }
.btn-wa:hover { background: #17603c; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn-primary { }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow svg { transition: transform .2s; }

/* Header: one compact row, retracts while scrolling down */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(250 248 245 / 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform .3s ease;
}
@container scroll-state((scrolled: bottom) and (scrollable: top)) {
  header.site-header { transform: translateY(-100%); }
}
header.site-header.is-hidden:not(:focus-within) { transform: translateY(-100%); }
header.site-header:focus-within { transform: none; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: var(--header-h);
}
.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  font-size-adjust: cap-height from-font;
}
.nav-primary { display: flex; gap: 22px; margin-inline-start: auto; }
.nav-primary a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav-primary a:hover, .nav-primary a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.quote-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 10px;
  background: none; border: 0; cursor: pointer;
  font-size: 0.9rem; color: var(--ink-2);
  white-space: nowrap;
}
.quote-link:hover { color: var(--ink); }
.count {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--ink); color: #fff;
  font-size: 0.7rem; font-weight: 600;
}
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: var(--ink);
  margin-inline-end: -10px;
}
@media (width < 1220px) {
  .header-cta { display: none; }
}
@media (width < 1060px) {
  .nav-primary, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-inline-start: auto; gap: 2px; }
  .quote-link .quote-text { display: none; }
  .brand { font-size: 1.2rem; letter-spacing: 0.12em; }
  :root { --header-h: 58px; }
}

/* Navigation drawer (mobile) */
.drawer {
  --drawer-width: min(20rem, 84dvw, 100dvw - 24px);
  --drawer-backdrop: 0;
  inset: 0;
  width: auto; height: auto;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  background: transparent; border: 0;
  overflow: visible;
}
.drawer::backdrop { background: #000; opacity: calc(var(--drawer-backdrop) / 2); }
.drawer-scroller {
  position: relative;
  display: grid;
  grid-template-columns: var(--drawer-width) 100%;
  height: 100%;
  overflow-x: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
@media (prefers-reduced-motion: no-preference) {
  .drawer-scroller { scroll-behavior: smooth; }
}
.drawer-scroller::after { content: ''; scroll-snap-align: end; scroll-initial-target: nearest; }
.drawer-sheet {
  display: flex; flex-direction: column;
  height: 100svh;
  padding: 18px 24px 28px;
  background: var(--bg);
  overflow-y: auto;
  scroll-snap-align: start;
  scrollbar-width: none;
}
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-close { width: 44px; height: 44px; display: inline-grid; place-items: center; background: none; border: 0; cursor: pointer; margin-inline-end: -10px; }
.drawer-links { list-style: none; margin: 0; padding: 0; }
.drawer-links a {
  display: block; padding: 14px 0;
  font-family: var(--serif); font-size: 1.5rem; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.drawer-sub { list-style: none; margin: 18px 0 0; padding: 0; }
.drawer-sub a { display: block; padding: 8px 0; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.drawer-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
@supports (animation-timeline: scroll()) {
  .drawer { timeline-scope: --drawer-fade; animation: fade-drawer-backdrop linear both; animation-timeline: --drawer-fade; }
  .drawer-scroller { scroll-timeline: --drawer-fade x; }
  @property --drawer-backdrop { syntax: '<number>'; inherits: true; initial-value: 0; }
  @keyframes fade-drawer-backdrop { 0% { --drawer-backdrop: 1 } 100% { --drawer-backdrop: 0 } }
}

/* Typography helpers */
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-alt { background: var(--bg-alt); }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px 32px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-title { font-size: clamp(1.9rem, 1.35rem + 1.8vw, 2.85rem); }
.section-note { color: var(--muted); font-size: 0.95rem; margin-top: 10px; max-width: 56ch; }

/* Hero */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.hero-title { font-size: clamp(2.35rem, 1.5rem + 2.5vw, 3.6rem); line-height: 1.06; letter-spacing: -0.015em; max-width: 14ch; }
.hero-lead { margin-top: 20px; font-size: 1.1rem; line-height: 1.65; color: var(--ink-2); max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; max-height: 600px; }
.hero-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: rgb(255 255 255 / 0.92); padding: 8px 12px;
  font-size: 0.8rem; color: var(--ink-2); text-decoration: none;
}
@media (width < 860px) {
  .hero { padding-top: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-media { order: -1; margin-inline: calc(var(--gutter) * -1); }
  .hero-media img { aspect-ratio: 4 / 3; max-height: none; }
  .hero-tag { display: none; }
  .hero-title { font-size: clamp(2.15rem, 1.4rem + 4vw, 2.85rem); max-width: none; }
  .hero-lead { font-size: 1rem; margin-top: 14px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Facts strip */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.fact { padding: 26px 24px; border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact strong { display: block; font-family: var(--serif); font-variant-numeric: lining-nums proportional-nums; font-size: 1.85rem; font-weight: 500; line-height: 1.15; }
.fact span { display: block; margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
@media (width < 860px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 20px 16px; }
  .fact:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact strong { font-size: 1.55rem; }
}

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cat-tile { text-decoration: none; display: block; }
.cat-tile .cat-img { overflow: hidden; }
.cat-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.cat-tile:hover img { transform: scale(1.035); }
.cat-tile .cat-name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 12px; font-size: 0.95rem; font-weight: 500; }
.cat-tile .cat-count { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
@media (width < 960px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}
@media (width < 600px) {
  .cat-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 44%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .cat-tile { scroll-snap-align: start; }
  .cat-tile img { aspect-ratio: 4 / 5; }
  .cat-tile .cat-name { flex-direction: column; gap: 0; font-size: 0.9rem; margin-top: 8px; }
}

/* Collection grid + cards */
.grid-search { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; max-width: 420px; }
.search-input {
  width: 100%; min-height: 48px; padding: 0 14px;
  font-size: max(1rem, 1em);
  border: 1px solid #76716a; border-radius: var(--radius);
  background: var(--surface); color: var(--ink);
}
@media (pointer: coarse) {
  .search-input { min-height: 52px; }
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.sort-toolbar { display: flex; align-items: center; gap: 10px; }
.sort-toolbar label { font-size: 0.85rem; color: var(--muted); }
.sort-select {
  min-height: 48px; padding: 0 34px 0 12px;
  border: 1px solid #76716a; border-radius: var(--radius);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231b1a18' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none; font-size: 0.92rem; cursor: pointer;
}
.series-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(14px, 2vw, 24px);
}
@media (width < 1100px) { .series-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (width < 760px) { .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }
.series-card { view-transition-name: match-element; min-width: 0; }
.series-card:nth-child(n+9) { content-visibility: auto; contain-intrinsic-size: auto none auto 340px; }
.series-card[hidden], .catalog-entry[hidden] { display: none !important; }
.series-link { display: block; text-decoration: none; }
.series-media { overflow: hidden; background: var(--bg-alt); }
.series-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s ease; }
.series-link:hover .series-media img { transform: scale(1.035); }
.series-body { padding-top: 14px; }
.series-title {
  font-size: 1.22rem; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.series-meta { margin-top: 6px; font-size: 0.82rem; color: var(--muted); }
.series-price { margin-top: 8px; font-size: 0.95rem; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.series-price small { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
@media (width < 760px) {
  .series-body { padding-top: 10px; }
  .series-title { font-size: 1.05rem; }
  .series-meta { font-size: 0.76rem; }
  .series-price { font-size: 0.9rem; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
  .series-media img, .cat-tile img { transition: none; }
}

/* Supply programs */
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.program { padding: 32px 32px 8px 0; }
.program + .program { padding-inline-start: 32px; border-inline-start: 1px solid var(--line-strong); }
.program-num { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.program h3 { font-size: 1.65rem; margin-top: 14px; }
.program-vol { margin-top: 8px; font-size: 0.92rem; font-weight: 500; color: var(--accent); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 0.93rem; color: var(--ink-2); }
.check-list svg { margin-top: 4px; color: var(--accent); }
@media (width < 860px) {
  .program-grid { grid-template-columns: 1fr; }
  .program, .program + .program { padding: 26px 0; border-inline-start: 0; }
  .program + .program { border-top: 1px solid var(--line-strong); }
  .program h3 { font-size: 1.45rem; }
}

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split-copy p { margin-top: 18px; color: var(--ink-2); max-width: 52ch; }
.split-copy .link-arrow { margin-top: 26px; }
@media (width < 860px) { .split { grid-template-columns: 1fr; gap: 26px; } }

/* Michelin & Fine-Dining Case Studies */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 36px); }
.case-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.case-card { display: flex; flex-direction: column; min-width: 0; }
.case-media { overflow: hidden; background: var(--bg-alt); }
.case-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.case-card:hover .case-media img { transform: scale(1.03); }
.case-kicker { margin-top: 16px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.case-card h3 { margin-top: 8px; font-size: 1.42rem; line-height: 1.18; }
.case-card p { margin-top: 10px; font-size: 0.92rem; color: var(--ink-2); }
.case-spec { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
@media (width < 960px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width < 680px) {
  .case-grid, .case-grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .case-card h3 { font-size: 1.28rem; }
}

/* Kiln & Workshop Documentary Gallery */
.kiln-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(18px, 2.5vw, 28px); align-items: stretch; }
.kiln-stack { display: grid; grid-template-rows: 1fr 1fr; gap: clamp(18px, 2.5vw, 28px); }
.kiln-figure { margin: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); }
.kiln-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; flex: 1; }
.kiln-figure--tunnel img { object-position: center 78%; }
.kiln-figure figcaption { padding: 14px 18px; font-size: 0.85rem; color: var(--ink-2); border-top: 1px solid var(--line); }
.kiln-figure figcaption strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
@media (width < 860px) {
  .kiln-grid { grid-template-columns: 1fr; }
  .kiln-stack { grid-template-rows: auto; }
}

/* 4-Step Craft Process */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line-strong); padding-top: 28px; margin-top: 36px; }
.process-step span { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.process-step h3 { font-size: 1.35rem; margin-top: 10px; }
.process-step p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-2); }
@media (width < 960px) { .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width < 560px) { .process-grid { grid-template-columns: 1fr; } }

/* CTA band + inline 1-field quick capture */
.cta-band { background: var(--ink); color: #f3efe9; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: 28px 48px; padding-block: clamp(48px, 7vw, 80px); }
.cta-band h2 { color: #fff; font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.75rem); max-width: 22ch; }
.cta-band p { margin-top: 10px; color: #bdb6ac; }
.cta-direct { margin-top: 14px; font-size: 0.88rem; color: #cfc8bd; }
.cta-direct a { color: #fff; font-weight: 500; }
.quick-lead-form { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-lead-form input[type="text"] {
  flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 14px;
  font-size: max(1rem, 1em);
  border: 1px solid #5d5850; border-radius: var(--radius);
  background: rgb(255 255 255 / 0.08); color: #fff;
}
.quick-lead-form input[type="text"]::placeholder { color: #a9a297; }
.quick-lead-form input[type="text"]:focus-visible { outline: 2px solid #fff; border-color: #fff; background: rgb(255 255 255 / 0.14); }
.quick-lead-form .btn { min-height: 48px; padding-inline: 22px; flex: none; }
.quick-lead-status { width: 100%; margin-top: 6px; font-size: 0.85rem; color: #e8e2d9; }
@media (width < 860px) { .cta-inner { grid-template-columns: 1fr; } }
@media (width < 520px) { .quick-lead-form .btn { flex: 1 1 100%; } }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--ink-2); }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand .brand { font-size: 1.25rem; }
.footer-brand p { margin-top: 12px; color: var(--muted); max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }
@media (width < 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Inner pages */
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin-inline: 6px; }
.page-head { padding-block: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.15rem, 1.45rem + 2.2vw, 3.4rem); }
.page-head p { margin-top: 14px; color: var(--ink-2); max-width: 60ch; font-size: 1.02rem; }
.grid-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 16px; margin-bottom: 28px; border-block: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.cat-pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; scrollbar-width: none; }
.cat-pill { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 18px; font-size: 0.84rem; text-decoration: none; color: var(--ink-2); background: var(--surface); }
.cat-pill:hover { border-color: var(--ink); color: var(--ink); }
.cat-pill[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.more-collections { margin-top: 38px; text-align: center; }
.empty-note { padding: 28px; background: var(--bg-alt); color: var(--ink-2); }

/* Series detail */
.detail { padding-block: clamp(20px, 3vw, 40px) clamp(48px, 6vw, 80px); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.thumb-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.thumb-strip button { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; }
.thumb-strip button:hover, .thumb-strip button[aria-pressed="true"] { border-color: var(--ink); }
.thumb-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.detail-info { position: sticky; top: calc(var(--header-h) + 24px); }
.detail-info h1 { font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem); }
.detail-sub { margin-top: 10px; color: var(--muted); }
.detail-price { margin-top: 24px; padding-block: 18px; border-block: 1px solid var(--line); }
.detail-price strong { display: block; font-size: 1.5rem; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.detail-price span { display: block; margin-top: 4px; font-size: 0.85rem; color: var(--muted); }
.detail-desc { margin-top: 22px; color: var(--ink-2); }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.detail-actions .btn:first-child { grid-column: 1 / -1; }
.detail-assure { margin-top: 18px; }
.note-box { margin-top: 22px; padding: 16px 18px; background: var(--bg-alt); font-size: 0.88rem; color: var(--ink-2); }
@media (width < 860px) {
  .detail-grid { grid-template-columns: 1fr; }
  .gallery { margin-inline: calc(var(--gutter) * -1); }
  .thumb-strip { padding-inline: var(--gutter); }
  .detail-info { position: static; }
}

/* Tables */
.table-scroll { overflow: auto; max-inline-size: 100%; container-type: inline-size; border-top: 1px solid var(--ink); }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.9rem; }
.spec-table th, .spec-table td { padding: 14px 12px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.spec-table thead th { position: sticky; inset-block-start: 0; z-index: 1; background: var(--bg); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.spec-table tbody th { position: sticky; inset-inline-start: 0; background: var(--bg); font-weight: 500; }
.sku-row-cell { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.sku-mini-thumb { width: 44px; height: 44px; object-fit: cover; flex: none; max-width: none; }
.price-cell { font-weight: 600; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.qty-input { width: 88px; min-height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.sku-responsive :is(th, td):first-child, .sku-responsive :is(th, td):nth-child(n+5) { width: 1%; white-space: nowrap; }
.sku-responsive :is(th, td):nth-child(2) { width: 24%; }
.sku-responsive :is(th, td):nth-child(3) { min-width: 15rem; }
.sku-responsive td:nth-child(4) { white-space: nowrap; }
@container (width < 640px) {
  .sku-responsive, .sku-responsive thead, .sku-responsive tbody, .sku-responsive th, .sku-responsive td { display: block; }
  .sku-responsive thead { display: none; }
  .sku-responsive { --label-3: "Size"; --label-4: "Weight"; }
  .sku-responsive tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "item price" "variant variant" "size size" "weight weight" "qty add";
    gap: 2px 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .sku-responsive th, .sku-responsive td { padding: 0; border: 0; }
  .sku-responsive :is(th, td):is(:first-child, :nth-child(n)) { width: auto; min-width: 0; white-space: normal; }
  .sku-responsive tbody th { position: static; grid-area: item; }
  .sku-responsive td:nth-child(2) { grid-area: variant; margin-top: 8px; font-weight: 500; }
  .sku-responsive td:nth-child(3) { grid-area: size; font-size: 0.82rem; color: var(--ink-2); }
  .sku-responsive td:nth-child(4) { grid-area: weight; font-size: 0.82rem; color: var(--ink-2); }
  .sku-responsive td:nth-child(3)::before { content: var(--label-3) " · "; color: var(--muted); }
  .sku-responsive td:nth-child(4)::before { content: var(--label-4) " · "; color: var(--muted); }
  .sku-responsive td:nth-child(5) { grid-area: price; align-self: center; }
  .sku-responsive td:nth-child(6) { grid-area: qty; margin-top: 10px; }
  .sku-responsive td:nth-child(7) { grid-area: add; margin-top: 10px; }
  .sku-responsive .qty-input { width: 100%; }
  .sku-responsive td:nth-child(7) .btn { min-height: 40px; padding: 0 22px; }
}
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; }
.spec-list div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.spec-list dt { font-size: 0.85rem; color: var(--muted); }
.spec-list dd { margin: 0; font-size: 0.92rem; }
@media (width < 860px) {
  .spec-list { grid-template-columns: 1fr; }
  .spec-list div { grid-template-columns: 1fr; gap: 4px; padding-block: 14px; }
}
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.photo-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (width < 760px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-weight: 500; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 20px; color: var(--ink-2); max-width: 70ch; }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin-top: 44px; }
.prose p, .prose ul { margin-top: 14px; color: var(--ink-2); }
.prose ul { padding-inline-start: 20px; }
.prose li + li { margin-top: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); margin-top: 40px; }
@media (width < 860px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Printable spec sheet & 2026 Master Catalog */
.sheet { background: #fff; border: 1px solid var(--line); padding: clamp(20px, 4vw, 40px); }
.sheet-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 2px solid var(--ink); }
.sheet-intro { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; margin-bottom: 24px; }
.sheet-intro h1 { font-size: 1.9rem; }
.sheet-intro p { margin-top: 10px; font-size: 0.9rem; color: var(--ink-2); }
@media (width < 600px) { .sheet-intro { grid-template-columns: 1fr; } }
.sheet-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-sublink { margin-top: 18px; }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.catalog-entry { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 16px; border: 1px solid var(--line); background: var(--bg); align-items: start; break-inside: avoid; }
.catalog-entry:nth-child(n+9) { content-visibility: auto; contain-intrinsic-size: auto none auto 168px; }
.catalog-entry img { width: 132px; height: 132px; object-fit: cover; background: var(--bg-alt); }
.catalog-entry h2 { font-size: 1.25rem; line-height: 1.18; }
.catalog-entry .cat-code { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.catalog-entry .cat-price { margin-top: 6px; font-weight: 600; font-size: 0.92rem; font-variant-numeric: lining-nums tabular-nums; }
.catalog-entry .cat-specs { margin-top: 6px; font-size: 0.8rem; color: var(--ink-2); line-height: 1.5; }
.catalog-entry .cat-link { display: inline-block; margin-top: 8px; font-size: 0.82rem; font-weight: 500; }
@media (width < 820px) { .catalog-grid { grid-template-columns: 1fr; } }
@media (width < 480px) {
  .catalog-entry { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .catalog-entry img { width: 92px; height: 92px; }
}

/* Dialogs */
dialog.modal {
  width: min(460px, calc(100vw - 24px));
  max-height: min(88dvh, 820px);
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 64px rgb(0 0 0 / 0.22);
}
dialog.modal::backdrop { background: rgb(20 18 16 / 0.5); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.dialog-head h2 { font-size: 1.5rem; }
.dialog-head .sub { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: none; cursor: pointer; border-radius: var(--radius); }
.icon-btn:hover { background: var(--bg-alt); }
.dialog-body { padding: 20px 22px 24px; }
@media (width < 600px) {
  dialog.modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: auto; border-radius: 8px 8px 0 0; margin-bottom: 0; }
}
.basket-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.basket-item img { width: 44px; height: 44px; object-fit: cover; }
.basket-item .qty-input { width: 80px; }
#basket-items-container { margin-bottom: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 6px; }
.field .hint { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 6px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font-size: max(1rem, 1em);
  border: 1px solid #8c857b; border-radius: var(--radius);
  background: var(--surface);
}
@media (pointer: coarse) {
  .field input:not([type="checkbox"]), .field select, .field textarea { min-height: 52px; }
}
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.direct-mail { margin-top: 14px; font-size: 0.84rem; color: var(--muted); text-align: center; }
.direct-mail a { color: var(--ink); font-weight: 500; }
.error-msg { display: none; margin-top: 6px; font-size: 0.8rem; color: var(--err); }
.field :is(:user-invalid, .user-invalid-fallback) { border-color: var(--err); background: #fff8f7; }
.field :is(:user-invalid, .user-invalid-fallback) ~ .error-msg { display: block; }
#inq-submit-status { margin-top: 10px; font-size: 0.88rem; font-weight: 500; }

/* AI concierge */
.chat-log { height: min(46dvh, 380px); overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 6px; font-size: 0.9rem; line-height: 1.5; }
.chat-msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); }
.chat-msg.user { align-self: flex-end; background: var(--ink); color: #fff; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 12px 22px 0; scrollbar-width: none; }
.chip-btn { flex: none; min-height: 34px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 17px; background: var(--surface); font-size: 0.8rem; cursor: pointer; }
.chip-btn:hover { border-color: var(--ink); }
.chat-form { display: flex; gap: 8px; padding: 12px 22px 18px; }
.chat-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
@media (width < 600px) { #concierge-dialog .chat-log { height: auto; flex: 1; } #concierge-dialog[open] { display: flex; flex-direction: column; } }

.ai-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 18px;
  border: 0; border-radius: 24px;
  background: var(--ink); color: #fff;
  font-size: 0.88rem; font-weight: 500; cursor: pointer;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.18);
  transition: bottom .25s ease;
}
@media (width < 760px) {
  .ai-fab { width: 52px; height: 52px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .ai-fab .fab-text { display: none; }
}

/* Consent bar: compact, non-modal, never covers the AI button */
.consent-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 35;
  display: none; align-items: center; gap: 14px;
  max-width: min(460px, calc(100vw - 32px));
  padding: 12px 14px 12px 16px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgb(0 0 0 / 0.12);
  font-size: 0.82rem; color: var(--ink-2);
}
.consent-bar.active { display: flex; }
.consent-actions { display: flex; gap: 6px; flex: none; }
.consent-actions .btn { min-height: 34px; padding: 0 12px; font-size: 0.8rem; }
@media (width < 760px) {
  .consent-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  body:has(.consent-bar.active) .ai-fab { bottom: 92px; }
}

@media print {
  .site-header, .site-footer, .ai-fab, .consent-bar, .no-print, .cta-band, dialog { display: none !important; }
  body { background: #fff; }
  .section, .section-tight { padding: 0; }
  .sheet { border: 0; padding: 0; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .catalog-entry { background: #fff; border-color: #ccc; }
}
