/*
Theme Name: ALLNI
Theme URI: https://allnifab.com
Author: OMI APPAREL LIMITED
Description: ALLNI — low-impact performance fabric sourcing and OEM/ODM manufacturing for activewear brands. Purpose-built for B2B inbound acquisition and generative-engine visibility.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: allni
*/

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
	--paper:        #F7F5F1;
	--paper-warm:   #EFEBE4;
	--paper-deep:   #E7E1D7;
	--ink:          #14140F;
	--ink-soft:     #57564E;
	--ink-faint:    #8A8880;
	--line:         #DFD8CD;
	--line-strong:  #C6BEB0;
	--accent:       #2C4A3B;
	--accent-soft:  #E4EAE4;
	--accent-warm:  #A8553C;

	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;

	--fs-display: clamp(2.35rem, 5.1vw, 4.3rem);
	--fs-h2:      clamp(1.85rem, 3.4vw, 3rem);
	--fs-h3:      clamp(1.2rem, 1.7vw, 1.55rem);
	--fs-body:    1.0625rem;
	--fs-small:   0.9375rem;
	--fs-label:   0.6875rem;

	--pad-x: clamp(20px, 5vw, 72px);
	--pad-y: clamp(64px, 8vw, 132px);
	--maxw:  1360px;

	--ease: cubic-bezier(.22,.61,.36,1);
}

/* ============================================================
   2. RESET / 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: var(--fs-body);
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--pad-y); }
.section--tight { padding-block: clamp(44px, 5vw, 76px); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--warm { background: var(--paper-warm); }

/* ============================================================
   3. TYPOGRAPHY HELPERS
   ============================================================ */
.eyebrow {
	display: inline-block;
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-faint);
	margin-bottom: 1.25rem;
}
.section--dark .eyebrow { color: rgba(247,245,241,.55); }

.display {
	font-size: var(--fs-display);
	line-height: 0.98;
	letter-spacing: -0.035em;
	font-weight: 500;
}
.h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.03em; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; }
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.lede {
	font-size: clamp(1.0625rem, 1.35vw, 1.3rem);
	line-height: 1.6;
	color: var(--ink-soft);
	max-width: 62ch;
}
.section--dark .lede { color: rgba(247,245,241,.72); }
.muted { color: var(--ink-soft); }
.tiny { font-size: var(--fs-small); line-height: 1.6; color: var(--ink-soft); }
.section--dark .tiny,
.section--dark .muted { color: rgba(247,245,241,.62); }
.mono-label {
	font-size: var(--fs-label);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--ink-faint);
}
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .7em;
	padding: 1.05em 1.9em;
	background: var(--ink);
	color: var(--paper);
	border: 1px solid var(--ink);
	border-radius: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--line-strong);
	padding-bottom: .35em;
	transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: .9em; }

/* ============================================================
   5. HEADER
   ============================================================ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(247,245,241,.88);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--line);
}
.site-header__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	height: 76px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: .68rem;
	text-decoration: none;
	color: inherit;
}
.brand__mark {
	display: block;
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
}
.brand__stack {
	display: flex;
	flex-direction: column;
	gap: .26rem;
	line-height: 1;
}
.brand__word {
	font-weight: 600;
	font-size: 1.0625rem;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	line-height: 1;
}
.brand__sub {
	font-size: .531rem;
	letter-spacing: 0.14em;
	color: #8B877C;
	text-transform: uppercase;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}
.brand--foot .brand__mark { width: 34px; height: 34px; }
.brand--foot .brand__word { color: var(--paper); }
.brand--foot .brand__sub { color: rgba(247,245,241,.5); }
@media (max-width: 620px) {
	.brand__sub { display: none; }
	.brand__mark { width: 26px; height: 26px; }
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav a {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--ink-soft);
	transition: color .25s var(--ease);
	position: relative;
	padding-block: .4em;
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--ink);
}
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-cta .btn { padding: .85em 1.4em; font-size: .6875rem; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; }
.nav-toggle span {
	display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0;
	transition: transform .3s var(--ease), opacity .3s var(--ease);
}

@media (max-width: 980px) {
	.nav {
		position: fixed;
		inset: 76px 0 auto 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 1rem var(--pad-x) 1.6rem;
		transform: translateY(-120%);
		transition: transform .4s var(--ease);
		visibility: hidden;
	}
	.nav.is-open { transform: translateY(0); visibility: visible; }
	.nav a { width: 100%; padding-block: .95em; border-bottom: 1px solid var(--line); font-size: .9375rem; }
	.nav-toggle { display: block; }
	.header-cta .btn { display: none; }
}

/* ============================================================
   6. HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__grid {
	display: grid;
	grid-template-columns: 1.18fr .82fr;
	gap: clamp(28px, 5vw, 80px);
	align-items: center;
	padding-block: clamp(48px, 6vw, 92px);
}
.hero__copy { max-width: none; }
.hero h1 {
	margin-bottom: 1.5rem;
	font-size: clamp(2.35rem, 5.1vw, 4.3rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
	text-wrap: balance;
}
.hero__lede { margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6rem 2.4rem;
	margin-top: 3rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--line);
}
.hero__meta div { display: flex; flex-direction: column; gap: .25rem; }
.hero__meta dt { font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.hero__meta dd { margin: 0; font-size: .9375rem; font-weight: 500; }

.hero__media { position: relative; }
.hero__media img {
	width: 100%;
	height: clamp(400px, 64vh, 720px);
	object-fit: cover;
	object-position: center 18%;
}
@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__media img { height: 58vh; }
	.hero__copy { max-width: none; }
}

/* ============================================================
   7. TRUST STRIP
   ============================================================ */
