:root {
  --paper: #f5f1e8;
  --paper-deep: #e9e1d3;
  --surface: #fffdf8;
  --ink: #1c1b19;
  --ink-soft: #46423d;
  --muted: #726b62;
  --line: #d8cebf;
  --copper: #a14e35;
  --copper-dark: #71301f;
  --sage: #687064;
  --white: #fff;
  --max: 1200px;
  --radius: 2px;
  --shadow: 0 20px 60px rgba(39, 28, 20, .12);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, 'Segoe UI', Arial, sans-serif;
}

/* Buyer guides share the site's type and palette, with a narrower reading measure. */
.editorial { max-width: 1000px; padding-block: 34px 80px; }
.editorial > h1 { max-width: 950px; font-size: clamp(34px, 4.5vw, 60px); margin: 20px 0 28px; }
.article-figure { margin: 28px 0; }
.article-figure img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.article-figure figcaption { color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 10px; }
.editorial > .lead, .article-answer, .article-meta, .editorial > .hero-actions, .article-body { max-width: 800px; margin-inline: auto; }
.editorial > .lead { font-size: 20px; }
.article-answer { padding: 18px 24px; background: var(--paper-deep); border-left: 3px solid var(--copper); }
.article-answer p { margin: 0; }
.article-meta { font-size: 14px; color: var(--muted); padding-block: 10px; }
.editorial > .hero-actions { margin-block: 18px 42px; }
.article-body section { margin-block: 48px; }
.article-body h2 { font-size: clamp(27px, 3vw, 38px); margin-bottom: 20px; }
.article-body h3 { font-family: var(--sans); font-size: 20px; line-height: 1.4; font-weight: 650; letter-spacing: 0; margin: 28px 0 8px; }
.article-body p { margin: 14px 0; }
.article-body li { margin-bottom: 10px; }
.article-body a { color: var(--copper-dark); }
.article-table { overflow-x: auto; max-width: 100%; margin-block: 24px; border: 1px solid var(--line); }
.article-table:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.article-table table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; line-height: 1.5; }
.article-table caption { text-align: left; padding: 14px; font-weight: 650; background: var(--paper-deep); }
.article-table th, .article-table td { padding: 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.article-table thead { background: var(--surface); }
.article-table tbody th { font-weight: 650; }
.article-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 32px; }
.article-card { min-width: 0; border-bottom: 1px solid var(--line); }
.article-card > a { display: block; height: 100%; text-decoration: none; }
.article-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.article-card__content { display: block; padding: 20px 0; }
.article-card small { color: var(--muted); display: block; font-size: 12px; }
.article-card h3 { font-size: 29px; margin: 12px 0; }
.article-card b { display: block; color: var(--copper-dark); margin-top: 18px; font-size: 14px; }
.article-related { max-width: 850px; }
@media (max-width: 767px) {
  .article-card-grid { grid-template-columns: 1fr; }
  .editorial { padding-top: 22px; }
  .editorial > .lead { font-size: 18px; }
  .article-answer { padding: 16px; }
  .article-body section { margin-block: 36px; }
  .article-body ul, .article-body ol { padding-left: 22px; }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.split > *, .compare > *, .video-card > *, .mode-stack > *, .resource-links > *, .feature-grid > *, .cta-band > *, .inquiry-layout > * { min-width: 0; }
.compare article, .feature-card, .video-card > div, .resource-links article { overflow-wrap: anywhere; }
html { scroll-behavior: smooth; background: var(--paper); }
/* Long catalog pages use content-visibility; instant hash jumps avoid targets
   drifting while skipped sections are laid out during a smooth scroll. */
html:has(body.category-catalog-page) { scroll-behavior: auto; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: #d9aa93; color: var(--ink); }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.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: 100; top: 12px; left: 12px; transform: translateY(-150%); background: var(--white); color: var(--ink); padding: 10px 14px; border: 2px solid var(--copper); }
.skip-link:focus { transform: none; }

.topline { background: var(--ink); color: #f5ede3; font-size: 13px; letter-spacing: .035em; }
.topline .shell { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.topline a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245,241,232,.96); border-bottom: 1px solid rgba(69,58,48,.12); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: block; width: 170px; flex: 0 0 auto; }
.brand img { width: 100%; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 650; letter-spacing: .01em; }
.site-nav li a { position: relative; padding-block: 28px; }
.site-nav li a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 19px; height: 2px; background: var(--copper); transition: right .2s ease; }
.site-nav li a:hover::after, .site-nav li a:focus-visible::after, .site-nav li a[aria-current='page']::after { right: 0; }
.site-menu { margin-left: auto; }
.nav-toggle { display: block; border: 0; background: transparent; padding: 10px; list-style: none; cursor: pointer; min-width: 48px; min-height: 48px; }
.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--copper); border-radius: var(--radius); background: var(--copper); color: var(--white); text-decoration: none; font-size: 14px; line-height: 1.2; font-weight: 750; letter-spacing: .025em; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { background: var(--copper-dark); border-color: var(--copper-dark); transform: translateY(-1px); }
.button--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button--secondary:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button--small { min-height: 40px; padding: 9px 15px; }
.button:focus-visible, .nav-toggle:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #e29b7d; outline-offset: 3px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--copper-dark); font-weight: 750; text-decoration-thickness: 1px; }

