@font-face {
  font-family: "Open Sans";
  src: url("./fonts/opensans-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  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: "Open Sans";
  src: url("./fonts/opensans-latin-ext-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  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 {
  --brand-50: #f9f6f6;
  --brand-100: #efeae9;
  --brand-200: #e0d4d3;
  --brand-300: #ccb8b6;
  --brand-400: #b69692;
  --brand-500: #a27772;
  --brand-600: #8d5954;
  --brand-700: #704641;
  --brand-800: #543330;
  --brand-900: #39221f;
  --brand-950: #211110;
  --bg-canvas: #fef9f8;
  --bg-surface: #faf1f0;
  --bg-surface-strong: #f4e8e6;
  --bg-inverse: #140b0a;
  --text-primary: #211817;
  --text-secondary: #463d3c;
  --text-muted: #675e5d;
  --border-default: #e2d6d4;
  --border-strong: #9d8e8c;
  --cta-bg: #704641;
  --cta-bg-hover: #543330;
  --cta-bg-active: #39221f;
  --cta-text: #fff;
  --focus-ring: #9e605a;
  --success: #15803d;
  --error: #b91c1c;
  --font-sans: "Open Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --type-h1: clamp(1.875rem, 2.7vw, 2.25rem);
  --type-h2: clamp(1.5rem, 2.2vw, 1.75rem);
  --type-h3: clamp(1.25rem, 1.5vw, 1.375rem);
  --type-h4: clamp(1rem, 1.2vw, 1.125rem);
  --type-lead: clamp(1rem, 1.2vw, 1.125rem);
  --type-body: 1rem;
  --type-small: .875rem;
  --type-caption: .75rem;
  --container: 1280px;
  --reading: 760px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-sm: 3rem;
  --section-md: 5rem;
  --section-lg: 7rem;
  --radius-xs: .125rem;
  --radius-sm: .25rem;
  --radius-md: .5rem;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .06);
  --shadow-md: 0 10px 30px rgba(33, 17, 16, .10);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --target: 2.75rem;
  --nav-height: 5rem;
  --utility-height: 2.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  color: var(--text-primary);
  background: var(--bg-canvas);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
::selection { background: var(--brand-200); color: var(--text-primary); }
.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: fixed; z-index: 3000; left: 16px; top: 16px; transform: translateY(-160%);
  background: var(--bg-inverse); color: white; padding: 12px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - (2 * var(--gutter))), var(--container)); margin-inline: auto; }
.container--reading { width: min(calc(100% - (2 * var(--gutter))), var(--reading)); margin-inline: auto; }
.section { padding-block: var(--section-md); }
.section--compact, .section--guides { padding-block: var(--section-sm); }
.section--guides { padding-block: 2rem; }
.section--brand.section--compact { padding-block: 2.25rem; }
.section--spacious { padding-block: var(--section-lg); }
.section--surface { background: var(--bg-surface); }
.section--surface-strong { background: var(--bg-surface-strong); }
.section--inverse { background: var(--bg-inverse); color: white; }
.section--brand { background: var(--brand-800); color: white; }
.eyebrow {
  display: inline-flex; gap: .5rem; align-items: center; margin: 0 0 .5rem;
  color: var(--brand-700); font-size: var(--type-caption); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; display: block; width: 28px; height: 1px; background: currentColor; }
.section--inverse .eyebrow, .section--brand .eyebrow { color: var(--brand-200); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
h1 { margin-bottom: 1rem; font-size: var(--type-h1); font-weight: 700; }
h2 { margin-bottom: .75rem; font-size: var(--type-h2); font-weight: 700; }
h3 { margin-bottom: .5rem; font-size: var(--type-h3); font-weight: 600; }
h4 { margin-bottom: .5rem; font-size: var(--type-h4); font-weight: 600; }
p { margin-bottom: 1rem; }
.lead { font-size: var(--type-lead); color: var(--text-secondary); max-width: 64ch; }
.muted { color: var(--text-muted); }
.small { font-size: var(--type-small); }
.caption { font-size: var(--type-caption); }
.inverse-muted { color: var(--brand-200); }
.split-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: end; margin-bottom: 2rem; }
.split-head p { margin-bottom: 0; color: var(--text-muted); max-width: 64ch; }
.btn {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .65rem 1.25rem; border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: var(--type-small); font-weight: 700; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn--primary { background: var(--cta-bg); color: var(--cta-text); }
.btn--primary:hover { background: var(--cta-bg-hover); color: var(--cta-text); }
.btn--secondary { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--text-primary); background: var(--bg-surface); }
.btn--light { background: white; color: var(--text-primary); }
.btn--light:hover { background: var(--brand-100); }
.btn--ghost-light { border-color: rgba(255,255,255,.42); color: white; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.09); }
.link-arrow { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; font-weight: 600; }
.text-link:hover { color: var(--brand-700); }

/* Header */
.utility-bar { background: var(--bg-surface-strong); color: var(--text-secondary); font-size: var(--type-caption); }
.utility-inner { min-height: var(--utility-height); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.utility-links { display: flex; gap: 1.4rem; align-items: center; }
.utility-links a { text-decoration: none; }
.utility-links a:hover { color: var(--brand-700); }
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--bg-canvas); border-bottom: 1px solid var(--border-default); }
.header-inner { min-height: var(--nav-height); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.brand { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 190px; height: auto; }
.primary-nav { justify-self: center; }
.primary-nav ul { display: flex; align-items: center; gap: 1.55rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: .875rem; font-weight: 600; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--brand-700); border-bottom-color: var(--brand-600); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.icon-button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--text-primary); cursor: pointer; }
.menu-toggle { display: none; }
.mobile-drawer { display: none; }

