/* =========================================================
   KAHNOS — B2B Sanitary Ware Website
   Hand-written CSS, zero external dependencies.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #101215;
  --ink-2: #1b1f24;
  --ink-3: #2a2f36;
  --paper: #ffffff;
  --bone: #f7f5f2;
  --bone-2: #efece7;
  --line: #e3ded7;
  --line-dark: rgba(255, 255, 255, .15);
  --muted: #6d7178;
  --muted-light: rgba(255, 255, 255, .62);
  --brass: #8d6435;
  --brass-soft: #c9a878;
  --ok: #2f7a52;

  --font-display: Georgia, "Times New Roman", "Songti SC", serif;
  --font-sans: "Inter", "Helvetica Neue", "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

  --wrap: 1240px;
  --pad: 40px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.14; }
h3 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--ink); color: #fff; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- 3. Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 112px 0; }
.section--tight { padding: 76px 0; }
.section--bone { background: var(--bone); }
.section--ink { background: var(--ink); color: #fff; }
.section--line { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.section--ink .eyebrow { color: var(--brass-soft); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lede { margin-top: 18px; color: var(--muted); font-size: 1.0625rem; line-height: 1.75; }
.section--ink .lede { color: var(--muted-light); }

.grid { display: grid; gap: 28px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--ink-3); }
.btn--brass { background: var(--brass); color: #fff; }
.btn--brass:hover { background: #96693a; }
.btn--line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { padding: 11px 20px; font-size: .75rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .2s, gap .2s;
}
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  transition: height .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

/* transparent over hero, then solid on scroll */
.site-header--over { color: #fff; }
.site-header.is-scrolled,
.site-header--solid {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
  color: var(--ink);
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid currentColor; font-family: var(--font-display); font-size: 1rem; line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.1875rem; letter-spacing: .16em; }
.brand-sub { font-size: .5625rem; letter-spacing: .26em; text-transform: uppercase; opacity: .72; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: .8125rem; font-weight: 500; letter-spacing: .04em; opacity: .82;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: opacity .2s, border-color .2s;
}
.nav a:hover { opacity: 1; border-bottom-color: currentColor; }
.nav a.is-active { opacity: 1; border-bottom-color: currentColor; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; background: none; border: 1px solid currentColor;
  border-radius: var(--radius); position: relative; cursor: pointer; opacity: .85;
}
.nav-toggle span {
  position: absolute; left: 11px; width: 18px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; min-height: 94vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 72px; color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16,18,21,.86) 0%, rgba(16,18,21,.55) 42%, rgba(16,18,21,.18) 72%, rgba(16,18,21,.34) 100%),
    linear-gradient(180deg, rgba(16,18,21,.5) 0%, rgba(16,18,21,0) 30%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: end; }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--brass-soft); }
