/* ============================================================
   YIMING COMMERCIAL KITCHEN — precision stainless / industrial
   editorial design system. Local preview build only.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #16191d;
  --ink-2: #20242a;
  --ink-3: #2a2f36;
  --paper: #f6f5f1;
  --white: #ffffff;
  --steel-100: #f1f2f4;
  --steel-200: #e4e6e9;
  --steel-300: #c9ced3;
  --steel-400: #9fa6ae;
  --line: #d8d5cc;
  --line-dark: #394047;
  --text: #23272c;
  --muted: #5b626a;
  --muted-light: #aeb4bb;
  --orange: #e15c2c;
  --orange-deep: #c14a1d;
  --orange-soft: #f8e5dc;
  --focus: #e15c2c;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", "Segoe UI Mono", Consolas, monospace;
  --container: 1200px;
  --pad: clamp(20px, 4vw, 32px);
  --radius: 2px;
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
}

h3 {
  font-size: 1.08rem;
}

::selection {
  background: var(--orange);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  flex: none;
}

.eyebrow-index {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 22px;
  border: 1px solid currentColor;
  font-size: 0.875rem;
}

.eyebrow-light {
  color: var(--orange);
}

.section {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.section-paper {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: var(--ink);
  color: var(--steel-100);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.section-dark .section-lede {
  color: var(--muted-light);
}

.section-top {
  padding-top: clamp(40px, 6vw, 72px);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.section-head h2 {
  margin-bottom: 12px;
}

.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 64ch;
}

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-head-row .section-head {
  margin-bottom: clamp(24px, 4vw, 40px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-deep);
}

.btn-ghost {
  border-color: var(--steel-300);
  color: var(--text);
  background: var(--white);
}

.btn-ghost:hover {
  border-color: var(--text);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-block {
  width: 100%;
}

.text-link {
  font-weight: 600;
  color: var(--orange-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--text);
}

/* ---------- Image frame + reference badge ---------- */
.img-frame {
  position: relative;
  margin: 0;
  aspect-ratio: var(--ratio, 4 / 3);
  background: var(--steel-200);
  border: 1px solid var(--line);
  overflow: hidden;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ref-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 5px 9px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(22, 25, 29, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(2px);
}

.ref-badge-ai {
  color: #ffd9c7;
  border-color: rgba(225, 92, 44, 0.7);
}

/* ---------- Announcement strip ---------- */
.announce {
  background: var(--ink);
  color: var(--steel-300);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  padding: 8px var(--pad);
  display: flex;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.announce p {
  max-width: var(--container);
}

.announce-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
  margin-top: 8px;
}

/* ---------- Header & nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 245, 241, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: var(--orange);
  font-weight: 800;
  font-size: 1.35rem;
  border-radius: var(--radius);
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark-name {
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.wordmark-desc {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.is-active {
  border-bottom-color: var(--orange);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-toggle-icon {
  position: relative;
  width: 18px;
  height: 12px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle-icon::before {
  top: 0;
}

.nav-toggle-icon::after {
  top: 10px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 5px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 22px;
}

.hero-lede {
  color: var(--steel-300);
  font-size: 1.08rem;
  max-width: 52ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--muted-light);
}

.hero-visual {
  position: relative;
}

.hero-visual .img-frame {
  border-color: var(--line-dark);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.hero-caption {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--muted-light);
  margin-top: 12px;
  text-align: right;
}

/* ---------- Statement cards ---------- */
.statement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.statement-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 30px 26px;
  position: relative;
}

.statement-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--orange);
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  margin-bottom: 18px;
}

.statement-card h3 {
  margin-bottom: 10px;
}

.statement-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--steel-400);
  box-shadow: 0 16px 36px rgba(22, 25, 29, 0.1);
}

.product-card[hidden] {
  display: none;
}