/* Hero */
.hero { padding-block: 3rem 4rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(560px, .88fr) minmax(0, 1.12fr); gap: 4rem; align-items: center; }
.hero-copy { padding-block: 2rem; }
.hero-copy h1 { max-width: 560px; }
.hero-copy .lead { max-width: 49ch; margin-bottom: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; align-items: center; margin-top: 1.5rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border-default); }
.hero-proof span { font-size: var(--type-small); color: var(--text-secondary); }
.hero-proof strong { color: var(--text-primary); }
.hero-stage { min-height: 560px; position: relative; }
.hero-main { width: 86%; margin-left: auto; background: var(--bg-surface-strong); border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1; }
.hero-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-secondary { position: absolute; left: 0; bottom: 1.25rem; width: 42%; aspect-ratio: 1/1; border: 8px solid var(--bg-canvas); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-surface); }
.hero-secondary img { width: 100%; height: 100%; object-fit: cover; }
.hero-specimen { position: absolute; right: -.5rem; top: 1.4rem; width: 178px; padding: 1rem; background: var(--bg-inverse); color: white; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.hero-specimen .caption { display: block; color: var(--brand-200); margin-bottom: .35rem; }
.hero-specimen strong { display: block; margin-bottom: .65rem; font-size: 1.125rem; }
.specimen-lines { display: grid; gap: .35rem; }
.specimen-lines span { display: flex; justify-content: space-between; gap: .75rem; padding-top: .35rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .75rem; }
.hero-ribbon { display: grid; grid-template-columns: repeat(9, 1fr); gap: .35rem; width: 86%; margin-left: auto; padding-top: .5rem; }
.hero-ribbon span { height: 8px; border-radius: 999px; }
.hero-ribbon .shade-1 { background: #7f4c55; }
.hero-ribbon .shade-2 { background: #a85d63; }
.hero-ribbon .shade-3 { background: #ca7f7f; }
.hero-ribbon .shade-4 { background: #dfa19c; }
.hero-ribbon .shade-5 { background: #efc0b8; }
.hero-ribbon .shade-6 { background: #cb8e87; }
.hero-ribbon .shade-7 { background: #9e605a; }
.hero-ribbon .shade-8 { background: #704641; }
.hero-ribbon .shade-9 { background: #39221f; }

/* Home route index */
.route-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 4rem; align-items: start; }
.route-intro { position: sticky; top: 7rem; }
.route-stack { border-top: 1px solid var(--border-strong); }
.route-row { display: grid; grid-template-columns: 64px 1.05fr 1.25fr auto; gap: 1.5rem; align-items: start; padding: 1.8rem 0; border-bottom: 1px solid var(--border-default); }
.route-row .num { color: var(--brand-700); font-size: var(--type-caption); font-weight: 700; letter-spacing: .12em; }
.route-row h3 { margin: 0 0 .4rem; }
.route-row p { margin: 0; color: var(--text-muted); }
.route-row .route-meta { font-size: var(--type-small); color: var(--text-secondary); }
.route-row .route-meta strong { display: block; color: var(--text-primary); margin-bottom: .3rem; }
.route-row .link-arrow { white-space: nowrap; align-self: center; }

/* Shade library */
.shade-feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: center; }
.shade-feature h2 { max-width: 12ch; }
.shade-feature .lead { color: var(--brand-100); }
.shade-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.shade-stats strong { display: block; font-size: 1.5rem; }
.shade-stats span { display: block; font-size: var(--type-caption); color: var(--brand-200); }
.shade-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.shade-tile { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--brand-900); aspect-ratio: 1/1; }
.shade-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.shade-tile:hover img { transform: scale(1.035); }
.shade-tile span { position: absolute; left: .6rem; bottom: .6rem; padding: .2rem .45rem; background: rgba(20,11,10,.82); color: white; border-radius: 2px; font-size: .75rem; }
.shade-feature .text-link { color: white; }

/* Category mosaic */
.category-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 1.25rem; }
.category-card { position: relative; overflow: hidden; background: var(--bg-surface); text-decoration: none; border-radius: var(--radius-md); }
.category-card--lip { grid-column: span 6; grid-row: span 2; }
.category-card--eye, .category-card--face { grid-column: span 3; }
.category-card--packaging { grid-column: span 6; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.category-card:hover img { transform: scale(1.025); }
.category-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem; background: var(--bg-canvas); border-top: 1px solid var(--border-default); }
.category-card--lip .category-copy { padding: 1.5rem; }
.category-copy h3 { margin-bottom: .2rem; }
.category-copy p { margin: 0; color: var(--text-muted); font-size: var(--type-small); }
.category-copy span { display: block; margin-top: .65rem; font-size: var(--type-caption); font-weight: 700; color: var(--brand-700); text-transform: uppercase; letter-spacing: .1em; }

/* Editorial product shelf */
.product-shelf { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 3rem; align-items: stretch; }
.featured-product { display: grid; grid-template-rows: 1fr auto; gap: 1.2rem; text-decoration: none; }
.featured-product__img { background: var(--bg-surface); border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.featured-product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.featured-product:hover .featured-product__img img { transform: scale(1.02); }
.featured-product h3 { margin-bottom: .3rem; }
.featured-product p { color: var(--text-muted); margin-bottom: .35rem; font-size: var(--type-small); }
.product-list { display: grid; grid-template-rows: repeat(3, 1fr); border-top: 1px solid var(--border-default); }
.product-list-item { display: grid; grid-template-columns: 128px 1fr auto; gap: 1.25rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--border-default); text-decoration: none; }
.product-list-item img { width: 128px; height: 128px; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-surface); }
.product-list-item h3 { margin: 0 0 .25rem; font-size: 1.125rem; }
.product-list-item p { margin: 0; color: var(--text-muted); font-size: var(--type-small); }
.product-list-item .arrow { font-size: 1.5rem; color: var(--brand-700); }

/* Craft panels */
.craft-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 4rem; align-items: start; }
.craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.craft-panel { display: grid; grid-template-rows: auto auto; min-width: 0; }
.craft-panel img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-surface-strong); }
.craft-panel__caption { display: grid; grid-template-columns: auto 1fr; gap: .75rem; padding-top: .8rem; }
.craft-panel__caption span { font-size: .75rem; color: var(--brand-700); font-weight: 700; letter-spacing: .12em; }
.craft-panel__caption strong { font-size: var(--type-small); }
.craft-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Evidence */
.evidence-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 4rem; align-items: center; }
.evidence-media { position: relative; }
.evidence-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius-md); }
.evidence-label { position: absolute; left: 1rem; bottom: 1rem; max-width: 320px; padding: .8rem 1rem; background: var(--bg-canvas); color: var(--text-primary); border-radius: var(--radius-sm); font-size: var(--type-small); }
.evidence-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.evidence-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--brand-100); font-size: var(--type-small); }
.evidence-list li::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; margin-top: .55rem; border-radius: 50%; background: var(--brand-300); }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); }
.process-step { position: relative; padding: 1.5rem 1.5rem 1.7rem 0; border-right: 1px solid var(--border-default); }
.process-step + .process-step { padding-left: 1.5rem; }
.process-step:last-child { border-right: 0; }
.process-step span { display: inline-block; margin-bottom: .8rem; font-size: var(--type-caption); font-weight: 700; color: var(--brand-700); letter-spacing: .12em; }
.process-step h3 { font-size: 1.125rem; }
.process-step p { margin: 0; color: var(--text-muted); font-size: var(--type-small); }