.hero__sub { margin-top: 26px; max-width: 46ch; font-size: 1.0625rem; color: rgba(255,255,255,.78); }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__facts { border-left: 1px solid rgba(255,255,255,.22); padding-left: 28px; display: grid; gap: 26px; }
.hero__fact b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; letter-spacing: -.02em; }
.hero__fact span { display: block; margin-top: 8px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: .625rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
.hero__scroll::after { content: ""; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: currentColor; opacity: .5; }

/* ---------- 7. Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--bone); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; }
.trust__item { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.trust__item::before { content: ""; width: 5px; height: 5px; background: var(--brass); border-radius: 50%; }

/* ---------- 8. Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 300px; padding: 30px; background: var(--paper); overflow: hidden;
  transition: background .3s var(--ease);
}
.cat:hover { background: var(--bone); }
.cat__no { font-family: var(--font-display); font-size: .8125rem; color: var(--brass); letter-spacing: .1em; }
.cat h3 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; }
.cat p { margin-top: 10px; font-size: .875rem; color: var(--muted); line-height: 1.6; }
.cat__go { margin-top: 26px; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.cat__go::after { content: "\2192"; transition: transform .25s var(--ease); }
.cat:hover .cat__go::after { transform: translateX(5px); }

/* ---------- 9. Value props ---------- */
.props { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.prop { padding: 34px 28px 0 0; }
.prop__icon { width: 40px; height: 40px; margin-bottom: 20px; color: var(--brass); }
.prop h3 { margin-bottom: 10px; }
.prop p { font-size: .9375rem; color: var(--muted); line-height: 1.7; }

/* ---------- 10. Split / factory ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; height: 560px; object-fit: cover; }
.split__badge {
  position: absolute; right: -18px; bottom: -18px; background: var(--ink); color: #fff;
  padding: 24px 26px; max-width: 210px;
}
.split__badge b { display: block; font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
.split__badge span { display: block; margin-top: 8px; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.checklist { margin-top: 30px; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 28px; font-size: .9375rem; color: var(--ink-3); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 7px;
  border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg);
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { background: var(--paper); padding: 40px 24px; }
.section--bone .stat { background: var(--bone); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -.02em; }
.stat span { display: block; margin-top: 12px; font-size: .6875rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

/* ---------- 11. Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.product-card { display: flex; flex-direction: column; }
.product-card__media {
  position: relative; display: block; background: var(--bone); overflow: hidden; aspect-ratio: 1 / 1;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__tag {
  position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.92); color: var(--ink);
  font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px;
}
.product-card__body { padding: 20px 2px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__model { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.product-card__body h3 { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 400; }
.product-card__spec { font-size: .8125rem; color: var(--muted); }
.product-card__foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.product-card__foot span { font-size: .75rem; color: var(--muted); }

/* ---------- 12. Product detail ---------- */
.detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.detail__media { background: var(--bone); }
.detail__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.detail__thumbs div { background: repeating-linear-gradient(45deg, transparent 0 9px, rgba(0,0,0,.038) 9px 10px), var(--bone); aspect-ratio: 1/1; display: grid; place-items: center; font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: #8b857b; border: 1px dashed #cdc7bd; }
.detail h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.detail__model { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.detail__lead { margin-top: 20px; color: var(--muted); }
.detail__price-note { margin-top: 28px; padding: 18px 20px; background: var(--bone); font-size: .8125rem; color: var(--muted); border-left: 2px solid var(--brass); }
.detail__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 500; color: var(--muted); }
.spec-table td { color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); padding: 6px 12px; color: var(--muted); }

/* ---------- 13. Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert { border: 1px solid var(--line); padding: 26px 24px; background: var(--paper); }
.cert__slot {
  aspect-ratio: 4/3; display: grid; place-items: center; text-align: center;
  border: 1px dashed #cdc7bd;
  background:
    repeating-linear-gradient(45deg, transparent 0 9px, rgba(0, 0, 0, .038) 9px 10px),
    var(--bone);
  font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: #8b857b; padding: 12px;
}
.section--ink .cert { background: transparent; border-color: var(--line-dark); }
.section--ink .cert__slot { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.42); }
.cert h3 { margin-top: 18px; font-size: .9375rem; }
.cert p { margin-top: 6px; font-size: .75rem; color: var(--muted); }
.section--ink .cert p { color: var(--muted-light); }

/* ---------- 14. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: none; border: 0; text-align: left; padding: 24px 0; cursor: pointer;
  font-size: 1rem; font-weight: 500; transition: color .2s;
}
.faq__q:hover { color: var(--brass); }
.faq__q::after { content: "+"; font-size: 1.25rem; font-weight: 300; flex: 0 0 auto; transition: transform .3s var(--ease); }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a { overflow: hidden; height: 0; transition: height .35s var(--ease); }
.faq__a > div { padding: 0 0 26px; max-width: 70ch; color: var(--muted); font-size: .9375rem; }

/* ---------- 15. CTA + form ---------- */
.cta { position: relative; background: var(--ink-2); color: #fff; padding: 96px 0; overflow: hidden; }
.cta__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: start; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: #fff; font: inherit; font-size: .9375rem;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.24); padding: 10px 0; border-radius: 0;
  transition: border-color .2s;
}
.field select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.32); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass-soft); }
.field textarea { resize: vertical; min-height: 84px; }
.field--full { grid-column: 1 / -1; }
.form__note { font-size: .75rem; color: rgba(255,255,255,.42); }

