/* BR Global Limited — site stylesheet
   Palette: indigo (from the logo navy, deepened toward indigo dye) + saffron (logo orange).
   Signature device: the pinked (pinking-shears) edge on the hero and page headers. */

/* Self-hosted fonts (SIL Open Font License, see assets/fonts) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }

:root {
  --indigo: #13235C;
  --indigo-deep: #0C1840;
  --indigo-soft: #2A3A78;
  --saffron: #F08A00;
  --saffron-hi: #FFA21F;
  --ink: #1A2033;
  --muted: #5B6178;
  --muslin: #F1F2F5;
  --line: #DCDFE7;
  --white: #FFFFFF;
  --ok: #1F7A4D;
  --danger: #B42318;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: 24px;
  --radius: 4px;
  --pink: 12px;           /* size of each pinked tooth */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--indigo-soft); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--saffron); color: var(--indigo-deep); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------------ type */
h1, h2, .display {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: inherit;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); line-height: 1.08; }
h3 { font-family: var(--sans); font-size: 1.125rem; line-height: 1.35; font-weight: 600; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
.lede { font-size: 1.125rem; line-height: 1.65; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--saffron); color: var(--indigo-deep); }
.btn-primary:hover { background: var(--saffron-hi); color: var(--indigo-deep); }
.btn-dark { background: var(--indigo); color: var(--white); }
.btn-dark:hover { background: var(--indigo-soft); color: var(--white); }
.btn-line { border-color: currentColor; color: var(--indigo); background: transparent; }
.btn-line:hover { background: var(--indigo); color: var(--white); border-color: var(--indigo); }
.on-dark .btn-line { color: var(--white); }
.on-dark .btn-line:hover { background: var(--white); color: var(--indigo); border-color: var(--white); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.85rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

.text-link { font-weight: 600; color: var(--indigo); text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; }
.text-link:hover { color: var(--indigo-soft); }

/* ------------------------------------------------------------------ top bar + header */
.topbar { background: var(--indigo-deep); color: rgba(255,255,255,.86); font-size: 0.8125rem; }
.topbar .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; min-height: 38px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { width: 150px; height: auto; }
.main-nav { flex: 1; }
.main-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a, .main-nav .nav-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; background: none; border: 0; cursor: pointer;
}
.main-nav a:hover, .main-nav .nav-btn:hover, .main-nav a[aria-current="page"] { color: var(--indigo); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--saffron); }
.has-menu { position: relative; }
.has-menu .chev { width: 12px; height: 12px; transition: transform .15s ease; }
.submenu {
  position: absolute; left: 0; top: 100%; min-width: 260px; padding: 10px; margin: 0; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--saffron);
  box-shadow: 0 18px 40px -18px rgba(12, 24, 64, .35);
  display: none;
}
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.open .submenu { display: block; }
.submenu a { display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 8px 10px; font-size: 0.9rem; border-radius: 3px; }
.submenu a:hover { background: var(--muslin); }
.submenu .count { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.8rem; }
.submenu .all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search-form { position: relative; }
.search-form input {
  width: 220px; height: 42px; padding: 0 14px 0 38px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 0.9rem; background: var(--muslin);
}
.search-form input:focus { background: var(--white); border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px rgba(240,138,0,.35); }
.search-form svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.quote-link { position: relative; }
.quote-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--indigo-deep); color: var(--white); font-size: 0.75rem; font-weight: 700;
}
.btn-primary .quote-count { background: var(--indigo-deep); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

/* ------------------------------------------------------------------ pinked edge */
.pinked {
  --tooth: var(--pink);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%;
  padding-bottom: calc(var(--tooth) + 8px);
}

/* ------------------------------------------------------------------ hero */
.hero { background: var(--indigo); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero h1 { color: var(--white); max-width: 16ch; font-size: clamp(2.5rem, 1.4rem + 2.8vw, 4rem); }
.hero .lede { color: rgba(255,255,255,.82); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.hero-facts li { padding: 16px 28px 0 0; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.18); }
.hero-facts li:last-child { border-right: 0; margin-right: 0; }
.hero-facts strong { display: block; font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 2rem; line-height: 1; font-weight: 600; color: var(--white); }
.hero-facts span { font-size: 0.875rem; color: rgba(255,255,255,.72); }
.hero-facts a { color: inherit; text-decoration: none; display: block; }
.hero-facts a:hover span { color: var(--white); text-decoration: underline; }

.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage figure { position: absolute; margin: 0; overflow: hidden; border-radius: 3px; background: var(--indigo-soft); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { inset: 0 22% 18% 0; }
.collage .c2 { width: 44%; height: 42%; right: 0; top: 8%; outline: 6px solid var(--indigo); }
.collage .c3 { width: 50%; height: 40%; right: 6%; bottom: 0; outline: 6px solid var(--indigo); }
.collage figcaption {
  position: absolute; left: 0; bottom: 0; padding: 6px 10px; background: var(--indigo-deep); color: var(--white);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
}
@media (prefers-reduced-motion: no-preference) {
  .collage figure { animation: lay-down .7s cubic-bezier(.2,.7,.2,1) both; }
  .collage .c2 { animation-delay: .12s; }
  .collage .c3 { animation-delay: .24s; }
  @keyframes lay-down { from { opacity: 0; transform: translateY(18px) rotate(-1.2deg); } to { opacity: 1; transform: none; } }
}


/* Slow, overlapping waves behind the homepage content. */
.hero { isolation: isolate; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-atmosphere { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-glow {
  position: absolute; inset: -20%;
  background: radial-gradient(ellipse at 78% 24%, rgba(104,130,217,.26), transparent 48%),
              radial-gradient(ellipse at 12% 90%, rgba(75,101,183,.18), transparent 45%);
}
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-wave { transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-glow { animation: hero-glow-drift 22s ease-in-out infinite alternate; }
  .hero-wave-back { animation: hero-wave-drift 18s ease-in-out infinite alternate; }
  .hero-wave-middle { animation: hero-wave-drift 14s ease-in-out -7s infinite alternate-reverse; }
  .hero-wave-front { animation: hero-wave-drift 11s ease-in-out -4s infinite alternate; }
}
@keyframes hero-wave-drift {
  from { transform: translate(-45px, 18px) rotate(-2deg); }
  to { transform: translate(45px, -24px) rotate(2deg); }
}
@keyframes hero-glow-drift {
  from { transform: translate(-2%, 1%) scale(1); }
  to { transform: translate(3%, -2%) scale(1.08); }
}

/* Independent translation preserves the photo entrance animation. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero .collage figure {
    translate: var(--photo-x, 0px) var(--photo-y, 0px);
    transition: translate .55s cubic-bezier(.22,.61,.36,1);
  }
}

/* ------------------------------------------------------------------ sections */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-muslin { background: var(--muslin); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }

/* Range rows — alternating editorial blocks */
.range-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.range-row + .range-row { margin-top: 96px; }
.range-row:nth-child(even) .range-media { order: 2; }
.range-media { position: relative; }
.range-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.range-count { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 1.25rem; color: var(--muted); margin: 0 0 4px; }
.range-row h2 { margin-bottom: 16px; }
.cat-list { list-style: none; margin: 24px 0 28px; padding: 0; columns: 2; column-gap: 32px; }
.cat-list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.cat-list a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.cat-list a:hover { color: var(--indigo); }
.cat-list a:hover .name { text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; }
.cat-list .count { color: var(--muted); font-variant-numeric: tabular-nums; }

/* Steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--indigo); }
.steps li { padding: 28px 28px 0 0; counter-increment: step; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { font-variant-numeric: lining-nums; content: counter(step); display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--saffron); margin-bottom: 14px; font-weight: 600; }
.steps p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Why us */
.why { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.why-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.why-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.why-list h3 { display: flex; gap: 10px; align-items: baseline; }
.why-list h3::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--saffron); transform: rotate(45deg) translateY(-1px); }
.why-list p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* CTA band */
.cta-band { position: relative; color: var(--white); background: var(--indigo-deep); overflow: hidden; }
.cta-band .band-bg { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: .22; }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 40px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ page header */
.page-head { background: var(--indigo); color: var(--white); position: relative; overflow: hidden; }
.page-head .band-bg { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: .28; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--indigo) 30%, rgba(19,35,92,.55)); pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 64px; }
.page-head h1 { color: var(--white); font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem); margin-bottom: 12px; }
.page-head .lede { color: rgba(255,255,255,.84); margin: 0; }
.crumbs { font-size: 0.85rem; margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: rgba(255,255,255,.7); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs.on-light { color: var(--muted); }
.crumbs.on-light a:hover { color: var(--indigo); }

/* ------------------------------------------------------------------ catalogue */
.cat-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding: 40px 0 96px; }
.filters { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 112px); overflow: auto; padding-right: 6px; }
.filters-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.filters-head h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0; letter-spacing: 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--indigo); font-weight: 600; font-size: 0.85rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.facet { border-top: 1px solid var(--line); padding: 12px 0; }
.facet summary { cursor: pointer; font-weight: 600; font-size: 0.9rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: "+"; font-weight: 400; color: var(--muted); font-size: 1.1rem; }
.facet[open] summary::after { content: "–"; }
.facet ul { list-style: none; margin: 10px 0 0; padding: 0; max-height: 280px; overflow: auto; }
.facet li label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 0.875rem; cursor: pointer; }
.facet li label .count { margin-left: auto; color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.facet input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--indigo); flex: none; }
.facet li.zero label { color: #A3A7B5; }

.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar .search-form { flex: 1; min-width: 220px; }
.toolbar .search-form input { width: 100%; height: 46px; }
.toolbar select { height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font: inherit; font-size: 0.9rem; }
.result-count { color: var(--muted); font-size: 0.9rem; margin: 0 0 14px; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--muslin); font-size: 0.82rem; cursor: pointer; }
.chip:hover { border-color: var(--indigo); }
.chip svg { width: 12px; height: 12px; }
.filters-open { display: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 20px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: border-color .15s ease; }
.card:hover { border-color: #AEB4C6; }
.card-media { display: block; aspect-ratio: 1 / 1; background: var(--muslin); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card.fit-contain .card-media { background: var(--white); }
.card.fit-contain .card-media img { object-fit: contain; padding: 10px; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px; flex: 1; }
.card-code { font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; margin: 0; }
.card-title { font-size: 0.95rem; font-weight: 600; line-height: 1.35; margin: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--indigo); text-decoration: underline; }
.card-spec { font-size: 0.8rem; color: var(--muted); margin: 0; line-height: 1.45; }
.card-foot { margin-top: auto; padding-top: 10px; }
.quote-toggle {
  width: 100%; min-height: 38px; border: 1.5px solid var(--indigo); border-radius: var(--radius); background: var(--white);
  color: var(--indigo); font-weight: 600; font-size: 0.85rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.quote-toggle:hover { background: var(--indigo); color: var(--white); }
.quote-toggle[aria-pressed="true"] { background: var(--indigo); color: var(--white); }
.quote-toggle svg { width: 16px; height: 16px; }
.pd-actions .quote-toggle { width: auto; min-height: 48px; padding: 0 22px; font-size: 0.95rem; }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 40px; }
.pagination button { min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); cursor: pointer; font-variant-numeric: tabular-nums; }
.pagination button:hover { border-color: var(--indigo); }
.pagination button[aria-current="page"] { background: var(--indigo); border-color: var(--indigo); color: var(--white); font-weight: 600; }
.pagination button:disabled { opacity: .4; cursor: default; }
.pagination .gap { align-self: center; color: var(--muted); padding: 0 4px; }

