/*
 * Refinement layer, 2026-10-17. Loaded after site.css; it changes presentation only.
 * Principles: one photograph per idea (section images sit beside their copy at a bounded height),
 * grids follow the number of items, every page ends on one enquiry step, and buyer-facing proof
 * (figures, certifications, customers) gets its own quiet components.
 */

/* ---------- Rhythm and type ---------- */
h1, h2, h3 { text-wrap: balance; }
.prose p, .lead, .content-card p { text-wrap: pretty; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading .prose p { margin: 0 0 12px; }
.section-heading--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; margin-bottom: 32px; }
.section-heading--row > div { max-width: 640px; }
.section-heading--row h2 { margin: 0; }
.section-heading--row > p { max-width: 460px; margin: 0; color: var(--muted); }
.eyebrow { letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.text-link { text-decoration: none; display: inline-flex; gap: 6px; align-items: baseline; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Section: copy beside its picture ---------- */
.content-section .section-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.content-section .section-split > .section-image { align-self: center; }
.content-section .section-image img { aspect-ratio: 4 / 3; max-height: 460px; object-fit: cover; box-shadow: 0 18px 40px rgba(0, 24, 69, .10); }
.content-section--media-left .section-split > .section-image { order: -1; }
.content-section .section-split > .section-items,
.content-section .section-split > .process-grid { grid-column: 1 / -1; margin-top: 16px; }

/* ---------- Item grids follow their count ---------- */
.section-items--count-1 { grid-template-columns: minmax(0, 720px); }
.section-items--count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-items--count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section-items--count-4.section-items--text { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-items--faq { grid-template-columns: none; }
.content-card { padding: 24px; display: flex; flex-direction: column; transition: border-color .18s ease, box-shadow .18s ease; }
.content-card .text-link { margin-top: auto; }
.content-card--media .content-card__image { margin: -24px -24px 20px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.content-card--media .content-card__image img { object-fit: cover; aspect-ratio: 4 / 3; }
.content-card:has(.text-link):hover { border-color: var(--blue); box-shadow: 0 10px 28px rgba(0, 24, 69, .08); }
.step-number { font-size: 14px; letter-spacing: .1em; margin-bottom: 12px; }
.content-card h3 { font-size: 20px; }
.content-card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
}
.content-card__icon svg { width: 27px; height: 27px; }
.content-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: auto;
  padding-top: 14px;
}
.content-card__actions .text-link { margin-top: 0; }
.section-cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

/* ---------- Figures band ---------- */
.content-section--stats { background: var(--navy) !important; color: var(--white); padding-block: 56px; }
.content-section--stats .section-heading { max-width: none; }
.content-section--stats .eyebrow { color: #9fc7e3; }
.content-section--stats h2 { color: var(--white); }
.content-section--stats .prose { color: #c8d8e7; }
.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 8px 0 0; }
.stat-band__item { padding: 8px 28px; border-left: 1px solid rgba(255, 255, 255, .18); display: flex; flex-direction: column-reverse; gap: 6px; }
.stat-band__item:first-child { border-left: 0; padding-left: 0; }
.stat-band dd { margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--white); }
.stat-band dt { color: #c8d8e7; font-size: 15px; line-height: 1.45; }

/* ---------- Badges: certifications and customer names ---------- */
.content-section--badges .section-heading { margin-inline: auto; text-align: center; }
.content-section--badges .section-heading .prose p { margin-inline: auto; }
.badge-wall { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.badge-wall__item { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-height: 112px; padding: 20px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-align: center; }
.badge-wall__name { font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; line-height: 1.2; }
.badge-wall__note { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ---------- Feature video ---------- */
.media-feature__inner { align-items: center; }
.media-feature__frame { border-radius: 10px; }

/* Header identity and controls share one width model in every colour state. */
.brand { flex: 0 0 auto; }
.brand__logo { display: inline-flex; align-items: center; width: 190px; height: 60px; padding: 6px 8px; background: transparent; }
.site-header .brand__logo img, .site-footer .brand__logo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.brand__wordmark { color: var(--navy); font-size: 24px; text-decoration: none; }
.site-header__inner { width: min(calc(100% - 48px), 1440px); gap: 12px; }
.primary-nav .menu { gap: 12px; }
.primary-nav a { font-size: 14px; }
.language-switcher { position: relative; flex: none; font-size: 13px; }
.language-switcher summary { display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 10px 4px; min-width: 44px; min-height: 44px; white-space: nowrap; list-style: none; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after { content: ""; width: 5px; height: 5px; margin-inline-start: 2px; border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.language-switcher__flag { font-size: 18px; line-height: 1; }
.language-switcher ul { position: absolute; top: 100%; inset-inline-end: 0; min-width: 96px; margin: 0; padding: 6px; list-style: none; background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: 5px; }
.language-switcher a { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px; color: inherit; text-decoration: none; border-radius: 3px; }
.language-switcher a:hover, .language-switcher a[aria-current="true"] { background: var(--surface); }
@media (max-width: 1279px) {
  .site-header__inner { gap: 8px; }
  .brand { margin-inline-end: auto; }
  .language-switcher { order: 2; }
  .site-header__selection { order: 1; }
}

/* An introduction is a readable argument beside a real video, rather than a video caption. */
.company-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.company-intro__copy h2 { margin-block: 0 20px; }
.company-intro__copy p { color: var(--muted); }
.company-intro__video { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--navy); }
.company-intro__video iframe { display: block; width: 100%; height: 100%; border: 0; }
.advantages-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.advantages-grid .section-items { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.advantages-grid .content-card__image { margin: 0 0 16px; }
.advantages-grid .content-card__image img { aspect-ratio: 3 / 2; border-radius: 5px; }
.content-section--editorial .section-split { grid-template-areas: 'copy image' 'more image'; gap: 24px 56px; align-items: center; }
.content-section--editorial .section-heading { grid-area: copy; margin: 0; padding-inline-start: 28px; border-inline-start: 4px solid var(--blue); }
.content-section--editorial .section-heading h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.18; }
.content-section--editorial .section-heading .prose { font-size: 17px; line-height: 1.8; }
.content-section--editorial .section-image { grid-area: image; }
.content-section--editorial .section-image img { aspect-ratio: 5 / 4; max-height: 440px; }
.content-section--editorial .section-split > .section-items { grid-area: more; margin: 0; }
.content-section--terms > .shell { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; }
.content-section--terms .section-items { margin: 0; grid-template-columns: minmax(0, 1fr); gap: 0; }
.content-section--terms .content-card { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr); gap: 24px; padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.content-section--terms .content-card h3 { color: var(--blue); margin: 0; font-size: 24px; }
.content-section--terms .content-card p { margin: 0; }
.content-section--enquiry .section-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.enquiry-intro { display: grid; gap: 24px; align-content: start; }
.enquiry-intro .section-heading, .enquiry-intro .section-image { margin: 0; }
.section-enquiry { grid-column: 2; padding: clamp(20px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 10px; }
/* Nonvisual intake metadata stays inside its own layout box, in either writing direction. */
.inquiry-form__metadata { position: relative; inline-size: 0; block-size: 0; overflow: clip; }
.content-card__video { margin: -24px -24px 20px; }
.content-card__video iframe { display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 520px; border: 0; background: #071327; border-radius: 8px 8px 0 0; }

.logo-carousel { min-width: 0; }
.badge-wall--scroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; padding-block: 8px 16px; direction: ltr; }
.badge-wall--scroll .badge-wall__item { flex: 0 0 210px; scroll-snap-align: start; }
.badge-wall__item img { display: block; width: 100%; height: 100px; object-fit: contain; margin-bottom: 12px; }
.carousel-controls { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.carousel-controls[hidden] { display: none; }
.carousel-controls button { padding: 10px 16px; min-height: 44px; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 6px; cursor: pointer; }
.carousel-controls button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.customer-catalog { display: grid; gap: 64px; }
.customer-catalog__group > h2 { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.customer-catalog__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.customer-catalog__items:has(> .customer-catalog__item:only-child) { grid-template-columns: minmax(0, 1fr); }
.customer-catalog__item { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 10px; }
.customer-catalog__item h3 { margin-top: 0; }
.customer-catalog__item .prose { color: var(--muted); }
.customer-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 20px; }
.customer-gallery figure { margin: 0; }
.customer-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; background: #f5f6f7; border-radius: 6px; }
.customer-gallery--designs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.customer-gallery--certificates img { aspect-ratio: 3 / 4; }
.page-body > p, .page-body > ul, .page-body > ol { max-width: var(--reading-max); }

.social-profiles { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 24px 0 0; padding: 0; }
.social-profiles a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #758b9e; border-radius: 5px; color: #fff; }
.social-profiles a:hover { background: var(--blue); }
.social-profiles svg { width: 22px; height: 22px; }
.whatsapp-contact { position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 30; }
.whatsapp-contact > summary { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: #146b3a; color: #fff; border-radius: 999px; box-shadow: 0 5px 20px #00184530; cursor: pointer; list-style: none; }
.whatsapp-contact > summary::-webkit-details-marker { display: none; }
.whatsapp-contact svg { width: 28px; height: 28px; }
.whatsapp-contact__window { position: absolute; inset-inline-end: 0; bottom: calc(100% + 12px); width: min(340px, calc(100vw - 32px)); padding: 24px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 32px #00184530; }
.factory-map__frame { display: grid; place-content: center; text-align: center; min-height: 340px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-bottom: 20px; overflow: hidden; }
.factory-map__frame:has(iframe) { display: block; }
.factory-map iframe { display: block; width: 100%; height: 400px; border: 0; }
[dir="rtl"] .hero__copy, [dir="rtl"] .section-heading { text-align: start; }

/* ---------- Closing enquiry band ---------- */
.closing-cta { background: linear-gradient(120deg, #001845 0%, #00306b 100%); color: var(--white); padding-block: 72px; }
.closing-cta__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px 64px; align-items: center; }
.closing-cta .eyebrow { color: #9fc7e3; }
.closing-cta h2 { margin: 0 0 12px; color: var(--white); }
.closing-cta p { margin: 0; color: #c8d8e7; max-width: 620px; }
.closing-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button--light { background: var(--white); border-color: var(--white); color: var(--navy); }
.button--light:hover { background: #e6eef5; border-color: #e6eef5; color: var(--navy); }
.button--outline-light { background: transparent; border-color: rgba(255, 255, 255, .6); color: var(--white); }
.button--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.closing-cta a:focus-visible { outline-color: var(--white); }

/* Focused entry pages and optional homepage detail retain the underlying copy. */
.hero--compact { padding-block: 40px; }
.hero--compact .hero__copy { max-width: 760px; }
.hero--compact .hero__grid { min-height: 0; }
.home-manufacturing-summary { padding-block: 32px; background: var(--surface); }
.home-manufacturing-summary > .shell { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 40px; }
.home-manufacturing-summary p { margin: 0; color: var(--muted); }
@media (max-width:640px) {
  .home-manufacturing-summary > .shell { grid-template-columns: 1fr; }
}

/* ---------- Quote and contact layout ---------- */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.quote-layout__form .inquiry-form { padding: clamp(24px, 3vw, 36px); margin-top: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.quote-layout__aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.quote-aside__block { padding: 24px; border-radius: 10px; background: var(--surface); }
.quote-aside__block--contact { background: var(--navy); color: var(--white); }
.quote-aside__title { font-size: 19px; margin: 0 0 10px; }
.quote-aside__block .prose { font-size: 15px; color: var(--muted); }
.quote-aside__list { margin: 12px 0 0; padding-left: 18px; font-size: 15px; color: var(--muted); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list__item { display: grid; gap: 2px; }
.contact-list__item span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #9fc7e3; }
.contact-list__item a, .contact-list__item address { color: var(--white); font-style: normal; font-weight: 600; overflow-wrap: anywhere; text-decoration: none; }
.contact-list__item a:hover { text-decoration: underline; }
.quote-aside__block--contact a:focus-visible { outline-color: var(--white); }
.required { color: #b42318; }
.form-hint { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.inquiry-form input[type=file] { padding: 14px; border: 1px dashed #a9bccd; border-radius: var(--radius); background: var(--surface); width: 100%; }

/* ---------- Categories and catalogue styles ---------- */
.category-grid, .style-grid, .technique-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-card, .technique-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease; }
.category-card:hover, .technique-card:hover { border-color: var(--blue); box-shadow: 0 12px 30px rgba(0, 24, 69, .10); }
.category-card__media, .technique-card__media { margin: 0; background: #f2f4f6; overflow: hidden; }
.category-card__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; transition: transform .4s ease; }
.technique-card__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s ease; }
.category-card:hover img, .technique-card:hover img { transform: scale(1.03); }
.category-card__body, .technique-card__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.category-card__title, .technique-card__title { font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.category-card__text, .technique-card__text { color: var(--muted); font-size: 15px; line-height: 1.5; }
.category-card__meta { margin-top: auto; padding-top: 8px; color: var(--blue); font-weight: 600; font-size: 15px; }
.technique-card__tag, .style-card__tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.technique-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.technique-families { display: grid; gap: 56px; }
.technique-family__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.technique-family__heading h3 { margin: 0; font-size: clamp(24px, 2.5vw, 32px); }
.technique-family__heading span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.style-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.style-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.style-card__media { margin: 0; background: #f2f4f6; }
.style-card__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; }
.style-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.style-card__body h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.3; }
.style-card__add { margin-top: auto; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--blue); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.style-card__add:hover { border-color: var(--blue); background: var(--blue-soft); }
.style-card__add.is-selected { background: var(--blue); border-color: var(--blue); color: var(--white); }
.hero--category .hero__media img, .hero__media--product img { object-fit: cover; object-position: top center; aspect-ratio: 4 / 3; }
.category-switcher ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.category-switcher a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.category-switcher a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Technique pages ---------- */
.tag-list { margin: 16px 0 0; }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 14px; font-weight: 600; }
.hero--technique .eyebrow a { color: inherit; }
.technique-gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.technique-gallery__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.technique-gallery__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.technique-gallery__grid figure { margin: 0; border-radius: 10px; overflow: hidden; background: #f2f4f6; }
.technique-gallery__grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.technique-facts__intro { max-width: var(--reading-max); margin-bottom: 32px; }
.technique-facts .content-card p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 0; }
.site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 48px; }
.site-footer__bottom { padding-block: 24px; padding-inline-end: 180px; }

.site-footer__address { color: #aebfcd; font-size: 14px; max-width: 320px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: grid; gap: 2px; }
.footer-contact span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8fa6ba; }
.footer-contact a { color: var(--white); text-decoration: none; margin: 0; overflow-wrap: anywhere; }
.footer-contact a:hover { text-decoration: underline; }

/* ---------- Catalogue cover legibility ---------- */
.book-cover-art__mark { padding: 6px 12px; border-radius: 999px; background: rgba(0, 24, 69, .78); text-shadow: none; }

/* ---------- 404 ---------- */
.not-found__links { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.not-found__links a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .advantages-grid { grid-template-columns: minmax(0, 1fr); }
  .customer-gallery--designs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section-items--count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid, .technique-grid, .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .technique-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-layout { grid-template-columns: minmax(0, 1fr); }
  .quote-layout__aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .closing-cta__inner { grid-template-columns: minmax(0, 1fr); }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .stat-band__item:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .site-header .brand__logo { width: clamp(104px, 32vw, 140px); height: 52px; padding: 4px; }
  .site-header__inner { width: calc(100% - 24px); min-height: 64px; gap: 6px; }
  .hero--compact { padding-block: 28px; }
  .hero--compact h1 { font-size: 30px; margin-bottom: 16px; }
  .hero--compact .lead { font-size: 17px; }
  .hero--compact + .quote-layout { padding-top: 28px; }
  .quote-layout__form .inquiry-form { padding: 20px; margin-top: 0; }
  .content-section--editorial .section-split { grid-template-areas: 'copy' 'image' 'more'; }
  .content-section--terms > .shell { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .content-section--terms .content-card { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .company-intro, .customer-catalog__items, .content-section--enquiry .section-split { grid-template-columns: minmax(0, 1fr); }
  .section-enquiry { grid-column: 1; grid-row: auto; }
  .customer-gallery--designs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advantages-grid .section-items { grid-template-columns: minmax(0, 1fr); }
  .site-footer__bottom { padding-inline-end: 64px; }
  .whatsapp-contact { inset-inline-end: 16px; bottom: 16px; }
  .whatsapp-contact > summary { padding: 10px; }
  .whatsapp-contact > summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .content-section .section-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .content-section--media-left .section-split > .section-image { order: 0; }
  .content-section .section-image img { max-height: 320px; }
  .section-items--count-1, .section-items--count-2, .section-items--count-4, .section-items--count-4.section-items--text { grid-template-columns: minmax(0, 1fr); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-card__body { padding: 12px 14px 14px; }
  .category-card__title { font-size: 16px; }
  .category-card__text { display: none; }
  .category-card__meta { font-size: 13px; }
  .style-grid, .technique-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .style-card__body, .technique-card__body { padding: 10px 12px 12px; }
  .style-card__body h3, .technique-card__title { font-size: 15px; }
  .technique-card__text { display: none; }
  .style-card__add { font-size: 13px; padding: 6px 8px; }
  .technique-gallery__grid, .technique-gallery__grid--2, .technique-gallery__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band__item { padding: 4px 12px; }
  .stat-band dd { font-size: 28px; }
  .badge-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .badge-wall__item { min-height: 92px; padding: 14px 10px; }
  .badge-wall__name { font-size: 16px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .closing-cta { padding-block: 48px; }
  .closing-cta__actions .button { flex: 1 1 100%; }
  .section-heading--row { margin-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .category-card img, .technique-card img, .content-card, .category-card, .technique-card { transition: none; }
  .category-card:hover img, .technique-card:hover img { transform: none; }
}

/* Keep the client's white homepage header above the video. */
.site-footer .brand__logo {
  width: 250px;
  padding: 10px 12px;
  border-radius: 5px;
  background: #fff;
}
.has-hero-video .site-header,
.has-hero-video .site-header.is-stuck {
  position: sticky;
  top: 0;
  --header-bg: var(--white);
  --header-fg: var(--ink);
  --header-line: var(--line);
  --header-quiet: var(--line);
  --header-quiet-bg: transparent;
}
.hero--video .shell,
.hero--video .hero__grid {
  padding-block: clamp(64px, 8vw, 112px);
}
.hero__scrim::before,
.hero__scrim::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  pointer-events: none;
}
/* YouTube renders its title and player chrome inside the iframe, where page CSS cannot target them.
   These opaque edge bands keep the client's no-text video free of that provider chrome. */
.hero__scrim::before {
  inset-block-start: 0;
  height: clamp(68px, 7vw, 96px);
  background: linear-gradient(180deg, #001845 0%, rgba(0, 24, 69, .98) 72%, rgba(0, 24, 69, 0) 100%);
}
.hero__scrim::after {
  inset-block-end: 0;
  height: 78px;
  background: linear-gradient(0deg, #001845 0%, rgba(0, 24, 69, .96) 58%, rgba(0, 24, 69, 0) 100%);
}
.hero__intro {
  display: grid;
  gap: 10px;
  max-width: 760px;
}
.hero__intro .lead {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.5;
}

/* 2026-10-31 feedback: give the factory film more of the row and tighten the overview band. */
.company-intro {
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr);
  gap: clamp(28px, 4vw, 56px);
}
.company-intro__copy {
  max-width: 430px;
}
.content-section--stats > .shell {
  max-width: 1040px;
}
.content-section--stats .section-heading h2 {
  font-size: clamp(26px, 2.3vw, 34px);
}
.stat-band {
  gap: 0;
}
.stat-band__item {
  padding-inline: clamp(14px, 2vw, 24px);
}
.stat-band dd {
  font-size: clamp(28px, 2.7vw, 38px);
}
.stat-band dt {
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .company-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .company-intro__copy {
    max-width: 620px;
  }
  .content-section--stats > .shell {
    max-width: 760px;
  }
}

/* 2026-10-31 feedback: section-specific layouts stay data-driven. */
.content-section--process-flow .process-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.content-section--process-flow .process-grid__body {
  padding: 16px;
}
.content-section--process-flow .process-grid__body h3 {
  font-size: 17px;
}
.content-section--process-flow .process-grid__body p {
  font-size: 14px;
}
.product-gender-switch {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  direction: ltr;
}
.product-gender-switch a {
  min-width: 112px;
  padding: 10px 24px;
  border-radius: 4px;
  background: #ec1d63;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.product-gender-switch a:hover,
.product-gender-switch a:focus-visible {
  background: #b7003c;
}
.content-card__meta {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.content-section--testimonials .section-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.content-section--testimonials .content-card--media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .75fr);
  grid-template-areas: "title media" "text media" "meta media";
  gap: 10px 24px;
  align-items: start;
}
.content-section--testimonials .content-card__video {
  grid-area: media;
  margin: -24px -24px -24px 0;
  align-self: stretch;
}
.content-section--testimonials .content-card__video iframe {
  height: 100%;
  min-height: 330px;
  border-radius: 0 8px 8px 0;
}
.content-section--testimonials .content-card h3 { grid-area: title; }
.content-section--testimonials .content-card > p { grid-area: text; }
.content-section--testimonials .content-card > p { white-space: pre-line; }
.content-section--testimonials .content-card__meta { grid-area: meta; }
.content-section--logo-only .badge-wall--scroll .badge-wall__item {
  flex-basis: 170px;
  min-height: 90px;
  padding: 12px;
}
.content-section--logo-only .badge-wall__item img {
  height: 64px;
  margin: 0;
}
.document-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.document-card {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.document-card a { display: block; }
.document-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--surface);
}
.document-card figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.footer-trust-marks { padding: 0; }
.footer-trust-marks__inner {
  padding-block: 40px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
}
.footer-trust-mark {
  width: clamp(56px, 7vw, 88px);
  margin: 0;
}
.footer-trust-mark img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.media-lightbox {
  width: min(94vw, 1100px);
  max-width: none;
  height: 94vh;
  height: 94dvh;
  max-height: 94dvh;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #071327;
  color: #fff;
  overflow: hidden;
}
.media-lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.media-lightbox::backdrop { background: rgba(0, 8, 22, .88); }
.media-lightbox__bar,
.media-lightbox__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
}
.media-lightbox__bar button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.media-lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  min-height: 0;
  margin: 0;
  padding: 0 16px 12px;
}
.media-lightbox img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
}
.media-lightbox figcaption {
  padding-top: 8px;
  color: #c8d8e7;
  font-size: 14px;
}
.media-lightbox__controls { justify-content: center; }
.media-lightbox__controls button {
  min-width: 120px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

/* Product collections: one collection selector owns two server-rendered category panels. */
.product-collection-browser {
  grid-column: 1 / -1;
  margin-top: 18px;
}
.product-collection-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.product-collection-tabs button {
  min-width: 120px;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid #d6dde4;
  border-radius: 5px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}
.product-collection-tabs button[aria-selected="true"] {
  border-color: #e21b61;
  background: #e21b61;
  color: #fff;
}
.product-collection-tabs button:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.product-collection-panel {
  margin-top: 8px;
}
.product-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-category-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-category-card:hover,
.product-category-card:focus-visible {
  border-color: var(--blue);
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 24, 69, .10);
}
.product-category-card figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
}
.product-category-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}
.product-category-card__body {
  display: grid;
  gap: 5px;
  padding: 14px 16px 16px;
}
.product-category-card__body strong {
  color: var(--navy);
  font-size: 17px;
}
.product-category-card__body small {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.catalog-choice-card {
  transform: none !important;
}
.catalog-choice-card__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.catalog-choice-card__main:hover,
.catalog-choice-card__main:focus-visible {
  color: inherit;
}
.catalog-choice-card__chapters {
  border-top: 1px solid var(--line);
  padding: 22px 30px 28px;
}
.catalog-choice-card__chapters > p {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.catalog-choice-card__chapters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.catalog-choice-card__chapters a {
  display: inline-flex;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.catalog-choice-card__chapters a:hover,
.catalog-choice-card__chapters a:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}
.catalog-choice-card__chapters small {
  color: var(--muted);
}

@media (max-width: 1100px) {
  .content-section--process-flow .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .document-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .content-section--process-flow .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-section--testimonials .section-items,
  .content-section--testimonials .content-card--media { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "title" "text" "meta"; }
  .content-section--testimonials .content-card__video {
    margin: -24px -24px 12px;
    min-height: 0;
  }
  .document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-category-card__body { padding: 11px 12px 13px; }
  .product-category-card__body strong { font-size: 15px; }
  .footer-trust-marks__inner { padding-block: 32px; gap: 16px; flex-wrap: wrap; }
  .site-footer__grid { padding-block: 32px; }
  .media-lightbox__controls button { min-width: 0; flex: 1; }
}

/* ---------- Re-audit fixes, 2026-10-17 ---------- */
.stat-band__item { justify-content: flex-end; }
.content-section--stats .section-heading h2 { margin-bottom: 32px; }
.section-image--wide img { aspect-ratio: auto; max-height: none; object-fit: contain; background: transparent; box-shadow: none; }
.content-section--faq .section-heading, .content-section--faq .section-items--faq { max-width: 860px; }
.closing-cta { border-top: 1px solid rgba(255, 255, 255, .06); }
.contact-list__item address { font-weight: 400; }
.quote-aside__block--wide { padding: 32px; }
.contact-list--row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.technique-grid__ask { grid-column: span 2; }
.technique-ask { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: 100%; min-height: 260px; padding: 32px; border-radius: 10px; background: linear-gradient(135deg, #001845 0%, #005b96 100%); color: var(--white); text-decoration: none; }
.technique-ask .eyebrow { color: #9fc7e3; margin: 0; }
.technique-ask__title { font-size: 24px; font-weight: 700; line-height: 1.25; max-width: 22ch; }
.technique-ask__text { color: #c8d8e7; font-size: 15px; max-width: 46ch; }
.technique-ask__cta { margin-top: 8px; font-weight: 600; }
.technique-ask:hover .technique-ask__cta { text-decoration: underline; }
.content-card .text-link { display: inline; }
.book-page--closing-copy h2 em, .catalog-cta h2 em { color: #9fc7e3; }

@media (max-width: 1024px) {
  .quote-layout--contact .quote-layout__aside { order: -1; }
  .technique-grid__ask { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .content-card__actions { align-items: flex-start; flex-direction: column; }
  .technique-families { gap: 38px; }
  .technique-family__heading { margin-bottom: 14px; }
  .technique-family__heading h3 { font-size: 22px; }
  .section-cta .button { width: 100%; justify-content: center; }
  .stat-band__item:last-child:nth-child(odd), .badge-wall__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .technique-gallery__grid--3 li:first-child { grid-column: 1 / -1; }
  .content-section--process-flow .process-grid, .content-section .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .process-grid__body { padding: 12px 12px 14px; }
  .process-grid__body h3 { font-size: 16px; margin-bottom: 0; }
  .process-grid__body p { display: none; }
  .book-page--cover .book-cover-page__art { display: none; }
  .book-page--cover .book-cover-page__copy h2 { margin: 24px 0 16px; font-size: clamp(40px, 12vw, 56px); }
}

.hero__backdrop-video--youtube { inset: 50% auto auto 50%; width: max(100%, calc(75svh * 16 / 9)); height: max(100%, calc(100vw * 9 / 16)); transform: translate(-50%, -50%); border: 0; pointer-events: none; }