.product-unpublished > :not([data-product-unavailable]) { display: none; }
.product-unpublished [data-product-unavailable] { display: block; min-height: 48vh; padding: 90px var(--pad); }
.product-unpublished [data-product-unavailable] h2 { color: var(--ink); margin-bottom: 14px; }
.product-unpublished [data-product-unavailable] p:not(.eyebrow) { color: var(--muted); margin-bottom: 22px; }

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--steel-200);
  border-bottom: 1px solid var(--line);
}

.product-card-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card-figure img {
  transform: scale(1.035);
}

.product-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card-cat {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.product-card h3 {
  font-size: 1.18rem;
}

.product-card-tag {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.product-card-cta {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--orange);
  align-self: flex-start;
  padding-bottom: 2px;
  margin-top: 8px;
}

.product-card:hover .product-card-cta {
  color: var(--orange-deep);
}

/* ---------- Matrix table ---------- */
.matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-dark);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
  font-size: 0.9rem;
}

.matrix-table th,
.matrix-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-dark);
  vertical-align: top;
}

.matrix-table thead th {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
  background: var(--ink-2);
}

.matrix-table tbody th {
  color: var(--white);
  font-weight: 700;
}

.matrix-table tbody td {
  color: var(--steel-300);
}

.matrix-table tbody tr:last-child th,
.matrix-table tbody tr:last-child td {
  border-bottom: 0;
}

.matrix-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted-light);
}

/* ---------- Workflow ---------- */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.workflow-step {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  position: relative;
}

.workflow-step:last-child {
  border-right: 0;
}

.workflow-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--steel-300);
}

.workflow-step::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 24px;
  width: 8px;
  height: 8px;
  background: var(--orange);
}

.workflow-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--steel-300);
  margin-bottom: 14px;
}

.workflow-step h3 {
  margin-bottom: 8px;
}

.workflow-step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Market grid ---------- */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.market-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.market-item {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px 20px;
}

.market-item h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.market-item p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Checklist ---------- */
.checklist-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.checklist li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--orange);
}

.checklist-side {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.checklist-side .btn {
  margin-top: 4px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(48px, 7vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  max-width: 18ch;
  margin-bottom: 12px;
}

.cta-inner p:not(.eyebrow) {
  color: var(--steel-300);
  max-width: 54ch;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--steel-300);
  border-top: 3px solid var(--orange);
  padding-top: clamp(48px, 7vw, 72px);
}

.site-footer .wordmark-name {
  color: var(--white);
}

.site-footer .wordmark-desc {
  color: var(--muted-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--steel-300);
  font-size: 0.92rem;
}

.footer-note {
  font-family: var(--font-mono);
  font-size: 0.875rem !important;
  color: var(--muted-light) !important;
  max-width: 46ch;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-whatsapp a {
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--white);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  padding-top: 20px;
  padding-bottom: 24px;
  font-size: 0.875rem;
  color: var(--muted-light);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ---------- Page hero ---------- */
.page-hero {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.page-hero-compact h1 {
  max-width: 22ch;
}

.page-lede {
  color: var(--steel-300);
  font-size: 1.06rem;
  max-width: 68ch;
  margin-top: 18px;
}

.page-hero-404 h1 {
  margin-bottom: 8px;
}

.page-hero-404 .hero-actions {
  margin-top: 26px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  margin-bottom: 28px;
  font-size: 0.875rem;
  color: var(--muted-light);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumb a:hover {
  color: var(--white);
  border-bottom: 1px solid var(--orange);
}

.breadcrumb [aria-current="page"] {
  color: var(--white);
}

/* ---------- Product detail ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.detail-info > p {
  color: var(--muted);
  margin-bottom: 14px;
}

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 28px;
}

/* Gallery */
.gallery-stage {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
}

.gallery-item {
  display: none;
  margin: 0;
}

.gallery-item.is-active {
  display: block;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.gallery-caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  color: var(--text);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.gallery-caption .ref-badge {
  position: static;
  max-width: 100%;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 14px 0 2px;
}

.gallery-count {
  padding: 5px 9px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text);
}

.gallery-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--white);
  background: rgba(22, 25, 29, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  transition: background 0.18s ease;
}

.gallery-btn:hover {
  background: var(--orange);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--steel-200);
  padding: 0;
  transition: border-color 0.18s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery-thumb.is-active {
  border-color: var(--orange);
}

/* Confirm panel */
.confirm-panel {
  border: 1px solid var(--orange);
  background: var(--orange-soft);
  padding: 22px 22px 8px;
}

.confirm-panel .eyebrow {
  color: var(--orange-deep);
}

.confirm-panel h3 {
  margin-bottom: 8px;
}

.confirm-panel > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.confirm-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 0.92rem;
  border-top: 1px solid rgba(225, 92, 44, 0.25);
}

.confirm-list li::before {
  content: "·";
  position: absolute;
  left: 8px;
  color: var(--orange-deep);
  font-weight: 800;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 24px 22px;
}

.feature-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--orange-deep);
  border-bottom: 1px solid var(--orange);
  margin-bottom: 14px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Spec table */
.spec-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.spec-table-wrap {
  border: 1px solid var(--line);
  background: var(--white);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 38%;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--steel-100);
  font-weight: 600;
}