/* Guides */
.guide-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: stretch; }
.guide-lead { display: grid; grid-template-rows: 1fr auto; text-decoration: none; }
.guide-lead img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: var(--radius-md); background: var(--bg-surface); }
.guide-lead__copy { padding-top: 1rem; }
.guide-lead__copy p, .evidence-grid p, .content-copy p, .catalog-support p { max-width: 64ch; }
.guide-lead h3 { margin-bottom: .4rem; }
.guide-list { border-top: 1px solid var(--border-strong); }
.guide-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 1rem; align-items: center; min-height: 96px; padding: 1.2rem 0; border-bottom: 1px solid var(--border-default); text-decoration: none; }
.guide-row span { color: var(--brand-700); font-size: var(--type-caption); font-weight: 700; }
.guide-row h3 { margin: 0 0 .25rem; font-size: 1.125rem; }
.guide-row p { margin: 0; color: var(--text-muted); font-size: var(--type-small); }

/* Final CTA */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.cta-band h2 { margin-bottom: .35rem; }
.cta-band p { margin: 0; color: var(--brand-100); max-width: 65ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Page masthead */
.page-masthead { padding-block: 3rem; background: var(--bg-surface); border-bottom: 1px solid var(--border-default); }
.breadcrumb { margin-bottom: .9rem; font-size: var(--type-caption); color: var(--text-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.breadcrumb li { display: inline-flex; gap: .4rem; align-items: center; }
.breadcrumb li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumb a { min-width: 44px; min-height: 44px; display: inline-flex; justify-content: center; align-items: center; text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-700); }
.masthead-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 3rem; align-items: end; }
.masthead-grid h1 { margin-bottom: .5rem; }
.masthead-grid .lead { margin-bottom: 0; }
.masthead-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1rem 0 0; border-top: 1px solid var(--border-default); }
.masthead-meta strong { display: block; font-size: 1.125rem; }
.masthead-meta span { display: block; font-size: var(--type-caption); color: var(--text-muted); }

/* Catalog */
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-default); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 44px; display: inline-flex; align-items: center; padding: .35rem .8rem; border: 1px solid var(--border-default); border-radius: 999px; background: transparent; color: var(--text-secondary); font-size: var(--type-small); text-decoration: none; }
.chip:hover, .chip[aria-current="page"] { background: var(--brand-800); color: white; border-color: var(--brand-800); }
.catalog-count { color: var(--text-muted); font-size: var(--type-small); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 1.5rem; }
.product-card { min-width: 0; }
.product-card__media { display: block; overflow: hidden; aspect-ratio: 1/1; background: var(--bg-surface); border-radius: var(--radius-md); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.025); }
.product-card__body { padding-top: .85rem; }
.product-card__eyebrow { margin-bottom: .35rem; color: var(--brand-700); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-card h3 { margin-bottom: .35rem; font-size: 1rem; line-height: 1.45; }
.product-card__meta { margin: 0 0 .45rem; color: var(--text-muted); font-size: var(--type-small); }
.product-card__action { min-height: 44px; display: inline-flex; align-items: center; font-size: var(--type-small); font-weight: 700; color: var(--brand-700); text-decoration: none; border-bottom: 1px solid currentColor; }
.catalog-support { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; }
.catalog-support ul { padding-left: 1.1rem; margin: 0; color: var(--text-secondary); }
.catalog-support li { margin-bottom: .55rem; }

/* Product detail */
.product-masthead { padding-block: 1.5rem 1rem; border-bottom: 1px solid var(--border-default); }
.product-decision { display: grid; grid-template-columns: minmax(0, .88fr) minmax(620px, 1.12fr); gap: 2rem; align-items: start; padding-block: 2rem 3rem; }
.product-gallery { position: sticky; top: 6rem; }
.product-gallery__main { aspect-ratio: 1/1; background: var(--bg-surface); border-radius: var(--radius-md); overflow: hidden; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin-top: .6rem; }
.product-thumbs button { padding: 0; border: 1px solid transparent; background: transparent; border-radius: var(--radius-xs); overflow: hidden; cursor: pointer; }
.product-thumbs button[aria-pressed="true"] { border-color: var(--brand-700); }
.product-thumbs img { aspect-ratio: 1/1; object-fit: cover; }
.product-summary { padding-top: .4rem; }
.product-summary h1 { margin-bottom: .75rem; font-size: var(--type-h1); }
.product-summary .lead { margin-bottom: 1.25rem; max-width: 64ch; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 1.5rem 0; border: 1px solid var(--border-default); background: var(--border-default); }
.spec-item { min-height: 92px; padding: 1rem; background: var(--bg-canvas); }
.spec-item span { display: block; margin-bottom: .25rem; color: var(--text-muted); font-size: var(--type-caption); }
.spec-item strong { font-size: 1rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.trust-line { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--border-default); color: var(--text-muted); font-size: var(--type-small); }
.trust-line span { display: inline-flex; align-items: center; gap: .4rem; }
.trust-line span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-600); }