.trust {
	border-bottom: 1px solid var(--line);
	background: var(--paper-warm);
}
.trust__in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2.4rem;
	padding-block: 1.25rem;
}
.trust__item {
	display: flex;
	align-items: center;
	gap: .6rem;
	font-size: var(--fs-label);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--ink-soft);
}
.trust__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }

/* ============================================================
   8. SECTION HEAD
   ============================================================ */
.shead {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 2rem clamp(28px, 5vw, 72px);
	align-items: end;
	margin-bottom: clamp(36px, 4.5vw, 68px);
}
.shead__aside { justify-self: end; text-align: right; max-width: 42ch; }
@media (max-width: 860px) {
	.shead { grid-template-columns: 1fr; align-items: start; }
	.shead__aside { justify-self: start; text-align: left; }
}

/* ============================================================
   9. CAPABILITY CARDS
   ============================================================ */
.caps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.cap {
	background: var(--paper);
	padding: clamp(24px, 2.6vw, 40px);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-height: 260px;
	transition: background .4s var(--ease);
}
.cap:hover { background: #fff; }
.cap__num {
	font-size: var(--fs-label);
	letter-spacing: .18em;
	color: var(--ink-faint);
	font-weight: 600;
}
.cap h3 { font-size: 1.0625rem; letter-spacing: -0.01em; font-weight: 600; }
.cap p { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; line-height: 1.62; }
.cap ul { margin: auto 0 0; padding: 0; list-style: none; }
.cap li {
	font-size: .8125rem;
	color: var(--ink-soft);
	padding-block: .42em;
	border-top: 1px solid var(--line);
}
@media (max-width: 1000px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .caps { grid-template-columns: 1fr; } }

/* ============================================================
   10. FABRIC LINES
   ============================================================ */
.fabrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(247,245,241,.16); }
.fabric {
	background: var(--ink);
	padding: clamp(26px, 3vw, 46px);
	display: flex;
	flex-direction: column;
	gap: .9rem;
	transition: background .4s var(--ease);
}
.fabric:hover { background: #1D1D17; }
.fabric__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.fabric h3 { font-size: clamp(1.25rem, 1.9vw, 1.65rem); letter-spacing: -0.02em; }
.fabric__tag {
	font-size: .625rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--accent-soft);
	background: rgba(228,234,228,.1);
	border: 1px solid rgba(228,234,228,.22);
	padding: .35em .7em;
	white-space: nowrap;
}
.fabric p { font-size: var(--fs-small); color: rgba(247,245,241,.68); margin: 0; line-height: 1.62; }
.fabric__use {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid rgba(247,245,241,.14);
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(247,245,241,.5);
	font-weight: 500;
}
@media (max-width: 760px) { .fabrics { grid-template-columns: 1fr; } }

.fabric-note {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(247,245,241,.16);
	font-size: .8125rem;
	line-height: 1.7;
	color: rgba(247,245,241,.5);
	max-width: 92ch;
}

/* ============================================================
   11. COLLECTION GRID
   ============================================================ */