.empty { padding: 56px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty h3 { font-size: 1.25rem; }

/* ------------------------------------------------------------------ product detail */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 32px 0 72px; }
.pd-media { position: sticky; top: 100px; align-self: start; }
.gallery-main { aspect-ratio: 1 / 1; background: var(--muslin); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.pd.fit-cover .gallery-main img { object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { width: 76px; height: 76px; padding: 0; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; overflow: hidden; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--indigo); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-code { font-size: 0.85rem; color: var(--muted); margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.pd h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.08; margin-bottom: 14px; color: var(--ink); }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.pd-tags a, .pd-tags span { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--muslin); color: var(--indigo); font-size: 0.8rem; font-weight: 600; text-decoration: none; }
.pd-tags a:hover { background: var(--line); }
.pd-intro { color: var(--muted); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.price-note { font-size: 0.9rem; color: var(--muted); margin: 0 0 4px; }
.price-note strong { color: var(--ink); }

.spec { margin: 28px 0 0; border-top: 2px solid var(--indigo); }
.spec div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: 0.875rem; font-stretch: 87.5%; }
.spec dd { margin: 0; font-size: 0.95rem; font-weight: 500; }

.pd-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 64px 0; border-top: 1px solid var(--line); }
.prose p { max-width: 68ch; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 8px 0 8px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 0.95rem; }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 8px; height: 8px; background: var(--saffron); transform: rotate(45deg); }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.swatches li { font-size: 0.82rem; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; }