/* Shade library */
.shade-library { background: var(--bg-surface); }
.shade-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
.shade-toolbar p { margin: 0; color: var(--text-muted); }
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-default); }
.tab { min-height: 44px; padding: .55rem .9rem; border: 0; background: transparent; color: var(--text-muted); border-bottom: 2px solid transparent; cursor: pointer; font-size: var(--type-small); font-weight: 600; }
.tab[aria-selected="true"] { color: var(--brand-800); border-bottom-color: var(--brand-700); }
.shade-panel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.shade-panel[hidden] { display: none; }
.shade-card { min-width: 0; background: var(--bg-canvas); border-radius: var(--radius-sm); overflow: hidden; }
.shade-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.shade-card__body { padding: .65rem .7rem .75rem; }
.shade-card strong { display: block; font-size: var(--type-small); }
.shade-card span { display: block; color: var(--text-muted); font-size: var(--type-caption); }
.product-summary .small, .shade-note { font-size: var(--type-body); max-width: 64ch; }
.shade-note { margin-top: 1rem; color: var(--text-muted); }

/* Content blocks */
.content-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; }
.content-grid > * { min-width: 0; }
.content-grid > div:first-child p, .content-copy { max-width: 64ch; }
.content-copy h2:not(:first-child) { margin-top: 2.5rem; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 1rem; border: 1px solid var(--border-default); }
.spec-table th, .spec-table td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--border-default); vertical-align: top; }
.spec-table th { width: 34%; background: var(--bg-surface); font-size: var(--type-small); }
.spec-table td { font-size: var(--type-small); }
.faq-list { border-top: 1px solid var(--border-default); }
.faq-list details { border-bottom: 1px solid var(--border-default); }
.faq-list summary { min-height: 64px; display: flex; justify-content: space-between; gap: 1rem; align-items: center; cursor: pointer; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; color: var(--brand-700); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .answer { padding: 0 0 1rem; color: var(--text-secondary); max-width: 70ch; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.related-card { text-decoration: none; }
.related-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-surface); }
.related-card h3 { margin: .7rem 0 .25rem; font-size: 1rem; }
.related-card p { margin: 0; font-size: var(--type-small); color: var(--text-muted); }

/* Downloads */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.download-card { display: grid; grid-template-rows: 240px auto; border: 1px solid var(--border-default); background: var(--bg-canvas); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; }
.download-card img { width: 100%; height: 100%; object-fit: cover; background: var(--bg-surface); }
.download-card__body { padding: 1.25rem; }
.download-card h3 { margin-bottom: .4rem; }
.download-card p { margin-bottom: .75rem; color: var(--text-muted); font-size: var(--type-small); }
.download-meta { display: flex; flex-wrap: wrap; gap: .5rem; font-size: var(--type-caption); color: var(--text-secondary); }