.colls {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(14px, 1.8vw, 26px);
}
.coll { display: block; position: relative; overflow: hidden; background: var(--paper-deep); }
.coll__media { aspect-ratio: 3 / 4; overflow: hidden; }
.coll__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .9s var(--ease), filter .6s var(--ease);
}
.coll:hover .coll__media img { transform: scale(1.045); }
.coll__body {
	display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
	padding: 1.05rem 0 1.4rem;
	border-bottom: 1px solid var(--line);
}
.coll__title { font-size: .9375rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.coll__sub { font-size: .75rem; color: var(--ink-faint); letter-spacing: .04em; }
.coll__idx {
	position: absolute; top: 14px; left: 14px;
	font-size: .625rem; letter-spacing: .16em; font-weight: 700;
	color: #fff; background: rgba(20,20,15,.55);
	padding: .4em .6em; backdrop-filter: blur(6px);
}
@media (max-width: 1000px) { .colls { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .colls { grid-template-columns: 1fr; } }

/* ============================================================
   12. STATS BAND
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); }
.stat__n {
	font-size: clamp(2.2rem, 4.2vw, 3.6rem);
	line-height: 1;
	letter-spacing: -0.04em;
	font-weight: 500;
}
.stat__l {
	margin-top: .7rem;
	font-size: var(--fs-label);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ink-faint);
	font-weight: 600;
}
.section--dark .stat__l { color: rgba(247,245,241,.5); }
.stat__d { margin-top: .5rem; font-size: .8125rem; color: var(--ink-soft); line-height: 1.55; }
.section--dark .stat__d { color: rgba(247,245,241,.6); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }

/* ============================================================
   13. PROCESS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.step { background: var(--paper); padding: clamp(22px, 2.4vw, 34px) clamp(18px, 2vw, 28px) clamp(28px, 3vw, 44px); }
.step__n {
	font-family: var(--font-serif);
	font-size: 2.4rem;
	line-height: 1;
	color: var(--line-strong);
	margin-bottom: 1.1rem;
}
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: .6rem; letter-spacing: -0.01em; }
.step p { font-size: .8125rem; color: var(--ink-soft); margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   14. FAQ / ACCORDION
   ============================================================ */
.faq { max-width: 900px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	padding: 1.35rem 0;
	cursor: pointer;
	list-style: none;
	font-size: clamp(1rem, 1.25vw, 1.125rem);
	font-weight: 500;
	letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	font-size: 1.35rem;
	font-weight: 300;
	color: var(--ink-faint);
	transition: transform .3s var(--ease);
	flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 1.5rem; max-width: 78ch; color: var(--ink-soft); font-size: .9375rem; line-height: 1.72; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ============================================================
   15. CTA BAND
   ============================================================ */
.ctaband { background: var(--accent); color: var(--paper); }
.ctaband__in {
	display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px);
	align-items: center;
	padding-block: clamp(56px, 7vw, 104px);
}
.ctaband h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
.ctaband__slogan {
	display: block;
	font-size: .5625rem;
	letter-spacing: .24em;
	text-transform: uppercase;
	font-weight: 600;
	color: rgba(247,245,241,.6);
	margin-bottom: 1.1rem;
}
.ctaband p { color: rgba(247,245,241,.78); margin-bottom: 0; }
.ctaband .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-self: end; }
.ctaband .btn--ghost {
	color: var(--paper);
	border-color: rgba(247,245,241,.45);
}
.ctaband .btn--ghost:hover {
	background: var(--paper);
	color: var(--accent);
	border-color: var(--paper);
}
@media (max-width: 820px) { .ctaband__in { grid-template-columns: 1fr; } .ctaband .actions { justify-self: start; } }

/* ============================================================
   16. FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(247,245,241,.72); padding-top: clamp(48px, 6vw, 88px); }
.site-footer a { color: rgba(247,245,241,.72); transition: color .25s var(--ease); }
.site-footer a:hover { color: var(--paper); }
.foot__grid {
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 2.5rem clamp(24px, 4vw, 56px);
	padding-bottom: clamp(40px, 5vw, 64px);
}
.foot__brand .brand { color: var(--paper); margin-bottom: 1.1rem; }
.foot__brand p { font-size: .875rem; line-height: 1.7; max-width: 34ch; color: rgba(247,245,241,.55); }
.foot h4 {
	font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase;
	color: rgba(247,245,241,.42); margin-bottom: 1.1rem; font-weight: 600;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .65rem; font-size: .875rem; }
.foot__bar {
	border-top: 1px solid rgba(247,245,241,.12);
	padding-block: 1.5rem;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
	font-size: .75rem; color: rgba(247,245,241,.42);
}
.foot__bar .legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

/* ============================================================
   17. PRODUCTS
   ============================================================ */
.prodgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px) clamp(12px, 1.4vw, 20px); }
.pcard { display: block; }
.pcard__media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--paper-deep); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__code {
	position: absolute; left: 10px; bottom: 10px;
	font-size: .625rem; letter-spacing: .12em; font-weight: 600;
	background: rgba(247,245,241,.92); color: var(--ink); padding: .35em .6em;
}
.pcard__body { padding-top: .85rem; }
.pcard__name { font-size: .875rem; font-weight: 500; letter-spacing: -0.005em; margin-bottom: .3rem; }
.pcard__meta { font-size: .75rem; color: var(--ink-faint); line-height: 1.5; }
@media (max-width: 1100px) { .prodgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .prodgrid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   18. PAGE / ARTICLE
   ============================================================ */
.page-hero { padding-block: clamp(48px, 6vw, 92px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -0.035em; max-width: 24ch; }
.page-hero .lede { margin-top: 1.4rem; }

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 2.4rem 0 1rem; letter-spacing: -0.025em; }
.prose h3 { font-size: 1.15rem; margin: 1.9rem 0 .8rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { border-bottom: 1px solid var(--line-strong); }
.prose a:hover { border-color: var(--ink); }
.prose blockquote {
	margin: 2rem 0; padding-left: 1.4rem; border-left: 2px solid var(--accent);
	font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.5; color: var(--ink);
}
.prose img { margin: 2rem 0; }

/* ============================================================
   19. FORM
   ============================================================ */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label {
	font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase;
	font-weight: 600; color: var(--ink-faint);
}
.field input, .field select, .field textarea {
	width: 100%;
	padding: .9em 1em;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 0;
	font: inherit;
	font-size: .9375rem;
	color: var(--ink);
	transition: border-color .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none; border-color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.form__note { font-size: .75rem; color: var(--ink-faint); line-height: 1.6; }
.form__msg { padding: .9rem 1rem; font-size: .875rem; display: none; }
.form__msg.ok { display: block; background: var(--accent-soft); color: var(--accent); }
.form__msg.err { display: block; background: #F7E7E4; color: #8C3A2A; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

/* Request type selector (quote vs sample) */
.reqtype { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.reqtype__opt { position: relative; display: block; border: 1px solid var(--line); padding: .85em 1em; cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.reqtype__opt input { position: absolute; opacity: 0; pointer-events: none; }
.reqtype__opt span { display: block; }
.reqtype__opt strong { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.reqtype__opt small { display: block; margin-top: .3em; font-size: .75rem; line-height: 1.55; color: var(--ink-faint); }
.reqtype__opt:hover { border-color: var(--line-strong); }
.reqtype__opt:has(input:checked) { border-color: var(--ink); background: var(--paper-deep); }
.reqtype__opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 620px) { .reqtype { grid-template-columns: 1fr; } }

/* ============================================================
   20. UTIL
   ============================================================ */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.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: -9999px; top: 0; z-index: 100;
	background: var(--ink); color: var(--paper); padding: .8rem 1.2rem;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}

/* ============================================================
   21. PRODUCT GALLERY
   ============================================================ */
.pgallery__main {
	position: relative;
	background: var(--paper-deep);
	aspect-ratio: 3/4;
	overflow: hidden;
}
.pgallery__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .45s ease;
	pointer-events: none;
}
.pgallery__img.is-active { opacity: 1; pointer-events: auto; }
.pgallery__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}
.pgallery__thumb {
	flex: 0 0 72px;
	padding: 0;
	border: 1px solid var(--line);
	background: var(--paper-deep);
	cursor: pointer;
	aspect-ratio: 3/4;
	overflow: hidden;
	opacity: .55;
	transition: opacity .25s ease, border-color .25s ease;
}
.pgallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgallery__thumb:hover { opacity: .85; }
.pgallery__thumb.is-active { opacity: 1; border-color: var(--ink); }

/* ============================================================
   22. JOURNAL
   ============================================================ */
.jgrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(28px, 3.4vw, 56px);
	margin-top: clamp(36px, 4vw, 64px);
}
.jcard a { display: block; }
.jcard__media {
	overflow: hidden;
	background: var(--paper-deep);
	aspect-ratio: 16/10;
}
.jcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.jcard a:hover .jcard__media img { transform: scale(1.03); }
.jcard__body { padding-top: 1.1rem; }
.jcard time {
	display: block;
	font-size: .6875rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-faint);
}
.jcard__title {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 1.9vw, 1.65rem);
	line-height: 1.22;
	letter-spacing: -.02em;
	margin: .5rem 0 .6rem;
}
.jcard__ex { color: var(--ink-soft); font-size: .9375rem; line-height: 1.6; margin-bottom: .9rem; }
.jcard__more {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: .75rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink);
	border-bottom: 1px solid var(--ink);
	padding-bottom: 2px;
}
@media (max-width: 760px) { .jgrid { grid-template-columns: 1fr; } }