/* ------------------------------------------------------------------ forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #C5CAD6; border-radius: var(--radius);
  font: inherit; font-size: 0.95rem; background: var(--white); color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(240,138,0,.35); }
.field-error { color: var(--danger); font-size: 0.85rem; min-height: 0; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); font-size: 0.95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #E7F4EC; color: var(--ok); }
.form-status.err { background: #FDECEA; color: var(--danger); }
.form-status.info { background: var(--muslin); color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; padding: 64px 0 96px; }
.contact-card { background: var(--muslin); border-radius: var(--radius); padding: 32px; align-self: start; }
.contact-card h2 { font-size: 2rem; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-lines li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-lines svg { width: 20px; height: 20px; color: var(--indigo); margin-top: 3px; }
.contact-lines strong { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.contact-lines a { font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

/* quote list */
.quote-items { list-style: none; margin: 0 0 32px; padding: 0; border-top: 2px solid var(--indigo); }
.quote-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) 150px 44px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.quote-item img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius); background: var(--muslin); }
.quote-item .qi-name { font-weight: 600; text-decoration: none; color: var(--ink); }
.quote-item .qi-name:hover { color: var(--indigo); text-decoration: underline; }
.quote-item .qi-meta { font-size: 0.82rem; color: var(--muted); margin: 2px 0 0; }
.quote-item input { width: 100%; min-height: 42px; padding: 6px 10px; border: 1px solid #C5CAD6; border-radius: var(--radius); font: inherit; font-size: 0.9rem; }
.qi-remove { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; display: grid; place-items: center; }
.qi-remove:hover { border-color: var(--danger); color: var(--danger); }
.qi-remove svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ prose pages */
.content { padding: 72px 0 96px; }
.content-narrow { max-width: 760px; }
.content h2 { font-size: 2.1rem; margin-top: 1.4em; }
.content h2:first-child { margin-top: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.two-col img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.details-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.details-table th, .details-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.details-table th { width: 40%; color: var(--muted); font-weight: 500; font-size: 0.9rem; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--muslin); border-top: 1px solid var(--line); font-size: 0.92rem; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 0 48px; }
.footer-main h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; margin: 0 0 14px; letter-spacing: 0; }
.footer-main ul { list-style: none; margin: 0; padding: 0; }
.footer-main li { margin-bottom: 8px; }
.footer-main a { color: var(--ink); text-decoration: none; }
.footer-main a:hover { color: var(--indigo); text-decoration: underline; }
.footer-brand img { width: 160px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.footer-legal { border-top: 1px solid var(--line); padding: 20px 0 28px; color: var(--muted); font-size: 0.82rem; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-legal p { margin: 0; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 60; opacity: 0; pointer-events: none;
  background: var(--indigo-deep); color: var(--white); padding: 12px 18px; border-radius: var(--radius); font-size: 0.9rem;
  transition: opacity .2s ease, transform .2s ease; display: flex; gap: 14px; align-items: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--saffron-hi); font-weight: 600; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .search-form.header-search input { width: 170px; }
  .main-nav a, .main-nav .nav-btn { padding: 10px 8px; }
}
@media (max-width: 1024px) {
  .header-search { display: none; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .hero h1 { max-width: 16ch; }
  .collage { aspect-ratio: 16 / 10; }
  .range-row { gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; border-top: 0; }
  .steps li, .steps li + li { padding: 24px 24px 24px 0; border-left: 0; border-top: 2px solid var(--indigo); }
  .steps li:nth-child(even) { padding-left: 24px; }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .why-media img { aspect-ratio: 16 / 9; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .pd, .pd-detail { gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--white); z-index: 70;
    padding: 72px 20px 24px; overflow: auto; transform: translateX(100%); transition: transform .2s ease; box-shadow: -20px 0 40px -20px rgba(0,0,0,.35);
  }
  .main-nav.open { transform: none; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a, .main-nav .nav-btn { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.05rem; }
  .submenu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 10px; min-width: 0; }
  .has-menu:hover .submenu, .has-menu:focus-within .submenu { display: none; }
  .has-menu.open .submenu { display: block; }
  .has-menu.open .chev { transform: rotate(180deg); }
  .nav-close { position: absolute; top: 16px; right: 16px; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(12,24,64,.45); z-index: 45; display: none; }
  .nav-scrim.show { display: block; }
  .header-actions .quote-label { display: none; }
  .range-row, .two-col { grid-template-columns: 1fr; }
  .range-row:nth-child(even) .range-media { order: 0; }
  .range-row + .range-row { margin-top: 72px; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cat-layout { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .filters {
    position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw); max-height: none; z-index: 70; background: var(--white);
    padding: 20px; transform: translateX(-100%); transition: transform .2s ease; box-shadow: 20px 0 40px -20px rgba(0,0,0,.35);
  }
  .filters.open { transform: none; }
  .filters-open { display: inline-flex; }
  .pd, .pd-detail { grid-template-columns: 1fr; }
  .pd-media { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .quote-item { grid-template-columns: 64px minmax(0, 1fr) 44px; }
  .quote-item img { width: 64px; height: 64px; }
  .quote-item .qi-qty { grid-column: 2 / 3; }
}
@media (min-width: 901px) { .nav-close, .filters-close { display: none; } }
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .topbar .topbar-note { display: none; }
  .topbar-contact { gap: 14px; }
  .topbar .mail-label { display: none; }
  .brand img { width: 124px; }
  .site-header .wrap { gap: 12px; min-height: 64px; }
  .hero-facts li { padding-right: 16px; margin-right: 16px; }
  .hero-facts strong { font-size: 1.6rem; }
  .collage .c2 { display: none; }
  .collage .c1 { inset: 0 0 22% 0; }
  .collage .c3 { width: 56%; right: 0; }
  .cat-list { columns: 1; }
  .steps { grid-template-columns: 1fr; }
  .steps li:nth-child(even) { padding-left: 0; }
  .why-list { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .card-body { padding: 10px 10px 12px; }
  .card-title { font-size: 0.875rem; }
  .form-grid { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 120px minmax(0, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .contact-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .site-header, .site-footer, .filters, .toolbar, .pagination, .quote-toggle { display: none !important; }
  .pinked { -webkit-mask: none; mask: none; }
}