/* Contact and form */
.contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 4rem; align-items: start; }
.contact-details { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-details li { padding-bottom: 1rem; border-bottom: 1px solid var(--border-default); }
.contact-details span { display: block; margin-bottom: .2rem; color: var(--text-muted); font-size: var(--type-caption); text-transform: uppercase; letter-spacing: .1em; }
.contact-details a { text-decoration: none; }
.inquiry-form { display: grid; gap: 1rem; padding: 1.5rem; background: var(--bg-surface); border-radius: var(--radius-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--type-small); font-weight: 600; }
.checkbox-row { display: flex; gap: .6rem; align-items: flex-start; }
.checkbox-row input { width: 18px; height: 18px; min-height: 18px; margin-top: 3px; }
.about-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: white; color: var(--text-primary); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { margin: 0; color: var(--text-muted); font-size: var(--type-body); max-width: 64ch; }

/* Footer */
.site-footer { background: var(--bg-inverse); color: white; padding-block: 4rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .7fr .9fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 200px; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p { margin-top: 1.25rem; color: var(--brand-100); max-width: 42ch; font-size: var(--type-small); }
.footer-grid h3 { color: white; font-size: var(--type-caption); letter-spacing: .12em; text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-links a { color: var(--brand-100); text-decoration: none; font-size: var(--type-small); }
.footer-links a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact { color: var(--brand-100); font-size: var(--type-small); }
.footer-contact a { color: white; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 64px; border-top: 1px solid rgba(255,255,255,.18); color: var(--brand-200); font-size: var(--type-caption); }
.footer-bottom-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; }

/* Mobile quick actions */
.mobile-action-bar { display: none; }

@media (max-width: 1100px) {
  .header-inner { gap: 1rem; }
  .brand img { width: 165px; }
  .primary-nav ul { gap: 1rem; }
  .primary-nav a { font-size: .8125rem; }
  .hero-grid { gap: 2rem; }
  .hero-stage { min-height: 500px; }
  .hero-specimen { width: 155px; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .product-decision { grid-template-columns: minmax(0, .75fr) minmax(520px, 1.25fr); gap: 1.5rem; }
}

@media (max-width: 1023px) {
  :root { --section-md: 3rem; --section-sm: 2.25rem; }
  .utility-bar { display: none; }
  .site-header { top: 0; }
  .header-inner { min-height: 4rem; display: flex; justify-content: space-between; gap: 1rem; }
  .brand img { width: 160px; }
  .primary-nav { display: none; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer {
    display: block; position: fixed; inset: 4rem 0 0; z-index: 990; background: var(--bg-canvas);
    transform: translateX(100%); visibility: hidden; transition: transform .22s var(--ease), visibility .22s;
    overflow-y: auto; padding: 2rem var(--gutter) 6rem;
  }
  .mobile-drawer[data-open="true"] { transform: translateX(0); visibility: visible; }
  .mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
  .mobile-drawer li { border-bottom: 1px solid var(--border-default); }
  .mobile-drawer a { min-height: 56px; display: flex; align-items: center; text-decoration: none; font-size: 1rem; font-weight: 600; }
  .mobile-drawer .btn { width: 100%; margin-top: 2rem; }
  .mobile-action-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; z-index: 950; left: 0; right: 0; bottom: 0;
    min-height: 64px; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--border-default);
    background: rgba(254,249,248,.98);
  }
  .mobile-action-bar a { min-height: 56px; display: flex; align-items: center; justify-content: center; font-size: .875rem; font-weight: 700; text-decoration: none; }
  .mobile-action-bar a + a { background: var(--cta-bg); color: white; }
  body { padding-bottom: 72px; }
  .hero { padding-block: 1rem 1.25rem; }
  .masthead-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-grid, .route-layout, .shade-feature, .catalog-support, .content-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .text-link { display: none; }
  .hero-copy { padding-block: 1rem 0; }
  .hero-copy h1 { max-width: 560px; }
  .hero-stage { min-height: auto; padding-bottom: 1rem; }
  .hero-main { width: 100%; height: min(30vw, 240px); aspect-ratio: auto; }
  .hero-secondary { width: 38%; left: 0; bottom: 1.5rem; }
  .hero-specimen { top: .75rem; right: 0; }
  .hero-ribbon { width: 100%; }
  .shade-wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .evidence-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem; }
  .route-intro { position: static; }
  .route-row { grid-template-columns: 50px 1fr; gap: .65rem 1rem; }
  .route-row .route-meta, .route-row .link-arrow { grid-column: 2; }
  .status .link-arrow { justify-self: start; }
  .category-mosaic { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 0; border-top: 1px solid var(--border-default); }
  .category-card, .category-card--lip, .category-card--eye, .category-card--face, .category-card--packaging { grid-column: auto; grid-row: auto; display: grid; grid-template-columns: 128px 1fr; min-height: 128px; border-bottom: 1px solid var(--border-default); border-radius: 0; background: transparent; }
  .category-card img { width: 128px; height: 128px; aspect-ratio: 1/1; object-fit: cover; }
  .category-copy, .category-card--lip .category-copy { position: static; padding: .9rem 1rem; background: transparent; border: 0; }
  .category-copy h3 { font-size: 1.125rem; }
  .category-copy p { font-size: .8125rem; }
  .category-copy span { margin-top: .35rem; }
  .product-list-item { grid-template-columns: 96px 1fr auto; }
  .product-list-item img { width: 96px; height: 96px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--border-default); }
  .process-step:nth-child(3) { padding-left: 0; }
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
  .footer-contact-group { grid-column: 1 / -1; }
  .product-gallery { position: static; }
  .shade-panel { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 621px) and (max-width: 1023px) {
  .category-card, .category-card--lip, .category-card--eye, .category-card--face, .category-card--packaging { grid-template-columns: 112px 1fr; min-height: 112px; }
  .category-card img { width: 112px; height: 112px; }
  .guide-row { min-height: 88px; }
}

@media (max-width: 900px) {
  .product-decision { grid-template-columns: 1fr; gap: 1.5rem; padding-block: .75rem 1.5rem; }
  .product-summary { order: -1; }
  .product-gallery { position: static; order: 1; width: min(100%, 520px); margin-inline: auto; }
}

@media (max-width: 620px) {
  :root { --gutter: 1rem; --section-md: 3.5rem; --section-sm: 2.5rem; --section-lg: 4.5rem; }
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  .split-head { grid-template-columns: 1fr; gap: .75rem; }
  .hero-grid, .route-layout, .shade-feature, .product-shelf, .craft-layout, .evidence-grid, .guide-feature, .catalog-support, .product-decision, .content-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-block: 1rem 1.25rem; }
  .hero-stage { min-height: 0; }
  .hero-main { width: calc(100% - 1.5rem); }
  .hero-secondary { width: 42%; bottom: 1.2rem; border-width: 5px; }
  .hero-specimen { width: 135px; padding: .75rem; }
  .hero-specimen strong { font-size: .9375rem; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: 1rem; padding-top: .75rem; }
  .category-mosaic { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 0; border-top: 1px solid var(--border-default); }
  .category-card, .category-card--lip, .category-card--eye, .category-card--face, .category-card--packaging { grid-column: auto; grid-row: auto; display: grid; grid-template-columns: 112px 1fr; min-height: 112px; border-bottom: 1px solid var(--border-default); border-radius: 0; background: transparent; }
  .category-card img { width: 112px; height: 112px; aspect-ratio: 1/1; object-fit: cover; }
  .category-copy, .category-card--lip .category-copy { position: static; padding: .9rem 1rem; background: transparent; border: 0; }
  .category-copy h3 { font-size: 1.125rem; }
  .category-copy p { font-size: .8125rem; }
  .category-copy span { margin-top: .35rem; }
  .product-shelf { gap: 1.5rem; }
  .product-list-item { grid-template-columns: 80px 1fr auto; gap: .8rem; }
  .product-list-item img { width: 80px; height: 80px; }
  .product-list-item .arrow { display: none; }
  .shade-wall { grid-template-columns: repeat(2, 1fr); }
  .shade-stats { gap: .5rem; }
  .shade-stats strong { font-size: 1.25rem; }
  .craft-grid { grid-template-columns: 1fr 1fr; }
  .craft-panel:last-child { grid-column: 1 / -1; }
  .evidence-media img { aspect-ratio: 4/3; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { padding: 1.1rem 0; border-right: 0; border-bottom: 1px solid var(--border-default); }
  .process-step:last-child { border-bottom: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .page-masthead { padding-block: 1rem; }
  .page-masthead .eyebrow { display: none; }
  .masthead-grid { grid-template-columns: 1fr; gap: .75rem; }
  .masthead-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; padding-top: .75rem; }
  .masthead-meta strong { font-size: 1rem; }
  .masthead-meta span { font-size: .75rem; }
  .product-grid, .download-grid, .related-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem .8rem; }
  .product-card h3 { font-size: 1rem; }
  .product-card__meta { font-size: .8125rem; }
  .product-masthead { padding-top: 1rem; }
  .product-decision { padding-top: 1.2rem; }
  .product-summary { order: -1; }
  .product-gallery { order: 1; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .shade-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .shade-card__body { padding: .5rem .55rem .6rem; }
  .shade-card strong { font-size: .8125rem; }
  .shade-card span { font-size: .75rem; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 1.5rem; }
  .inquiry-form { padding: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact-group { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 1rem; }
  .footer-bottom-links { gap: .75rem; }
}

@media (max-width: 360px) {
  .page-masthead { padding-block: .875rem; }
}

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

/* Full-site dynamic templates */
.category-subnav-section { border-bottom: 1px solid var(--border-default); }
.category-subnav { display: flex; align-items: flex-start; gap: 1.5rem; }
.category-subnav__label { flex: 0 0 auto; padding-top: .65rem; color: var(--text-muted); font-size: var(--type-caption); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.category-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.category-pills a { min-height: 44px; display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .75rem; border: 1px solid var(--border-default); border-radius: 999px; background: var(--bg-canvas); color: var(--text-secondary); font-size: var(--type-small); text-decoration: none; }
.category-pills a:hover { border-color: var(--brand-500); color: var(--brand-800); }
.category-pills span { min-width: 22px; min-height: 22px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--bg-surface-strong); color: var(--brand-800); font-size: .75rem; }
.empty-state { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: 2rem; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--bg-canvas); }
.empty-state h2, .empty-state h3 { margin-bottom: .5rem; }
.empty-state p:last-child { margin-bottom: 0; }

.product-breadcrumb-band { padding-block: 1rem; background: var(--bg-canvas); }
.product-detail-hero { background: linear-gradient(120deg, var(--bg-canvas) 0%, var(--bg-canvas) 62%, var(--bg-surface) 62%, var(--bg-surface) 100%); }
.product-detail-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.product-detail-hero__media { position: relative; margin: 0; }
.product-detail-hero__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-md); background: var(--bg-surface); }
.product-detail-hero__media figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .65rem; background: rgba(254,249,248,.94); color: var(--text-secondary); font-size: var(--type-caption); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-detail-hero__summary h1 { margin-bottom: .8rem; }
.product-signals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.75rem 0; border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); }
.product-signals div { min-width: 0; padding: 1rem .75rem 1rem 0; }
.product-signals div + div { padding-left: .9rem; border-left: 1px solid var(--border-default); }
.product-signals strong { display: block; font-size: 1rem; }
.product-signals span { display: block; margin-top: .15rem; color: var(--text-muted); font-size: var(--type-caption); }
.product-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.product-actions-note { margin: .85rem 0 0; color: var(--text-muted); font-size: var(--type-small); max-width: 55ch; }
.product-content-layout { display: grid; grid-template-columns: minmax(190px, 230px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 280px); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.page-content-layout { display: grid; grid-template-columns: minmax(0, 780px) minmax(220px, 280px); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.page-content-layout--single { grid-template-columns: minmax(0, 900px); }
.detail-rail { min-width: 0; display: grid; gap: 1.25rem; }
.toc-card, .rail-card { padding: 1.25rem; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--bg-canvas); }
.toc-card { position: sticky; top: calc(var(--utility-height) + var(--nav-height) + 1rem); max-height: calc(100vh - var(--utility-height) - var(--nav-height) - 2rem); overflow: auto; }
.toc-card .eyebrow, .rail-card .eyebrow { margin-bottom: .75rem; }
.toc-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border-default); }
.toc-list li { margin: 0; border-bottom: 1px solid var(--border-default); }
.toc-list a { display: block; padding: .55rem 0; color: var(--text-secondary); font-size: var(--type-small); line-height: 1.45; text-decoration: none; }
.toc-list a:hover { color: var(--brand-800); }
.toc-list__level-3 a { padding-left: .8rem; color: var(--text-muted); }
.rail-card h2 { font-size: var(--type-h3); }
.rail-card p { color: var(--text-secondary); font-size: var(--type-small); }
.rail-card p:last-of-type { margin-bottom: .5rem; }
.rail-card--accent { background: var(--brand-800); border-color: var(--brand-800); color: white; }
.rail-card--accent p, .rail-card--accent h2 { color: white; }
.rail-card--accent .eyebrow { color: var(--brand-200); }