/* light form variant for contact page */
.form--light .field label { color: var(--muted); }
.form--light .field input, .form--light .field select, .form--light .field textarea { color: var(--ink); border-bottom-color: var(--line); }
.form--light .field input::placeholder, .form--light .field textarea::placeholder { color: #8b867d; }
.form--light .form__note { color: var(--muted); }

.contact-side { display: grid; gap: 30px; }
.contact-block { border-top: 1px solid var(--line-dark); padding-top: 20px; }
.section--bone .contact-block, .contact-block--dark { border-top-color: var(--line-dark); }
.contact-block h4 { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); font-family: var(--font-sans); font-weight: 600; }
.contact-block p { margin-top: 8px; font-size: .9375rem; }
.contact-block a { border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-block a:hover { border-color: #fff; }

/* ---------- 16. Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 72px 0 0; }
.footer__top { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer h4 { font-family: var(--font-sans); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 600; margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; }
.footer ul a, .footer p { font-size: .875rem; color: rgba(255,255,255,.72); }
.footer ul a:hover { color: #fff; }
.footer__brand p { margin-top: 18px; max-width: 34ch; font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.75; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; font-size: .75rem; color: rgba(255,255,255,.45);
}
.footer__bottom a:hover { color: #fff; }

/* ---------- 17. Inner page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 76px) 0 68px; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero--image { background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(16,18,21,.62); }
.page-hero--image::after { background: rgba(16,18,21,.66); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { max-width: 20ch; }
.page-hero p { margin-top: 20px; max-width: 62ch; color: rgba(255,255,255,.72); font-size: 1.0625rem; }

.breadcrumb { display: flex; gap: 10px; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 26px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }

/* ---------- 18. About / timeline ---------- */
.timeline { border-left: 1px solid var(--line); padding-left: 34px; display: grid; gap: 34px; }
.tl__item { position: relative; }
.tl__item::before {
  content: ""; position: absolute; left: -38px; top: 8px; width: 8px; height: 8px;
  background: var(--brass); border-radius: 50%; box-shadow: 0 0 0 4px var(--paper);
}
.tl__year { font-family: var(--font-display); font-size: 1.125rem; color: var(--brass); }
.tl__item p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }

/* ---------- 19. Prose (policy pages) ---------- */
.prose { max-width: 78ch; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: .9375rem; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--brass); }