.spec-table td {
  color: var(--text);
}

.spec-note {
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--steel-100);
}

.spec-side {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px 26px;
}

.spec-side h3 {
  margin-bottom: 10px;
}

.spec-side p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

/* ---------- Customization ---------- */
.custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.custom-grid > div > p {
  color: var(--muted);
}

.notice-block {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 30px 30px 24px;
}

.notice-block h2 {
  margin-bottom: 10px;
}

.notice-block p:not(.eyebrow) {
  color: var(--muted);
  max-width: 72ch;
}

.notice-block-warn {
  border-color: var(--orange);
  background: var(--orange-soft);
}

.notice-block-warn p:not(.eyebrow) {
  color: var(--text);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.rfq-form-wrap {
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(24px, 4vw, 40px);
}

.rfq-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field label {
  font-weight: 600;
  font-size: 0.9rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}

.field textarea {
  resize: vertical;
  min-height: 74px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(225, 92, 44, 0.35);
  outline-offset: 0;
  border-color: var(--orange);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b3261e;
  background: #fdf3f2;
}

.field-error {
  color: #b3261e;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 0;
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.field-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--orange);
}

.field-check label {
  font-weight: 400;
  font-size: 0.88rem;
  line-height: 1.5;
}

.field-check label a {
  text-decoration: underline;
  color: var(--orange-deep);
}

.form-disclaimer {
  font-size: 0.875rem;
  color: var(--muted);
  border-top: 1px dashed var(--steel-300);
  padding-top: 12px;
}

.rfq-preview {
  margin-top: 26px;
  border: 1px solid var(--orange);
  background: var(--orange-soft);
  padding: 24px;
  display: grid;
  gap: 12px;
}

.preview-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(225, 92, 44, 0.3);
}

.preview-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(225, 92, 44, 0.22);
  font-size: 0.88rem;
}

.preview-list dt {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
  padding-top: 2px;
}

.preview-list dd {
  margin: 0;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.preview-note {
  font-size: 0.875rem;
  color: var(--muted);
}

.contact-side {
  display: grid;
  gap: 14px;
}

.contact-side > p:not(.eyebrow) {
  color: var(--muted);
}

.contact-note {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 24px;
}

.contact-note h3 {
  margin-bottom: 12px;
}

.contact-steps {
  counter-reset: step;
  display: grid;
  gap: 10px;
}

.contact-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 34px;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--orange-deep);
  border: 1px solid var(--orange);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

/* WhatsApp card */
.wa-card {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 20px 22px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.wa-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.wa-card-label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.wa-card-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.wa-card-action {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--orange-deep);
}

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--steel-300);
  background: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.filter-btn:hover {
  border-color: var(--text);
}