.page-featured-media { margin-top: 2rem; }
.page-featured-media img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-md); }
.article-masthead { padding-bottom: 3.5rem; }
.article-section { padding-top: 3.5rem; }
.guide-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.guide-related-card { min-width: 0; padding: 1.25rem; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--bg-canvas); text-decoration: none; }
.guide-related-card > span { color: var(--brand-700); font-size: var(--type-caption); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.guide-related-card h3 { margin: .7rem 0 .5rem; font-size: 1.125rem; }
.guide-related-card p { color: var(--text-muted); font-size: var(--type-small); }
.guide-related-card strong { color: var(--brand-700); font-size: var(--type-small); }

/* WordPress content inside dynamic pages */
.mf-rich-content { min-width: 0; color: var(--text-secondary); }
.mf-rich-content > *:first-child { margin-top: 0; }
.mf-rich-content h2 { margin: 3rem 0 1rem; color: var(--text-primary); scroll-margin-top: 7rem; }
.mf-rich-content h3 { margin: 2rem 0 .75rem; color: var(--text-primary); scroll-margin-top: 7rem; }
.mf-rich-content h4 { margin: 1.5rem 0 .65rem; color: var(--text-primary); }
.mf-rich-content p, .mf-rich-content li { font-size: 1rem; line-height: 1.75; }
.mf-rich-content p { margin-bottom: 1.1rem; }
.mf-rich-content a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: .15em; }
.mf-rich-content a:hover { color: var(--brand-900); }
.mf-rich-content ul, .mf-rich-content ol { margin: 0 0 1.25rem; padding-left: 1.3rem; }
.mf-rich-content li + li { margin-top: .35rem; }
.mf-rich-content img { width: auto; max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.mf-rich-content figure { max-width: 100%; margin: 1.5rem 0; }
.mf-rich-content figure img { width: 100%; }
.mf-rich-content figcaption { margin-top: .55rem; color: var(--text-muted); font-size: var(--type-small); text-align: left; }
.mf-rich-content iframe, .mf-rich-content video { width: 100%; max-width: 100%; min-height: 320px; border: 0; border-radius: var(--radius-sm); }
.mf-rich-content blockquote { margin: 2rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 3px solid var(--brand-500); color: var(--text-primary); font-size: 1rem; }
.mf-rich-content hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--border-default); }
.mf-rich-content .wp-block-columns { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; align-items: stretch; margin-bottom: 1.5rem; }
.mf-rich-content .wp-block-column { min-width: 0; margin: 0 !important; }
.mf-rich-content .wp-block-column > :last-child { margin-bottom: 0; }
.mf-rich-content .wp-block-media-text { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 2rem; align-items: center; margin: 2rem 0; }
.mf-rich-content .wp-block-media-text__media { margin: 0; }
.mf-rich-content .wp-block-media-text__content { padding: 0; }
.mf-rich-content .wp-block-media-text.is-stacked-on-mobile { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.mf-rich-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.mf-rich-content .wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; padding: .75rem 1rem; border-radius: var(--radius-sm); background: var(--brand-700); color: white; font-weight: 700; text-decoration: none; }
.mf-rich-content .wp-block-button__link:hover { background: var(--brand-800); color: white; }
.mf-rich-content .wp-block-table { width: 100%; margin: 1.5rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mf-rich-content .wp-block-table table { width: 100%; min-width: 620px; border-collapse: collapse; border: 1px solid var(--border-default); }
.mf-rich-content .wp-block-table th, .mf-rich-content .wp-block-table td { padding: .75rem .85rem; border: 1px solid var(--border-default); vertical-align: top; text-align: left; font-size: var(--type-small); }
.mf-rich-content .wp-block-table th { background: var(--bg-surface); color: var(--text-primary); font-weight: 700; }
.mf-rich-content .has-small-font-size, .mf-rich-content .has-small-font-size p { font-size: var(--type-small); }
.mf-rich-content .wp-block-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding: 0; }
.mf-rich-content .wp-block-gallery .wp-block-image { margin: 0; }
.mf-rich-content details { margin: 1rem 0; border-bottom: 1px solid var(--border-default); }
.mf-rich-content summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; color: var(--text-primary); font-weight: 600; }