/* 目录留资下载页 */
.catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-block: 2rem; }
.catcard { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.catcard img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.catcard__meta { padding: .8rem .9rem; display: flex; flex-direction: column; gap: .15rem; }
.catcard__meta strong { font-size: .875rem; font-weight: 600; letter-spacing: -.01em; }
.catcard__meta span { font-size: .75rem; color: var(--muted, #6b6b63); }
.catcard__dl { padding: 0 .9rem .85rem; font-size: .75rem; font-weight: 600; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }
.catcard:hover { border-color: var(--accent); box-shadow: 0 10px 26px rgba(20, 20, 15, .1); transform: translateY(-2px); }
.catcard--pick { cursor: pointer; }
.catcard--pick input { position: absolute; opacity: 0; pointer-events: none; }
.catcard__check { position: absolute; top: .6rem; right: .6rem; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .85rem; line-height: 26px; text-align: center; opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .15s ease; }
.catcard--pick:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.catcard--pick:has(input:checked) .catcard__check { opacity: 1; transform: scale(1); }
.catgate { max-width: 640px; margin-top: 2.5rem; }
.catgate h2 { font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: 1.2rem; }
.catdl { margin-bottom: 1rem; }
.catdl h2 { font-size: 1.6rem; letter-spacing: -.02em; }
.catdl p { color: var(--muted, #6b6b63); margin-top: .4rem; }
@media (max-width: 960px) { .catgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .catgrid { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }

/* WhatsApp 浮标 */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 1200; display: inline-flex; align-items: center; gap: .5em; padding: .75em 1.1em; border-radius: 999px; background: #25D366; color: #fff; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; box-shadow: 0 10px 28px rgba(20, 20, 15, .28); transition: transform .2s ease, box-shadow .2s ease; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(20, 20, 15, .34); color: #fff; }
.wa-float svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
@media (max-width: 620px) {
	.wa-float { right: 14px; bottom: 14px; padding: .75em; }
	.wa-float__label { display: none; }
}

/* 打印 */
@media print {
	.site-header, .site-footer, .ctaband, .nav-toggle, .wa-float { display: none; }
	body { background: #fff; }
}
/* ============================================================
   20. JOURNAL / NEWS LISTING  (2026-11)
   ============================================================ */

/* --- filter chips --- */
.jchips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: clamp(24px,3vw,36px); }
.jchip {
	display: inline-block; padding: .62em 1.05em; border: 1px solid var(--line);
	font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
	color: var(--ink-faint); text-decoration: none;
	transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.jchip:hover { border-color: var(--ink); color: var(--ink); }
.jchip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* --- card meta: category + date on one line --- */
.jcard__media { position: relative; }
.jcard__meta { display: flex; align-items: center; gap: .55rem; margin-bottom: .5rem; }
.jcard__cat {
	font-size: .625rem; font-weight: 600; letter-spacing: .16em;
	text-transform: uppercase; color: var(--accent);
}
.jcard__meta time {
	font-size: .625rem; letter-spacing: .16em; text-transform: uppercase;
	color: var(--ink-faint); margin: 0;
}
.jcard__meta i { display: block; width: 3px; height: 3px; background: var(--ink-faint); border-radius: 50%; }

/* --- video badge --- */
.jcard__play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.jcard__play span {
	width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
	background: rgba(247,245,241,.94); box-shadow: 0 2px 18px rgba(20,20,15,.22);
	transition: transform .3s var(--ease);
}
.jcard a:hover .jcard__play span { transform: scale(1.06); }
.jcard__play svg { width: 17px; height: 17px; margin-left: 3px; fill: var(--ink); }

/* --- featured lead card --- */
.jlead { grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding-bottom: clamp(26px,3vw,44px); }
.jlead .jcard__media { aspect-ratio: 16/9; }
.jlead .jcard__title { font-size: clamp(1.6rem, 2.9vw, 2.45rem); max-width: 26ch; }
.jlead .jcard__ex { max-width: 74ch; font-size: 1rem; }

/* --- pagination --- */
.jpager {
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	margin-top: clamp(34px,4vw,56px); padding-top: 1.3rem; border-top: 1px solid var(--line);
}
.jpager__nums { display: flex; gap: .4rem; }
.jpager__nums a, .jpager__nums span {
	min-width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
	border: 1px solid var(--line); font-size: .8125rem;
	color: var(--ink-soft); text-decoration: none;
	transition: border-color .18s ease, color .18s ease;
}
.jpager__nums a:hover { border-color: var(--ink); color: var(--ink); }
.jpager__nums .is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.jpager__count { font-size: .75rem; color: var(--ink-faint); letter-spacing: .06em; }

/* --- single post: featured image band + video --- */
.post-hero {
	margin: clamp(28px,3.4vw,48px) 0 0;
	aspect-ratio: 16/9; overflow: hidden; background: var(--paper-deep);
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-video { margin: 0 0 2.2rem; }
.post-video iframe { width: 100%; height: auto; aspect-ratio: 16/9; border: 0; display: block; }

@media (max-width: 760px) {
	.jlead .jcard__media { aspect-ratio: 16/10; }
	.jpager { flex-direction: column; align-items: flex-start; gap: .8rem; }
}
/* --- header: keep the 8 nav items on one line on narrow desktops ---
   1366/1440 are fine as-is; 1240–1327 needs a tighter gap or
   "Fabric library" wraps to two lines and the CTA wraps to two lines. */
@media (min-width: 981px) and (max-width: 1400px) {
	.nav { gap: clamp(.85rem, 1.5vw, 1.6rem); }
	.nav a { white-space: nowrap; }
	.site-header__in { gap: 1.25rem; }
	.header-cta .btn { white-space: nowrap; }
}
/* --- header: switch to the drawer earlier than 980px ---
   With 8 nav items the horizontal row needs ~634px of nav width; below
   ~1240px viewport the CTA button gets pushed off-screen (measured at
   1000px: "REQUEST A QUOTE" clipped at the right edge). Mirror the
   original 980px drawer rules for 981–1240px so the row never overflows,
   but keep the CTA button visible (the original block hides it at 980). */
@media (min-width: 981px) and (max-width: 1240px) {
	.nav {
		position: fixed;
		inset: 76px 0 auto 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 1rem var(--pad-x) 1.6rem;
		transform: translateY(-120%);
		transition: transform .4s var(--ease);
		visibility: hidden;
	}
	.nav.is-open { transform: translateY(0); visibility: visible; }
	.nav a { width: 100%; padding-block: .95em; border-bottom: 1px solid var(--line); font-size: .9375rem; }
	.nav-toggle { display: block; }
}
/* ============================================================
   How we work — page styles  (append to style.css)
   ============================================================ */

/* --- intro: copy left, key numbers right --- */
.hiw-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: start;
}
.hiw-intro .prose p:first-child { margin-top: 0; }
.hiw-facts > div { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.hiw-facts > div + div { margin-top: 1.3rem; }
.hiw-facts p { margin: .55rem 0 0; font-size: .9375rem; color: var(--ink); line-height: 1.4; }
@media (max-width: 860px) {
	.hiw-intro { grid-template-columns: 1fr; }
}

/* --- inputs: 2 x 2 grid of what we need from the buyer --- */
.hiw-inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--line);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.hiw-input {
	background: var(--paper);
	padding: clamp(22px, 2.4vw, 32px) clamp(18px, 2vw, 28px) clamp(26px, 2.6vw, 38px);
}
.hiw-input .n {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	line-height: 1;
	color: var(--line-strong);
}
.hiw-input h3 { font-size: 1rem; font-weight: 600; margin: .85rem 0 .55rem; letter-spacing: -.01em; }
.hiw-input p { font-size: .8125rem; color: var(--ink-soft); margin: 0; line-height: 1.6; }
@media (max-width: 700px) {
	.hiw-inputs { grid-template-columns: 1fr; }
}

/* --- stages: numbered rows, label left, detail right --- */
.hiw-stage {
	display: grid;
	grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
	gap: clamp(18px, 3vw, 56px);
	padding: clamp(26px, 3vw, 44px) 0;
	border-top: 1px solid var(--line);
}
.hiw-stage:last-child { border-bottom: 1px solid var(--line); }
.hiw-stage .n {
	font-family: var(--font-serif);
	font-size: 2rem;
	line-height: 1;
	color: var(--line-strong);
}
.hiw-stage h3 { font-size: 1.05rem; font-weight: 600; margin: .75rem 0 0; letter-spacing: -.015em; }
.hiw-stage p { color: var(--ink-soft); margin: 0 0 1rem; max-width: 68ch; line-height: 1.7; }
.hiw-stage p:last-child { margin-bottom: 0; }
.hiw-stage .back {
	margin-top: 1.15rem;
	padding-top: 1.15rem;
	border-top: 1px solid var(--line);
	font-size: .9375rem;
	color: var(--ink);
}
.hiw-stage .back b { font-weight: 600; }
@media (max-width: 760px) {
	.hiw-stage { grid-template-columns: 1fr; gap: .2rem; }
	.hiw-stage .n { font-size: 1.5rem; }
	.hiw-stage h3 { margin-top: .5rem; }
}

/* --- timeline table: scrolls inside its own box instead of widening the page ---
   Three columns of table cells will not compress below ~430px, which pushed
   the whole document to 430px on a 390px screen. Contain it. */
.hiw-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hiw-table table { min-width: 100%; }
@media (max-width: 640px) {
	.hiw-table table { font-size: .8125rem !important; }
	.hiw-table th, .hiw-table td { padding-left: .55em !important; padding-right: .55em !important; }
	.hiw-table th:first-child, .hiw-table td:first-child { padding-left: 0 !important; }
}

/* --- where a week goes missing: two-column definition list --- */
.hiw-gaps {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 clamp(28px, 4vw, 64px);
	margin: 0;
}
.hiw-gaps > div { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.hiw-gaps dt { font-weight: 600; font-size: .9375rem; margin-bottom: .35rem; letter-spacing: -.005em; }
.hiw-gaps dd { margin: 0; font-size: .875rem; color: var(--ink-soft); line-height: 1.62; }
@media (max-width: 700px) {
	.hiw-gaps { grid-template-columns: 1fr; }
}

/* --- header: Products dropdown (Collections + Fabric library moved inside) ---
   The nav is back to seven items, so the base rules' 1240px drawer breakpoint
   fits again — the 9-item overrides are gone rather than layered on top.

   Mechanics, deliberately without JavaScript:
   · desktop  panel opens on :hover and on :focus-within, so tabbing into
              "Products" reveals it and tabbing on into the links keeps it open;
   · the panel is offset by a transparent padding-top equal to the space
              between the nav baseline and the header's bottom rule (measured
              25px at 76px header height), which doubles as the hover bridge —
              no dead zone between the trigger and the panel;
   · drawer   the panel is flattened into a static, always-visible indented
              group. Seven top items plus three children is short enough that an
              accordion would buy nothing and cost a state to get wrong. */
.nav-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: .3rem;
}
.nav-item__link { white-space: nowrap; }
.nav-item__ind {
	display: flex;
	align-items: center;
	color: var(--ink-faint);
	transition: transform .25s var(--ease), color .25s var(--ease);
}
.nav-item:hover .nav-item__ind,
.nav-item:focus-within .nav-item__ind { color: var(--ink); transform: rotate(180deg); }

/* underline the parent when a child page is open, matching .nav a.is-active */
.nav-item.is-active > .nav-item__link { color: var(--ink); }
.nav-item.is-active > .nav-item__link::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--ink);
}

.nav-sub {
	position: absolute;
	top: 100%;
	left: -.85rem;
	z-index: 70;
	padding-top: 22px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-5px);
	transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-item:hover > .nav-sub,
.nav-item:focus-within > .nav-sub {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.nav-sub__box {
	min-width: 20.5rem;
	padding: .4rem;
	background: #FBF9F5;
	border: 1px solid var(--line);
	box-shadow: 0 24px 46px -32px rgba(20,20,15,.5), 0 2px 6px -4px rgba(20,20,15,.14);
}

/* sub links: reset everything .nav a imposes, then set the panel rhythm */
.nav .nav-sub a {
	display: block;
	width: auto;
	padding: .58rem .75rem .62rem;
	border: 0;
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .01em;
	line-height: 1.3;
	color: var(--ink);
	white-space: normal;
	transition: background .18s var(--ease);
}
.nav .nav-sub a + a { border-top: 1px solid var(--line); }
.nav .nav-sub a::after { display: none; }
.nav .nav-sub a:hover,
.nav .nav-sub a[aria-current="page"] { background: rgba(20,20,15,.045); }
.nav .nav-sub a:focus-visible { outline: 1px solid var(--ink); outline-offset: -2px; }
.nav-sub__t { display: block; }
.nav-sub__d {
	display: block;
	margin-top: .22rem;
	font-size: .6875rem;
	font-weight: 400;
	letter-spacing: .01em;
	line-height: 1.45;
	color: var(--ink-faint);
}

/* the seventh item buys back the row's breathing space */
@media (min-width: 1241px) {
	.nav { gap: clamp(1.1rem, 1.9vw, 2rem); }
}

@media (max-width: 1240px) {
	/* seven items plus three children is ~596px of drawer — taller than a 640px
	   phone once the header is subtracted, and a fixed box cannot scroll the
	   page under it. Measured: navBottom 672 vs viewport 640. Cap and scroll. */
	.nav {
		max-height: calc(100vh - 76px);
		max-height: calc(100dvh - 76px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}
	.nav-item { display: block; width: 100%; position: static; }
	.nav-item__ind { display: none; }
	.nav .nav-item > .nav-item__link {
		display: block;
		width: 100%;
		padding-block: .95em;
		border-bottom: 0;
		font-size: .9375rem;
	}
	.nav-item.is-active > .nav-item__link::after { display: none; }

	/* flattened into the drawer: indent, drop the box, close with the same
	   hairline every top-level item carries */
	.nav-sub {
		position: static;
		padding: 0 0 .5rem 1.05rem;
		opacity: 1;
		visibility: visible;
		transform: none;
		border-bottom: 1px solid var(--line);
	}
	.nav-sub__box {
		min-width: 0;
		padding: 0;
		background: none;
		border: 0;
		box-shadow: none;
	}
	.nav .nav-sub a { padding: .58em 0; font-size: .875rem; }
	.nav .nav-sub a + a { border-top: 0; }
	.nav .nav-sub a:hover,
	.nav .nav-sub a[aria-current="page"] { background: none; }
	.nav .nav-sub a[aria-current="page"] .nav-sub__t { text-decoration: underline; text-underline-offset: .22em; }
	.nav-sub__d { font-size: .75rem; }
}

/* --- collections entry rail on /products/ (R1) ---
   /products/ is the landing page for the "Products" nav item and the parent
   drop-down, so it has to carry the route into the collections index. Eleven
   3:4 covers at ~148px do not fit the 1216px content width at 1440, and a
   second full 3-column grid would push the product grid below the fold —
   so this is a single row with scroll-snap. The cell width is set so eight
   covers fit the 1218px content width at 1440 with ~60px of the ninth
   showing: the clipped card is the affordance that the row continues, which
   a hairline scrollbar alone does not communicate on a mouse. */
.pcoll {
	border-block: 1px solid var(--line);
	padding-block: clamp(24px, 2.8vw, 38px);
	background: var(--paper);
}

.pcoll__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: .9rem 2.4rem;
}

/* the page already carries a long lede; this block only needs a label, so the
   heading takes the eyebrow's small-caps treatment rather than a second h2 */
.pcoll__h {
	margin: 0;
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.pcoll__rail {
	display: flex;
	align-items: stretch;
	gap: clamp(10px, 1.1vw, 16px);
	margin: clamp(18px, 2.2vw, 26px) 0 0;
	padding: 0 0 .5rem;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	scrollbar-color: var(--line-strong) transparent;
}

.pcoll__cell {
	display: flex;
	flex: 0 0 auto;
	width: clamp(110px, 8.9vw, 128px);
	scroll-snap-align: start;
}

.pcoll__item {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.pcoll__fig {
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--paper-deep);
}

.pcoll__fig img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s var(--ease);
}

.pcoll__item:hover .pcoll__fig img { transform: scale(1.045); }

/* two lines reserved so the counters sit on one baseline across the row,
   whether the collection name wraps ("EVERYDAY PERFORMANCE") or not */
.pcoll__t {
	margin-top: .7rem;
	min-height: 2.8em;
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .09em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pcoll__item:hover .pcoll__t { text-decoration: underline; text-underline-offset: .22em; }

.pcoll__n {
	margin-top: .45rem;
	font-size: .625rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.pcoll__item:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

/* a scrollbar on a phone is not an affordance; say it in words instead */
.pcoll__swipe {
	display: none;
	margin-top: .9rem;
	font-size: .625rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

@media (max-width: 900px) {
	.pcoll__swipe { display: block; }
}

/* ============================================================
   R2 — homepage collections section: route into the collections index

   The eleven cards above all link straight to individual collection pages;
   nothing on the homepage reached the index. This turns the single closing
   link into a pair, with the taxonomy route first because the section is
   about collections. Label reuses /products/'s wording verbatim so both
   entry points read the same.

   Why flex and not the existing .actions class: .actions is scoped to
   .ctaband only (style.css:563), so it carries no rules here.
   ============================================================ */
.colls-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.1rem 2.6rem;
}

/* On a 375px screen two uppercase labels plus arrows exceed one line, and
   the 2.6rem column gap would push the second link past the right edge if
   they were forced to stay inline. Let them stack, and tighten the gap. */
@media (max-width: 560px) {
	.colls-actions { gap: .95rem 1.6rem; }
}

/* ============================================================
   R2b — collections index: give each card a descriptive line

   /collections/ rendered the same eleven cards as the homepage strip:
   cover, title, style count — nothing more. A visitor arriving from
   "All 11 collections" saw no new information, only a wider layout.
   The index now prints the collection's own subtitle ("The Yoga &
   Studio Edit") under the title, so the grid reads as a taxonomy
   rather than a second copy of the homepage.

   The homepage keeps the two-line card on purpose: it is a strip,
   read at a glance while scrolling, and the subtitle would fight the
   section heading above it. Only .coll__body--idx is affected.

   Double-class selector (0,2,0) so this beats the base .coll__body
   flex rule regardless of where future rules land in style.css.
   ============================================================ */
.coll__body.coll__body--idx {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	column-gap: 1rem;
	row-gap: .28rem;
	padding-bottom: 1.15rem;
}
.coll__body.coll__body--idx .coll__note {
	grid-column: 1 / -1;
	font-size: .8125rem;
	line-height: 1.45;
	letter-spacing: .01em;
	color: var(--ink-soft);
	text-wrap: pretty;
}
