/* Global Metal Parts: design build.
   Tokens: zinc paper, white plates for product photos, graphite ink, one signal orange used for dimension markup,
   active states and focus only. Type: Barlow (text) + Barlow Semi Condensed (headings, data, UI). */

@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(/fonts/barlow-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(/fonts/barlow-400-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url(/fonts/barlow-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url(/fonts/barlow-500-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(/fonts/barlow-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(/fonts/barlow-600-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 500; font-display: swap; src: url(/fonts/barlow-sc-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 500; font-display: swap; src: url(/fonts/barlow-sc-500-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 600; font-display: swap; src: url(/fonts/barlow-sc-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 600; font-display: swap; src: url(/fonts/barlow-sc-600-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #eef1f2;
  --plate: #ffffff;
  --ink: #1a2025;
  --ink-2: #2b333a;
  --steel: #56626b;
  --line: #cdd4d8;
  --line-2: #e2e7e9;
  --signal: #e8590c;
  --signal-ink: #b8440a;
  --f-text: 'Barlow', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-head: 'Barlow Semi Condensed', 'Barlow', ui-sans-serif, system-ui, sans-serif;
  --wrap: 82rem;
  --gut: clamp(1.25rem, 0.6rem + 2.4vw, 2.5rem);
  --r: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--f-text); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--signal); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.08; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 1.6rem + 1.9vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); }
h3 { font-size: 1.3125rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
svg { stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .7rem 1.35rem; border: 1.5px solid var(--ink); border-radius: var(--r); font: 600 1rem/1 var(--f-head); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--plate); }
.btn-inv { background: #fff; color: var(--ink); border-color: #fff; }
.btn-inv:hover { background: var(--paper); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.link { background: none; border: 0; padding: 0; font: 500 .9375rem var(--f-text); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; color: var(--ink); }
.link.danger { color: var(--signal-ink); }
.more { display: inline-flex; align-items: center; gap: .4rem; font: 600 1rem var(--f-head); text-decoration: none; white-space: nowrap; }
.more svg { width: 1.1rem; height: 1.1rem; transition: transform .15s var(--ease); }
.more:hover svg { transform: translateX(3px); }
.more:hover { color: var(--signal-ink); }

/* ---------- header ---------- */
.util { background: var(--ink); color: #c9d1d6; font-size: .8125rem; }
.util-in { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; }
.util-end { display: flex; align-items: center; gap: 1.5rem; }
.util a, .util-lang { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: inherit; }
.util a:hover { color: #fff; }
.util svg { width: 1rem; height: 1rem; }
.units { display: inline-flex; border: 1px solid #3b464e; border-radius: var(--r); padding: 1px; }
.units button { border: 0; background: none; color: inherit; padding: .2rem .55rem; border-radius: 2px; font: 500 .8125rem/1 var(--f-head); cursor: pointer; }
.units button:hover { color: #fff; }
.units button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.units button:focus-visible { outline-offset: 1px; }
.top { background: var(--plate); border-bottom: 1px solid var(--line); }
.top-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2.5rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.mark { width: 2.4rem; height: 2.4rem; flex: none; }
.mark-hex { fill: var(--ink); stroke: none; }
.mark-ring, .mark-geo { stroke: #fff; stroke-width: 1.7; }
.brand-name { font: 600 1.375rem/1 var(--f-head); letter-spacing: -.01em; white-space: nowrap; }
.brand-inv { color: #fff; }
.brand-inv .mark-hex { fill: #fff; }
.brand-inv .mark-ring, .brand-inv .mark-geo { stroke: var(--ink); }
.search { position: relative; max-width: 34rem; width: 100%; }
.search svg { position: absolute; inset-inline-start: .85rem; top: 50%; width: 1.15rem; height: 1.15rem; translate: 0 -50%; color: var(--steel); pointer-events: none; }
.search input { width: 100%; height: 2.75rem; padding-block: 0; padding-inline: 2.6rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: .9688rem; }
.search input::placeholder { color: #7b868e; }
.search input:focus { background: var(--plate); border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgb(232 89 12 / .18); }
.top-nav { display: flex; align-items: center; gap: 1.75rem; font: 500 1.0625rem var(--f-head); }
.top-nav a { text-decoration: none; white-space: nowrap; }
.top-nav a:hover, .top-nav a[aria-current] { color: var(--signal-ink); }
.qlink { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border: 1.5px solid var(--ink); border-radius: var(--r); }
.qlink svg { width: 1.15rem; height: 1.15rem; }
.top-nav .qlink:hover, .top-nav .qlink[aria-current] { color: var(--ink); background: var(--paper); }
.qcount { min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; display: inline-grid; place-items: center; border-radius: 99px; background: var(--signal); color: #fff; font: 600 .8125rem/1 var(--f-head); }
.cats { background: var(--plate); border-bottom: 1px solid var(--line); }
.cats-in { display: flex; gap: 2rem; overflow-x: auto; scrollbar-width: none; }
.cats-in::-webkit-scrollbar { display: none; }
.cats a { position: relative; padding: .8rem 0 .85rem; font: 500 1rem var(--f-head); text-decoration: none; white-space: nowrap; color: var(--steel); }
.cats a:hover { color: var(--ink); }
.cats a[aria-current] { color: var(--ink); }
.cats a[aria-current]::after { content: ''; position: absolute; inset: auto 0 -1px; height: 3px; background: var(--signal); }

/* ---------- shared ---------- */
.crumbs { padding-top: 1.5rem; font-size: .875rem; color: var(--steel); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: '/'; margin-inline-end: .35rem; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--ink); }
.page-head { padding-block: 1.25rem 2.5rem; }
.page-head .lede { margin-top: 1rem; }
.lede { font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); max-width: 40rem; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.note { margin-top: .9rem; font-size: .875rem; color: var(--steel); max-width: 52rem; }
.part { font: 500 .9375rem var(--f-head); letter-spacing: .02em; }

/* finish swatches: the five real finishes, as material, not decoration */
.swatches { display: inline-flex; gap: .3rem; vertical-align: middle; }
.sw { display: inline-block; width: .95rem; height: .95rem; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .22); }
.sw-ZN { background: linear-gradient(135deg, #f4f7f9 0%, #b6c3cc 55%, #dfe6ea 100%); }
.sw-CG { background: linear-gradient(135deg, #e7a27a 0%, #b4643c 55%, #d4875c 100%); }
.sw-PL { background: linear-gradient(135deg, #8a8f92 0%, #4f5458 60%, #6d7275 100%); }
.sw-HG { background: radial-gradient(circle at 30% 35%, #d9dee0 0 18%, transparent 19%), radial-gradient(circle at 68% 62%, #c4cacd 0 22%, transparent 23%), linear-gradient(135deg, #b9c0c3, #8e979b); }
.sw-ZY { background: linear-gradient(135deg, #f3e6a0 0%, #c9ad4b 50%, #e4cf7a 100%); }

/* segmented control */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); background: var(--plate); padding: 2px; }
.seg button { border: 0; background: none; padding: .4rem .8rem; border-radius: 2px; font: 500 .9375rem/1 var(--f-head); cursor: pointer; color: var(--steel); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* data tables */
table.data { width: 100%; border-collapse: collapse; background: var(--plate); font-size: .9688rem; }
.data th, .data td { padding: .7rem 1rem; text-align: start; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.data thead th { font: 500 .875rem/1.25 var(--f-head); color: var(--steel); background: #f6f8f8; border-bottom: 1px solid var(--line); white-space: nowrap; letter-spacing: .01em; }
.data tbody th { font: 600 1rem var(--f-head); white-space: nowrap; }
.data .num { text-align: end; white-space: nowrap; }
.data tbody tr:hover { background: #fafbfb; }
.data a { font-weight: 500; }
.u { font-weight: 400; }
.dl { display: inline-grid; place-items: center; min-width: 1.3rem; height: 1.3rem; margin-inline-end: .35rem; padding: 0 .2rem; border: 1.5px solid var(--signal); color: var(--signal-ink); border-radius: 2px; font: 600 .8125rem/1 var(--f-head); }

/* ---------- product tiles ---------- */
.tiles { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.tile { background: var(--plate); border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tile a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.tile-img { display: block; aspect-ratio: 1; padding: 1.25rem; }
.tile-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s var(--ease); }
.tile a:hover .tile-img img { transform: scale(1.04); }
.tile-body { display: grid; gap: .35rem; padding: 0 1.25rem 1.25rem; }
.tile-name { font: 600 1.1875rem/1.15 var(--f-head); }
.tile a:hover .tile-name { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: .2em; }
.tile-meta { display: flex; gap: 1rem; font-size: .875rem; color: var(--steel); }
.tile .swatches { margin-top: .25rem; }
.tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- guide cards ---------- */
.gcards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.gcard a { display: grid; gap: .8rem; text-decoration: none; }
.gcard-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line-2); }
.gcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gcard a:hover img { transform: scale(1.03); }
.gcard-title { font: 600 1.25rem/1.15 var(--f-head); }
.gcard a:hover .gcard-title { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: .2em; }
.gcard-desc { color: var(--steel); max-width: 34rem; }

/* ---------- home: hero ---------- */
.hero { padding-block: clamp(2rem, 1rem + 3vw, 4rem) clamp(2.5rem, 1rem + 3vw, 4rem); }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 1.3rem + 2.7vw, 3.75rem); line-height: 1.02; letter-spacing: -.02em; }
.hero .lede { margin-top: 1.5rem; }
.hero .actions { margin-top: 2rem; }
.hero-fig { margin: 0; background: var(--plate); border: 1px solid var(--line); }
.hero-plate { position: relative; aspect-ratio: 1000 / 860; }
.hero-plate > img { position: absolute; left: 10%; top: 3.49%; width: 80%; height: 93.02%; }
.dim { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--signal); }
.dim path, .dim circle { stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dim .ext { stroke-width: 1; opacity: .75; }
.dim .ah { fill: currentColor; stroke: none; }
.dim .ring { stroke-dasharray: 3 3; }
.tag { position: absolute; white-space: nowrap; display: grid; grid-template-columns: auto auto; column-gap: .45rem; align-items: baseline; padding: .35rem .55rem .4rem; background: rgb(255 255 255 / .94); font-family: var(--f-head); line-height: 1.1; }
.tag-k { grid-row: span 2; align-self: center; display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; border: 1.5px solid var(--signal); color: var(--signal-ink); border-radius: 2px; font-weight: 600; font-size: .875rem; }
.tag-v { font-weight: 600; font-size: 1.1875rem; }
.tag-l { grid-column: 2; font-weight: 500; font-size: .8125rem; color: var(--steel); }
.tag-load { grid-template-columns: auto; }
.tag-load .tag-l { grid-column: 1; }
.tag-a { left: 20.5%; top: 7.2%; }
.tag-e { left: 3.5%; top: 58.6%; }
.tag-d { right: 8.4%; top: 70%; translate: 0 -50%; }
.tag-load { right: 51.2%; top: 70.5%; justify-items: end; text-align: end; }
.tag-v.flash { animation: flash .5s var(--ease); }
@keyframes flash { from { color: var(--signal-ink); } }
.hero-cap { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; align-items: center; padding: 1rem 1.25rem 1.1rem; border-top: 1px solid var(--line-2); }
.hero-cap-id { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.hero-cap-id a { font: 600 1.0625rem var(--f-head); text-decoration: none; }
.hero-cap-id a:hover { text-decoration: underline; }
.hero-cap-id .part { color: var(--steel); font-size: .875rem; }
.sizer { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.sizer-opts { flex-wrap: wrap; }
.sizer-l { font: 500 .875rem var(--f-head); color: var(--steel); white-space: nowrap; }
.sizer-opts { display: flex; gap: 3px; }
.sizer-opts::-webkit-scrollbar { display: none; }
.sizer button { flex: none; min-width: 2.7rem; padding: .45rem .45rem; border: 1px solid var(--line); border-radius: 2px; background: var(--plate); font: 500 .875rem/1 var(--f-head); cursor: pointer; }
.sizer button:hover { border-color: var(--ink); }
.sizer button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* the one orchestrated moment: the markup draws itself onto the part, once */
@media (prefers-reduced-motion: no-preference) {
  .dim-g .ln, .dim-g .ext { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s var(--ease) forwards; }
  .dim-g .ah, .dim-g .ring, .tag { opacity: 0; animation: appear .4s var(--ease) forwards; }
  .dim-g.dim-d > * { animation-delay: .25s; }
  .tag-d { animation-delay: .7s; }
  .dim-g.dim-a > * { animation-delay: .55s; }
  .tag-a { animation-delay: 1s; }
  .dim-g.dim-e > * { animation-delay: .8s; }
  .tag-e { animation-delay: 1.25s; }
  .dim-g.dim-load > * { animation-delay: 1.05s; }
  .tag-load { animation-delay: 1.45s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* title block: the "why us" facts, set like the title block of an engineering drawing */
.titleblock { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1.5px solid var(--ink); background: var(--plate); }
.titleblock > div { padding: 1.1rem 1.25rem 1.3rem; }
.titleblock > div + div { border-inline-start: 1px solid var(--ink); }
.titleblock dt { font: 500 .8125rem var(--f-head); color: var(--steel); letter-spacing: .02em; }
.titleblock dd { margin: .35rem 0 0; font-size: 1rem; line-height: 1.45; }

/* category index */
.catindex { padding-block: clamp(3.5rem, 2rem + 4vw, 6rem) 1rem; }
.ci-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.ci-row:last-child { border-bottom: 1px solid var(--line); }
.ci-text h3 { font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); }
.ci-text h3 a { text-decoration: none; }
.ci-text h3 a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.ci-text p { margin-top: .6rem; max-width: 26rem; color: var(--ink-2); }
.ci-text .ci-count { color: var(--steel); font-size: .9375rem; }
.ci-strip { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.ci-strip a { display: grid; gap: .55rem; text-decoration: none; font: 500 .9375rem/1.2 var(--f-head); }
.ci-img { display: block; aspect-ratio: 1; background: var(--plate); border: 1px solid var(--line-2); padding: .65rem; }
.ci-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s var(--ease); }
.ci-strip a:hover .ci-img { border-color: var(--line); }
.ci-strip a:hover .ci-img img { transform: scale(1.05); }
.ci-strip a:hover > span:last-child { text-decoration: underline; }
.ci-more a { align-content: start; }
.ci-more-n { display: grid; place-items: center; aspect-ratio: 1; border: 1px dashed var(--line); font: 600 1.75rem var(--f-head); color: var(--steel); }
.ci-more a:hover .ci-more-n { border-color: var(--ink); color: var(--ink); }

/* field band: the one photographic, full-bleed moment */
.field { position: relative; margin-top: clamp(3.5rem, 2rem + 4vw, 6rem); background: var(--ink); color: #fff; overflow: hidden; }
.field-img { position: absolute; inset: 0; }
.field-img img { width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: grayscale(.35) contrast(1.05); }
.field-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(26 32 37 / .92) 0%, rgb(26 32 37 / .55) 60%, rgb(26 32 37 / .3) 100%); }
.field-in { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem; align-items: end; padding-block: clamp(4rem, 2rem + 6vw, 8rem); }
.field-text h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); max-width: 18ch; }
.field-text p { margin-top: 1rem; max-width: 32rem; color: #d6dde1; font-size: 1.125rem; }
.field-text .btn { margin-top: 2rem; }
.field-list { list-style: none; border-top: 1px solid rgb(255 255 255 / .3); }
.field-list li { border-bottom: 1px solid rgb(255 255 255 / .3); }
.field-list a { display: block; padding: .95rem 0; font: 500 1.125rem/1.3 var(--f-head); text-decoration: none; }
.field-list a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: .2em; }

/* process (a real sequence, so numbered) */
.process { padding-block: clamp(3.5rem, 2rem + 4vw, 6rem); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-bottom: 2.25rem; }
.steps li { counter-increment: s; padding-top: 1.1rem; border-top: 1.5px solid var(--ink); }
.steps li::before { content: counter(s); display: block; font: 600 2.5rem/1 var(--f-head); color: var(--signal-ink); margin-bottom: .75rem; }
.steps p { margin-top: .5rem; color: var(--ink-2); max-width: 24rem; }

/* ---------- products ---------- */
.browse { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2.5rem; align-items: start; padding-bottom: 5rem; }
.filters { position: sticky; top: 1rem; }
.filters form { display: grid; gap: 1.75rem; }
.f-search { display: grid; gap: .4rem; font: 500 .9375rem var(--f-head); }
.f-search input { height: 2.6rem; padding: 0 .8rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--plate); }
.filters fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .1rem; }
.filters legend { font: 600 1rem var(--f-head); margin-bottom: .5rem; padding: 0; }
.chk { display: flex; align-items: center; gap: .55rem; padding: .35rem 0; cursor: pointer; font-size: .9688rem; }
.chk input { accent-color: var(--ink); margin: 0; width: 1rem; height: 1rem; }
.chk .n { margin-inline-start: auto; color: var(--steel); font-size: .8125rem; }
.results-bar { margin-bottom: 1rem; color: var(--steel); font-size: .9375rem; }
.empty { padding: 3rem 2rem; background: var(--plate); border: 1px solid var(--line); }
.empty p { margin-top: .5rem; color: var(--ink-2); max-width: 36rem; }

/* category */
.cat-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem 3rem; align-items: start; }
.cat-head h1 { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem); }
.cat-intro { display: grid; gap: .9rem; color: var(--ink-2); max-width: 44rem; padding-top: .4rem; }
.compare, .related { padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.compare h2 { margin-bottom: 1.25rem; }
.compare .data { border: 1px solid var(--line); }
.compare .data td .swatches { margin-inline-end: .4rem; }
main > :last-child { padding-bottom: clamp(3.5rem, 2rem + 4vw, 6rem); }

/* ---------- product page ---------- */
.prod { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4.5rem); padding-block: 1.5rem 3rem; align-items: start; }
.gal-main { background: var(--plate); border: 1px solid var(--line); aspect-ratio: 1; display: grid; place-items: center; padding: clamp(1rem, 3vw, 2.5rem); }
.gal-main img { width: 100%; height: 100%; object-fit: contain; }
.gal-thumbs { display: flex; gap: .6rem; margin-top: .6rem; flex-wrap: wrap; }
.gal-thumbs button { width: 5rem; aspect-ratio: 1; padding: .35rem; border: 1px solid var(--line); background: var(--plate); border-radius: 2px; cursor: pointer; }
.gal-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gal-thumbs button:hover { border-color: var(--steel); }
.gal-thumbs button[aria-pressed="true"] { border: 2px solid var(--ink); padding: calc(.35rem - 1px); }
.prod-info { padding-top: .5rem; }
.prod-cat { font: 500 .9375rem var(--f-head); color: var(--steel); margin-bottom: .6rem; }
.prod-cat a { text-decoration: none; }
.prod-cat a:hover { text-decoration: underline; }
.prod-info h1 { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); }
.prod-sum { margin-top: 1rem; font-size: 1.1875rem; line-height: 1.45; color: var(--ink-2); }
.aka { margin-top: .6rem; font-size: .9375rem; color: var(--steel); }
.finish-pick { border: 0; margin: 1.75rem 0 0; padding: 0; }
.finish-pick legend { font: 600 1rem var(--f-head); padding: 0; margin-bottom: .6rem; }
.fp-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.fp-opts label { position: relative; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--plate); cursor: pointer; font: 500 .9688rem var(--f-head); }
.fp-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fp-opts label:has(input:checked) { border: 2px solid var(--ink); padding: calc(.55rem - 1px) calc(.9rem - 1px); }
.fp-opts label:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.fp-note { margin-top: .5rem; font-size: .9375rem; color: var(--steel); }
.finish-one { display: flex; gap: .7rem; align-items: start; margin-top: 1.75rem; }
.finish-one .sw { margin-top: .25rem; width: 1.1rem; height: 1.1rem; }
.fo-name { font: 600 1rem var(--f-head); }
.finish-one .fp-note { margin-top: .1rem; }
.facts { margin: 1.75rem 0 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 .9375rem var(--f-head); color: var(--steel); }
.facts dd { margin: 0; font-size: .9688rem; }
.prod-info .actions { margin-top: 2rem; }
.about-part { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1rem 3rem; padding-block: 1.5rem 3.5rem; }
.ap-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2.5rem; }
.ap-body > p { font-size: 1.125rem; line-height: 1.6; max-width: 38rem; }
.features { list-style: none; display: grid; gap: .6rem; align-content: start; }
.features li { position: relative; padding-inline-start: 1.4rem; }
.features li::before { content: ''; position: absolute; inset-inline-start: 0; top: .62em; width: .7rem; height: 2px; background: var(--signal); }
.order-sec { background: var(--plate); border-block: 1px solid var(--line); padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); scroll-margin-top: 0; }
.order-sec .data { border: 1px solid var(--line); }
.order-t .part { color: var(--ink-2); }
.qty-h { width: 9rem; }
.qty { position: relative; }
.qty input { width: 7.5rem; height: 2.5rem; padding: 0 .7rem; text-align: end; border: 1px solid var(--line); border-radius: var(--r); background: var(--plate); font: 500 1rem var(--f-head); }
.qty input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgb(232 89 12 / .18); }
.qty input.has { border-color: var(--ink); background: #fff8f3; }
.ctn-hint { display: block; margin-top: .3rem; background: none; border: 0; padding: 0; font: 500 .8125rem var(--f-text); color: var(--signal-ink); text-decoration: underline; cursor: pointer; white-space: nowrap; }
.order-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .9rem 1rem; background: var(--plate); border: 1px solid var(--line); box-shadow: 0 -6px 18px -12px rgb(26 32 37 / .35); }
.order-bar p { color: var(--steel); font-size: .9688rem; }
.order-bar p.ok { color: var(--ink); font-weight: 500; }
.dims { padding-top: clamp(3rem, 2rem + 3vw, 5rem); scroll-margin-top: 1rem; }
.dims-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: start; }
.dims-draw { margin: 0; background: var(--plate); border: 1px solid var(--line); padding: 1rem; }
.dims-draw figcaption { margin-top: .5rem; font-size: .875rem; color: var(--steel); }
.dims-table .data { border: 1px solid var(--line); }
.notes { margin-top: .75rem; padding-inline-start: 1.1rem; font-size: .875rem; color: var(--steel); display: grid; gap: .3rem; }

/* toast */
.toast { position: fixed; z-index: 20; left: 50%; bottom: 1.5rem; translate: -50% 0; display: flex; gap: 1.25rem; align-items: center; padding: .9rem 1.2rem; background: var(--ink); color: #fff; border-radius: var(--r); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .5); font-size: .9688rem; max-width: calc(100vw - 2rem); }
.toast a { color: #fff; font-weight: 600; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { .toast { animation: rise .25s var(--ease); } }
@keyframes rise { from { translate: -50% 1rem; opacity: 0; } }

/* ---------- guides ---------- */
.gcards-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gcard-lg { grid-column: 1 / -1; }
.gcard-lg a { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.25rem 2.5rem; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.gcard-lg .gcard-img { grid-row: span 2; }
.gcard-lg .gcard-title { font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.5rem); align-self: end; }
.gcard-lg .gcard-desc { align-self: start; font-size: 1.0625rem; }
.guide .g-head { padding-block: 1.25rem 2rem; max-width: var(--wrap); }
.g-head h1 { max-width: 22ch; font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); }
.g-head .lede { margin-top: 1rem; }
.g-date { margin-top: .9rem; font-size: .875rem; color: var(--steel); }
.g-lead .g-fig { margin: 0; }
.g-lead img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.g-grid { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); gap: 4rem; padding-top: 2.5rem; align-items: start; }
.prose { font-size: 1.125rem; line-height: 1.65; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.5rem; font-size: 1.75rem; }
.prose ul { padding-inline-start: 1.25rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--signal); }
.prose a { text-decoration-color: var(--signal); text-decoration-thickness: 1.5px; }
.prose .data { font-size: .9688rem; border: 1px solid var(--line); }
.g-fig { margin: 2rem 0; }
.g-fig figcaption { margin-top: .6rem; font-size: .9375rem; color: var(--steel); }
.g-fig-draw img { background: var(--plate); border: 1px solid var(--line); max-width: 30rem; padding: 1rem; }
.disclaimer { margin-top: 2.5rem !important; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--steel); }
.g-side { position: sticky; top: 1.5rem; }
.g-side h2 { font-size: 1.25rem; margin-bottom: .75rem; }
.mini { list-style: none; border-top: 1px solid var(--line); }
.mini li { border-bottom: 1px solid var(--line); }
.mini a { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .9rem; align-items: center; padding: .6rem 0; text-decoration: none; }
.mini-img { display: block; aspect-ratio: 1; background: var(--plate); border: 1px solid var(--line-2); padding: .25rem; }
.mini-img img { width: 100%; height: 100%; object-fit: contain; }
.mini-name { display: block; font: 600 1rem/1.2 var(--f-head); }
.mini a:hover .mini-name { text-decoration: underline; }
.mini-meta { display: block; font-size: .875rem; color: var(--steel); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: start; }
.about-fig { margin: 0; position: sticky; top: 1.5rem; }
.about-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-body { display: grid; gap: 2.25rem; }
.about-body section { border-top: 1.5px solid var(--ink); padding-top: 1rem; scroll-margin-top: 1.5rem; }
.about-body h2 { font-size: 1.625rem; }
.about-body p { margin-top: .75rem; font-size: 1.0938rem; line-height: 1.65; max-width: 40rem; color: var(--ink-2); }

/* ---------- quote ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; gap: 2.5rem; align-items: start; }
.q-main { display: grid; gap: 2.5rem; }
.qn { color: var(--steel); font-weight: 500; }
.q-tools { display: flex; gap: 1.25rem; }
.q-empty { padding: 2.5rem 2rem; background: var(--plate); border: 1px dashed var(--line); }
.q-empty p { margin: .5rem 0 1.5rem; color: var(--ink-2); max-width: 34rem; }
.q-t .data, .q-list .data { border: 1px solid var(--line); }
.q-item { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: .8rem; align-items: center; text-decoration: none; }
.q-item img { width: 3.25rem; height: 3.25rem; object-fit: contain; background: var(--plate); border: 1px solid var(--line-2); }
.q-item b { display: block; font: 600 1rem/1.2 var(--f-head); }
.q-item span span { display: block; font-size: .875rem; color: var(--steel); }
.q-item:hover b { text-decoration: underline; }
.rm { background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--steel); font-size: .875rem; text-decoration: underline; }
.rm:hover { color: var(--signal-ink); }
.paste { padding: 1.75rem; background: var(--plate); border: 1px solid var(--line); scroll-margin-top: 1rem; }
.paste p { margin-top: .4rem; color: var(--ink-2); }
.paste textarea { margin-top: 1rem; width: 100%; padding: .8rem; border: 1px solid var(--line); border-radius: var(--r); font: 500 .9688rem/1.5 var(--f-head); background: var(--paper); resize: vertical; }
.paste textarea:focus { background: var(--plate); border-color: var(--ink); outline: none; }
.paste-bar { display: flex; align-items: center; gap: 1rem; margin-top: .9rem; flex-wrap: wrap; }
.paste-bar p { margin: 0; font-size: .9375rem; }
.q-side { position: sticky; top: 1rem; }
.details { display: grid; gap: 1rem; padding: 1.75rem; background: var(--plate); border: 1.5px solid var(--ink); }
.details h2 { font-size: 1.5rem; margin-bottom: .25rem; }
.field2 { display: grid; gap: .35rem; }
.field2 label { font: 500 .9375rem var(--f-head); }
.opt { color: var(--steel); font-weight: 400; }
.field2 input, .field2 textarea { width: 100%; min-height: 2.6rem; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--plate); }
.field2 input:focus, .field2 textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgb(232 89 12 / .18); }
.field2 [aria-invalid="true"] { border-color: var(--signal-ink); }
.form-msg:empty { display: none; }
.form-msg { font-size: .9375rem; padding: .75rem; background: var(--paper); border-inline-start: 3px solid var(--signal); }
.fine { font-size: .8125rem; color: var(--steel); }

/* ---------- 404 ---------- */
.nf { padding-block: 4rem 6rem; display: grid; gap: 1.5rem; justify-items: start; }
.search-lg { max-width: 30rem; }
.search-lg input { height: 3.25rem; background: var(--plate); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #c9d1d6; font-size: .9688rem; }
.foot-in { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-block: 4rem 3rem; }
.foot-brand p { margin-top: 1rem; max-width: 24rem; }
.foot h2 { font: 600 1rem var(--f-head); color: #fff; margin-bottom: .9rem; }
.foot ul { list-style: none; display: grid; gap: .55rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem 1.75rem; border-top: 1px solid rgb(255 255 255 / .14); font-size: .8125rem; color: #9aa6ae; }

/* ---------- language menu (no JS: <details>) ---------- */
.langs { position: relative; }
.langs summary { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; list-style: none; padding: .15rem .1rem; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover { color: #fff; }
.langs .chev { width: .9rem; height: .9rem; transition: rotate .15s; }
.langs[open] .chev { rotate: 180deg; }
.langs ul { position: absolute; z-index: 30; inset-inline-end: 0; top: calc(100% + .5rem); list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 .5rem; width: min(22rem, calc(100vw - 2rem)); padding: .5rem; background: var(--plate); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 16px 40px -16px rgb(26 32 37 / .45); font-size: .9375rem; }
.langs li a { display: block; padding: .45rem .6rem; border-radius: 2px; text-decoration: none; color: var(--ink); }
.langs li a:hover { background: var(--paper); color: var(--ink); }
.langs li a[aria-current] { font-weight: 600; box-shadow: inset 3px 0 0 var(--signal); }
.foot-langs ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; padding-block: 1.25rem; border-top: 1px solid rgb(255 255 255 / .14); font-size: .875rem; }

/* ---------- misc content ---------- */
.ap-text h3 { margin-top: 1.5rem; font-size: 1.125rem; }
.uses { margin-top: .6rem; padding-inline-start: 1.2rem; display: grid; gap: .35rem; color: var(--ink-2); }
.gloss { margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.gloss > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.gloss dt { font: 600 1.0625rem/1.4 var(--f-head); }
.gloss dd { margin: 0; font-size: 1.0625rem; line-height: 1.55; }
.prose ol { padding-inline-start: 1.4rem; display: grid; gap: .6rem; }
.prose ol li::marker { font: 600 1em var(--f-head); color: var(--signal-ink); }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
[dir="rtl"] .flip { scale: -1 1; }
[dir="rtl"] .more:hover svg { transform: translateX(-3px); }
[dir="rtl"] .field-img::after { background: linear-gradient(270deg, rgb(26 32 37 / .92) 0%, rgb(26 32 37 / .55) 60%, rgb(26 32 37 / .3) 100%); }
[dir="rtl"] .langs li a[aria-current] { box-shadow: inset -3px 0 0 var(--signal); }
[dir="rtl"] .data .num { text-align: left; }
/* Barlow has Latin only: other scripts use the platform font, chosen per language. */
:lang(ja) { --f-text: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', 'Barlow', sans-serif; --f-head: 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', 'Barlow Semi Condensed', sans-serif; }
:lang(ko) { --f-text: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', 'Barlow', sans-serif; --f-head: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', 'Barlow Semi Condensed', sans-serif; }
:lang(hi) { --f-text: 'Barlow', 'Kohinoor Devanagari', 'Nirmala UI', 'Noto Sans Devanagari', sans-serif; --f-head: 'Barlow Semi Condensed', 'Kohinoor Devanagari', 'Nirmala UI', 'Noto Sans Devanagari', sans-serif; }
:lang(bn) { --f-text: 'Barlow', 'Kohinoor Bangla', 'Nirmala UI', 'Noto Sans Bengali', sans-serif; --f-head: 'Barlow Semi Condensed', 'Kohinoor Bangla', 'Nirmala UI', 'Noto Sans Bengali', sans-serif; }
:lang(th) { --f-text: 'Barlow', 'Thonburi', 'Leelawadee UI', 'Noto Sans Thai', sans-serif; --f-head: 'Barlow Semi Condensed', 'Thonburi', 'Leelawadee UI', 'Noto Sans Thai', sans-serif; }
:lang(km) { --f-text: 'Barlow', 'Khmer Sangam MN', 'Leelawadee UI', 'Noto Sans Khmer', sans-serif; --f-head: 'Barlow Semi Condensed', 'Khmer Sangam MN', 'Leelawadee UI', 'Noto Sans Khmer', sans-serif; }
:lang(ar) { --f-text: 'Barlow', 'Geeza Pro', 'Segoe UI', 'Noto Sans Arabic', sans-serif; --f-head: 'Barlow Semi Condensed', 'Geeza Pro', 'Segoe UI', 'Noto Sans Arabic', sans-serif; }
:lang(ru) { --f-text: 'Barlow', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif; --f-head: 'Barlow Semi Condensed', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif; }
:lang(ja) h1, :lang(ko) h1, :lang(ja) h2, :lang(ko) h2 { letter-spacing: 0; line-height: 1.25; }
:lang(hi) body, :lang(bn) body, :lang(th) body, :lang(km) body, :lang(ar) body { line-height: 1.7; }
:lang(hi) h1, :lang(bn) h1, :lang(th) h1, :lang(km) h1, :lang(ar) h1, :lang(hi) h2, :lang(bn) h2, :lang(th) h2, :lang(km) h2, :lang(ar) h2 { line-height: 1.35; letter-spacing: 0; }

/* ---------- responsive ---------- */
@media (max-width: 72rem) {
  .top-in { grid-template-columns: auto 1fr; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .top-nav { justify-self: end; }
  .ci-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ci-strip li:nth-child(n+4):not(.ci-more) { display: none; }
  .tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 64rem) {
  .hero-in, .prod, .dims-grid, .about, .cat-head, .g-grid, .quote, .about-part, .ci-row, .field-in { grid-template-columns: minmax(0, 1fr); }
  .hero-in { gap: 2rem; }
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .titleblock > div:nth-child(3) { border-inline-start: 0; }
  .titleblock > div:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .browse { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; }
  .filters form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-search { grid-column: 1 / -1; }
  .gcards, .gcards-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gcard-lg a { grid-template-columns: minmax(0, 1fr); }
  .gcard-lg .gcard-img { grid-row: auto; }
  .q-side, .g-side, .about-fig { position: static; }
  .about-fig img { aspect-ratio: 3 / 2; }
  .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .ci-row { gap: 1.25rem; }
  .ap-body { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}
@media (max-width: 44rem) {
  body { font-size: 1rem; }
  .util-in > p:first-child, .util .util-mail { display: none; }
  .gloss > div { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .util-in { justify-content: flex-end; }
  .util-end { gap: 1rem; }
  .top-in { gap: 1rem; }
  .top-nav { gap: 1rem; font-size: 1rem; }
  .top-nav a:not(.qlink) { display: none; }
  .qlink span:not(.qcount) { display: none; }
  .brand-name { font-size: 1.2rem; }
  .mark { width: 2.1rem; height: 2.1rem; }
  .hero-cap { grid-template-columns: minmax(0, 1fr); }
  .sizer { justify-content: flex-start; align-items: start; flex-direction: column; gap: .4rem; }
  .sizer-opts { justify-content: flex-start; }
  .tag { padding: .2rem .35rem; column-gap: .3rem; }
  .tag-v { font-size: .875rem; }
  .tag-l { display: none; }
  .tag-k { width: 1.1rem; height: 1.1rem; font-size: .75rem; grid-row: auto; }
  .tag-load .tag-l { display: block; font-size: .6875rem; }
  .titleblock { grid-template-columns: minmax(0, 1fr); }
  .titleblock > div + div { border-inline-start: 0; border-top: 1px solid var(--ink); }
  .ci-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ci-strip li:nth-child(n+3):not(.ci-more) { display: none; }
  .ci-more { display: none; }
  .tiles, .tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-img { padding: .75rem; }
  .tile-body { padding: 0 .85rem 1rem; }
  .tile-name { font-size: 1.0625rem; }
  .tile-meta { flex-direction: column; gap: 0; }
  .steps, .gcards, .gcards-index { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filters form { grid-template-columns: minmax(0, 1fr); }
  .order-t thead { display: none; }
  .order-t, .order-t tbody, .order-t tr, .order-t th, .order-t td { display: block; }
  .order-t tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line-2); }
  .order-t tr[hidden] { display: none; }
  .order-t th, .order-t td { padding: 0; border: 0; text-align: start; }
  .order-t td.num { display: none; }
  .order-t td.qty { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .order-t .qty input { width: 6.5rem; }
  .order-bar { flex-direction: column; align-items: stretch; }
}

@media print {
  .util, .top, .foot, .order-bar, .gal-thumbs, .actions, .related, .q-side, .paste, .q-tools, .seg { display: none !important; }
  body { background: #fff; }
}

/* Scripts with tall stacked marks (Khmer subscripts, Thai/Devanagari/Bengali vowels) need open headline leading,
   including the tightly set hero headline. */
:lang(km) .hero h1, :lang(th) .hero h1, :lang(hi) .hero h1, :lang(bn) .hero h1, :lang(ar) .hero h1 { line-height: 1.4; letter-spacing: 0; }
:lang(km) h1, :lang(km) h2, :lang(km) h3 { line-height: 1.55; }
:lang(km) .hero h1 { line-height: 1.7; }