.search-results { display: grid; gap: 1rem; }
.search-result { padding: 1.25rem; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--bg-canvas); text-decoration: none; }
.search-result > span { color: var(--brand-700); font-size: var(--type-caption); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.search-result h2 { margin: .55rem 0 .35rem; font-size: var(--type-h3); }
.search-result p { color: var(--text-muted); font-size: var(--type-small); }
.search-result strong { color: var(--brand-700); font-size: var(--type-small); }
.not-found__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(260px, 1.1fr); gap: 3rem; align-items: center; }
.not-found__mark { color: var(--brand-200); font-size: clamp(7rem, 20vw, 18rem); font-weight:700; line-height: .8; text-align: right; letter-spacing: -.08em; }

@media (max-width: 1100px) {
  .product-detail-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 2.5rem; }
  .product-content-layout, .article-layout, .page-content-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .product-detail-hero { background: var(--bg-canvas); }
  .product-detail-hero__grid, .product-content-layout, .article-layout, .page-content-layout, .page-content-layout--single { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail-hero__summary { order: -1; }
  .product-detail-hero__media { width: min(100%, 620px); margin-inline: auto; }
  .detail-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc-card { position: static; max-height: none; }
  .article-section { padding-top: 2.5rem; }
  .guide-related-grid { grid-template-columns: 1fr 1fr; }
  .not-found__grid { grid-template-columns: 1fr; }
  .not-found__mark { text-align: left; }
}