/* ---------- 20. Notice banner (placeholder data) ---------- */
.notice { background: #fdf6e8; border-bottom: 1px solid #f0e2c4; color: #6b5322; font-size: .8125rem; }
.notice__inner { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; line-height: 1.5; }
.notice b { font-weight: 600; }

/* ---------- 21. Reveal on scroll ---------- */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal--armed { opacity: 0; transform: translateY(20px); }
.reveal--armed.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 22. Responsive ---------- */
@media (max-width: 1080px) {
  :root { --pad: 32px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; align-items: start; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.2); padding-top: 28px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .cta__inner, .detail { grid-template-columns: 1fr; gap: 44px; }
  .split--reverse .split__media { order: 0; }
  .split__media img { height: 420px; }
  .props { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  :root { --pad: 22px; --header-h: 68px; }
  .section { padding: 72px 0; }
  .section--tight { padding: 52px 0; }
  .section-head { margin-bottom: 36px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; color: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 26px;
    border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0;
    pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; opacity: 1; }
  .nav a:hover { border-bottom-color: var(--line); }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .site-header--over .nav-toggle { border-color: rgba(255,255,255,.5); }
  .hero { min-height: 0; padding-bottom: 64px; }
  .hero__scroll { display: none; }
  .hero h1 { max-width: none; }
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero__fact b { font-size: 1.4rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat { min-height: 0; padding: 24px; }
  .product-grid { grid-template-columns: 1fr; gap: 34px; }
  .props { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .split__media img { height: 320px; }
  .split__badge { right: 0; bottom: 0; }
  .detail__thumbs { grid-template-columns: repeat(3, 1fr); }
  .page-hero { padding-top: calc(var(--header-h) + 52px); }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
}

/* ---------- 23. Product detail: keep the photo in view ---------- */
@media (min-width: 1081px) {
  .detail > div:first-child { position: sticky; top: 96px; }
}

/* ---------- 24. Mobile overrides for inline grid templates ---------- */
@media (max-width: 860px) {
  /* any two-column grid that was set inline collapses on phones */
  .grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .wrap[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .props { grid-template-columns: 1fr !important; }

  /* hero facts: three across, smaller type, no orphan cell */
  .hero__facts { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero__fact b { font-size: 1.0625rem; }
  .hero__fact span { font-size: .5625rem; letter-spacing: .07em; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- 25. Catalogue grid, filters, cert groups ---------- */
.cat-grid--5 { grid-template-columns: repeat(5, 1fr); }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 30px 24px; }
.product-card__media { background: #fff; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip--filter { cursor: pointer; background: transparent; font: inherit; font-size: .75rem;
  letter-spacing: .06em; text-transform: uppercase; padding: 9px 16px; color: var(--muted);
  border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.chip--filter:hover { border-color: var(--ink); color: var(--ink); }
.chip--filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.cert-group { margin-bottom: 36px; }
.cert-group h3 { margin-bottom: 14px; font-size: .875rem; letter-spacing: .04em; }
.cert-group .chips { margin-top: 0; }

@media (max-width: 1080px) {
  .cat-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .product-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .cat-grid--5 { grid-template-columns: 1fr; }
  .product-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .product-card__body h3 { font-size: 1rem; }
  .filters { margin-bottom: 28px; }
}
@media (max-width: 420px) {
  .product-grid--4 { grid-template-columns: 1fr; }
}

/* ---------- 26. Hero legibility over light photography ---------- */
.hero__media::after {
  background:
    linear-gradient(90deg, rgba(8,10,13,.92) 0%, rgba(8,10,13,.78) 38%, rgba(8,10,13,.52) 68%, rgba(8,10,13,.58) 100%),
    linear-gradient(180deg, rgba(8,10,13,.62) 0%, rgba(8,10,13,.46) 42%, rgba(8,10,13,.80) 100%);
}
.hero h1 em { color: #e6cba4; }
.hero__sub { color: rgba(255,255,255,.88); }
.hero__fact span { color: rgba(255,255,255,.72); }

/* ---------- 27. Split hero for portrait photography ---------- */
.hero--split {
  min-height: 0; padding: calc(var(--header-h) + 64px) 0 72px;
  background: var(--ink); color: #fff; display: block;
}
.hero--split .hero__inner { grid-template-columns: 1.06fr .94fr; align-items: center; gap: 56px; }
.hero--split h1 { max-width: 16ch; }
.hero__figure img { width: 100%; height: clamp(400px, 58vh, 600px); object-fit: cover; object-position: center 32%; display: block; }
.hero--split .hero__facts {
  border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 26px; margin-top: 36px; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.btn--outline-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 1080px) {
  .hero--split .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__figure img { height: 360px; object-position: center 28%; }
}
@media (max-width: 860px) {
  .hero--split { padding-top: calc(var(--header-h) + 36px); }
  .hero__figure img { height: 300px; }
  .hero--split .hero__facts { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero--split .hero__fact b { font-size: 1.0625rem; }
}

/* ---------- 28. Hero figure: no crop, readable eyebrow ---------- */
.hero__figure img { height: auto; aspect-ratio: 5 / 7; object-fit: cover; object-position: center; }
.hero--split .eyebrow { color: var(--brass-soft); }
@media (max-width: 1080px) { .hero__figure img { height: auto; aspect-ratio: 5 / 7; } }
@media (max-width: 860px) { .hero__figure img { aspect-ratio: 5 / 7; } }