.filter-btn.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.filter-status {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted);
  margin: -12px 0 18px;
  min-height: 1.2em;
}

/* ---------- Privacy prose ---------- */
.privacy-prose {
  max-width: 820px;
}

.privacy-prose h2 {
  font-size: 1.3rem;
  margin: 34px 0 10px;
}

.privacy-prose h2:first-of-type {
  margin-top: 0;
}

.privacy-prose p {
  color: var(--muted);
  margin-bottom: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 680px;
  }

  .detail-grid,
  .spec-grid,
  .contact-grid,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .workflow {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-step:nth-child(2) {
    border-right: 0;
  }

  .workflow-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .market-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .announce {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(22, 25, 29, 0.12);
    padding: 12px var(--pad) 20px;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 14px;
  }

  .nav-link {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-link:hover,
  .nav-link.is-active {
    border-bottom-color: var(--line);
    color: var(--orange-deep);
  }

  .nav-rfq {
    justify-content: center;
  }

  .statement-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .workflow {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-step:last-child {
    border-bottom: 0;
  }

  .market-grid,
  .market-grid-4 {
    grid-template-columns: 1fr;
  }

  .custom-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head-row {
    align-items: flex-start;
  }

  .preview-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 17px;
  }

  .hero-actions,
  .detail-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .detail-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-btn {
    width: 44px;
    height: 44px;
  }

  .wordmark-desc {
    letter-spacing: 0.16em;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Collection presentation — September 2026 */
:root { --paper: #f7f7f3; --orange: #c44821; --orange-deep: #a63715; --focus: #c44821; --container: 1380px; }
.site-header { background: rgba(255,255,255,.97); }
.announce { background: #202723; color: #e2e7e0; font-size: 14px; letter-spacing: .08em; }
.announce-dot { background: #e98055; }
.wordmark-mark { background: #c44821; color: #fff; }
.wordmark-name { font-size: 1.35rem; letter-spacing: .1em; }
.nav-rfq { gap: 30px; }
.hero-showcase { background: #f3f4ef; color: var(--ink); }
.hero-showcase::before { display: none; }
.hero-showcase .hero-grid { grid-template-columns: .94fr 1.06fr; gap: 50px; padding-top: 50px; padding-bottom: 34px; align-items: center; }
.hero-showcase .hero-copy { padding: 14px 0 28px; }
.hero-showcase .eyebrow { font-family: var(--font-sans); font-size: 14px; font-weight: 700; letter-spacing: .15em; margin-bottom: 28px; }
.hero-showcase h1 { font-size: clamp(40px,4.6vw,68px); line-height: 1.055; letter-spacing: -.045em; max-width: 12ch; margin-bottom: 27px; font-weight: 600; }
.hero-showcase h1 em { color: var(--orange); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.055em; }
.hero-showcase .hero-lede { color: #59615b; max-width: 43ch; font-size: 16px; line-height: 1.8; margin-bottom: 29px; }
.hero-showcase .hero-actions { gap: 24px; align-items: center; margin-bottom: 38px; }
.hero-showcase .btn { gap: 25px; padding: 14px 21px; font-size: 14px; }
.hero-contact { font-size: 14px; font-weight: 650; border-bottom: 1px solid #8e958c; padding: 10px 0; }
.hero-contact span { margin-left: 8px; }
.hero-detail { display: flex; align-items: center; gap: 13px; font-size: 14px; line-height: 1.75; }
.hero-detail-line { width: 3px; height: 35px; background: var(--orange); }
.hero-detail p { font-weight: 650; }
.hero-detail p span { color: #677067; font-weight: 400; font-size: 14px; }
.hero-showcase .hero-visual { align-self: stretch; min-width: 0; background: #e5e7e2; padding: 20px 28px 15px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.hero-visual-top { display: flex; justify-content: space-between; font-family: var(--font-mono); letter-spacing: .13em; font-size: 14px; color: #526057; }
.hero-product-image { display: block; margin: 9px -10px 0; }
.hero-product-image img { width: 100%; height: clamp(280px,29vw,420px); object-fit: contain; mix-blend-mode: multiply; }
.hero-product-caption { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #bec5bb; padding-top: 17px; gap: 15px; }
.hero-product-label { color: #576255; font-size: 14px; letter-spacing: .16em; font-weight: 650; }
.hero-product-caption h2 { font-size: 21px; font-weight: 550; margin: 6px 0; }
.hero-product-caption p { font-size: 14px; color: #626b60; }
.hero-product-arrow { width: 42px; height: 42px; border: 1px solid #949f90; border-radius: 50%; display: grid; place-items: center; font-size: 24px; flex-shrink: 0; transition: background .2s, color .2s; }
.hero-product-arrow:hover { background: var(--ink); color: white; }
.hero-reference { font-size: 14px; color: #626a60; margin-top: 12px; }
.hero-bottom { border-top: 1px solid #d8ddd2; }
.hero-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-top: 19px; padding-bottom: 19px; }
.hero-bottom-inner > span { font-size: 14px; letter-spacing: .13em; font-weight: 650; }
.hero-bottom-inner p { font-size: 14px; color: #5b655a; }
.hero-bottom-inner i { font-style: normal; padding: 0 15px; color: #a2aa9d; }
.hero-bottom-inner > a { font-size: 14px; white-space: nowrap; }
.hero-bottom-inner > a span { margin-left: 13px; }
#range-title { scroll-margin-top: 110px; }
@media (min-width: 769px) and (max-width: 1050px) {
  .nav-list { gap: 13px; }
  .site-nav { gap: 15px; }
  .nav-link { font-size: 14px; }
  .nav-rfq { padding: 10px 14px; gap: 15px; }
  .hero-showcase .hero-grid { gap: 25px; }
  .hero-showcase .hero-actions { gap: 10px; }
  .hero-bottom-inner i { padding: 0 5px; }
}
@media (max-width: 768px) {
  .hero-showcase .hero-grid { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 24px; gap: 12px; }
  .hero-showcase .hero-copy { padding: 0 0 24px; }
  .hero-showcase h1 { font-size: clamp(44px,8.4vw,64px); max-width: none; }
  .hero-showcase .eyebrow { font-size: 14px; margin-bottom: 22px; }
  .hero-showcase .hero-actions { margin-bottom: 25px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px; }
  .hero-showcase .hero-actions .btn { width: auto; }
  .hero-showcase .hero-visual { padding: 20px; }
  .hero-product-image img { height: 310px; }
  .hero-bottom-inner { flex-wrap: wrap; gap: 7px 15px; }
  .hero-bottom-inner p { width: 100%; order: 3; font-size: 14px; }
  .hero-bottom-inner > a { margin-left: auto; }
  .hero-bottom-inner i { padding: 0 4px; }
}
@media (max-width: 400px) {
  .hero-product-image img { height: 250px; }
  .hero-product-caption h2 { font-size: 18px; }
  .hero-showcase .btn { gap: 12px; padding: 13px 15px; }
  .hero-contact { font-size: 14px; }
}

/* Product-first collection, with the supplied worktable as its lead item. */
.home-collection { background: #fff; padding-top: 76px; padding-bottom: 76px; }
.home-collection .section-head-row { align-items: end; margin-bottom: 30px; }
.home-collection .section-head { max-width: 690px; }
.home-collection h2 { font-size: clamp(27px,3vw,40px); font-weight: 550; letter-spacing: -.035em; }
.home-collection .section-lede { font-size: 14px; }
.home-collection .text-link { font-size: 14px; flex-shrink: 0; }
.home-collection .product-grid { grid-template-columns: 1.12fr 1fr 1fr; gap: 22px; }
.home-collection .product-card { background: #f6f7f3; border: 0; }
.home-collection .product-card:first-child { grid-row: span 2; background: #e6e9e0; }
.home-collection .product-card:first-child .product-card-figure { flex: 1; min-height: 350px; display: flex; align-items: center; background: #e6e9e0; }
.home-collection .product-card:first-child .product-card-body { flex: 0; padding: 27px; }
.home-collection .product-card:first-child h3 { font-size: 26px; }
.home-collection .product-card-figure { aspect-ratio: 1.85; border-bottom: 0; background: #f6f7f3; }
.home-collection .product-card-figure img { object-fit: contain; mix-blend-mode: multiply; }
.home-collection .product-card-body { padding: 17px 20px 21px; gap: 6px; }
.home-collection .product-card h3 { font-weight: 550; font-size: 18px; }
.home-collection .product-card-cat { font-size: 14px; }
.home-collection .product-card-tag { font-size: 14px; line-height: 1.65; }
.home-collection .product-card-cta { font-size: 14px; }
.home-collection .ref-badge { font-size: 14px; padding: 3px 6px; letter-spacing: .04em; }
.home-collection .product-card:has(.ref-badge-ai) .product-card-figure img { object-fit: cover; }
@media (max-width: 900px) {
  .home-collection .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-collection .product-card:first-child { grid-row: auto; grid-column: span 2; }
  .home-collection .product-card:first-child .product-card-link { flex-direction: row; }
  .home-collection .product-card:first-child .product-card-figure { width: 50%; min-height: 260px; }
  .home-collection .product-card:first-child .product-card-body { width: 50%; align-self: center; }
}
@media (max-width: 560px) {
  .home-collection { padding-top: 48px; padding-bottom: 48px; }
  .home-collection .section-head-row { display: block; }
  .home-collection .text-link { display: inline-block; margin-top: 12px; }
  .home-collection .product-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .home-collection .product-card:first-child { grid-column: auto; }
  .home-collection .product-card:first-child .product-card-link { flex-direction: column; }
  .home-collection .product-card:first-child .product-card-figure { width: 100%; min-height: 260px; }
  .home-collection .product-card:first-child .product-card-body { width: 100%; padding: 20px; }
  .home-collection .product-card:first-child h3 { font-size: 22px; }
  .home-collection .product-card-figure { aspect-ratio: 1.5; }
}


/* Reading sizes: keep supporting text legible at every breakpoint. */
body { font-size: 17px; }
.nav-link, .btn, .hero-showcase .btn, .hero-contact,
.home-collection .text-link, .home-collection .product-card-cta {
  font-size: 16px;
}
.hero-showcase .hero-lede { font-size: 18px; line-height: 1.8; }
.home-collection .section-lede, .home-collection .product-card-tag,
.product-card-tag, .statement-card p, .workflow-step p,
.spec-table, .matrix-table, .field input, .field select, .field textarea {
  font-size: 16px;
  line-height: 1.75;
}
.hero-detail { font-size: 16px; }
.hero-detail p span, .hero-product-caption p { font-size: 15px; }
.hero-showcase .eyebrow, .hero-product-label, .hero-visual-top,
.hero-bottom-inner > span, .home-collection .product-card-cat {
  letter-spacing: .07em;
}
.hero-bottom-inner { flex-wrap: wrap; }
.hero-bottom-inner p { line-height: 1.8; }
.ref-badge, .home-collection .ref-badge {
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  line-height: 1.4;
  letter-spacing: .02em;
}
.wordmark-desc { letter-spacing: .06em; }
.eyebrow-index { width: auto; min-width: 30px; height: auto; padding: 2px 4px; }
.hero-visual-top { flex-wrap: wrap; gap: 8px 16px; }
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(22,25,29,.12); padding: 12px var(--pad) 20px;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; margin-bottom: 14px; }
  .nav-link { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-rfq { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-showcase .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-showcase .hero-actions .btn { width: 100%; justify-content: space-between; }
  .hero-contact { align-self: flex-start; }
  .hero-bottom-inner p { font-size: 14px; }
  .hero-detail p span { display: block; }
}