@media (max-width: 620px) {
  .category-subnav { display: block; }
  .category-subnav__label { display: block; padding: 0 0 .75rem; }
  .category-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .35rem; scrollbar-width: thin; }
  .category-pills a { flex: 0 0 auto; }
  .empty-state { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.25rem; }
  .product-signals { grid-template-columns: 1fr; }
  .product-signals div { padding: .85rem 0; }
  .product-signals div + div { padding-left: 0; border-top: 1px solid var(--border-default); border-left: 0; }
  .product-actions .btn { width: 100%; }
  .detail-rail { grid-template-columns: 1fr; }
  .toc-list__level-3 a { padding-left: .6rem; }
  .page-featured-media { margin-top: 1rem; }
  .guide-related-grid { grid-template-columns: 1fr; }
  .mf-rich-content h2 { margin-top: 2.25rem; }
  .mf-rich-content .wp-block-columns, .mf-rich-content .wp-block-gallery { grid-template-columns: 1fr 1fr; }
  .mf-rich-content .wp-block-media-text, .mf-rich-content .wp-block-media-text.is-stacked-on-mobile { grid-template-columns: 1fr; gap: 1rem; }
  .mf-rich-content iframe, .mf-rich-content video { min-height: 220px; }
  .mf-rich-content .wp-block-table table { min-width: 560px; }
  .not-found__mark { font-size: 7rem; }
}

/* Copy density stays at the 16px body minimum on comparison cards. */
.product-card__meta { font-size: 1rem; line-height: 1.55; }

/* Full-site editorial pacing and reading measure */
.page-content-section, .article-section, .product-content-section { padding-block: 3rem; }
.mf-rich-content { width: 100%; max-width: 640px; }
.mf-content-chapter + .mf-content-chapter { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border-default); }
.mf-content-chapter > *:first-child { margin-top: 0; }
.mf-rich-content p, .mf-rich-content li { line-height: 1.65; }
.mf-rich-content .has-small-font-size { font-size: 1rem !important; line-height: 1.65 !important; }
.rail-card p, .product-actions-note, .guide-related-card p { font-size: 1rem; }
.product-deep-dive { margin-top: 2rem; padding: 1rem 0; border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); }
.product-deep-dive > summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; color: var(--text-primary); font-weight: 700; list-style: none; }
.product-deep-dive > summary::-webkit-details-marker { display: none; }
.product-deep-dive > summary::after { content: "+"; color: var(--brand-700); font-size: 1.5rem; }
.product-deep-dive[open] > summary::after { content: "–"; }
.product-deep-dive .mf-content-chapter:first-of-type { margin-top: 1rem; padding-top: 1rem; }
.article-masthead .masthead-grid { grid-template-columns: 1fr; gap: 1rem; }
.article-masthead .masthead-meta { max-width: 720px; }
.article-masthead { padding-bottom: 2.25rem; }
.article-section { padding-top: 2.5rem; }

@media (max-width: 620px) {
  .page-content-section, .article-section, .product-content-section { padding-block: 2.25rem; }
  .article-masthead { padding-bottom: 1.25rem; }
  .article-section { padding-top: 2rem; }
}

/* Compact long-form rhythm while preserving 16px body copy */
.mf-content-chapter + .mf-content-chapter { margin-top: 1rem; padding-top: 1.25rem; }
.mf-rich-content p { margin-bottom: .9rem; }
.article-section .mf-rich-content figure img { max-height: 420px; object-fit: cover; }
.article-masthead { padding-bottom: 1.5rem; }
.page-deep-dive { margin-top: 2rem; padding: 1rem 0; border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); }
.page-deep-dive > summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; color: var(--text-primary); font-weight: 700; list-style: none; }
.page-deep-dive > summary::-webkit-details-marker { display: none; }
.page-deep-dive > summary::after { content: "+"; color: var(--brand-700); font-size: 1.5rem; }
.page-deep-dive[open] > summary::after { content: "–"; }
.page-deep-dive .mf-content-chapter:first-of-type { margin-top: 1rem; padding-top: 1rem; }

.deep-dive-content { display: none; }
.product-deep-dive[open] > .deep-dive-content,
.page-deep-dive[open] > .deep-dive-content { display: block; }

@media (max-width: 900px) {
  .article-section + .section--surface { padding-block: 2.5rem; }
  .guide-related-grid { grid-template-columns: 1fr; gap: .5rem; }
  .guide-related-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .75rem; padding: .85rem 0; border: 0; border-bottom: 1px solid var(--border-default); border-radius: 0; background: transparent; }
  .guide-related-card > span { grid-column: 1 / -1; }
  .guide-related-card h3 { margin: .2rem 0 0; font-size: 1rem; }
  .guide-related-card p { display: none; }
  .guide-related-card strong { align-self: center; white-space: nowrap; }
}

/* Long-form guides keep a compact editorial cadence below tablet width. */
.article-layout .mf-content-chapter + .mf-content-chapter { margin-top: .5rem; padding-top: .85rem; }
.article-section .mf-rich-content p { margin-bottom: .75rem; }
@media (max-width: 900px) {
  .article-masthead { padding-bottom: 1rem; }
  .article-section { padding-block: 2rem; }
}

@media (max-width: 900px) {
  .article-rail .toc-card { max-height: 240px; overflow: auto; }
}