.eyebrow { margin: 0 0 14px; color: var(--copper); font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
h1 { font-size: clamp(46px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4vw, 58px); }
h3 { font-size: 25px; }
p { margin: 0 0 1em; }
.lead { max-width: 760px; color: var(--ink-soft); font-size: clamp(19px, 2.1vw, 27px); line-height: 1.45; }
.small { font-size: 13px; color: var(--muted); line-height: 1.55; }

.home-hero { position: relative; min-height: 690px; overflow: hidden; background: #ded3c3; isolation: isolate; }
.home-hero__media { position: absolute; inset: 0; z-index: -2; display: block; }
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,17,17,.94) 0%, rgba(15,17,17,.84) 37%, rgba(15,17,17,.34) 66%, rgba(15,17,17,.12) 100%); }
.home-hero__inner { min-height: 690px; display: flex; align-items: center; padding-block: 80px; }
.home-hero__copy { max-width: 690px; }
.home-hero h1 { max-width: 760px; color: var(--white); font-size: clamp(52px, 6.7vw, 90px); }
.home-hero .lead { max-width: 650px; margin-top: 24px; color: #eee7dc; }
.home-hero .eyebrow { color: #e4a388; }
.home-hero .button--secondary { color: var(--white); border-color: rgba(255,255,255,.8); }
.home-hero .button--secondary:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { max-width: 620px; margin: 24px 0 0; color: #ddd6cb; font-size: 13px; border-left: 2px solid #e4a388; padding-left: 15px; }

.boundary-strip { background: var(--surface); border-block: 1px solid var(--line); }
.boundary-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.boundary-grid > div { min-height: 120px; padding: 28px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.boundary-grid > div:last-child { border-right: 1px solid var(--line); }
.boundary-grid span { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.boundary-grid strong { display: block; margin-top: 7px; font-family: var(--serif); font-size: 18px; line-height: 1.3; font-weight: 500; }

.section { padding-block: clamp(76px, 10vw, 132px); }
.section--stone { background: var(--paper-deep); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--copper { background: var(--copper-dark); color: var(--white); }
.section--ink .lead, .section--ink .section-heading > p:last-child, .section--copper p { color: #d6cec2; }
.section--ink .eyebrow, .section--copper .eyebrow { color: #dda086; }
.section-heading { max-width: 800px; margin-bottom: 48px; }
.section-heading > p:last-child { max-width: 700px; margin: 20px 0 0; color: var(--ink-soft); font-size: 18px; }
.section-action { margin: 34px 0 0; }

.page-hero { min-height: 520px; display: flex; align-items: flex-end; background: var(--paper-deep); border-bottom: 1px solid var(--line); }
.page-hero__inner { padding-block: 60px 82px; }
.page-hero h1 { max-width: 1050px; font-size: clamp(48px, 6.4vw, 84px); }
.page-hero .lead { margin-top: 22px; }
.breadcrumbs { margin-bottom: 70px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 13px; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 9px; color: #aaa195; }
.breadcrumbs a { color: inherit; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid--five { grid-template-columns: repeat(5, 1fr); }
.feature-card { min-height: 260px; padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.2); }
.feature-card h3 { margin-bottom: 18px; }
.feature-card p { color: var(--ink-soft); font-size: 15px; }
.feature-card .text-link { margin-top: 12px; font-size: 14px; }
.section--ink .feature-card { border-color: #4a4640; background: transparent; }
.section--ink .feature-card p { color: #c7bfb3; }

.home-products { display: grid; grid-template-columns: 1.55fr .75fr; gap: 26px; }
.home-products__image { position: relative; min-height: 590px; overflow: hidden; color: var(--white); background: var(--ink); text-decoration: none; }
.home-products__image::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.74)); }
.home-products__image img { width: 100%; height: 114%; object-fit: cover; object-position: center top; transition: transform .5s ease; }
.home-products__image:hover img { transform: scale(1.025); }
.home-products__image span { position: absolute; z-index: 1; left: 34px; right: 34px; bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 30px; font-family: var(--serif); font-size: 32px; line-height: 1.08; }
.home-products__links { display: grid; border-top: 1px solid var(--line); }
.home-products__links a { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 190px; padding: 28px 72px 28px 28px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s ease; }
.home-products__links a:hover { background: var(--surface); }
.home-products__links span { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.home-products__links b { margin-top: 8px; font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.2; }
.home-products__links i { position: absolute; right: 26px; top: 28px; color: var(--copper); font-size: 12px; font-style: normal; }
.product-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-category-card { display: block; min-width: 0; overflow: hidden; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 16px 40px rgba(39,28,20,.08); transition: transform .25s ease, box-shadow .25s ease; }
.product-category-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(39,28,20,.14); }
.product-category-card:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
.product-category-card img { width: 100%; aspect-ratio: 988 / 888; object-fit: cover; transition: transform .45s ease; }
.product-category-card:hover img { transform: scale(1.018); }
.product-category-card > span { position: relative; display: grid; gap: 7px; min-height: 112px; padding: 21px 54px 21px 22px; }
.product-category-card small { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.product-category-card strong { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.12; }
.product-category-card b { position: absolute; top: 23px; right: 22px; color: var(--copper); font-size: 18px; font-weight: 500; }
.more-product-families { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 90px); align-items: end; margin-top: 58px; padding-top: 44px; border-top: 1px solid var(--line); }
.more-product-families h3 { margin: 8px 0 15px; font-size: clamp(30px, 3.4vw, 44px); }
.more-product-families p:last-child { max-width: 580px; color: var(--ink-soft); }
.product-family-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-family-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 15px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--serif); font-size: 21px; text-decoration: none; transition: color .2s ease, background .2s ease; }
.product-family-links a:hover { color: var(--copper-dark); background: var(--surface); }
.product-family-links a:last-child { grid-column: 1 / -1; }
.product-family-links span { color: var(--copper); font-family: var(--sans); font-size: 15px; }
.feature-card[id] { scroll-margin-top: 150px; }

.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(52px, 8vw, 110px); align-items: start; }
.split--media { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
.split .section-heading { margin-bottom: 34px; }
.media-frame { width: 100%; box-shadow: var(--shadow); object-fit: cover; }
.media-frame--landscape, .media-frame--product { aspect-ratio: 4 / 3; object-position: center top; }
.media-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.media-tile { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #d8cec0; box-shadow: 0 15px 40px rgba(39, 28, 20, .1); }
.media-tile img { width: 100%; height: 310px; object-fit: cover; transition: transform .45s ease; }
.media-tile:hover img { transform: scale(1.018); }
.media-tile figcaption { position: absolute; inset: auto 0 0; padding: 34px 18px 14px; color: var(--white); background: linear-gradient(transparent, rgba(18,17,15,.82)); font-size: 13px; font-weight: 750; letter-spacing: .035em; }
.media-tile--product img { height: 340px; object-position: center top; }
.media-gallery--home { margin-top: 26px; }
.media-gallery--process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.media-gallery--process .media-tile img { height: 280px; }
.media-gallery--quality { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-gallery--quality .media-tile img { height: 430px; }
.media-gallery--details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-gallery--details .media-tile img { height: auto; aspect-ratio: 1; }
.media-gallery--material { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-gallery--material .media-tile:last-child { grid-column: 1 / -1; }
.media-gallery--material .media-tile img { height: 235px; }
.media-gallery--company .media-tile img { height: 330px; }
.visual-index { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.visual-card { min-width: 0; margin: 0; border: 1px solid var(--line); background: var(--surface); }
.visual-card__media { height: 150px; overflow: hidden; background: #d7cec1; }
.visual-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s ease; }
.visual-card:hover .visual-card__media img { transform: scale(1.025); }
.visual-card figcaption { display: flex; align-items: baseline; gap: 10px; min-height: 64px; padding: 13px 14px; }
.visual-card figcaption span { flex: 0 0 auto; color: var(--copper); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.visual-card figcaption strong { font-family: var(--serif); font-size: 17px; line-height: 1.2; font-weight: 500; }
.visual-index--quality { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.visual-index--home-craft { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.visual-index--home-craft .visual-card__media { height: 145px; }
.mode-stack { display: grid; gap: 1px; background: #4a4640; border: 1px solid #4a4640; }
.mode-stack--media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mode-stack--media > img { grid-column: 1 / -1; width: 100%; height: 300px; object-fit: cover; }
.mode-stack article { min-height: 210px; padding: 32px; background: var(--ink); }
.mode-stack span { color: #dda086; font-size: 12px; letter-spacing: .12em; }
.mode-stack h3 { margin: 12px 0; }
.mode-stack p { margin: 0; color: #c7bfb3; }

.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--copper); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.steps h3 { margin-bottom: 9px; }
.steps p { max-width: 760px; margin: 0; color: var(--ink-soft); }
.section--ink .steps { border-color: #4a4640; }
.section--ink .steps li { border-color: #4a4640; }
.section--ink .steps p { color: #c7bfb3; }

.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.compare--three { grid-template-columns: repeat(3, 1fr); }
.compare article { padding: clamp(36px, 5vw, 68px); background: var(--surface); }
.compare h2 { font-size: clamp(34px, 3.6vw, 52px); margin-bottom: 24px; }
.compare h3 { margin-bottom: 18px; font-size: clamp(24px, 2.2vw, 34px); }
.compare p, .compare li { color: var(--ink-soft); }
.compare ul { margin: 26px 0 0; padding-left: 20px; }
.compare li + li { margin-top: 10px; }

.product-layout { display: grid; gap: 26px; }
.product-feature { display: grid; grid-template-columns: 1.3fr .7fr; background: var(--ink); color: var(--paper); }
.product-feature img { width: 100%; height: 520px; object-fit: cover; }
.product-feature > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 72px); }
.product-feature h2 { margin-bottom: 20px; }
.product-feature p:not(.eyebrow) { color: #d5cec4; }
.product-feature .button { margin-top: 16px; align-self: flex-start; }

.spec-list { margin: 34px 0 0; border-top: 1px solid var(--line); }
.spec-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--copper-dark); font-weight: 750; }
.spec-list dd { min-width: 0; margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.checklist { border-top: 1px solid currentColor; }
.checklist p { position: relative; margin: 0; padding: 20px 20px 20px 42px; border-bottom: 1px solid rgba(255,255,255,.23); }
.checklist p::before { content: '✓'; position: absolute; left: 4px; color: #dda086; font-weight: 800; }
.notice { max-width: 920px; padding: 30px 32px; border-left: 4px solid var(--copper); background: var(--surface); box-shadow: 0 10px 35px rgba(45,34,26,.08); }
.notice p:last-child { margin: 0; color: var(--ink-soft); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-band > div { max-width: 790px; }
.cta-band p:not(.eyebrow) { margin: 18px 0 0; }
.section--copper .button { background: var(--white); border-color: var(--white); color: var(--copper-dark); }
.section--related { border-top: 1px solid var(--line); background: #eee8df; }
.crawl-priority-links .text-link { min-height: 44px; }
.external-link { display: inline-flex; align-items: center; gap: 7px; color: inherit; font-weight: 750; text-underline-offset: 4px; }
.external-link + .external-link { margin-left: 18px; }
.resource-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 36px; background: #4a4640; border: 1px solid #4a4640; }
.resource-links article { min-height: 210px; padding: 34px; background: var(--ink); }
.resource-links h3 { margin-bottom: 12px; }
.resource-links p { color: #c7bfb3; }
.resource-links .external-link { color: #f1c0a7; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; padding: 26px 62px 26px 0; font-family: var(--serif); font-size: 24px; line-height: 1.25; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 12px; top: 21px; color: var(--copper); font-family: var(--sans); font-size: 30px; font-weight: 300; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details div { max-width: 820px; padding: 0 0 28px; color: var(--ink-soft); }
.faq-list details div p { margin: 0; }
.section--ink .faq-list { border-color: #4a4640; }
.section--ink .faq-list details { border-color: #4a4640; }
.section--ink .faq-list details div { color: #c7bfb3; }

.video-card { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 420px; background: var(--ink); color: var(--paper); }
.video-card > div:first-child { padding: clamp(38px, 6vw, 74px); align-self: center; }
.video-card p:not(.eyebrow) { color: #c7bfb3; }
.video-placeholder { display: grid; place-items: center; min-height: 360px; background: linear-gradient(140deg, #4c463f, #211f1c); }
.video-placeholder span { display: grid; place-items: center; width: 90px; aspect-ratio: 1; border: 1px solid #c9bbaa; border-radius: 50%; color: #e2a388; font-size: 32px; }
.video-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

.inquiry-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .7fr); gap: 60px; align-items: start; }
.inquiry-form { display: grid; gap: 26px; scroll-margin-top: 140px; }
.inquiry-fields { display: grid; grid-template-columns: 1fr; gap: 26px; min-width: 0; margin: 0; padding: 0; border: 0; }
.form-row { display: grid; gap: 8px; }
.form-row label, fieldset legend { font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid #aea498; border-radius: 0; background: var(--surface); color: var(--ink); padding: 13px 14px; }
textarea { resize: vertical; min-height: 180px; }
input[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: #a22f25; box-shadow: 0 0 0 1px #a22f25; }
.field-error { min-height: 1.2em; margin: 0; color: #8e271f; font-size: 13px; }
fieldset { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 22px; border: 1px solid var(--line); }
fieldset legend { padding-inline: 8px; }
.check { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--copper); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.brief-panel { position: sticky; top: 112px; padding: 34px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.brief-panel h2 { font-size: 38px; margin-bottom: 20px; }
.brief-panel p { color: #c7bfb3; }
.brief-panel strong { color: var(--paper); }
.brief-panel hr { margin: 28px 0; border: 0; border-top: 1px solid #4a4640; }
.brief-panel pre { max-height: 440px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 18px; background: #292622; color: #f6efe4; font-family: ui-monospace, Consolas, monospace; font-size: 13px; line-height: 1.6; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.brief-panel .button--secondary { color: var(--paper); border-color: #bdb4a7; }
.status-message { min-height: 1.4em; margin: 13px 0 0; color: #e2a388 !important; font-size: 13px; }

.prose { max-width: 860px; }
.prose h2 { margin: 1.4em 0 .45em; font-size: clamp(30px, 3.4vw, 44px); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }

.site-footer { padding-top: 76px; background: #12110f; color: #e8e0d4; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, .75fr); gap: 32px; padding-bottom: 64px; }
.footer-brand img { width: 180px; filter: invert(1) grayscale(1) brightness(3); }
.footer-brand > p { max-width: 390px; margin-top: 24px; color: #aaa196; }
.footer-grid h2 { margin-bottom: 20px; font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #e2a388; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-grid a, .footer-contact { color: #d8d0c5; text-decoration: none; font-size: 14px; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #34312d; color: #8f877d; font-size: 12px; }

/* A native details menu works before, without and after JavaScript. */
.site-nav { position: absolute; inset: 100% 0 auto; display: block; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; padding: 14px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.site-nav ul { display: grid; gap: 0; margin-bottom: 16px; }
.site-nav li a { display: block; padding: 10px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
.site-nav li a::after { display: none; }
@media (min-width: 1201px) {
  @supports selector(details::details-content) {
    .site-menu::details-content { content-visibility: visible; }
    .site-menu > .nav-toggle { display: none; }
    .site-nav { position: static; display: flex; padding: 0; max-height: none; overflow: visible; border: 0; box-shadow: none; background: transparent; }
    .site-nav ul { display: flex; gap: 24px; margin: 0; }
    .site-nav li a { padding-block: 28px; font-size: 14px; border: 0; }
    .site-nav li a::after { display: block; }
  }
}

@media (max-width: 1060px) {
  .site-nav ul { display: grid; gap: 0; margin-bottom: 22px; }
  .site-nav li a { display: block; padding: 13px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .site-nav li a::after { display: none; }
  .nav-toggle { display: block; }
  .feature-grid--five { grid-template-columns: repeat(2, 1fr); }
  .compare--three { grid-template-columns: 1fr; }
  .boundary-grid { grid-template-columns: repeat(2, 1fr); }
  .home-products { grid-template-columns: 1fr; }
  .home-products__links { grid-template-columns: repeat(3, 1fr); }
  .home-products__links a { min-height: 170px; }
  .product-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-product-families { grid-template-columns: 1fr; }
  .media-gallery--process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visual-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .visual-index--home-craft { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell { width: min(calc(100% - 30px), var(--max)); }
  .topline .shell { min-height: 40px; justify-content: center; }
  .topline span { display: none; }
  .header-inner { min-height: 70px; }
  .brand { width: 142px; }
  .home-hero, .home-hero__inner { min-height: 620px; }
  .home-hero__media img { object-position: center; }
  .home-hero::after { background: linear-gradient(180deg, rgba(14,16,16,.9) 0%, rgba(14,16,16,.74) 70%, rgba(14,16,16,.55) 100%); }
  .home-hero__inner { align-items: flex-start; padding-block: 52px; }
  .home-hero h1 { font-size: clamp(36px, 10vw, 44px); }
  .home-hero .lead, .page-hero .lead { font-size: 19px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .boundary-grid { grid-template-columns: 1fr; }
  .boundary-grid > div { min-height: 96px; padding: 21px 12px; border-right: 1px solid var(--line); }
  .section { padding-block: 60px; }
  .section-heading { margin-bottom: 34px; }
  .page-hero { min-height: 0; }
  .page-hero__inner { padding-block: 28px 40px; }
  .page-hero h1 { font-size: clamp(34px, 9.2vw, 42px); }
  .page-hero h1 { overflow-wrap: anywhere; }
  .breadcrumbs { margin-bottom: 28px; }
  .breadcrumbs ol, .small, .field-error { font-size: 14px; }
  .hero-actions { margin-top: 26px; }
  .footer-grid > div, .inquiry-layout > * { min-width: 0; }
  .footer-grid a, .footer-contact { overflow-wrap: anywhere; }
  .check { min-height: 44px; }
  .brief-panel { padding: 26px; }
  .feature-grid, .feature-grid--five, .resource-links { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .crawl-priority-links .feature-card { padding-right: 84px; }
  .home-products__image { min-height: 430px; }
  .home-products__image span { left: 22px; right: 22px; bottom: 22px; font-size: 26px; }
  .home-products__links { grid-template-columns: 1fr; }
  .home-products__links a { min-height: 120px; }
  .product-category-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-category-card > span { min-height: 100px; }
  .more-product-families { margin-top: 44px; padding-top: 36px; }
  .product-family-links { grid-template-columns: 1fr; }
  .product-family-links a:last-child { grid-column: auto; }
  .media-gallery, .media-gallery--process, .media-gallery--quality, .media-gallery--company { grid-template-columns: 1fr; }
  .media-gallery--details, .media-gallery--material { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-gallery--material .media-tile:last-child { grid-column: 1 / -1; }
  .media-tile img, .media-tile--product img, .media-gallery--process .media-tile img, .media-gallery--quality .media-tile img, .media-gallery--company .media-tile img { height: 300px; }
  .media-gallery--details .media-tile img { height: auto; }
  .visual-index, .visual-index--quality, .visual-index--home-craft { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .visual-card__media, .visual-index--home-craft .visual-card__media { height: 128px; }
  .visual-card figcaption { min-height: 60px; padding: 11px 10px; }
  .visual-card figcaption strong { font-size: 15px; }
  .mode-stack--media { grid-template-columns: 1fr; }
  .split, .split--media, .product-feature, .compare, .video-card, .inquiry-layout { grid-template-columns: 1fr; }
  .split { gap: 48px; }
  .product-feature img { height: 360px; }
  .steps li { grid-template-columns: 46px 1fr; gap: 15px; }
  .spec-list > div { grid-template-columns: 1fr; gap: 4px; }
  .external-link + .external-link { margin: 12px 0 0; }
  .cta-band { display: grid; }
  .cta-band .button { width: 100%; }
  .video-placeholder { min-height: 240px; }
  .brief-panel { position: static; }
  fieldset { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}

/*
 * Current knitseek.com reference system for the 2026-09-12 non-product redesign.
 * This class is enabled page by page so product/category and editorial bodies keep
 * their established templates. Target-page images retain their complete frame.
 */
.reference-page {
  --paper: #fff;
  --paper-deep: #f5f6f5;
  --surface: #fff;
  --ink: #111714;
  --ink-soft: #404844;
  --muted: #69716d;
  --line: #e2e6e3;
  --copper: #23834f;
  --copper-dark: #17653d;
  --sage: #518464;
  --radius: 5px;
  --shadow: 0 16px 42px rgba(17, 35, 25, .10);
  --serif: Inter, 'Segoe UI', Arial, sans-serif;
  background: #fff;
  font-size: 16px;
  line-height: 1.68;
  overflow-x: clip;
}
.reference-page .topline { display: none; }
.reference-page .site-header { position: sticky; background: rgba(255,255,255,.97); border-color: #e7e9e7; backdrop-filter: blur(12px); }
.reference-page .header-inner { min-height: 72px; gap: 28px; }
.reference-page .brand { width: 142px; }
.reference-page .site-nav a { color: #101713; font-size: 13px; font-weight: 700; }
.reference-page .site-nav li a::after { bottom: 17px; height: 2px; background: var(--copper); }
.reference-page .button { min-height: 44px; padding: 11px 19px; border-radius: 4px; box-shadow: none; }
.reference-page main h1,
.reference-page main h2,
.reference-page main h3,
.reference-page .home-products__image span,
.reference-page .home-products__links b,
.reference-page .product-category-card strong,
.reference-page .product-family-links a,
.reference-page .visual-card figcaption strong,
.reference-page .faq-list summary,
.reference-page .boundary-grid strong {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.025em;
}
.reference-page main h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.14; }
.reference-page main h3 { font-size: 23px; line-height: 1.25; }
.reference-page .eyebrow { color: var(--copper); letter-spacing: .1em; }
.reference-page .section { padding-block: clamp(68px, 7vw, 104px); }
.reference-page .section--stone { background: #f5f6f5; }
.reference-page .section--ink { background: #17211c; }
.reference-page .section--copper { background: #1f7045; }
.reference-page .section-heading { max-width: 880px; margin: 0 auto 42px; text-align: center; }
.reference-page .section-heading > p:last-child { max-width: 760px; margin-inline: auto; font-size: 17px; }
.reference-page .page-hero { min-height: 420px; align-items: center; background: #fff; border-bottom-color: var(--line); text-align: center; }
.reference-page .page-hero__inner { padding-block: 54px 64px; }
.reference-page .page-hero h1 { max-width: 1080px; margin-inline: auto; font-size: clamp(42px, 5vw, 66px); line-height: 1.08; }
.reference-page .page-hero .lead { max-width: 820px; margin: 22px auto 0; font-size: clamp(18px, 1.8vw, 23px); }
.reference-page .page-hero .breadcrumbs { margin: 0 auto 38px; }
.reference-page .page-hero .breadcrumbs ol { justify-content: center; }
.reference-page .page-hero .hero-actions { justify-content: center; }

.reference-page .home-hero { min-height: 650px; background: #101713; }
.reference-page .home-hero__media { inset: 0; display: block; background: #101713; }
.reference-page .home-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; }
.reference-page .home-hero::after { background: rgba(4, 10, 7, .58); }
.reference-page .home-hero__inner { min-height: 650px; align-items: flex-start; justify-content: center; padding-block: 24px 100px; text-align: center; }
.reference-page .home-hero__copy { max-width: 1040px; }
.reference-page .home-hero__statement { margin: 0 0 12px; color: #fff; font-size: clamp(54px, 8.2vw, 118px); font-weight: 800; line-height: .9; letter-spacing: -.055em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.reference-page .home-hero h1 { max-width: 1040px; margin-inline: auto; font-size: clamp(31px, 4vw, 55px); font-weight: 750; line-height: 1.08; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.reference-page .home-hero .lead { max-width: 860px; margin-inline: auto; font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; }
.reference-page .home-hero .hero-actions { justify-content: center; }
.reference-page .home-hero .hero-note { position: absolute; bottom: 13px; left: 50%; width: min(calc(100% - 40px), 900px); margin: 0; padding: 0; transform: translateX(-50%); border: 0; color: #e2e8e4; }
.reference-page .boundary-strip { background: #fff; }
.reference-page .boundary-grid > div { min-height: 106px; text-align: center; }

.reference-page .feature-grid { gap: 22px; border: 0; }
.reference-page .feature-card { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 9px 28px rgba(24, 45, 33, .06); }
.reference-page .section--ink .feature-grid { gap: 1px; background: #3a4941; }
.reference-page .section--ink .feature-card { border: 0; border-radius: 0; background: #17211c; box-shadow: none; }
.reference-page .compare { gap: 24px; background: transparent; border: 0; }
.reference-page .compare article { border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 10px 32px rgba(24,45,33,.07); }
.reference-page .steps { max-width: 1000px; margin-inline: auto; }
.reference-page .steps li { grid-template-columns: 64px 1fr; padding: 28px 0; }
.reference-page .steps li > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e8f2ec; }
.reference-page .checklist { border-color: var(--line); }
.reference-page .checklist p { border-color: var(--line); }
.reference-page .notice { border-left-color: var(--copper); border-radius: 0 6px 6px 0; }
.reference-page .faq-list { max-width: 960px; margin-inline: auto; }
.reference-page .faq-list summary { font-size: 21px; }
.reference-page .cta-band { max-width: 1080px; margin-inline: auto; }

/* The target page family displays the full source bitmap. */
.reference-page .media-frame,
.reference-page .media-frame--landscape,
.reference-page .media-frame--product,
.reference-page .media-tile img,
.reference-page .media-tile--product img,
.reference-page .media-gallery--process .media-tile img,
.reference-page .media-gallery--quality .media-tile img,
.reference-page .media-gallery--company .media-tile img,
.reference-page .product-category-card img,
.reference-page .home-products__image img,
.reference-page .product-feature img,
.reference-page .mode-stack--media > img,
.reference-page .visual-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.reference-page .media-frame { background: #f1f3f1; box-shadow: var(--shadow); }
.reference-page .media-gallery { align-items: start; gap: 20px; }
.reference-page .media-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 10px 30px rgba(24,45,33,.08); }
.reference-page .media-tile figcaption { position: static; padding: 13px 16px; color: var(--ink); background: #fff; }
.reference-page .media-tile:hover img,
.reference-page .product-category-card:hover img,
.reference-page .home-products__image:hover img,
.reference-page .visual-card:hover .visual-card__media img { transform: none; }
.reference-page .visual-index { align-items: start; gap: 14px; }
.reference-page .visual-card { border-radius: 5px; overflow: hidden; background: #fff; }
.reference-page .visual-card__media { height: auto; overflow: visible; background: #f1f3f1; }
.reference-page .visual-card figcaption { min-height: 66px; }
.reference-page .product-category-card { border-radius: 5px; box-shadow: 0 10px 30px rgba(24,45,33,.08); }
.reference-page .product-feature { align-items: center; background: #17211c; }
.reference-page .home-products__image { min-height: 0; background: #17211c; }
.reference-page .home-products__image::after { inset: 45% 0 0; }
.reference-page .mode-stack--media { background: #344139; border-color: #344139; }
.reference-page .mode-stack article { background: #17211c; }
.reference-page .site-footer { background: #111714; }

@media (max-width: 1060px) {
  .reference-page .feature-grid--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .reference-page .header-inner { min-height: 66px; }
  .reference-page .brand { width: 134px; }
  .reference-page .site-nav { background: #fff; }
  .reference-page .home-hero { display: flex; min-height: 0; flex-direction: column; overflow: visible; }
  .reference-page .home-hero__media { position: relative; inset: auto; z-index: 0; width: 100%; background: #fff; }
  .reference-page .home-hero__media img { position: static; display: block; width: 100%; height: auto; max-height: none; }
  .reference-page .home-hero::after { display: none; }
  .reference-page .home-hero__inner { min-height: 0; width: 100%; padding-block: 44px; background: #101713; }
  .reference-page .home-hero__inner { align-items: center; }
  .reference-page .home-hero .hero-note { position: static; width: auto; margin-inline: auto; transform: none; }
  .reference-page .home-hero__statement { font-size: clamp(48px, 16vw, 68px); }
  .reference-page .home-hero h1 { font-size: clamp(31px, 9vw, 41px); }
  .reference-page .home-hero .lead { font-size: 17px; }
  .reference-page .page-hero { min-height: 0; }
  .reference-page .page-hero__inner { padding-block: 30px 44px; }
  .reference-page .page-hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .reference-page .section { padding-block: 58px; }
  .reference-page .section-heading { text-align: left; }
  .reference-page .section-heading > p:last-child { margin-inline: 0; }
  .reference-page .feature-grid,
  .reference-page .feature-grid--five { grid-template-columns: 1fr; }
  .reference-page .feature-card { min-height: 0; padding: 25px; }
  .reference-page .crawl-priority-links .feature-card { padding-right: 84px; }
  .reference-page .media-gallery--details,
  .reference-page .media-gallery--material { grid-template-columns: 1fr; }
  .reference-page .visual-index,
  .reference-page .visual-index--quality,
  .reference-page .visual-index--home-craft { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-page .visual-card__media { height: auto; }
  .reference-page .product-feature img { height: auto; }
  .reference-page .steps li { grid-template-columns: 48px 1fr; }
}

@media print {
  .topline, .site-header, .site-footer, .page-hero, .inquiry-form, .brief-actions, .whatsapp-float { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 0; }
  .inquiry-layout { display: block; }
  .brief-panel { position: static; background: #fff; color: #000; box-shadow: none; padding: 0; }
  .brief-panel p, .brief-panel pre { color: #000; }
  .brief-panel pre { max-height: none; border: 1px solid #aaa; background: #fff; }
}

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

/* Full-fidelity knitseek.com module system for the approved non-product scope. */
.reference-page .ref-image { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; object-position: center; }
.reference-page .ref-home-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #101713; }
.reference-page .ref-home-hero__media { position: relative; z-index: -2; width: 100%; }
.reference-page .ref-home-hero__media::after { content: ''; position: absolute; inset: 0; background: rgba(4,10,7,.56); }
.reference-page .ref-home-hero__copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 1080px; padding-block: 42px; text-align: center; }
.reference-page .ref-home-hero__copy h1 { max-width: 1050px; color: #fff; font-size: clamp(42px,5.3vw,76px); line-height: 1.02; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.reference-page .ref-home-hero__copy .lead { max-width: 820px; margin: 20px auto 0; color: #fff; font-size: clamp(18px,2vw,25px); font-weight: 600; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.reference-page .ref-home-hero__copy .eyebrow { color: #f0b798; }
.reference-page .ref-home-hero__copy .hero-actions { justify-content: center; }
.reference-page .ref-home-hero__copy .button--secondary { color: #fff; border-color: rgba(255,255,255,.78); }
.reference-page .ref-page-hero { color: #151a17; background: #fff; border-bottom: 1px solid #e3e8e4; }
.reference-page .ref-page-hero__inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.9fr); gap: clamp(34px,6vw,88px); align-items: center; min-height: 500px; padding-block: clamp(58px,7vw,102px); }
.reference-page .ref-page-hero__inner:not(:has(.ref-page-hero__media)) { display: block; min-height: 380px; text-align: center; }
.reference-page .ref-page-hero__inner:not(:has(.ref-page-hero__media)) .ref-page-hero__copy { max-width: 1000px; margin-inline: auto; }
.reference-page .ref-page-hero__inner:not(:has(.ref-page-hero__media)) .hero-actions { justify-content: center; }
.reference-page .ref-page-hero h1, .reference-page .ref-contact h1 { max-width: 980px; font-size: clamp(43px,5.2vw,70px); line-height: 1.06; }
.reference-page .ref-page-hero .lead, .reference-page .ref-contact .lead { max-width: 760px; margin-top: 22px; font-size: clamp(18px,1.7vw,22px); }
.reference-page .ref-page-hero__media { background: #f2f4f2; }
.reference-page .ref-section { padding-block: clamp(70px,7.5vw,112px); color: #151a17; background: #fff; }
.reference-page .ref-section--stone { background: #f4f6f4; }
.reference-page .ref-section--ink { color: #fff; background: #17211c; }
.reference-page .ref-section--ink p, .reference-page .ref-section--ink figcaption { color: #d4ddd8; }
.reference-page .ref-section--narrow .shell, .reference-page .ref-prose { max-width: 860px; }
.reference-page .ref-heading { max-width: 900px; margin: 0 auto clamp(36px,5vw,60px); text-align: center; }
.reference-page .ref-heading h2, .reference-page .ref-faq-groups h2, .reference-page .ref-prose h2 { font-size: clamp(32px,3.8vw,52px); line-height: 1.12; }
.reference-page .ref-heading > p:last-child { max-width: 760px; margin: 18px auto 0; font-size: 18px; }
.reference-page .ref-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 30px; }
.reference-page .ref-cards--five { grid-template-columns: repeat(5,minmax(0,1fr)); }
.reference-page .ref-card { min-width: 0; padding: clamp(24px,3vw,36px); border: 1px solid #e0e6e1; border-radius: 5px; background: #fff; box-shadow: 0 10px 30px rgba(24,45,33,.06); }
.reference-page .ref-card h3 { margin-top: 0; font-size: 23px; }
.reference-page .ref-card p { margin-bottom: 0; }
.reference-page .ref-section--ink .ref-card { color: #fff; border-color: #38473f; background: #1d2a23; box-shadow: none; }
.reference-page .ref-section--ink .ref-card p { color: #d4ddd8; }
.reference-page .ref-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 18px; align-items: start; margin-top: 34px; }
.reference-page .ref-gallery figure, .reference-page .ref-partner-banner { margin: 0; padding: 0; overflow: hidden; border: 1px solid #e0e6e1; border-radius: 5px; background: #fff; box-shadow: 0 10px 30px rgba(24,45,33,.07); }
.reference-page .ref-gallery figure { align-self: start; }
.reference-page .ref-gallery figcaption, .reference-page .ref-partner-banner figcaption { padding: 13px 16px; color: #263129; font-size: 14px; line-height: 1.5; }
.reference-page .ref-partner-banner { max-width: 1100px; margin-inline: auto; }
.reference-page .ref-wide-media { max-width: 1000px; margin: 0 auto 38px; border: 1px solid #e0e6e1; background: #fff; }
.reference-page .ref-wide-media--certificate { max-width: 750px; }
.reference-page .ref-split, .reference-page .ref-certificate { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr); gap: clamp(30px,5vw,70px); align-items: center; }
.reference-page .ref-split .ref-cards, .reference-page .ref-certificate .ref-cards { grid-template-columns: 1fr; margin-top: 0; }
.reference-page .ref-certificate > div:first-child { max-width: 390px; margin-inline: auto; }
.reference-page .ref-steps { max-width: 1040px; margin: 38px auto 0; padding: 0; list-style: none; }
.reference-page .ref-steps li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 25px 0; border-top: 1px solid #dfe5e1; }
.reference-page .ref-steps li:last-child { border-bottom: 1px solid #dfe5e1; }
.reference-page .ref-steps li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #19643e; background: #e7f2eb; font-weight: 800; }
.reference-page .ref-steps h3 { margin: 0 0 8px; }
.reference-page .ref-steps p { margin: 0; }
.reference-page .ref-faq { max-width: 980px; margin-inline: auto; border-top: 1px solid #dfe5e1; }
.reference-page .ref-faq details { border-bottom: 1px solid #dfe5e1; }
.reference-page .ref-faq summary { padding: 24px 42px 24px 0; font-size: 20px; font-weight: 750; cursor: pointer; }
.reference-page .ref-faq details p { max-width: 820px; margin: 0; padding: 0 0 24px; }
.reference-page .ref-faq-groups { display: grid; gap: 72px; }
.reference-page .ref-faq-groups > section > h2 { max-width: 850px; margin: 0 auto 30px; text-align: center; }
.reference-page .ref-timeline { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.reference-page .ref-timeline article { overflow: hidden; border: 1px solid #e0e6e1; border-radius: 5px; background: #fff; }
.reference-page .ref-timeline article h3, .reference-page .ref-timeline article p { margin-inline: 24px; }
.reference-page .ref-timeline article h3 { margin-top: 24px; }
.reference-page .ref-timeline article p { margin-bottom: 26px; }
.reference-page .ref-contact { padding-block: clamp(60px,8vw,112px); color: #151a17; background: #fff; }
.reference-page .ref-contact__grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(380px,.92fr); gap: clamp(38px,7vw,96px); align-items: center; }
.reference-page .ref-contact__media { background: #f2f4f2; }
.reference-page .ref-contact dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 22px; margin-top: 34px; }
.reference-page .ref-contact dt { font-weight: 800; }
.reference-page .ref-contact dd { margin: 0; }
.reference-page .ref-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.reference-page .ref-section--ink > .shell > .ref-cta:has(> div:first-child) { justify-content: space-between; }
.reference-page .ref-prose h2 { margin: 54px 0 16px; font-size: clamp(27px,3vw,38px); }
.reference-page .ref-prose h2:first-child { margin-top: 0; }
.reference-page .ref-prose p { font-size: 18px; }
.reference-page .ref-video { max-width: 1080px; margin-inline: auto; }

@media (max-width: 980px) {
  .reference-page .ref-page-hero__inner, .reference-page .ref-contact__grid, .reference-page .ref-split, .reference-page .ref-certificate { grid-template-columns: 1fr; }
  .reference-page .ref-page-hero__media { max-width: 720px; margin-inline: auto; }
  .reference-page .ref-cards, .reference-page .ref-cards--five, .reference-page .ref-timeline { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .reference-page .ref-home-hero { display: flex; flex-direction: column; overflow: visible; }
  .reference-page .ref-home-hero__media { z-index: 0; order: 0; }
  .reference-page .ref-home-hero__media::after { display: none; }
  .reference-page .ref-home-hero__copy { position: static; order: 1; padding-block: 42px 50px; background: #101713; }
  .reference-page .ref-home-hero__copy h1 { font-size: clamp(35px,10vw,46px); overflow-wrap: normal; word-break: normal; hyphens: none; }
  .reference-page .ref-page-hero__inner { min-height: 0; padding-block: 46px; }
  .reference-page .ref-page-hero h1, .reference-page .ref-contact h1 { font-size: clamp(34px,10vw,44px); overflow-wrap: anywhere; }
  .reference-page .ref-section { padding-block: 58px; }
  .reference-page .ref-heading { text-align: left; }
  .reference-page .ref-heading > p:last-child { margin-inline: 0; }
  .reference-page .ref-cards, .reference-page .ref-cards--five, .reference-page .ref-timeline { grid-template-columns: 1fr; }
  .reference-page .ref-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .reference-page .ref-gallery figcaption { padding: 10px; font-size: 12px; }
  .reference-page .ref-contact dl { grid-template-columns: 1fr; }
  .reference-page .ref-contact dd + dt { margin-top: 12px; }
  .reference-page .ref-steps li { grid-template-columns: 48px 1fr; }
}

@media (max-width: 430px) {
  .reference-page .ref-gallery { grid-template-columns: 1fr; }
}

.reference-page .ref-continuity { padding-block: 38px; color: #17211c; background: #e8f2ec; border-bottom: 1px solid #d1e1d7; }
.reference-page .ref-continuity h2 { margin: 0 0 10px; font-size: clamp(26px,3vw,38px); }
.reference-page .ref-continuity p { margin-bottom: 0; }
.reference-page .ref-link-grid { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.reference-page .ref-link-grid a { padding: 8px 12px; border: 1px solid #bdd2c4; border-radius: 3px; color: #174e32; background: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.reference-page .ref-fact-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.reference-page .ref-fact-grid p { padding: 14px 16px; border: 1px solid #c9dacd; background: rgba(255,255,255,.7); }
.reference-page .ref-continuity__terms { margin-top: 22px !important; font-weight: 700; }

@media (max-width: 720px) {
  .reference-page .ref-fact-grid { grid-template-columns: 1fr 1fr; }
}

/* Measured KnitSeek.com parity correction (2026-09-13). */
.reference-page {
  --ref-ink: #10284a;
  --ref-blue: #0563c1;
  --ref-line: #cfd5dc;
  --ref-pink: #c50068;
  color: var(--ref-ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
.reference-page .shell { width: min(calc(100% - 40px), 1300px); }
.reference-page .site-header { position: relative; min-height: 59px; border: 0; background: #fff; backdrop-filter: none; }
.reference-page .header-inner { width: min(calc(100% - 40px), 1170px); min-height: 59px; gap: 28px; }
.reference-page .brand { width: 110px; }
.reference-page .site-menu { margin-left: auto; }
.reference-page .site-nav { gap: 30px; }
.reference-page .site-nav ul { gap: 32px; }
.reference-page .site-nav li a,
.reference-page .site-nav a { padding-block: 16px; color: #050505; border: 0; font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.reference-page .site-nav li a::after,
.reference-page .site-nav .button { display: none; }
.reference-page .site-search { display: grid; place-items: center; width: 34px; height: 34px; color: #050505; text-decoration: none; }
.reference-page .site-search svg { width: 20px; height: 20px; }
.reference-page .site-search__icon { position: relative; display: block; width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; }
.reference-page .site-search__icon::after { content: ""; position: absolute; right: -6px; bottom: -4px; width: 7px; height: 2px; transform: rotate(45deg); transform-origin: left center; background: currentColor; }
.reference-page main > .breadcrumbs { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.reference-page main h1,
.reference-page main h2,
.reference-page main h3,
.reference-page .ref-faq summary {
  color: var(--ref-ink);
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: balance;
}
.reference-page main h1 { font-size: 36px; line-height: 1.4; }
.reference-page main h2,
.reference-page .ref-heading h2,
.reference-page .ref-faq-groups h2,
.reference-page .ref-prose h2 { font-size: 30px; line-height: 1.4; }
.reference-page main h3 { font-size: 18px; line-height: 1.45; }
.reference-page main p { color: var(--ref-ink); }
.reference-page .eyebrow { display: none; }
.reference-page .button { min-height: 46px; padding: 11px 22px; border: 1px solid #111; border-radius: 0; color: #fff; background: #111; font-size: 15px; font-weight: 600; }
.reference-page .button:hover { color: #fff; border-color: #111; background: #111; transform: none; }
.reference-page .button--secondary { color: #111; background: #fff; }

.reference-page .ref-home-hero { height: 671px; min-height: 0; background: #111; }
.reference-page .ref-home-hero__media { position: absolute; inset: 0; z-index: -2; height: 100%; background: #111; }
.reference-page .ref-home-hero__media picture { display: block; width: 100%; height: 100%; }
.reference-page .ref-home-hero__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.reference-page .ref-home-hero__media::after { background: rgba(0, 0, 0, .22); }
.reference-page .ref-home-hero__copy { inset: 0; justify-content: center; max-width: 1300px; padding: 42px 20px 80px; }
.reference-page .ref-home-hero__statement { margin: 0 0 6px; color: #fff; font-size: clamp(82px, 8.4vw, 120px); font-weight: 600; line-height: 1; text-shadow: 1px 2px 2px #111; }
.reference-page .ref-home-hero__copy h1 { max-width: 1200px; color: #fff; font-size: 40px; line-height: 1.4; font-weight: 600; text-shadow: 1px 2px 2px #111; }
.reference-page .ref-home-hero__copy .lead { max-width: 970px; margin: 8px auto 0; color: #fff; font-size: 24px; line-height: 1.3; font-weight: 600; text-shadow: 1px 2px 2px #111; }

.reference-page .ref-page-hero { border: 0; color: var(--ref-ink); background: #fff; }
.reference-page .ref-page-hero__inner,
.reference-page .ref-page-hero__inner:not(:has(.ref-page-hero__media)) { display: block; min-height: 0; padding-block: 22px 32px; text-align: left; }
.reference-page .ref-page-hero h1 { max-width: none; margin: 0; font-size: 36px; line-height: 1.4; }
.reference-page .ref-page-hero .lead { max-width: 1120px; margin: 12px 0 0; color: var(--ref-ink); font-size: 16px; line-height: 1.65; }
.reference-page .ref-page-hero--centered .ref-page-hero__inner { text-align: center; }
.reference-page .ref-page-hero--centered .lead { margin-inline: auto; }
.reference-page .ref-page-hero--media .ref-page-hero__inner { width: min(calc(100% - 40px), 1104px); padding-block: 70px 34px; }
.reference-page .ref-page-hero--media h1 { text-align: center; }
.reference-page .ref-page-hero--media .ref-page-hero__media { max-width: 1104px; margin: 60px auto 24px; border: 0; background: #fff; }
.reference-page .ref-page-hero--media .lead { max-width: none; margin-top: 24px; text-align: left; }
.reference-page .ref-page-hero[data-reference-template="process"] .ref-page-hero__inner { width: min(calc(100% - 40px), 1104px); padding-top: 70px; }

.reference-page .ref-section { padding-block: 46px; color: var(--ref-ink); background: #fff; border-top: 1px solid var(--ref-line); }
.reference-page .ref-section--stone,
.reference-page .ref-section--ink { color: var(--ref-ink); background: #fff; }
.reference-page .ref-section--ink p,
.reference-page .ref-section--ink figcaption { color: var(--ref-ink); }
.reference-page .ref-heading { max-width: none; margin: 0 0 28px; text-align: left; }
.reference-page .ref-heading > p:last-child { max-width: none; margin: 12px 0 0; color: var(--ref-ink); font-size: 16px; }
.reference-page .ref-cards,
.reference-page .ref-cards--five { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 42px; margin-top: 24px; }
.reference-page .ref-cards--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.reference-page .ref-card,
.reference-page .ref-section--ink .ref-card { min-height: 0; padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--ref-line); border-radius: 0; color: var(--ref-ink); background: #fff; box-shadow: none; }
.reference-page .ref-card h3 { margin: 0 0 8px; color: var(--ref-ink); font-size: 18px; }
.reference-page .ref-card p,
.reference-page .ref-section--ink .ref-card p { color: var(--ref-ink); }
.reference-page .ref-gallery { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; margin-top: 30px; }
.reference-page .ref-gallery figure,
.reference-page .ref-partner-banner { overflow: visible; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.reference-page .ref-gallery figcaption,
.reference-page .ref-partner-banner figcaption { padding: 10px 0 0; color: #111; font-size: 15px; line-height: 1.45; text-align: center; }
.reference-page .ref-wide-media { max-width: 1000px; margin: 26px auto 34px; border: 0; }
.reference-page .ref-split,
.reference-page .ref-certificate { gap: 46px; }
.reference-page .ref-steps { max-width: none; margin-top: 24px; }
.reference-page .ref-steps li { grid-template-columns: 38px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--ref-line); }
.reference-page .ref-steps li > span { display: block; width: auto; height: auto; border-radius: 0; color: var(--ref-blue); background: none; font-size: 16px; }
.reference-page .ref-faq { max-width: none; border-top: 1px solid var(--ref-line); }
.reference-page .ref-faq summary { padding: 18px 38px 18px 0; font-size: 18px; }
.reference-page .ref-faq details p { max-width: 1100px; padding-bottom: 20px; }
.reference-page .ref-cta { justify-content: flex-start; }
.reference-page .ref-video { max-width: 1104px; }

.reference-page .ref-home-hero + .ref-section { padding: 18px 0 82px; border: 0; }
.reference-page .ref-home-hero + .ref-section .ref-heading { max-width: 620px; margin-bottom: 14px; }
.reference-page .ref-home-hero + .ref-section .ref-heading h2 { font-size: 30px; }
.reference-page .ref-home-hero + .ref-section .ref-heading > p { font-weight: 600; }
.reference-page .ref-home-intro { max-width: 620px; }
.reference-page .ref-home-intro p { font-weight: 600; }
.reference-page .ref-home-intro__facts { margin-top: 30px; }
.reference-page .ref-home-intro + .ref-gallery { margin-top: 70px; }

.reference-page .ref-timeline--text { position: relative; display: block; max-width: 1050px; margin-inline: auto; padding-block: 18px; }
.reference-page .ref-timeline--text::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; transform: translateX(-50%); background: #2185d0; }
.reference-page .ref-timeline--text article { position: relative; width: calc(50% - 42px); margin: 0 0 28px; padding: 24px 28px; overflow: visible; border: 0; border-radius: 0; background: #f1f1f1; }
.reference-page .ref-timeline--text article:nth-child(even) { margin-left: calc(50% + 42px); }
.reference-page .ref-timeline--text article::after { content: ""; position: absolute; top: 50%; right: -55px; width: 24px; height: 24px; border-radius: 50%; transform: translateY(-50%); background: #2185d0; }
.reference-page .ref-timeline--text article:nth-child(even)::after { right: auto; left: -55px; }
.reference-page .ref-timeline--text article h3,
.reference-page .ref-timeline--text article p { margin-inline: 0; }
.reference-page .ref-timeline--text article h3 { margin-top: 0; }
.reference-page .ref-timeline--text article p { margin-bottom: 0; }

.reference-page .ref-contact { padding: 0 0 60px; color: var(--ref-ink); }
.reference-page .ref-contact__grid { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 48px; align-items: start; width: min(100%, 1440px); margin-inline: auto; }
.reference-page .ref-contact__media { background: #fff; }
.reference-page .ref-contact__copy { max-width: 650px; padding: 86px 30px 30px 0; }
.reference-page .ref-contact h1 { max-width: 560px; font-size: 25px; line-height: 1.4; }
.reference-page .ref-contact .lead { max-width: 620px; margin-top: 14px; color: var(--ref-ink); font-size: 16px; line-height: 1.65; }
.reference-page .ref-contact dl { grid-template-columns: 105px 1fr; gap: 7px 18px; margin-top: 24px; }
.reference-page .ref-contact .hero-actions { margin-top: 24px; }

.reference-page .ref-process-facts { padding: 0 0 24px; background: #fff; }
.reference-page .ref-process-facts .shell { width: min(calc(100% - 40px), 1104px); }
.reference-page .ref-table-wrap { overflow-x: auto; border: 1px solid var(--ref-line); }
.reference-page .ref-table-wrap table { width: 100%; border-collapse: collapse; font-size: 16px; }
.reference-page .ref-table-wrap th,
.reference-page .ref-table-wrap td { padding: 12px 16px; border-right: 1px solid var(--ref-line); border-bottom: 1px solid var(--ref-line); text-align: left; }
.reference-page .ref-table-wrap th { text-align: center; }
.reference-page .ref-table-wrap tr:last-child td { border-bottom: 0; }

.reference-page .ref-certificate-overview { padding: 10px 0 42px; }
.reference-page .ref-gallery--certificates { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 6px; margin-top: 0; }
.reference-page .ref-gallery--certificates figure { padding: 10px 28px 16px; border: 3px solid var(--ref-pink); }
.reference-page .ref-gallery--certificates figcaption { padding-top: 8px; font-size: 22px; font-weight: 700; }

.reference-page .ref-exhibition-overview { padding: 0 0 56px; }
.reference-page .ref-gallery--exhibitions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; margin-top: 0; }
.reference-page .ref-gallery--exhibitions figure:first-child { grid-column: 2; }
.reference-page .ref-gallery--exhibitions img { width: 100%; height: auto; }
.reference-page .ref-gallery--exhibitions figcaption { font-size: 22px; font-weight: 500; }

.reference-page .ref-section--faq { padding-top: 18px; border: 0; }
.reference-page .ref-faq-groups { gap: 0; }
.reference-page .ref-faq-groups > section { padding: 16px 0 20px; border-bottom: 1px solid var(--ref-line); }
.reference-page .ref-faq-groups > section > h2 { max-width: none; margin: 0 0 12px; font-size: 20px; text-align: left; }
.reference-page .ref-faq-groups > section:nth-child(1) > h2::before { content: "I. "; }
.reference-page .ref-faq-groups > section:nth-child(2) > h2::before { content: "II. "; }
.reference-page .ref-faq-groups > section:nth-child(3) > h2::before { content: "III. "; }
.reference-page .ref-faq-groups > section:nth-child(4) > h2::before { content: "IV. "; }
.reference-page .ref-faq-groups > section:nth-child(5) > h2::before { content: "V. "; }
.reference-page .ref-faq-groups ol { margin: 0; padding-left: 21px; }
.reference-page .ref-faq-groups li h3 { display: inline; font-size: 16px; font-weight: 700; }
.reference-page .ref-faq-groups li p { margin: 2px 0 4px; font-size: 16px; }

.reference-page .ref-privacy { padding: 72px 0 100px; background: #fff; }
.reference-page .ref-privacy__layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 58px; align-items: start; max-width: 1104px; }
.reference-page .ref-privacy__nav { display: grid; gap: 28px; padding-top: 42px; }
.reference-page .ref-privacy__nav a { color: var(--ref-ink); font-size: 14px; text-decoration: none; }
.reference-page .ref-privacy .ref-prose { max-width: none; }
.reference-page .ref-privacy .ref-prose h1 { margin: 0 0 20px; font-size: 32px; }
.reference-page .ref-privacy .ref-prose h2 { margin: 26px 0 4px; font-size: 16px; line-height: 1.55; font-weight: 700; }
.reference-page .ref-privacy .ref-prose p { margin: 0 0 24px; font-size: 16px; line-height: 1.65; }

.reference-page .ref-continuity { padding: 44px 0; border-top: 1px solid var(--ref-line); border-bottom: 0; color: var(--ref-ink); background: #fff; }
.reference-page .ref-continuity h2 { font-size: 30px; }
.reference-page .ref-link-grid { gap: 8px 20px; }
.reference-page .ref-link-grid a { padding: 0; border: 0; border-radius: 0; color: var(--ref-blue); background: none; font-size: 15px; font-weight: 500; text-decoration: underline; }
.reference-page .ref-fact-grid { gap: 26px; }
.reference-page .ref-fact-grid p { padding: 0; border: 0; background: none; }

@media (max-width: 1200px) {
  .reference-page .header-inner { width: min(calc(100% - 40px), 1170px); }
  .reference-page .site-nav { position: fixed; top: 59px; right: 0; bottom: auto; left: auto; width: 100vw; background: #fff; }
}

@media (max-width: 720px) {
  .reference-page .shell { width: calc(100% - 40px); }
  .reference-page .site-header,
  .reference-page .header-inner { min-height: 60px; }
  .reference-page .header-inner { width: 100%; padding-inline: 20px; }
  .reference-page .brand { width: 109px; }
  .reference-page .nav-toggle { min-width: 38px; min-height: 38px; padding: 6px; }
  .reference-page .nav-toggle > span:not(.sr-only) { width: 17px; height: 2px; margin: 4px; background: #1683dc; }
  .reference-page .site-nav { inset-block-start: 60px; padding-inline: 20px; }
  .reference-page .site-search { display: none; }
  .reference-page main h1,
  .reference-page .ref-page-hero h1 { font-size: 27.36px; line-height: 1.4; }
  .reference-page main h2,
  .reference-page .ref-heading h2,
  .reference-page .ref-faq-groups h2,
  .reference-page .ref-prose h2 { font-size: 24px; line-height: 1.45; }

  .reference-page .ref-home-hero { height: auto; aspect-ratio: 768 / 300; }
  .reference-page .ref-home-hero__media { position: absolute; height: 100%; }
  .reference-page .ref-home-hero__media picture,
  .reference-page .ref-home-hero__media img { width: 100%; height: 100%; }
  .reference-page .ref-home-hero__copy { position: absolute; inset: 0; justify-content: center; padding: 4px 10px 14px; background: transparent; }
  .reference-page .ref-home-hero__statement { margin: 0; font-size: 36px; line-height: 1; }
  .reference-page .ref-home-hero__copy h1 { max-width: 360px; font-size: 12px; line-height: 1.4; }
  .reference-page .ref-home-hero__copy .lead { max-width: 340px; margin-top: 2px; font-size: 8px; line-height: 1.25; }
  .reference-page .ref-home-hero + .ref-section { padding-top: 20px; padding-bottom: 70px; }
  .reference-page .ref-home-hero + .ref-section .ref-heading h2 { font-size: 24px; }
  .reference-page .ref-home-intro + .ref-gallery { margin-top: 54px; }

  .reference-page .ref-page-hero__inner,
  .reference-page .ref-page-hero__inner:not(:has(.ref-page-hero__media)) { padding-block: 50px 24px; text-align: center; }
  .reference-page .ref-page-hero .lead { margin-top: 14px; text-align: left; }
  .reference-page .ref-page-hero--media .ref-page-hero__inner { width: calc(100% - 40px); padding-block: 50px 24px; }
  .reference-page .ref-page-hero--media .ref-page-hero__media { margin: 42px auto 22px; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] .ref-page-hero__inner { padding-top: 22px; text-align: left; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] .lead { text-align: left; }
  .reference-page .ref-page-hero[data-reference-template="our_story"] .ref-page-hero__inner,
  .reference-page .ref-page-hero[data-reference-template="certifications"] .ref-page-hero__inner,
  .reference-page .ref-page-hero[data-reference-template="exhibitions"] .ref-page-hero__inner,
  .reference-page .ref-page-hero[data-reference-template="faq"] .ref-page-hero__inner { padding-top: 20px; }

  .reference-page .ref-section { padding-block: 36px; }
  .reference-page .ref-heading { margin-bottom: 22px; }
  .reference-page .ref-heading > p:last-child { font-size: 16px; }
  .reference-page .ref-cards,
  .reference-page .ref-cards--five { grid-template-columns: 1fr; gap: 18px; }
  .reference-page .ref-gallery { grid-template-columns: 1fr; gap: 22px; }
  .reference-page .ref-gallery figcaption { padding-top: 7px; font-size: 15px; }
  .reference-page .ref-split,
  .reference-page .ref-certificate { grid-template-columns: 1fr; }

  .reference-page .ref-timeline--text { padding-left: 44px; }
  .reference-page .ref-timeline--text::before { left: 12px; transform: none; }
  .reference-page .ref-timeline--text article,
  .reference-page .ref-timeline--text article:nth-child(even) { width: 100%; margin: 0 0 22px; padding: 20px; }
  .reference-page .ref-timeline--text article::after,
  .reference-page .ref-timeline--text article:nth-child(even)::after { right: auto; left: -43px; }

  .reference-page .ref-contact { padding-bottom: 44px; }
  .reference-page .ref-contact__grid { grid-template-columns: 1fr; gap: 0; }
  .reference-page .ref-contact__copy { max-width: none; padding: 0 20px 24px; }
  .reference-page .ref-contact h1 { margin-top: 0; font-size: 25px; }
  .reference-page .ref-contact dl { grid-template-columns: 1fr; }
  .reference-page .ref-contact dd + dt { margin-top: 10px; }

  .reference-page .ref-process-facts .shell { width: calc(100% - 40px); }
  .reference-page .ref-table-wrap table { min-width: 560px; }

  .reference-page .ref-gallery--certificates { grid-template-columns: 1fr; gap: 12px; }
  .reference-page .ref-gallery--certificates figure { padding: 10px 22px 14px; }
  .reference-page .ref-gallery--exhibitions { grid-template-columns: 1fr; gap: 26px; }
  .reference-page .ref-gallery--exhibitions figure:first-child { grid-column: auto; }
  .reference-page .ref-gallery--exhibitions figcaption { font-size: 18px; }

  .reference-page .ref-section--faq { padding-top: 10px; }
  .reference-page .ref-faq-groups > section > h2 { font-size: 20px; }

  .reference-page .ref-privacy { padding: 50px 0 72px; }
  .reference-page .ref-privacy__layout { display: block; }
  .reference-page .ref-privacy__nav { display: none; }
  .reference-page .ref-privacy .ref-prose h1 { font-size: 29.184px; }
  .reference-page .ref-privacy .ref-prose h2 { margin-top: 26px; font-size: 16px; }
  .reference-page .ref-privacy .ref-prose p { font-size: 16px; }
}

/* Route measurements from the corresponding KnitSeek.com pages. */
.reference-page .ref-home-hero__media img { object-fit: cover; }
.reference-page .ref-page-hero__intro { max-width: 1120px; }
.reference-page .ref-page-hero__intro .lead + .lead { margin-top: 22px; }
.reference-page .ref-page-hero--media .ref-page-hero__inner { padding-top: 83px; }
.reference-page .ref-page-hero[data-reference-template="private_label"] .ref-page-hero__media,
.reference-page .ref-page-hero[data-reference-template="low_moq"] .ref-page-hero__media { margin-top: 20px; }
.reference-page .ref-page-hero[data-reference-template="design"] .ref-page-hero__media,
.reference-page .ref-page-hero[data-reference-template="quality"] .ref-page-hero__media { margin-top: 72px; }
.reference-page .ref-page-hero[data-reference-template="custom_service"] .ref-page-hero__inner { padding-block: 31px 43px; text-align: center; }
.reference-page .ref-page-hero[data-reference-template="custom_service"] .ref-page-hero__intro { margin-inline: auto; text-align: left; }
.reference-page .ref-page-hero[data-reference-template="process"] .ref-page-hero__inner { padding-top: 83px; padding-bottom: 72px; }
.reference-page .ref-page-hero[data-reference-template="certifications"] .ref-page-hero__inner { padding-top: 41px; }
.reference-page .ref-page-hero[data-reference-template="faq"] .ref-page-hero__inner { padding-top: 31px; padding-bottom: 48px; }
.reference-page .ref-page-hero[data-reference-template="faq"] .ref-page-hero__intro { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reference-page .ref-hero-table { margin-top: 34px; }

.reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section { padding-top: 46px; }
.reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section > .shell { display: grid; grid-template-columns: 589px minmax(0, 1fr); column-gap: 20px; align-items: start; }
.reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-heading { grid-column: 1 / -1; text-align: center; }
.reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-heading > p { display: none; }
.reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-wide-media { grid-column: 1; grid-row: 2; width: 589px; margin: 0; }
.reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-cards { grid-column: 2; grid-row: 2; display: block; margin: 0; }
.reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-card { position: relative; padding: 0 0 10px 18px; border: 0; }
.reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-card::before { content: "•"; position: absolute; left: 0; }

.reference-page .ref-story-timeline { padding-top: 0; border-top: 0; }
.reference-page .ref-story-timeline__title,
.reference-page .ref-story-timeline__intro { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reference-page .ref-timeline--text { max-width: 824px; margin-top: 92px; }
.reference-page .ref-timeline--text article,
.reference-page .ref-timeline--text article:nth-child(even) { width: calc(50% - 18px); min-height: 176px; margin-bottom: 72px; padding: 24px 22px; border-radius: 4px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.reference-page .ref-timeline--text article:nth-child(even) { margin-left: calc(50% + 18px); }
.reference-page .ref-timeline__marker { position: absolute; top: 50%; right: -83px; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; transform: translateY(-50%); color: #fff; background: #0563c1; font-size: 13px; font-weight: 700; }
.reference-page .ref-timeline--text article:nth-child(even) .ref-timeline__marker { right: auto; left: -83px; }
.reference-page .ref-timeline--text article::after { display: none; }

.reference-page .ref-contact { margin-top: -9px; }
.reference-page .ref-contact__grid { grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 40px; width: min(calc(100% - 140px), 1300px); padding-inline: 10px; }
.reference-page .ref-contact__copy { padding-top: 109.5px; }
.reference-page .ref-contact__copy > p { margin: 8px 0; }
.reference-page .ref-contact__copy .lead { margin-top: 16px; }
.reference-page .ref-contact-form { padding-top: 0; padding-bottom: 72px; }
.reference-page .ref-contact-form h2 { margin: 0 0 12px; font-size: 16px; }
.reference-page .ref-contact-form > p { margin-bottom: 28px; }
.reference-page .ref-contact-form form { display: grid; gap: 24px; }
.reference-page .ref-contact-form label { display: grid; gap: 6px; color: var(--ref-ink); font-size: 14px; }
.reference-page .ref-contact-form input,
.reference-page .ref-contact-form textarea { width: 100%; padding: 11px 13px; border: 1px solid #cfd5dc; border-radius: 3px; color: var(--ref-ink); background: #fff; font: inherit; }
.reference-page .ref-contact-form input { min-height: 42px; }
.reference-page .ref-contact-form textarea { min-height: 168px; resize: vertical; }
.reference-page .ref-contact-form .button { justify-self: start; }
.reference-page .ref-contact-form .button:disabled { cursor: not-allowed; opacity: .55; }
.reference-page .ref-contact-form .form-status { margin: 0; font-size: 14px; }
.reference-page .ref-contact-form .form-status[data-state="success"] { color: #167543; }
.reference-page .ref-contact-form .form-status[data-state="error"] { color: #a22f25; }
.reference-page .ref-contact-form .form-status[hidden] { display: none; }

.reference-page .inquiry-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  width: min(calc(100% - 140px), 1300px);
  margin-inline: auto;
  padding: 0 0 72px;
}
.reference-page .inquiry-form,
.reference-page .inquiry-fields { gap: 24px; }
.reference-page .inquiry-form label { color: #111; font-size: 14px; }
.reference-page .inquiry-form input,
.reference-page .inquiry-form select,
.reference-page .inquiry-form textarea {
  padding: 11px 13px;
  border: 1px solid #cfd5dc;
  border-radius: 3px;
  color: #111;
  background: #fff;
  font: inherit;
}
.reference-page .inquiry-form input,
.reference-page .inquiry-form select { min-height: 42px; }
.reference-page .inquiry-form textarea { min-height: 168px; }
.reference-page .inquiry-form .field-error:empty { display: none; }
.reference-page .brief-panel {
  position: static;
  padding: 24px 28px;
  box-shadow: none;
}
.reference-page .brief-panel h2 { margin-bottom: 10px; font-size: 24px; }
.reference-page .brief-panel > p { margin: 8px 0; }

.reference-page .ref-gallery--exhibitions figure:first-child { justify-self: end; width: 83%; }
.reference-page .site-nav a[aria-current="page"] { color: var(--ref-blue); }

.reference-page .site-footer--reference { padding-top: 58px; color: var(--ref-ink); background: #fff; border-top: 1px solid var(--ref-line); }
.reference-page .site-footer--reference .ref-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 70px; padding-bottom: 54px; }
.reference-page .site-footer--reference h2 { margin: 0 0 18px; color: var(--ref-ink); font-size: 20px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.reference-page .site-footer--reference a,
.reference-page .site-footer--reference p { display: block; margin: 0 0 9px; color: var(--ref-ink); font-size: 14px; line-height: 1.6; text-decoration: none; }
.reference-page .site-footer--reference a:hover { color: var(--ref-blue); text-decoration: underline; }
.reference-page .site-footer--reference .footer-bottom { min-height: 58px; border-top-color: var(--ref-line); color: #4b5563; }

@media (max-width: 720px) {
  .reference-page .ref-page-hero[data-reference-template="private_label"] .ref-page-hero__media,
  .reference-page .ref-page-hero[data-reference-template="low_moq"] .ref-page-hero__media { margin-top: 20px; }
  .reference-page .ref-page-hero[data-reference-template="design"] .ref-page-hero__media { margin-top: 29px; }
  .reference-page .ref-page-hero[data-reference-template="quality"] .ref-page-hero__media { margin-top: 68px; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] .ref-page-hero__inner { padding-block: 30px 78px; text-align: center; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] .ref-page-hero__intro,
  .reference-page .ref-page-hero[data-reference-template="custom_service"] .lead { text-align: left; }
  .reference-page .ref-page-hero[data-reference-template="process"] .ref-page-hero__inner { padding-top: 50px; padding-bottom: 58px; }
  .reference-page .ref-page-hero[data-reference-template="certifications"] .ref-page-hero__inner { padding-top: 40px; }
  .reference-page .ref-page-hero[data-reference-template="faq"] .ref-page-hero__inner { padding-top: 30px; padding-bottom: 42px; }

  .reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section > .shell { display: block; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-heading { text-align: center; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-wide-media { width: 100%; margin: 0 0 18px; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-cards { display: block; }

  .reference-page .ref-timeline--text { max-width: none; margin-top: 82px; padding-left: 44px; }
  .reference-page .ref-timeline--text article,
  .reference-page .ref-timeline--text article:nth-child(even) { width: 100%; min-height: 176px; margin: 0 0 72px; padding: 20px; }
  .reference-page .ref-timeline__marker,
  .reference-page .ref-timeline--text article:nth-child(even) .ref-timeline__marker { right: auto; left: -57px; width: 50px; height: 50px; }

  .reference-page .ref-contact__grid { width: calc(100% - 20px); padding-inline: 10px; }
  .reference-page .ref-contact__copy { padding-top: 20px; }
  .reference-page .ref-contact-form { width: calc(100% - 40px); }

  .reference-page .ref-exhibition-overview .shell { width: calc(100% - 20px); }
  .reference-page .ref-gallery--exhibitions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .reference-page .ref-gallery--exhibitions figure:first-child { grid-column: 2; width: 82%; }
  .reference-page .ref-gallery--exhibitions figcaption { padding-top: 3px; font-size: 7px; }

  .reference-page .site-footer--reference .ref-footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

.reference-page .site-footer[data-reference-footer] { padding-top: 58px; color: var(--ref-ink); background: #fff; border-top: 1px solid var(--ref-line); }
.reference-page .site-footer[data-reference-footer] .ref-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 70px; padding-bottom: 54px; }
.reference-page .site-footer[data-reference-footer] h2 { margin: 0 0 18px; color: var(--ref-ink); font-size: 20px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.reference-page .site-footer[data-reference-footer] a,
.reference-page .site-footer[data-reference-footer] p,
.reference-page .site-footer[data-reference-footer] .footer-contact { display: block; margin: 0 0 9px; color: var(--ref-ink); font-size: 14px; line-height: 1.6; text-decoration: none; }
.reference-page .site-footer[data-reference-footer] a:hover { color: var(--ref-blue); text-decoration: underline; }
.reference-page .site-footer[data-reference-footer] .footer-bottom { min-height: 58px; border-top-color: var(--ref-line); color: #4b5563; }

@media (max-width: 720px) {
  .reference-page .site-footer[data-reference-footer] .ref-footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

.reference-page .site-footer:has(.ref-footer-grid) { padding-top: 58px; color: var(--ref-ink); background: #fff; border-top: 1px solid var(--ref-line); }
.reference-page .site-footer .ref-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 70px; padding-bottom: 54px; }
.reference-page .site-footer .ref-footer-grid h2 { margin: 0 0 18px; color: var(--ref-ink); font-size: 20px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.reference-page .site-footer .ref-footer-grid a,
.reference-page .site-footer .ref-footer-grid p,
.reference-page .site-footer .ref-footer-grid .footer-contact { display: block; margin: 0 0 9px; color: var(--ref-ink); font-size: 14px; line-height: 1.6; text-decoration: none; }
.reference-page .site-footer .ref-footer-grid a:hover { color: var(--ref-blue); text-decoration: underline; }
.reference-page .site-footer .ref-footer-grid + .footer-bottom { min-height: 58px; border-top-color: var(--ref-line); color: #4b5563; }

@media (max-width: 720px) {
  .reference-page .site-footer .ref-footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* Final viewport alignment after localized copy wrapping. */
.reference-page .ref-home-hero__copy { padding-bottom: 64px; }
.reference-page .ref-home-hero + .ref-section { padding-top: 27px; }
.reference-page .ref-page-hero[data-reference-template="custom_service"] .ref-page-hero__inner { padding-bottom: 60px; }
.reference-page .ref-page-hero[data-reference-template="private_label"] .ref-page-hero__inner { padding-bottom: 69px; }
.reference-page .ref-page-hero[data-reference-template="design"] .ref-page-hero__inner { padding-bottom: 41px; }
.reference-page .ref-page-hero[data-reference-template="low_moq"] .ref-page-hero__inner { padding-bottom: 79px; }
.reference-page .ref-page-hero[data-reference-template="quality"] .ref-page-hero__inner { padding-bottom: 26px; }
.reference-page .ref-page-hero[data-reference-template="process"] .ref-page-hero__inner { padding-bottom: 0; }
.reference-page .ref-page-hero[data-reference-template="process"] + .ref-process-facts th,
.reference-page .ref-page-hero[data-reference-template="process"] + .ref-process-facts td { padding-block: 9px; }
.reference-page .ref-privacy { padding-top: 83px; }

@media (max-width: 720px) {
  .reference-page .ref-home-hero__copy { padding-bottom: 54px; }
  .reference-page .ref-home-hero + .ref-section { padding-top: 23px; }
  .reference-page .ref-page-hero--media .ref-page-hero__inner { padding-top: 50px; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] .ref-page-hero__inner { padding-bottom: 18px; }
  .reference-page .ref-page-hero[data-reference-template="private_label"] .ref-page-hero__inner { padding-bottom: 0; }
  .reference-page .ref-page-hero[data-reference-template="design"] .ref-page-hero__inner { padding-bottom: 162px; }
  .reference-page .ref-page-hero[data-reference-template="low_moq"] .ref-page-hero__inner { padding-bottom: 93px; }
  .reference-page .ref-page-hero[data-reference-template="quality"] .ref-page-hero__inner { padding-bottom: 72px; }
  .reference-page .ref-page-hero[data-reference-template="process"] .ref-page-hero__inner { padding-bottom: 0; }

  .reference-page .ref-timeline--text article,
  .reference-page .ref-timeline--text article:nth-child(even) { width: calc(100% - 74px); margin-left: 45px; margin-bottom: 150px; }
  .reference-page .ref-timeline__marker,
  .reference-page .ref-timeline--text article:nth-child(even) .ref-timeline__marker { left: -79px; }

  .reference-page .ref-contact { margin-top: -10px; }
  .reference-page .ref-contact__grid { display: grid; grid-template-columns: 1fr; width: calc(100% - 20px); padding-inline: 10px; }
  .reference-page .ref-contact__media { grid-column: 1; grid-row: 1; }
  .reference-page .ref-contact__copy { grid-column: 1; grid-row: 2; padding-top: 20px; }
  .reference-page .ref-privacy { padding-top: 50px; }
}

/* Full-page reference geometry: preserve complete media while matching the
   responsive columns and section rhythm of the source pages. */
.reference-page .ref-story-timeline { padding-bottom: 168px; }
.reference-page .ref-gallery--certificates { gap: 35px 6px; }
.reference-page .ref-gallery--certificates img { width: min(300px, 100%); max-width: 300px; margin-inline: auto; }
.reference-page .ref-certificate-overview { padding-bottom: 203px; }
.reference-page .ref-page-hero[data-reference-template="certifications"] .ref-page-hero__inner { padding-bottom: 5px; }
.reference-page .ref-gallery--exhibitions { row-gap: 17px; }
.reference-page .ref-gallery--exhibitions figcaption { display: none; }
.reference-page .ref-exhibition-overview { padding-bottom: 26px; }

.reference-page .ref-page-hero[data-reference-template="certifications"] ~ .ref-section:nth-of-type(n + 4):nth-of-type(-n + 9) { min-height: 295px; }
.reference-page .ref-page-hero[data-reference-template="certifications"] ~ .ref-section .ref-certificate { display: block; }

@media (min-width: 721px) {
  .reference-page .ref-story-timeline { padding-bottom: 106px; }
  .reference-page .ref-page-hero[data-reference-template="our_story"] ~ .ref-section:nth-of-type(3) > .shell {
    width: min(calc(100% - 40px), 1254px);
  }
  .reference-page .ref-page-hero[data-reference-template="our_story"] ~ .ref-section:nth-of-type(3) .ref-heading,
  .reference-page .ref-page-hero[data-reference-template="our_story"] ~ .ref-section:nth-of-type(3) .ref-gallery { margin-bottom: 0; margin-top: 0; }
  .reference-page .ref-page-hero[data-reference-template="our_story"] ~ .ref-section:nth-of-type(3) .ref-gallery {
    grid-template-columns: repeat(4, 286.5px);
    gap: 131px 0;
    justify-content: space-between;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
  .reference-page .ref-page-hero[data-reference-template="our_story"] ~ .ref-section:nth-of-type(3) .ref-gallery img {
    width: 286.5px;
    height: 286.5px;
    object-fit: contain;
  }

  .reference-page .ref-home-hero + .ref-section .ref-gallery {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 315px;
    gap: 10px;
    width: 100%;
    margin: -26px 0 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
  .reference-page .ref-home-hero + .ref-section .ref-gallery figcaption { display: none; }
}

.reference-page .ref-page-hero[data-reference-template="design"] ~ .ref-section .ref-wide-media img,
.reference-page .ref-page-hero[data-reference-template="low_moq"] ~ .ref-section .ref-wide-media img,
.reference-page .ref-page-hero[data-reference-template="process"] ~ .ref-section .ref-wide-media img,
.reference-page .ref-page-hero[data-reference-template="our_story"] ~ .ref-section .ref-wide-media img,
.reference-page .ref-page-hero[data-reference-template="private_label"] ~ .ref-section:nth-of-type(n + 6) .ref-wide-media img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 720px) {
  .reference-page .ref-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .reference-page .ref-page-hero[data-reference-template="our_story"] ~ .ref-section:nth-of-type(3) .ref-heading > p { display: none; }
  .reference-page .ref-page-hero[data-reference-template="our_story"] ~ .ref-section:nth-of-type(3) .ref-heading { margin-bottom: 0; }
  .reference-page .ref-page-hero[data-reference-template="our_story"] ~ .ref-section:nth-of-type(3) .ref-gallery { margin-top: -23px; }
  .reference-page .ref-page-hero[data-reference-template="our_story"] ~ .ref-section:nth-of-type(3) .ref-gallery figure:nth-child(5),
  .reference-page .ref-page-hero[data-reference-template="our_story"] ~ .ref-section:nth-of-type(3) .ref-gallery figure:nth-child(6) { margin-top: 49px; }

  .reference-page .ref-home-hero ~ .ref-section .ref-gallery {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 152px;
    gap: 6px;
    width: calc(100% - 40px);
    margin-inline: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
  }
  .reference-page .ref-home-hero ~ .ref-section .ref-gallery figure { scroll-snap-align: start; }
  .reference-page .ref-home-hero ~ .ref-section .ref-gallery figcaption { display: none; }
  .reference-page .ref-home-hero + .ref-section .ref-gallery { margin-top: 69px; }

  .reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section > .shell {
    display: flex;
    flex-direction: column;
    width: calc(100% - 20px);
  }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-heading { order: 1; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-wide-media { order: 2; width: 100%; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-cards { order: 3; }

  .reference-page .ref-page-hero[data-reference-template="custom_service"] ~ .ref-section:nth-of-type(3) .ref-gallery,
  .reference-page .ref-page-hero[data-reference-template="custom_service"] ~ .ref-section:nth-of-type(4) .ref-gallery,
  .reference-page .ref-page-hero[data-reference-template="custom_service"] ~ .ref-section:nth-of-type(5) .ref-gallery {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(370px, calc(100vw - 20px));
    gap: 0;
    width: min(370px, calc(100vw - 20px));
    max-width: none;
    margin-left: -10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
  }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] ~ .ref-section:nth-of-type(3) .ref-gallery figure,
  .reference-page .ref-page-hero[data-reference-template="custom_service"] ~ .ref-section:nth-of-type(4) .ref-gallery figure,
  .reference-page .ref-page-hero[data-reference-template="custom_service"] ~ .ref-section:nth-of-type(5) .ref-gallery figure { width: min(370px, calc(100vw - 20px)); scroll-snap-align: start; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] ~ .ref-section:nth-of-type(3) .ref-gallery img,
  .reference-page .ref-page-hero[data-reference-template="custom_service"] ~ .ref-section:nth-of-type(4) .ref-gallery img,
  .reference-page .ref-page-hero[data-reference-template="custom_service"] ~ .ref-section:nth-of-type(5) .ref-gallery img {
    width: min(370px, calc(100vw - 20px));
    height: min(370px, calc(100vw - 20px));
    object-fit: contain;
    background: #fff;
  }

  .reference-page .ref-story-timeline { padding-bottom: 57px; }
  .reference-page .ref-page-hero[data-reference-template="our_story"] ~ .ref-section:nth-of-type(3) .ref-gallery {
    grid-template-columns: repeat(2, min(146.5px, calc((100vw - 71px) / 2)));
    gap: 170px 31px;
    justify-content: center;
  }
  .reference-page .ref-page-hero[data-reference-template="our_story"] ~ .ref-section:nth-of-type(3) .ref-gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .reference-page .ref-contact__grid { gap: 0; }
  .reference-page .ref-exhibition-overview { padding-top: 26px; }
  .reference-page .ref-gallery--certificates { grid-template-columns: 1fr; gap: 12px; }
  .reference-page .ref-certificate-overview { padding-bottom: 72px; }
  .reference-page .ref-page-hero[data-reference-template="certifications"] .ref-page-hero__inner { padding-bottom: 24px; }

  .reference-page .ref-home-hero + .ref-section { padding-bottom: 13px; }
  .reference-page .ref-home-hero ~ .ref-section .ref-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-page .ref-home-hero ~ .ref-section .ref-cards--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .reference-page .ref-certificate-overview { padding: 219px 0 502px; }
  .reference-page .ref-certificate-overview > .shell { overflow-x: auto; overscroll-behavior-inline: contain; }
  .reference-page .ref-gallery--certificates {
    grid-template-columns: repeat(2, 350px);
    grid-auto-rows: auto;
    gap: 29px 0;
    width: 700px;
  }
  .reference-page .ref-gallery--certificates figure:nth-child(1) { grid-column: 1; grid-row: 1; }
  .reference-page .ref-gallery--certificates figure:nth-child(2) { grid-column: 2; grid-row: 1; }
  .reference-page .ref-gallery--certificates figure:nth-child(3) { grid-column: 1; grid-row: 2; margin-bottom: 20px; }
  .reference-page .ref-gallery--certificates figure:nth-child(4) { grid-column: 1; grid-row: 3; }
  .reference-page .ref-gallery--certificates figure:nth-child(5) { grid-column: 2; grid-row: 3; }
  .reference-page .ref-gallery--certificates figure:nth-child(6) { grid-column: 1; grid-row: 4; }
  .reference-page .ref-gallery--certificates figure:nth-child(n + 4) img { height: 300px; object-fit: contain; }
  .reference-page .ref-page-hero[data-reference-template="certifications"] .ref-page-hero__inner { padding-bottom: 5px; }
  .reference-page .ref-page-hero[data-reference-template="certifications"] ~ .ref-section:nth-of-type(3) { height: 560px; }
  .reference-page .ref-page-hero[data-reference-template="certifications"] ~ .ref-section:nth-of-type(n + 4):nth-of-type(-n + 9) { min-height: 450px; }

  .reference-page .ref-exhibition-overview { padding-top: 26px; padding-bottom: 32px; }
  .reference-page .ref-gallery--exhibitions { row-gap: 20px; }
  .reference-page .ref-gallery--exhibitions figure:first-child { width: 78%; margin-bottom: 10px; }
}

@media (min-width: 721px) {
  .reference-page .ref-page-hero[data-reference-template="design"] .ref-page-hero__media,
  .reference-page .ref-page-hero[data-reference-template="low_moq"] .ref-page-hero__media,
  .reference-page .ref-page-hero[data-reference-template="quality"] .ref-page-hero__media { max-width: 1000px; }
  .reference-page .ref-page-hero[data-reference-template="design"] .ref-page-hero__inner { padding-bottom: 96px; }
  .reference-page .ref-page-hero[data-reference-template="low_moq"] .ref-page-hero__inner { padding-bottom: 134px; }
  .reference-page .ref-page-hero[data-reference-template="quality"] .ref-page-hero__inner { padding-bottom: 81px; }
  .reference-page .ref-page-hero[data-reference-template="private_label"] ~ .ref-section .ref-wide-media,
  .reference-page .ref-page-hero[data-reference-template="process"] ~ .ref-section .ref-wide-media {
    margin-left: 98px;
    margin-right: 0;
  }
}

@media (max-width: 720px) {
  .reference-page .ref-page-hero--media .ref-page-hero__media,
  .reference-page .ref-page-hero[data-reference-template="private_label"] ~ .ref-section .ref-wide-media,
  .reference-page .ref-page-hero[data-reference-template="design"] ~ .ref-section .ref-wide-media,
  .reference-page .ref-page-hero[data-reference-template="low_moq"] ~ .ref-section .ref-wide-media,
  .reference-page .ref-page-hero[data-reference-template="process"] ~ .ref-section .ref-wide-media,
  .reference-page .ref-page-hero[data-reference-template="quality"] ~ .ref-section .ref-wide-media {
    width: min(345px, 100%);
    margin-left: auto;
    margin-right: auto;
  }
  .reference-page .ref-page-hero[data-reference-template="design"] .ref-page-hero__inner { padding-bottom: 165px; }
  .reference-page .ref-page-hero[data-reference-template="low_moq"] .ref-page-hero__inner { padding-bottom: 96px; }
  .reference-page .ref-page-hero[data-reference-template="quality"] .ref-page-hero__inner { padding-bottom: 75px; }
}

@media (min-width: 721px) and (max-width: 980px) {
  .reference-page .ref-contact__grid { grid-template-columns: 1fr; width: min(calc(100% - 40px), 620px); gap: 0; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section > .shell {
    display: flex;
    flex-direction: column;
    width: calc(100% - 20px);
  }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-heading { order: 1; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-wide-media { order: 2; width: 100%; }
  .reference-page .ref-page-hero[data-reference-template="custom_service"] + .ref-section .ref-cards { order: 3; }
}

/* Structural parity v2: source-DOM-led layouts. These rules deliberately
   supersede the earlier coordinate patches above. */
.reference-page {
  --ref-ink: #111;
  --ref-blue: #0563c1;
  --ref-line: #d8d8d8;
  color: var(--ref-ink);
  font-size: 16px;
  line-height: 1.65;
}
.reference-page main h1,
.reference-page main h2,
.reference-page main h3,
.reference-page main p { color: var(--ref-ink); }
.reference-page .ref-home-hero__media img {
  object-fit: contain;
  object-position: center;
  background: #111;
}

.reference-page .ref-source-page .shell { width: min(calc(100% - 40px), 1180px); }
.reference-page .ref-source-page .ref-page-hero__inner,
.reference-page .ref-source-page .ref-page-hero__inner:not(:has(.ref-page-hero__media)) {
  width: min(calc(100% - 40px), 1180px);
  padding: 28px 0 38px;
  text-align: center;
}
.reference-page .ref-source-page .ref-page-hero h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.4;
}
.reference-page .ref-source-page .ref-page-hero__intro {
  max-width: none;
  margin-top: 20px;
  text-align: left;
}
.reference-page .ref-source-page .ref-page-hero .lead {
  max-width: none;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
}
.reference-page .ref-source-section {
  padding: 32px 0 34px;
  border: 0;
  background: #fff;
}
.reference-page .ref-source-section > .shell > h2 {
  margin: 0 0 32px;
  font-size: 30px;
  line-height: 1.3;
  text-align: center;
}
.reference-page .ref-source-intro {
  max-width: 1030px;
  margin: -16px auto 28px;
  text-align: center;
}
.reference-page .ref-source-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.reference-page .ref-source-split--reverse .ref-source-image { order: 2; }
.reference-page .ref-source-split--reverse .ref-source-copy { order: 1; }
.reference-page .ref-source-image { min-width: 0; margin: 0; }
.reference-page .ref-source-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.reference-page .ref-source-image figcaption {
  margin-top: 5px;
  color: #111;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}
.reference-page .ref-source-copy p:first-child { margin-top: 0; }
.reference-page .ref-source-copy p:last-child { margin-bottom: 0; }
.reference-page .ref-source-list { margin: 0 0 18px; padding-left: 20px; }
.reference-page .ref-source-list li { margin-bottom: 10px; }
.reference-page .ref-source-table { width: 100%; overflow-x: auto; }
.reference-page .ref-source-table table { width: 100%; border-collapse: collapse; }
.reference-page .ref-source-table th,
.reference-page .ref-source-table td {
  padding: 10px 14px;
  border: 1px solid #cfd5dc;
  color: #111;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
}
.reference-page .ref-source-table th { color: #fff; background: #1d3348; font-weight: 600; }
.reference-page .ref-source-yarn {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 34px;
  align-items: center;
}
.reference-page .ref-source-yarn__logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}
.reference-page .ref-source-yarn__logos img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.reference-page .ref-source-yarn__logos p { grid-column: 1 / -1; }
.reference-page .ref-source-gallery {
  display: grid;
  gap: 12px;
  align-items: start;
}
.reference-page .ref-source-gallery--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reference-page .ref-source-gallery--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.reference-page .ref-source-gallery--six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.reference-page .ref-source-centered { max-width: 980px; margin: 24px auto 0; text-align: center; }
.reference-page .ref-source-faq { display: grid; gap: 0; }
.reference-page .ref-source-faq > details { padding: 0; border: 0; }
.reference-page .ref-source-faq summary { margin: 0; list-style: none; color: #111; cursor: default; }
.reference-page .ref-source-faq summary::-webkit-details-marker { display: none; }
.reference-page .ref-source-faq summary h3 { margin: 0 0 20px; font-size: 24px; line-height: 1.3; font-weight: 600; }
.reference-page .ref-source-faq p { margin: 0 0 24px; }
.reference-page .ref-source-page[data-source-layout="custom-service"] .ref-source-faq summary h3 { font-size: 18px; }
.reference-page .ref-source-section--last { padding-bottom: 54px; }
.reference-page .ref-source-section--last > .shell { max-width: 1100px; }
.reference-page .ref-source-actions { margin-top: 20px; }
.reference-page .site-footer:has(.ref-footer-grid) {
  padding-top: 30px;
  color: #fff;
  background: #050505;
  border-top: 0;
}
.reference-page .site-footer .ref-footer-grid {
  gap: 48px;
  padding-bottom: 28px;
}
.reference-page .site-footer .ref-footer-grid h2,
.reference-page .site-footer .ref-footer-grid a,
.reference-page .site-footer .ref-footer-grid p,
.reference-page .site-footer .ref-footer-grid .footer-contact { color: #fff; }
.reference-page .site-footer .ref-footer-grid a[href^="mailto:"] { color: #19d36b; }
.reference-page .site-footer .ref-footer-grid + .footer-bottom {
  width: 100%;
  min-height: 58px;
  padding-inline: max(20px, calc((100% - 1300px) / 2));
  color: #555;
  background: #fff;
  border-top: 0;
}
.reference-page .ref-article-page .ref-page-hero__inner {
  width: min(calc(100% - 40px), 1104px);
  padding-top: 62px;
  text-align: left;
}
.reference-page .ref-article-page .ref-page-hero h1 { text-align: center; }
.reference-page .ref-article-page .ref-page-hero__media {
  max-width: 1104px;
  margin: 34px auto 22px;
}
.reference-page .ref-article-page .ref-page-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.reference-page .ref-article-page .ref-source-section { padding: 24px 0 28px; }
.reference-page .ref-article-page .ref-source-section > .shell { width: min(calc(100% - 40px), 1104px); }
.reference-page .ref-article-page .ref-source-section > .shell > h2 {
  margin-bottom: 22px;
  text-align: left;
}
.reference-page .ref-article-page .ref-source-image {
  width: min(100%, 1000px);
  margin: 0 auto 22px;
}
.reference-page .ref-article-page .ref-source-prose { margin-top: 18px; }
.reference-page .ref-article-page .ref-source-table { margin: 8px 0 4px; }
.reference-page .ref-cert-overview { padding: 14px 0 42px; }
.reference-page .ref-cert-overview .shell { width: min(calc(100% - 40px), 1300px); }
.reference-page .ref-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 8px;
}
.reference-page .ref-cert-grid figure { margin: 0; text-align: center; }
.reference-page .ref-cert-grid img {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}
.reference-page .ref-cert-grid figcaption { margin-top: 10px; font-size: 15px; font-weight: 600; }
.reference-page .ref-cert-lead > .shell { width: min(calc(100% - 40px), 1140px); padding: 0 0 18px; }
.reference-page .ref-cert-lead p { margin: 0 0 18px; }
.reference-page .ref-story-source-timeline { padding: 26px 0 40px; background: #fff; }
.reference-page .ref-story-source-timeline .shell { width: min(calc(100% - 40px), 1104px); }
.reference-page .ref-story-source-timeline h2 {
  margin: 0 0 22px;
  color: #111;
  font-size: 30px;
  line-height: 1.3;
  text-align: center;
}
.reference-page .ref-story-source-timeline > .shell > p {
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
}
.reference-page .ref-timeline--text {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
.reference-page .ref-timeline--text::before {
  content: "";
  position: absolute;
  top: 25px;
  right: 6%;
  left: 6%;
  height: 2px;
  background: #ef5b78;
}
.reference-page .ref-timeline--text article {
  position: relative;
  margin: 0;
  padding: 0;
  text-align: center;
}
.reference-page .ref-timeline--text .ref-timeline__marker {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  place-items: center;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  color: #fff;
  background: #ef5b78;
  font-size: 13px;
  font-weight: 700;
}
.reference-page .ref-timeline--text h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.35; }
.reference-page .ref-timeline--text p { margin: 0; font-size: 13px; line-height: 1.5; }
.reference-page .ref-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.reference-page .ref-team-grid figure { margin: 0; border: 3px solid #ef5b78; background: #ef5b78; }
.reference-page .ref-team-grid img { display: block; width: 100%; height: auto; object-fit: contain; }
.reference-page .ref-team-grid figcaption {
  display: grid;
  min-height: 72px;
  padding: 10px 12px;
  align-content: center;
  color: #fff;
  text-align: center;
}
.reference-page .ref-team-grid figcaption strong,
.reference-page .ref-team-grid figcaption span { color: inherit; }
.reference-page .ref-team-grid figcaption span { font-size: 13px; line-height: 1.35; }
.reference-page .ref-source-gallery--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reference-page .ref-source-gallery--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reference-page .ref-story-certificates { gap: 28px; align-items: center; }
.reference-page .ref-story-certificates img { height: auto; max-height: none; }
.reference-page .ref-story-environment { gap: 16px; }

@media (max-width: 720px) {
  .reference-page .ref-source-page .shell,
  .reference-page .ref-source-page .ref-page-hero__inner { width: calc(100% - 20px); }
  .reference-page .ref-source-page .ref-page-hero__inner,
  .reference-page .ref-source-page .ref-page-hero__inner:not(:has(.ref-page-hero__media)) { padding: 22px 0 30px; }
  .reference-page .ref-source-page .ref-page-hero h1 { font-size: 25px; line-height: 1.25; }
  .reference-page .ref-source-page .ref-page-hero__intro { margin-top: 16px; }
  .reference-page .ref-source-page .ref-page-hero .lead { font-size: 15px; line-height: 1.55; }
  .reference-page .ref-source-section { padding: 24px 0 26px; }
  .reference-page .ref-source-section > .shell > h2 { margin-bottom: 20px; font-size: 22px; line-height: 1.3; }
  .reference-page .ref-source-intro { margin-top: -10px; margin-bottom: 18px; text-align: left; }
  .reference-page .ref-source-split,
  .reference-page .ref-source-yarn { grid-template-columns: 1fr; gap: 18px; }
  .reference-page .ref-source-split--reverse .ref-source-image,
  .reference-page .ref-source-split--reverse .ref-source-copy { order: initial; }
  .reference-page .ref-source-gallery--three { grid-template-columns: 1fr; }
  .reference-page .ref-source-gallery--three,
  .reference-page .ref-source-gallery--five,
  .reference-page .ref-source-gallery--six {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(250px, calc(100vw - 40px));
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
  }
  .reference-page .ref-source-gallery--five,
  .reference-page .ref-source-gallery--six { grid-auto-columns: min(150px, calc((100vw - 40px) / 2)); }
  .reference-page .ref-source-gallery--three > *,
  .reference-page .ref-source-gallery--five > *,
  .reference-page .ref-source-gallery--six > * { scroll-snap-align: start; }
  .reference-page .ref-source-yarn__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-page .ref-source-table th,
  .reference-page .ref-source-table td { padding: 8px 9px; font-size: 12px; }
  .reference-page .ref-source-centered { text-align: left; }
  .reference-page .ref-article-page .ref-page-hero__inner { width: calc(100% - 20px); padding-top: 36px; }
  .reference-page .ref-article-page .ref-page-hero h1 { font-size: 25px; }
  .reference-page .ref-article-page .ref-page-hero__media { margin: 18px auto 16px; }
  .reference-page .ref-article-page .ref-source-section > .shell { width: calc(100% - 20px); }
  .reference-page .ref-article-page .ref-source-section > .shell > h2 { font-size: 22px; }
  .reference-page .ref-cert-overview .shell { width: calc(100% - 20px); }
  .reference-page .ref-cert-grid { grid-template-columns: 1fr; gap: 18px; }
  .reference-page .ref-cert-grid img { width: min(100%, 300px); }
  .reference-page .ref-cert-lead > .shell { width: calc(100% - 20px); }
  .reference-page .ref-story-source-timeline .shell { width: calc(100% - 20px); }
  .reference-page .ref-story-source-timeline h2 { font-size: 22px; }
  .reference-page .ref-story-source-timeline > .shell > p { text-align: left; }
  .reference-page .ref-timeline--text { grid-template-columns: 1fr; gap: 0; }
  .reference-page .ref-timeline--text::before {
    top: 20px;
    bottom: 20px;
    left: 20px;
    width: 2px;
    height: auto;
  }
  .reference-page .ref-timeline--text article {
    min-height: 74px;
    padding: 0 0 18px 58px;
    text-align: left;
  }
  .reference-page .ref-timeline--text .ref-timeline__marker {
    width: 42px;
    height: 42px;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
  }
  .reference-page .ref-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .reference-page .ref-team-grid figcaption { min-height: 62px; padding: 8px; }
  .reference-page .ref-source-gallery--four {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(150px, calc((100vw - 40px) / 2));
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
  }
  .reference-page .ref-source-gallery--four > * { scroll-snap-align: start; }
  .reference-page .ref-source-gallery--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* Structural parity v3: compact source templates. */
.reference-page .ref-contact {
  margin: 0;
  padding: 0 0 28px;
  background: #fff;
}
.reference-page .ref-contact__grid {
  display: grid;
  grid-template-columns: 620px minmax(0, 1fr);
  gap: 40px;
  width: min(calc(100% - 140px), 1300px);
  margin-inline: auto;
  padding: 0 10px;
  align-items: start;
}
.reference-page .ref-contact__media { margin: 0; background: #fff; }
.reference-page .ref-contact__media img {
  display: block;
  width: 620px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.reference-page .ref-contact__copy { max-width: 650px; padding: 104px 0 20px; }
.reference-page .ref-contact__copy h1 {
  max-width: 560px;
  margin: 0 0 20px;
  color: #111;
  font-size: 25px;
  line-height: 1.4;
}
.reference-page .ref-contact__copy p { margin: 8px 0; color: #111; font-size: 16px; line-height: 1.55; }
.reference-page .ref-contact-form {
  width: min(calc(100% - 140px), 1300px);
  padding: 0 0 72px;
}
.reference-page .ref-contact-form h2 { margin: 0 0 12px; color: #111; font-size: 16px; line-height: 1.5; }
.reference-page .ref-contact-form > p { margin: 0 0 28px; }
.reference-page .ref-contact-form form { display: grid; gap: 24px; }
.reference-page .ref-contact-form label { display: grid; gap: 6px; color: #111; font-size: 14px; }
.reference-page .ref-contact-form input,
.reference-page .ref-contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cfd5dc;
  border-radius: 3px;
  color: #111;
  background: #fff;
  font: inherit;
}
.reference-page .ref-contact-form input { min-height: 42px; }
.reference-page .ref-contact-form textarea { min-height: 168px; resize: vertical; }
.reference-page .ref-contact-form .button { justify-self: start; }

.reference-page .ref-exhibitions-page .ref-page-hero__inner { padding: 28px 0 22px; }
.reference-page .ref-exhibitions-page .ref-page-hero__intro { text-align: center; }
.reference-page .ref-exhibition-overview { padding: 0 0 20px; }
.reference-page .ref-exhibition-overview > .shell { width: min(calc(100% - 140px), 1300px); }
.reference-page .ref-exhibition-feature {
  display: grid;
  grid-template-columns: minmax(0, 750px) minmax(0, 530px);
  gap: 20px;
  align-items: stretch;
}
.reference-page .ref-exhibition-feature .ref-source-image { display: flex; align-items: stretch; }
.reference-page .ref-exhibition-feature .ref-source-image img { width: 100%; height: 100%; object-fit: contain; }
.reference-page .ref-exhibition-video {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 431px;
  color: #fff;
  background: #050505;
}
.reference-page .ref-exhibition-video > div:first-child { display: grid; padding: 28px; align-content: center; }
.reference-page .ref-exhibition-video p,
.reference-page .ref-exhibition-video a { color: #fff; }
.reference-page .ref-exhibition-video .video-placeholder { min-height: 100%; }
.reference-page .ref-exhibition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.reference-page .ref-exhibition-grid figure { margin: 0; text-align: center; }
.reference-page .ref-exhibition-grid img { display: block; width: 100%; height: auto; object-fit: contain; }
.reference-page .ref-exhibition-grid figcaption { margin-top: 5px; color: #111; font-size: 13px; }
.reference-page .ref-exhibitions-page .ref-source-section--last { padding: 20px 0 48px; }
.reference-page .ref-exhibitions-page .ref-source-section--last > .shell > h2 { margin-bottom: 18px; text-align: left; }

.reference-page .ref-faq-page .ref-page-hero__inner {
  width: min(calc(100% - 140px), 1300px);
  padding: 30px 0 10px;
  text-align: center;
}
.reference-page .ref-faq-page .ref-page-hero h1 { margin: 0; font-size: 36px; line-height: 1.4; }
.reference-page .ref-faq-page .ref-page-hero__intro { display: none; }
.reference-page .ref-faq-page .ref-section--faq { padding: 0 0 46px; background: #fff; }
.reference-page .ref-faq-page .ref-faq-groups {
  display: grid;
  width: min(calc(100% - 140px), 1300px);
  gap: 0;
}
.reference-page .ref-faq-page .ref-faq-groups > section { padding: 16px 0 20px; border-bottom: 1px solid #d8d8d8; }
.reference-page .ref-faq-page .ref-faq-groups > section > h2 { margin: 0 0 12px; color: #111; font-size: 17px; line-height: 1.5; text-align: left; }
.reference-page .ref-faq-page .ref-faq-groups ol { margin: 0; padding-left: 21px; }
.reference-page .ref-faq-page .ref-faq-groups li { margin: 0 0 6px; }
.reference-page .ref-faq-page .ref-faq-groups li h3 { display: inline; color: #111; font-size: 16px; line-height: 1.55; font-weight: 700; }
.reference-page .ref-faq-page .ref-faq-groups li p { margin: 2px 0 4px; color: #111; font-size: 16px; line-height: 1.55; }
.reference-page .ref-faq-page .ref-faq-notes { margin: 6px 0 0 21px; padding-left: 18px; }
.reference-page .ref-faq-page .ref-faq-notes li { margin-bottom: 4px; color: #111; font-size: 15px; line-height: 1.45; }

.reference-page .ref-privacy { padding: 82px 0 94px; background: #fff; }
.reference-page .ref-privacy > .ref-prose {
  width: min(calc(100% - 40px), 840px);
  max-width: 840px;
  margin-inline: auto;
}
.reference-page .ref-privacy .ref-prose h1 { margin: 0 0 20px; color: #111; font-size: 32px; line-height: 1.2; }
.reference-page .ref-privacy .ref-prose h2 { margin: 26px 0 4px; color: #111; font-size: 16px; line-height: 1.55; font-weight: 700; }
.reference-page .ref-privacy .ref-prose p { margin: 0 0 24px; color: #111; font-size: 16px; line-height: 1.65; }

@media (max-width: 720px) {
  .reference-page .ref-contact { padding-bottom: 20px; }
  .reference-page .ref-contact__grid {
    grid-template-columns: 1fr;
    gap: 0;
    width: calc(100% - 20px);
    padding: 0 10px;
  }
  .reference-page .ref-contact__copy { padding: 20px 0 12px; }
  .reference-page .ref-contact__copy h1 { font-size: 25px; }
  .reference-page .ref-contact-form { width: calc(100% - 40px); padding-bottom: 52px; }
  .reference-page .inquiry-layout { width: calc(100% - 40px); gap: 26px; padding-bottom: 52px; }
  .reference-page .brief-panel { padding: 22px 20px; }
  .reference-page .ref-exhibition-overview > .shell { width: calc(100% - 20px); }
  .reference-page .ref-exhibition-feature { grid-template-columns: 1fr; gap: 10px; }
  .reference-page .ref-exhibition-video { min-height: 300px; }
  .reference-page .ref-exhibition-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
  .reference-page .ref-exhibitions-page .ref-source-section--last > .shell > h2 { text-align: left; }
  .reference-page .ref-faq-page .ref-page-hero__inner { width: calc(100% - 20px); padding-top: 22px; }
  .reference-page .ref-faq-page .ref-page-hero h1 { font-size: 25px; }
  .reference-page .ref-faq-page .ref-faq-groups { width: calc(100% - 20px); }
  .reference-page .ref-privacy { padding: 50px 0 70px; }
  .reference-page .ref-privacy > .ref-prose { width: calc(100% - 40px); }
  .reference-page .ref-privacy .ref-prose h1 { font-size: 29.184px; }
}

/* Source homepage geometry. */
.reference-page .ref-home-source { color: #111; background: #fff; }
.reference-page .ref-home-source .shell { width: min(calc(100% - 140px), 1300px); }
.reference-page .ref-home-source .ref-home-hero {
  display: grid;
  height: auto;
  min-height: 0;
  aspect-ratio: 1920 / 750;
  position: relative;
  overflow: hidden;
  place-items: center;
  color: #fff;
  background: #050505;
}
.reference-page .ref-home-source .ref-home-hero__media { position: absolute; inset: 0; }
.reference-page .ref-home-source .ref-home-hero__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .32); }
.reference-page .ref-home-source .ref-home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #050505;
}
.reference-page .ref-home-source .ref-home-hero__copy {
  display: grid;
  justify-items: center;
  position: absolute;
  inset: 0 0 24%;
  align-content: center;
  padding: 20px;
  z-index: 1;
  text-align: center;
}
.reference-page .ref-home-source .ref-home-hero__statement { margin: 0 0 14px; color: #fff; font-size: clamp(32px, 5vw, 72px); line-height: 1; font-weight: 700; }
.reference-page .ref-home-source .ref-home-hero h1 { max-width: 1150px; margin: 0; color: #fff; font-size: clamp(18px, 2.2vw, 42px); line-height: 1.3; }
.reference-page .ref-home-source .ref-home-hero .lead { max-width: 1000px; margin: 22px 0 0; color: #fff; font-size: clamp(13px, 1.1vw, 21px); line-height: 1.45; font-weight: 600; }
.reference-page .ref-home-section { padding: 30px 0 40px; background: #fff; }
.reference-page .ref-home-section h2,
.reference-page .ref-home-trust h2,
.reference-page .ref-home-faq h2 { margin: 0 0 20px; color: #111; font-size: 30px; line-height: 1.3; text-align: center; }
.reference-page .ref-home-section h3 { color: #111; }
.reference-page .ref-home-section figure { margin: 0; }
.reference-page .ref-home-section figure img { display: block; width: 100%; height: auto; object-fit: contain; }
.reference-page .ref-home-section figcaption { margin-top: 6px; color: #111; font-size: 13px; line-height: 1.35; text-align: center; }
.reference-page .ref-home-note { max-width: 1040px; margin: 18px auto 0; color: #111; font-size: 14px; text-align: center; }
.reference-page .ref-home-about { padding-top: 20px; }
.reference-page .ref-home-about__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.reference-page .ref-home-about__copy { padding: 0 10px; }
.reference-page .ref-home-about__copy h2 { margin-bottom: 20px; text-align: left; }
.reference-page .ref-home-about__copy p { margin: 0 0 18px; }
.reference-page .ref-home-about__video {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin-bottom: 32px;
  position: relative;
  color: #fff;
  background: #050505;
  place-items: center;
}
.reference-page .ref-home-about__video .video-placeholder,
.reference-page .ref-home-about__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; }
.reference-page .ref-home-about__video > a { position: absolute; right: 0; top: calc(100% + 8px); bottom: auto; color: #111; font-size: 13px; }
.reference-page .ref-home-about__video > .button { position: absolute; z-index: 1; }
.reference-page .ref-home-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 30px) / 4);
  gap: 10px;
  margin-top: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
}
.reference-page .ref-home-carousel figure { scroll-snap-align: start; }
.reference-page .ref-home-carousel img { aspect-ratio: 360 / 300; object-fit: contain; background: #f7f7f7; }
.reference-page .ref-home-certificates { display: grid; grid-template-columns: repeat(4, minmax(0, 300px)); gap: 25px; justify-content: center; }
.reference-page .ref-home-certificates img { aspect-ratio: 300 / 381; object-fit: contain; }
.reference-page .ref-home-compact { padding-top: 20px; padding-bottom: 30px; }
.reference-page .ref-home-facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.reference-page .ref-home-facts p { display: grid; min-height: 92px; margin: 0; padding: 16px 10px; align-content: center; color: #111; background: #f7f7f7; text-align: center; }
.reference-page .ref-home-facts strong { font-size: 17px; }
.reference-page .ref-home-facts span { font-size: 13px; }
.reference-page .ref-home-audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 450px)); gap: 100px; justify-content: center; }
.reference-page .ref-home-audiences h3 { margin: 0 0 12px; font-size: 20px; }
.reference-page .ref-home-audiences ul { margin: 0; padding-left: 20px; }
.reference-page .ref-home-audiences li { margin-bottom: 8px; }
.reference-page .ref-home-partners { padding-bottom: 10px; }
.reference-page .ref-home-partners figure img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.reference-page .ref-home-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reference-page .ref-home-products img { aspect-ratio: 1 / 1; object-fit: contain; }
.reference-page .ref-home-products figcaption { margin: -38px 12px 0; padding: 8px; position: relative; color: #fff; background: rgba(0, 0, 0, .65); font-weight: 700; }
.reference-page .ref-home-demand-links,
.reference-page .ref-home-commercial-links {
  display: flex;
  gap: 8px 18px;
  margin-top: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.reference-page .ref-home-demand-links a,
.reference-page .ref-home-commercial-links a { color: #111; font-size: 13px; line-height: 1.4; text-decoration: none; }
.reference-page .ref-home-commercial-links { margin-top: 10px; }
.reference-page .ref-home-demand-links,
.reference-page .ref-home-commercial-links {
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  white-space: nowrap;
}
.reference-page .ref-home-process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 10px; }
.reference-page .ref-home-process { width: min(100%, 1146px); margin-inline: auto; }
.reference-page .ref-home-process img { aspect-ratio: 1 / 1; object-fit: contain; }
.reference-page .ref-home-feature-rows { display: grid; gap: 20px; }
.reference-page .ref-home-feature-rows article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.reference-page .ref-home-feature-rows article:nth-child(even) > div:first-child { order: 2; }
.reference-page .ref-home-feature-rows article:nth-child(even) > div:last-child { order: 1; }
.reference-page .ref-home-feature-rows article figure img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.reference-page .ref-home-feature-rows article > div:last-child { padding: 28px; }
.reference-page .ref-home-feature-rows article > div:last-child > span { color: #d4516e; font-size: 52px; line-height: 1; font-weight: 700; }
.reference-page .ref-home-feature-rows h3 { margin: 16px 0; font-size: 22px; }
.reference-page .ref-home-yarn__layout { display: grid; grid-template-columns: 600px minmax(0, 1fr); gap: 40px; align-items: center; }
.reference-page .ref-home-yarn__layout > figure img { height: auto; aspect-ratio: auto; object-fit: contain; }
.reference-page .ref-home-yarn__logos { display: grid; grid-template-columns: repeat(4, minmax(0, 144px)); gap: 2px; }
.reference-page .ref-home-yarn__logos img { aspect-ratio: 1 / 1; object-fit: contain; }
.reference-page .ref-home-yarn__copy ul { margin: 24px 0 0; padding-left: 20px; }
.reference-page .ref-home-three,
.reference-page .ref-home-six { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reference-page .ref-home-three,
.reference-page .ref-home-six { width: min(100%, 1240px); margin-inline: auto; }
.reference-page .ref-home-three img,
.reference-page .ref-home-six img { aspect-ratio: 1 / 1; object-fit: contain; }
.reference-page .ref-home-technology { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 10px; }
.reference-page .ref-home-technology { width: min(100%, 1195px); margin-inline: auto; }
.reference-page .ref-home-technology img { aspect-ratio: 1 / 1; object-fit: contain; }
.reference-page .ref-home-trust,
.reference-page .ref-home-faq { padding: 32px 0; background: #b8f1f3; }
.reference-page .ref-home-trust { padding-bottom: 20px; }
.reference-page .ref-home-faq { padding-top: 10px; padding-bottom: 34px; }
.reference-page .ref-home-trust .shell,
.reference-page .ref-home-faq .shell { width: min(calc(100% - 140px), 1300px); }
.reference-page .ref-home-trust p { max-width: 1120px; margin: 0 auto 14px; text-align: center; }
.reference-page .ref-home-trust ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0 0; padding: 0; list-style: none; }
.reference-page .ref-home-trust li { padding: 16px; background: rgba(255, 255, 255, .38); text-align: center; }
.reference-page .ref-home-faq .ref-source-faq > details { border-bottom-color: rgba(0, 0, 0, .18); }
.reference-page .ref-home-faq .ref-source-faq summary { font-size: 18px; }
.reference-page .ref-home-retained { margin-top: 22px; text-align: center; }
.reference-page .ref-home-retained h3 { margin: 0 0 6px; color: #111; font-size: 18px; }
.reference-page .ref-home-retained p { margin: 0; }

@media (min-width: 721px) {
  .reference-page .ref-home-certificates img { aspect-ratio: 300 / 381; }
  .reference-page .ref-home-feature-rows { width: min(100%, 1260px); margin-inline: auto; }
  .reference-page .ref-home-six { padding-top: 0; }
  .reference-page .ref-home-section:has(> .shell > .ref-home-three),
  .reference-page .ref-home-section:has(> .shell > .ref-home-six),
  .reference-page .ref-home-section:has(> .shell > .ref-home-technology) { padding-top: 18px; padding-bottom: 20px; }
  .reference-page .ref-home-trust { min-height: 353px; padding-top: 54px; }
}

@media (max-width: 720px) {
  .reference-page .ref-home-source .shell { width: calc(100% - 20px); }
  .reference-page .ref-home-source .ref-home-hero {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    overflow: visible;
  }
  .reference-page .ref-home-source .ref-home-hero__media,
  .reference-page .ref-home-source .ref-home-hero__media picture,
  .reference-page .ref-home-source .ref-home-hero__media img {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
  }
  .reference-page .ref-home-source .ref-home-hero__media { position: relative; inset: auto; }
  .reference-page .ref-home-source .ref-home-hero__copy { position: static; width: 100%; min-width: 0; padding: 26px 20px 30px; background: #101713; }
  .reference-page .ref-home-source .ref-home-hero__statement { margin-bottom: 12px; font-size: 32px; }
  .reference-page .ref-home-source .ref-home-hero h1 { font-size: 24px; line-height: 1.3; }
  .reference-page .ref-home-source .ref-home-hero .lead { margin-top: 16px; font-size: 16px; }
  .reference-page .ref-home-section { padding: 24px 0 28px; }
  .reference-page .ref-home-section h2,
  .reference-page .ref-home-trust h2,
  .reference-page .ref-home-faq h2 { font-size: 22px; }
  .reference-page .ref-home-about__top { grid-template-columns: 1fr; gap: 18px; }
  .reference-page .ref-home-about__copy { padding: 0; }
  .reference-page .ref-home-about__video,
  .reference-page .ref-home-about__video .video-placeholder { min-height: 0; }
  .reference-page .ref-home-carousel { grid-auto-columns: calc((100% - 5px) / 2); gap: 5px; }
  .reference-page .ref-home-certificates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .reference-page .ref-home-certificates figcaption { font-size: 9px; }
  .reference-page .ref-home-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .reference-page .ref-home-facts p { min-height: 68px; padding: 8px 4px; }
  .reference-page .ref-home-facts strong { font-size: 12px; line-height: 1.25; }
  .reference-page .ref-home-facts span { font-size: 9px; line-height: 1.25; }
  .reference-page .ref-home-audiences { grid-template-columns: 1fr; gap: 24px; }
  .reference-page .ref-home-partners figure img { height: auto; aspect-ratio: auto; }
  .reference-page .ref-home-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .reference-page .ref-home-products figcaption { margin: -26px 4px 0; padding: 4px 2px; font-size: 8px; }
  .reference-page .ref-home-demand-links,
  .reference-page .ref-home-commercial-links {
    gap: 14px;
    margin-top: 10px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }
  .reference-page .ref-home-demand-links a,
  .reference-page .ref-home-commercial-links a { font-size: 10px; }
  .reference-page .ref-home-process,
  .reference-page .ref-home-technology { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .reference-page .ref-home-process figcaption,
  .reference-page .ref-home-technology figcaption { font-size: 7px; }
  .reference-page .ref-home-feature-rows article { grid-template-columns: 1fr 1fr; gap: 10px; }
  .reference-page .ref-home-feature-rows article:nth-child(even) > div:first-child { order: 2; }
  .reference-page .ref-home-feature-rows article:nth-child(even) > div:last-child { order: 1; }
  .reference-page .ref-home-feature-rows article > div:last-child { padding: 8px 2px; }
  .reference-page .ref-home-feature-rows article > div:last-child > span { font-size: 28px; }
  .reference-page .ref-home-feature-rows h3 { margin: 6px 0; font-size: 13px; line-height: 1.3; }
  .reference-page .ref-home-feature-rows p { margin: 0; font-size: 10px; line-height: 1.45; }
  .reference-page .ref-home-yarn__layout { grid-template-columns: 1fr 1fr; gap: 10px; }
  .reference-page .ref-home-yarn__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .reference-page .ref-home-yarn__copy ul { margin-top: 8px; padding-left: 14px; font-size: 9px; line-height: 1.35; }
  .reference-page .ref-home-three,
  .reference-page .ref-home-six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .reference-page .ref-home-three figcaption,
  .reference-page .ref-home-six figcaption { font-size: 8px; }
  .reference-page .ref-home-trust .shell,
  .reference-page .ref-home-faq .shell { width: calc(100% - 20px); }
  .reference-page .ref-home-trust { min-height: 650px; padding-top: 54px; }
  .reference-page .ref-home-trust ul { grid-template-columns: 1fr; gap: 8px; }
  .reference-page .ref-exhibition-video { display: none; }
  .reference-page .ref-exhibition-feature { display: block; }
  .reference-page .ref-exhibition-feature .ref-source-image { width: calc((100% - 10px) / 2); margin-left: auto; }
  .reference-page .ref-exhibition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 721px) and (max-width: 900px) {
  .reference-page .ref-contact__grid { grid-template-columns: 1fr; gap: 0; }
  .reference-page .ref-contact__copy { max-width: none; padding: 24px 0 20px; }
  .reference-page .ref-home-yarn__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
}

/* Final privacy and mobile footer alignment. */
.reference-page .ref-privacy__layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 58px;
  width: min(calc(100% - 40px), 1104px);
  max-width: 1104px;
  align-items: start;
}
.reference-page .ref-privacy__layout > .ref-prose { width: auto; max-width: none; margin: 0; }
.reference-page .ref-privacy__nav { display: grid; gap: 28px; padding-top: 42px; order: -1; }
.reference-page .ref-privacy__nav a { color: #111; font-size: 14px; line-height: 1.4; text-decoration: none; }
.reference-page .ref-privacy .ref-prose h2 { margin-top: 22px; }
.reference-page .ref-privacy .ref-prose p { margin-bottom: 16px; line-height: 1.55; }

@media (max-width: 720px) {
  .reference-page .ref-privacy__layout { display: flex; width: calc(100% - 40px); flex-direction: column; gap: 36px; }
  .reference-page .ref-privacy__layout > .ref-prose { order: 1; }
  .reference-page .ref-privacy__nav { gap: 22px; padding: 0 20px; order: 2; }
  .reference-page .site-footer .ref-footer-grid > :nth-child(2) { display: none; }
  .reference-page .site-footer .ref-footer-grid > :first-child a:nth-of-type(n + 4) { display: none; }
  .reference-page .site-footer .ref-footer-grid { gap: 28px; }
}

.reference-page .ref-process-subheading { margin: 38px 0 18px; color: #111; font-size: 24px; line-height: 1.35; }

.reference-page .ref-process-steps article { margin: 0 0 24px; }
.reference-page .ref-process-steps h3 { margin: 0 0 10px; color: #111; font-size: 24px; line-height: 1.3; font-weight: 500; }
.reference-page .ref-process-steps p { margin: 0 0 12px; }

.reference-page .ref-quality-stages h3 {
  margin: 0 0 20px;
  color: #111;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 500;
}
.reference-page .ref-quality-stages p { margin: 0 0 26px; }
.reference-page .ref-quality-stages p:last-child { margin-bottom: 0; }

@media (min-width: 721px) {
  .reference-page .ref-source-page[data-source-layout="process"] > .ref-process-primary { min-height: 2675px; }
  .reference-page .ref-process-steps article { min-height: 158px; }
}

@media (max-width: 720px) {
  .reference-page .ref-source-page[data-source-layout="design"] .ref-source-section { padding-top: 30px; padding-bottom: 32px; }
  .reference-page .ref-source-page[data-source-layout="private-label"] .ref-source-section {
    font-size: 15.5px;
    line-height: 1.55;
  }
  .reference-page .ref-source-page[data-source-layout="private-label"] .ref-source-list li { margin-bottom: 9px; }
  .reference-page .ref-source-page[data-source-layout="private-label"] .ref-source-faq summary h3 { font-size: 24px; }
  .reference-page .ref-privacy .ref-prose p { margin-bottom: 14px; font-size: 14.7px; line-height: 1.5; }
  .reference-page .ref-privacy .ref-prose h2 { margin-top: 18px; font-size: 15px; }
  .reference-page .ref-privacy__nav { gap: 18px; }
}

@media (min-width: 721px) {
  .reference-page .ref-story-page .shell,
  .reference-page .ref-story-source-timeline .shell { width: min(calc(100% - 140px), 1300px); }
  .reference-page .ref-story-source-timeline { min-height: 1700px; }
  .reference-page .ref-story-source-timeline .ref-timeline--text {
    grid-template-columns: repeat(2, minmax(0, 350px));
    gap: 0 80px;
    justify-content: center;
  }
  .reference-page .ref-story-source-timeline .ref-timeline--text::before {
    top: 24px;
    bottom: 24px;
    left: 50%;
    width: 2px;
    height: auto;
  }
  .reference-page .ref-story-source-timeline .ref-timeline--text article {
    min-height: 235px;
    padding-top: 8px;
  }
  .reference-page .ref-story-source-timeline .ref-timeline--text article:nth-child(odd) { grid-column: 1; }
  .reference-page .ref-story-source-timeline .ref-timeline--text article:nth-child(even) { grid-column: 2; }
  .reference-page .ref-story-source-timeline .ref-timeline--text article:nth-child(1) { grid-row: 1; }
  .reference-page .ref-story-source-timeline .ref-timeline--text article:nth-child(2) { grid-row: 2; }
  .reference-page .ref-story-source-timeline .ref-timeline--text article:nth-child(3) { grid-row: 3; }
  .reference-page .ref-story-source-timeline .ref-timeline--text article:nth-child(4) { grid-row: 4; }
  .reference-page .ref-story-source-timeline .ref-timeline--text article:nth-child(5) { grid-row: 5; }
  .reference-page .ref-story-source-timeline .ref-timeline--text article:nth-child(6) { grid-row: 6; }
  .reference-page .ref-story-page .ref-team-grid { width: min(100%, 1278px); margin-inline: auto; gap: 31px; }
  .reference-page .ref-story-page .ref-source-split { width: min(100%, 1212px); margin-inline: auto; }
  .reference-page .ref-story-page .ref-source-gallery--process { width: min(100%, 1220px); margin-inline: auto; }
  .reference-page .ref-story-page .ref-story-environment img { height: auto; aspect-ratio: auto; object-fit: contain; }
}

@media (max-width: 720px) {
  .reference-page .ref-source-page[data-source-layout="custom-service"] .ref-source-section { padding-top: 34px; padding-bottom: 36px; }
}

/* KnitSeek.com brand chrome is shared by every route. Body reference rules above
   remain limited to the 19 explicitly mapped pages. */
.reference-chrome {
  --ref-ink: #10284a;
  --ref-blue: #0563c1;
  --ref-line: #cfd5dc;
}
.reference-chrome .topline { display: none; }
.reference-chrome .site-header {
  position: relative;
  min-height: 59px;
  border: 0;
  background: #fff;
  backdrop-filter: none;
}
.reference-chrome .header-inner {
  width: min(calc(100% - 40px), 1170px);
  min-height: 59px;
  gap: 28px;
}
.reference-chrome .brand { width: 110px; }
.reference-chrome .site-menu { margin-left: auto; }
.reference-chrome .site-nav { gap: 30px; }
.reference-chrome .site-nav > ul { gap: 32px; }
.reference-chrome .site-nav li a,
.reference-chrome .site-nav a {
  padding-block: 16px;
  color: #050505;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.reference-chrome .site-nav li a::after,
.reference-chrome .site-nav .button { display: none; }
.reference-chrome .site-nav a[aria-current="page"] { color: var(--ref-blue); }
.reference-chrome .header-quote,
.reference-chrome .mobile-quote {
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
  background: #39991e;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .16s ease;
}
.reference-chrome .header-quote {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 6px 16px;
}
.reference-chrome .header-quote:hover,
.reference-chrome .header-quote:focus-visible,
.reference-chrome .mobile-quote:hover,
.reference-chrome .mobile-quote:focus-visible { color: #fff; background: #2f8118; }
.reference-chrome .mobile-quote { display: none; }
.reference-chrome .nav-submenu-toggle { display: none; }
.reference-chrome .nav-chevron {
  display: inline-block;
  margin-left: 4px;
  font-size: 13px;
  line-height: 1;
  transform: translateY(-1px);
}
.reference-chrome .site-footer {
  padding-top: 30px;
  color: #fff;
  background: #050505;
  border-top: 0;
}
.reference-chrome .site-footer .ref-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 28px;
}
.reference-chrome .site-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.reference-chrome .site-footer a,
.reference-chrome .site-footer p,
.reference-chrome .site-footer .footer-contact {
  display: block;
  margin: 0 0 9px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}
.reference-chrome .site-footer a:hover { color: var(--ref-blue); text-decoration: underline; }
.reference-chrome .site-footer a[href^="mailto:"] { color: #19d36b; }
.reference-chrome .site-footer .footer-bottom {
  width: 100%;
  min-height: 58px;
  padding-inline: max(20px, calc((100% - 1300px) / 2));
  color: #555;
  background: #fff;
  border-top: 0;
}

@media (max-width: 1200px) {
  .reference-chrome .header-quote { display: none; }
  .reference-chrome .site-nav {
    position: fixed;
    top: 59px;
    right: 0;
    bottom: auto;
    left: auto;
    width: 100vw;
    max-height: calc(100vh - 59px);
    max-height: calc(100dvh - 59px);
    overflow-y: auto;
    background: #fff;
  }
  .reference-chrome .site-nav > ul > .has-submenu {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
  }
  .reference-chrome .site-nav > ul > .has-submenu > a { grid-column: 1; }
  .reference-chrome .site-nav > ul > .has-submenu > a .nav-chevron { display: none; }
  .reference-chrome .nav-submenu-toggle {
    grid-column: 2;
    display: grid;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: #050505;
    background: transparent;
  }
  .reference-chrome .nav-submenu-toggle .nav-chevron {
    margin: 0;
    font-size: 18px;
    transition: transform .16s ease;
  }
  .reference-chrome .nav-submenu-toggle[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
  .reference-chrome .site-menu.nav-enhanced .sub-menu { display: none; }
  .reference-chrome .site-menu.nav-enhanced .has-submenu.is-open > .sub-menu { display: grid; }
  .reference-chrome .site-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }
  .reference-chrome .site-nav .sub-menu {
    grid-column: 1 / -1;
    display: grid;
    gap: 0;
    margin: 0 0 8px 16px;
    padding: 0;
  }
  .reference-chrome .site-nav .sub-menu a {
    padding: 8px 0 8px 12px;
    border-bottom: 1px solid #e5e7eb;
    color: #343a42;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
  }
  .reference-chrome .site-nav .sub-menu a:hover,
  .reference-chrome .site-nav .sub-menu a:focus-visible { color: var(--ref-blue); }
  .reference-chrome .mobile-quote {
    display: flex;
    width: 100%;
    min-height: 44px;
    margin-top: 10px;
    padding: 8px 16px;
  }
}

@media (min-width: 1201px) {
  .reference-chrome .site-nav > ul > li { position: relative; }
  .reference-chrome .site-nav .sub-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% - 1px);
    left: -18px;
    display: grid;
    min-width: 260px;
    gap: 0;
    margin: 0;
    padding: 9px 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    border-top: 2px solid var(--ref-blue);
    background: #fff;
    box-shadow: 0 12px 28px rgba(16, 40, 74, .17);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  }
  .reference-chrome .site-nav .has-submenu:hover > .sub-menu,
  .reference-chrome .site-nav .has-submenu:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .reference-chrome .site-nav .sub-menu li { width: 100%; }
  .reference-chrome .site-nav .sub-menu a {
    display: block;
    width: 100%;
    padding: 9px 18px;
    color: #1d2733;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    white-space: nowrap;
  }
  .reference-chrome .site-nav .sub-menu a:hover,
  .reference-chrome .site-nav .sub-menu a:focus-visible {
    color: var(--ref-blue);
    background: #f3f7fb;
  }
}

@media (max-width: 720px) {
  .reference-chrome .site-header,
  .reference-chrome .header-inner { min-height: 60px; }
  .reference-chrome .header-inner { width: 100%; padding-inline: 20px; }
  .reference-chrome .brand { width: 109px; }
  .reference-chrome .nav-toggle { min-width: 44px; min-height: 44px; padding: 9px; }
  .reference-chrome .nav-toggle > span:not(.sr-only) { width: 17px; height: 2px; margin: 4px; background: #1683dc; }
  .reference-chrome .site-nav { inset-block-start: 60px; padding-inline: 20px; }
  .reference-chrome .site-footer .ref-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .reference-chrome .site-footer .ref-footer-grid > :nth-child(2) { visibility: hidden; height: 0; overflow: hidden; }
  .reference-chrome .site-footer .ref-footer-grid > :first-child a:nth-of-type(n + 4) { display: none; }
}

/* Strict source-parity correction (2026-09-15).
   The live reference uses a fixed 59/60px header. Keep an equal main offset so
   every route retains its measured first-screen geometry while the navigation
   remains available during scrolling. */
.reference-chrome .site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
}
.reference-chrome main { padding-top: 59px; }
.reference-chrome .site-nav .sub-menu { z-index: 110; }
html { scroll-padding-top: 75px; }

/* Match the current four-column source footer. The Russian contact channel
   remains the confirmed email + WhatsApp pair; public first-party social links
   occupy the fourth source column. */
.reference-chrome .site-footer { padding-top: 0; }
.reference-chrome .site-footer .ref-footer-grid {
  width: min(calc(100% - 70px), 1370px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 208px;
  gap: 50px;
  padding-top: 20px;
  padding-bottom: 16px;
}
.reference-chrome .site-footer h2 {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.35;
}
.reference-chrome .site-footer a,
.reference-chrome .site-footer p,
.reference-chrome .site-footer .footer-contact {
  margin-bottom: 7px;
  font-size: 14px;
  line-height: 1.5;
}
.reference-chrome .site-footer .footer-contact-block a {
  display: inline;
  margin: 0;
}
.reference-chrome .ref-footer-social {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 39px;
}
.reference-chrome .site-footer .ref-footer-social a {
  display: grid;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  place-items: center;
  color: #fff;
  background: transparent;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}
.reference-chrome .site-footer .ref-footer-social svg { width: 24px; height: 24px; fill: currentColor; }
.reference-chrome .site-footer .ref-footer-social .social-linkedin { color: #0a66c2; }
.reference-chrome .site-footer .ref-footer-social .social-pinterest { color: #e60023; }
.reference-chrome .site-footer .ref-footer-social .social-tiktok { color: #fff; }
.reference-chrome .site-footer .ref-footer-social .social-facebook { color: #1877f2; }
.reference-chrome .site-footer .ref-footer-social .social-instagram { color: #e1306c; }
.reference-chrome .site-footer .ref-footer-social a:hover,
.reference-chrome .site-footer .ref-footer-social a:focus-visible { color: #fff; }
.reference-chrome .site-footer .ref-footer-grid + .footer-bottom {
  min-height: 101px;
  justify-content: center;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  z-index: 80;
  right: 18px;
  right: calc(18px + env(safe-area-inset-right));
  bottom: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  text-decoration: none;
  touch-action: manipulation;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.whatsapp-float svg { width: 29px; height: 29px; fill: currentColor; }
.whatsapp-float:hover {
  color: #fff;
  background: #1fa855;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .34);
  transform: translateY(-2px);
}
.whatsapp-float:focus-visible { outline: 3px solid #e29b7d; outline-offset: 3px; }

/* Source heading rhythm and template-specific first-screen offsets. */
.reference-page .ref-source-page[data-source-layout="custom-service"] .ref-page-hero__inner { padding-top: 31px; }
.reference-page .ref-source-page[data-source-layout="story"] .ref-page-hero__inner,
.reference-page .ref-source-page[data-source-layout="exhibitions"] .ref-page-hero__inner { padding-top: 21px; }
.reference-page .ref-source-page[data-source-layout="private-label"] .ref-page-hero__inner,
.reference-page .ref-source-page[data-source-layout="design"] .ref-page-hero__inner,
.reference-page .ref-source-page[data-source-layout="low-moq"] .ref-page-hero__inner,
.reference-page .ref-source-page[data-source-layout="process"] .ref-page-hero__inner,
.reference-page .ref-source-page[data-source-layout="quality"] .ref-page-hero__inner { padding-top: 83px; }
.reference-page .ref-source-page[data-source-layout="certifications"] .ref-page-hero__inner { padding-top: 41px; }

.reference-page .ref-source-subsections { margin: 20px 0 8px; }
.reference-page .ref-source-subsections > section { margin: 0 0 24px; }
.reference-page .ref-source-subsections h3,
.reference-page .ref-story-who__heading,
.reference-page .ref-quality-subheading {
  margin: 0 0 10px;
  color: #111;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}
.reference-page .ref-source-subsections p { margin: 0; }
.reference-page .ref-source-faq summary > strong {
  display: block;
  margin: 0 0 12px;
  color: #111;
  font-size: 18px;
  line-height: 1.45;
}

/* The source certificate sheet uses its pink frame on every complete image. */
.reference-page .ref-cert-grid figure {
  padding: 10px 28px 16px;
  border: 3px solid #ef5b78;
}

/* The exhibitions reference has a deliberately empty first desktop column;
   the lead image sits in the second column and there is no video in this page. */
.reference-page .ref-exhibition-feature .ref-source-image { grid-column: 2; }

@media (max-width: 720px) {
  .reference-chrome main { padding-top: 60px; }
  html { scroll-padding-top: 76px; }
  .reference-chrome .site-footer .ref-footer-grid {
    width: calc(100% - 70px);
    grid-template-columns: 1fr;
    min-height: 385px;
    gap: 10px;
    padding: 28px 0 20px;
    align-content: start;
  }
  .reference-chrome .site-footer .ref-footer-grid > :nth-child(2) {
    display: block;
    visibility: hidden;
    height: 0;
    min-height: 0;
    overflow: hidden;
  }
  .reference-chrome .ref-footer-social {
    justify-content: flex-start;
    padding-top: 0;
  }
  .reference-chrome .site-footer .ref-footer-grid + .footer-bottom { min-height: 101px; }
  .whatsapp-float {
    right: 14px;
    right: calc(14px + env(safe-area-inset-right));
    bottom: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
  }
  .reference-page .ref-home-faq .ref-source-faq summary,
  .reference-page .ref-contact-form input,
  .reference-page .inquiry-form input,
  .reference-page .inquiry-form select {
    min-height: 44px;
  }
  .reference-page .ref-home-faq .ref-source-faq summary {
    display: flex;
    align-items: center;
  }

  .reference-page .ref-source-page .ref-page-hero h1,
  .reference-page .ref-faq-page .ref-page-hero h1 { font-size: 27.36px; line-height: 1.4; }
  .reference-page .ref-source-section > .shell > h2 { font-size: 22.8px; }
  .reference-page .ref-source-faq summary h3,
  .reference-page .ref-process-steps h3,
  .reference-page .ref-quality-stages h3,
  .reference-page .ref-source-subsections h3,
  .reference-page .ref-story-who__heading,
  .reference-page .ref-quality-subheading { font-size: 18.24px; line-height: 1.4; }
  .reference-page .ref-home-source .ref-home-hero h1 { font-size: 24px; line-height: 1.3; }

  .reference-page .ref-source-page[data-source-layout="custom-service"] .ref-page-hero__inner { padding-top: 30px; }
  .reference-page .ref-source-page[data-source-layout="story"] .ref-page-hero__inner,
  .reference-page .ref-source-page[data-source-layout="exhibitions"] .ref-page-hero__inner { padding-top: 20px; }
  .reference-page .ref-source-page[data-source-layout="private-label"] .ref-page-hero__inner,
  .reference-page .ref-source-page[data-source-layout="design"] .ref-page-hero__inner,
  .reference-page .ref-source-page[data-source-layout="low-moq"] .ref-page-hero__inner,
  .reference-page .ref-source-page[data-source-layout="process"] .ref-page-hero__inner,
  .reference-page .ref-source-page[data-source-layout="quality"] .ref-page-hero__inner { padding-top: 50px; }
  .reference-page .ref-source-page[data-source-layout="certifications"] .ref-page-hero__inner { padding-top: 40px; }

  .reference-page .ref-cert-grid figure { padding: 10px 28px 16px; }
  .reference-page .ref-exhibition-feature .ref-source-image { grid-column: auto; }
}

/* Final visual review: remove obsolete height shims that created a large
   desktop gap after the eight production stages. */
@media (min-width: 721px) {
  .reference-page .ref-source-page[data-source-layout="process"] > .ref-process-primary { min-height: 0; }
  .reference-page .ref-process-steps article { min-height: 0; }
}

/* Keep the local inquiry helper, but make its initial state follow the same
   one-column contact-form rhythm as the current reference. Advanced fields
   and the generated local brief appear only when the visitor asks for them. */
.reference-page .inquiry-layout { display: block; }
.reference-page .inquiry-layout .inquiry-form { display: grid; gap: 24px; }
.reference-page .inquiry-layout .inquiry-form > h2 { margin-bottom: -12px; }
.reference-page .inquiry-layout .inquiry-fields { gap: 24px; }
.reference-page .inquiry-advanced {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #cfd5dc;
}
.reference-page .inquiry-advanced > summary {
  padding: 10px 0 16px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.reference-page .inquiry-advanced__fields { display: grid; gap: 24px; padding: 8px 0 24px; }
.reference-page .inquiry-layout .brief-panel { margin-top: 34px; }
.reference-page .inquiry-layout .brief-panel[hidden] { display: none; }

/* Product-category pages follow the approved KnitSeek Germany catalog rhythm. */
.category-catalog-page h1 { hyphens: none; overflow-wrap: normal; word-break: normal; }
.category-hero { display: block; min-height: 0; align-items: initial; }
.category-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  padding-block: clamp(54px, 7vw, 92px);
}
.category-hero__copy { min-width: 0; }
.category-hero .breadcrumbs { margin-bottom: clamp(32px, 4vw, 54px); }
.category-hero h1 { max-width: 12.5ch; font-size: clamp(44px, 5.4vw, 74px); }
.category-hero .lead { max-width: 720px; font-size: clamp(18px, 1.75vw, 23px); }
.category-hero__media {
  position: relative;
  min-width: 0;
  height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e5ded3;
  box-shadow: var(--shadow);
}
.category-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.category-hero__media figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 16px 12px;
  color: #fff;
  background: linear-gradient(transparent, rgba(17, 16, 14, .76));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.catalog-series-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.catalog-series-nav a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.catalog-series-nav a:hover,
.catalog-series-nav a:focus-visible { color: var(--copper-dark); border-color: var(--copper); }

.category-summary { padding-block: clamp(56px, 7vw, 88px); background: var(--surface); }
.category-summary__heading,
.category-directory__heading,
.collection-series__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: end;
  margin-bottom: 32px;
}
.category-summary__heading h2,
.category-directory__heading h2,
.collection-series__heading h2 { max-width: 20ch; }
.category-summary__heading > p,
.category-directory__heading > p,
.collection-series__heading > p { margin: 0; color: var(--ink-soft); }
.category-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.category-summary__grid article { min-width: 0; padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-summary__grid span { color: var(--copper); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.category-summary__grid h3 { margin: 12px 0; font-size: 23px; }
.category-summary__grid p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.category-directory { scroll-margin-top: 96px; border-block: 1px solid var(--line); background: var(--paper-deep); }
.collection-disclosure {
  margin: 0 0 28px;
  padding: 15px 17px;
  border-left: 3px solid var(--copper);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}
.series-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.series-directory__group { min-width: 0; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line); border-top: 3px solid var(--copper); background: var(--surface); }
.series-directory__group h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-bottom: 15px; font-size: 23px; border-bottom: 1px solid var(--line); }
.series-directory__group h3 small { flex: 0 0 auto; color: var(--muted); font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.series-directory__group nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.series-directory__group a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}
.series-directory__group a:nth-last-child(-n + 2) { border-bottom: 0; }
.series-directory__group a:hover,
.series-directory__group a:focus-visible { color: var(--copper-dark); }
.series-directory__group b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-deep);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.collection-series { scroll-margin-top: 96px; content-visibility: auto; contain-intrinsic-size: auto 1080px; }
.category-catalog-page.catalog-anchor-ready .collection-series { content-visibility: visible; }
.collection-series__heading { margin-bottom: 34px; }
.collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.collection-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.collection-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #ece9e4; }
.collection-card figcaption { display: grid; gap: 6px; padding: 16px 18px 18px; }
.collection-card figcaption > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.collection-card strong { font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.collection-card span { color: var(--muted); font-size: 10px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.collection-card .collection-card__detail { color: var(--ink-soft); font-size: 12px; letter-spacing: 0; text-transform: none; }
.collection-card .collection-card__disclosure { margin-top: 2px; }
.collection-series__footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.collection-series__footer p { margin: 0; color: var(--muted); font-size: 13px; }
.collection-series__footer a { flex: 0 0 auto; color: var(--copper-dark); font-size: 14px; font-weight: 750; }

@media (max-width: 1040px) {
  .category-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(310px, .8fr); gap: 36px; }
  .category-hero__media { height: 470px; }
  .category-summary__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .category-hero__inner,
  .category-summary__heading,
  .category-directory__heading,
  .collection-series__heading { grid-template-columns: 1fr; }
  .category-hero__inner { gap: 30px; padding-block: 30px 40px; }
  .category-hero__media { height: 390px; }
  .category-hero .breadcrumbs { margin-bottom: 28px; }
  .category-hero h1 { max-width: none; font-size: clamp(38px, 11vw, 54px); }
  .category-hero .hero-actions { display: grid; }
  .category-hero .hero-actions .button { width: 100%; }
  .catalog-series-nav { gap: 7px; margin-top: 22px; }
  .catalog-series-nav a { padding: 7px 9px; font-size: 12px; }
  .category-summary__grid,
  .series-directory { grid-template-columns: 1fr; }
  .category-summary__grid article { padding: 22px 20px; }
  .series-directory__group nav { grid-template-columns: 1fr; }
  .series-directory__group a:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .collection-series { contain-intrinsic-size: auto 820px; }
  .collection-series__heading { gap: 14px; margin-bottom: 24px; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .collection-card figcaption { padding: 11px 10px 13px; }
  .collection-card strong { font-size: 15px; }
  .collection-card span { font-size: 9px; letter-spacing: .05em; }
  .collection-series__footer { align-items: flex-start; flex-direction: column; gap: 10px; }
}
