/*!
 * © Ermes Digital Communication — STILMAR, foglio di stile del sito (framework Friday).
 * Base: progetto grafico Figma Make "Sito web STILMAR abbigliamento". Tipografia fluida in rem (clamp),
 * nessun testo sotto i 12px, font ospitati sul sito (nessuna chiamata a Google).
 */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/inter-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-var.woff2") format("woff2"); }

:root {
  color: #242624;
  font-synthesis: none;
  --red: #b90e0a;
  --red-dark: #8f0b08;
  --ink: #242624;
  --ink-soft: #303330;
  --paper: #f4f4f1;
  --white: #fff;
  --muted: #686b66;
  --line: #d8dad6;
  background: #f4f4f1;
  font-family: Inter, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  margin: 0;
}

button, input, textarea, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  object-fit: cover;
  width: 100%;
  display: block;
}

h1, h2, h3, p {
  margin: 0;
}

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

::selection {
  color: #fff;
  background: var(--red);
}

.site-shell {
  min-width: 320px;
  overflow: clip;
}

.topline {
  color: #fff;
  background: var(--red);
  letter-spacing: .12em;
  justify-content: space-between;
  gap: 24px;
  padding: 9px 5vw;
  font-size: .75rem;
  font-weight: 800;
  display: flex;
}

.site-header {
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: #fff;
  align-items: center;
  gap: 30px;
  height: 96px;
  padding: 0 5vw;
  display: flex;
  position: relative;
}

.brand {
  flex: none;
  width: 210px;
}

.brand img {
  mix-blend-mode: multiply;
}

.main-nav {
  align-items: center;
  gap: 36px;
  margin-left: auto;
  display: flex;
}

.main-nav a {
  text-transform: uppercase;
  padding: 12px 0;
  font-size: 0.75rem;
  font-weight: 800;
  position: relative;
}

.main-nav a:after {
  content: "";
  background: var(--red);
  height: 3px;
  transition: right .2s;
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 100%;
}

.main-nav a:hover:after {
  right: 0;
}

.main-nav a.active {
  color: var(--red);
}

.main-nav a.active:after {
  right: 0;
}

.header-cta, .button {
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 0;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 52px;
  padding: 14px 22px;
  font-size: .75rem;
  font-weight: 800;
  transition: transform .2s, background .2s, color .2s;
  display: inline-flex;
}

.header-cta {
  color: #fff;
  background: var(--ink);
}

.header-cta:hover, .button:hover {
  transform: translateY(-2px);
}

.header-cta svg, .button svg {
  width: 19px;
  height: 19px;
}

.menu-button {
  background: none;
  border: 0;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  display: none;
}

.menu-button svg {
  width: 24px;
  height: 24px;
}

.hero {
  color: #fff;
  background: var(--ink);
  grid-template-columns: minmax(0, 47%) minmax(0, 53%);
  min-height: 690px;
  display: grid;
}

.hero-content {
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  padding: 68px 7vw 62px 8vw;
  display: flex;
  position: relative;
}

.section-label {
  letter-spacing: .14em;
  align-items: center;
  gap: 12px;
  font-size: .75rem;
  font-weight: 800;
  display: flex;
}

.section-label > span {
  background: var(--red);
  width: 34px;
  height: 5px;
  transform: skewX(-24deg);
}

.hero h1 {
  letter-spacing: -.055em;
  text-transform: uppercase;
  max-width: 720px;
  margin-top: 24px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(3.25rem, 5.3vw, 5.125rem);
  font-weight: 800;
  line-height: .98;
}

.hero h1 strong {
  color: var(--red);
  font-weight: 800;
  display: block;
}

.hero-content > p {
  color: #c3c6c1;
  max-width: 580px;
  margin-top: 28px;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  display: flex;
}

.button-red {
  color: #fff;
  background: var(--red);
}

.button-red:hover {
  background: var(--red-dark);
}

.button-ghost {
  color: #fff;
  background: none;
  border: 1px solid #5a5e58;
}

.button-ghost:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.hero-proof {
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  display: flex;
}

.hero-proof li {
  color: #aeb2ac;
  align-items: center;
  gap: 7px;
  font-size: .75rem;
  font-weight: 700;
  display: inline-flex;
}

.hero-proof svg {
  width: 15px;
  height: 15px;
  color: var(--red);
  stroke-width: 3px;
}

.hero-media {
  min-height: 690px;
  position: relative;
  overflow: hidden;
}

.hero-media:before {
  content: "";
  z-index: 3;
  background: var(--ink);
  width: 90px;
  position: absolute;
  top: -8%;
  bottom: -8%;
  left: -55px;
  transform: rotate(-7deg);
}

.hero-media img {
  object-position: center 36%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.hero-media-shade {
  background: linear-gradient(90deg, #16181673, #0000 45%, #00000014);
  position: absolute;
  inset: 0;
}

.hero-media-mark {
  color: #b90e0a3d;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(9rem, 22vw, 21.875rem);
  font-weight: 800;
  line-height: 1;
  position: absolute;
  top: -70px;
  right: -12px;
}

.hero-media-caption {
  border-left: 5px solid var(--red);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #1e201ee0;
  padding: 18px 22px;
  position: absolute;
  bottom: 34px;
  right: 34px;
}

.hero-media-caption span {
  color: #c8cbc6;
  letter-spacing: .14em;
  margin-bottom: 8px;
  font-size: .75rem;
  font-weight: 800;
  display: block;
}

.hero-media-caption strong {
  text-transform: uppercase;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(1rem, 0.9583rem + 0.185vw, 1.125rem);
  line-height: 1.25;
}

.strengths {
  border-bottom: 1px solid var(--line);
  background: #fff;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 5vw;
  display: grid;
}

.strength {
  border-right: 1px solid var(--line);
  align-items: center;
  gap: 17px;
  min-height: 130px;
  padding: 25px 22px;
  display: flex;
}

.strength:first-child {
  border-left: 1px solid var(--line);
}

.strength-icon {
  color: #fff;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
  flex: none;
  place-items: center;
  width: 45px;
  height: 45px;
  display: grid;
}

.strength-icon svg {
  width: 25px;
  height: 25px;
}

.strength h2 {
  text-transform: uppercase;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 0.8125rem;
}

.strength p {
  color: var(--muted);
  margin-top: 5px;
  font-size: .75rem;
  line-height: 1.5;
}

.section {
  padding: 105px 5vw;
}

.section-heading {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .6fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 48px;
  display: grid;
}

.section-heading h2, .process-heading h2 {
  letter-spacing: -.045em;
  text-transform: uppercase;
  max-width: 900px;
  margin-top: 18px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(2.375rem, 4.2vw, 3.875rem);
  font-weight: 800;
  line-height: 1.03;
}

.section-heading h2 strong, .process-heading h2 strong {
  color: var(--red);
  display: block;
}

.section-heading > p {
  color: var(--muted);
  padding-bottom: 5px;
  font-size: 0.875rem;
  line-height: 1.75;
}

.collection-grid {
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 355px;
  gap: 14px;
  display: grid;
}

.collection-card {
  color: #fff;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  grid-column: span 4;
  position: relative;
  overflow: hidden;
}

.collection-card:first-child, .collection-card:nth-child(6) {
  grid-column: span 8;
}

.collection-card img {
  filter: saturate(.85) contrast(1.1);
  height: 100%;
  transition: transform .65s cubic-bezier(.2, .75, .25, 1), filter .35s;
}

.collection-card:hover img {
  filter: saturate(1.12) contrast(1.06);
  transform: scale(1.07);
}

.collection-shade {
  background: linear-gradient(#0000000a 25%, #000000db 100%);
  position: absolute;
  inset: 0;
}

.collection-card:after {
  content: "";
  mix-blend-mode: multiply;
  background: #b90e0ac2;
  width: 22%;
  height: 170%;
  transition: width .35s;
  position: absolute;
  top: -35%;
  right: -14%;
  transform: skewX(-16deg);
}

.collection-card:hover:after {
  width: 31%;
}

.collection-number {
  z-index: 2;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  background: #191b198c;
  border: 1px solid #ffffffa6;
  place-items: center;
  width: 43px;
  height: 43px;
  font-size: .75rem;
  font-weight: 800;
  display: grid;
  position: absolute;
  top: 18px;
  left: 18px;
}

.embroidery-badge {
  z-index: 2;
  color: #fff;
  letter-spacing: .08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  background: #191b19b8;
  align-items: center;
  gap: 7px;
  min-height: 43px;
  padding: 0 12px;
  font-size: .75rem;
  font-weight: 800;
  display: inline-flex;
  position: absolute;
  top: 18px;
  left: 73px;
}

.embroidery-badge svg {
  color: #ef615d;
  width: 17px;
  height: 17px;
}

.collection-arrow {
  z-index: 2;
  color: #fff;
  background: var(--red);
  place-items: center;
  width: 43px;
  height: 43px;
  display: grid;
  position: absolute;
  top: 18px;
  right: 18px;
}

.collection-arrow svg {
  width: 21px;
  height: 21px;
  transition: transform .2s;
}

.collection-card:hover .collection-arrow svg {
  transform: translateX(3px);
}

.collection-copy {
  z-index: 2;
  position: absolute;
  bottom: 26px;
  left: 24px;
  right: 24px;
}

.collection-copy > span {
  color: #d5d8d3;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 800;
}

.collection-copy h3 {
  letter-spacing: -.035em;
  text-transform: uppercase;
  max-width: 520px;
  margin-top: 8px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.9375rem);
  line-height: 1.02;
}

.products-page {
  background: var(--paper);
}

.products-hero {
  color: #fff;
  background: var(--ink);
  grid-template-columns: 1fr;
  align-items: end;
  gap: 7vw;
  min-height: 470px;
  padding: 90px 7vw 78px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.products-hero:after {
  content: "";
  border-right: 2px solid #ffffff21;
  border-left: 24px solid var(--red);
  opacity: .75;
  width: 120px;
  height: 250%;
  position: absolute;
  top: -70%;
  right: 18%;
  transform: rotate(23deg);
}

.products-hero > * {
  z-index: 1;
  position: relative;
}

.products-hero h1 {
  letter-spacing: -.06em;
  text-transform: uppercase;
  max-width: 930px;
  margin-top: 24px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(3.25rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: .95;
}

.products-hero h1 strong {
  color: var(--red);
  display: block;
}

.products-index {
  z-index: 20;
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #fffffff5;
  grid-template-columns: repeat(6, 1fr);
  display: grid;
  position: sticky;
  top: 0;
}

.products-index a {
  border-right: 1px solid var(--line);
  text-transform: uppercase;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px 14px;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.35;
  transition: color .2s, background .2s;
  display: flex;
}

.products-index a:last-child {
  border-right: 0;
}

.products-index a:hover {
  color: #fff;
  background: var(--red);
}

.products-index a span {
  color: var(--red);
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 0.8125rem;
}

.products-index a:hover span {
  color: #fff;
}

.product-collections {
  background: #fff;
  padding: 0 5vw;
}

.product-collection {
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  min-height: 640px;
  padding: 88px 0;
  scroll-margin-top: 64px;
  display: grid;
}

.product-collection:last-child {
  border-bottom: 0;
}

.product-collection:nth-child(2n) {
  grid-template-columns: minmax(380px, .92fr) minmax(0, 1.08fr);
}

.product-collection:nth-child(2n) .product-collection-visual {
  order: 2;
}

.product-collection-visual {
  align-self: center;
  min-width: 0;
}

.product-collection-image {
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
  min-height: 540px;
  position: relative;
  overflow: hidden;
}

.product-collection-image.is-hospitality {
  aspect-ratio: 4 / 3;
  align-self: center;
  min-height: 0;
}

.product-collection-image:after {
  content: "";
  z-index: 2;
  mix-blend-mode: multiply;
  background: #b90e0abd;
  width: 20%;
  height: 160%;
  position: absolute;
  top: -25%;
  right: -13%;
  transform: skewX(-17deg);
}

.product-collection:nth-child(2n) .product-collection-image:after {
  left: -13%;
  right: auto;
  transform: skewX(17deg);
}

.product-collection-image img {
  filter: saturate(.88) contrast(1.08);
  height: 100%;
  transition: transform .7s cubic-bezier(.2, .75, .25, 1), filter .35s;
}

.product-collection:hover .product-collection-image img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.045);
}

.hospitality-gallery {
  border: 1px solid var(--line);
  background: #fafaf8;
  margin-top: 10px;
  padding: 12px 14px 13px;
}

.hospitality-gallery-heading {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  display: flex;
}

.hospitality-gallery-heading > div:first-child {
  gap: 2px;
  display: grid;
}

.hospitality-gallery-heading span {
  color: var(--red);
  letter-spacing: .13em;
  font-size: .75rem;
  font-weight: 800;
}

.hospitality-gallery-heading strong {
  text-transform: uppercase;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 0.75rem;
}

.hospitality-gallery-controls {
  gap: 4px;
  display: flex;
}

.hospitality-gallery-controls button {
  border: 1px solid var(--line);
  background: #fff;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  transition: color .2s, background .2s;
  display: grid;
}

.hospitality-gallery-controls button:first-child svg {
  transform: rotate(180deg);
}

.hospitality-gallery-controls button:hover {
  color: #fff;
  background: var(--red);
}

.hospitality-gallery-controls svg {
  width: 14px;
  height: 14px;
}

.hospitality-gallery-track {
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 9px;
  display: flex;
  overflow-x: auto;
}

.hospitality-gallery-track::-webkit-scrollbar {
  display: none;
}

.hospitality-product {
  scroll-snap-align: start;
  flex: 0 0 calc(30.7692% - 8.30769px);
  min-width: 0;
}

.hospitality-product > div {
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 1px solid #e4e5e2;
  position: relative;
  overflow: hidden;
}

.hospitality-product > div:after {
  content: "";
  border-left: 5px solid #b90e0a2e;
  width: 50px;
  height: 90px;
  position: absolute;
  bottom: -42px;
  right: -22px;
  transform: rotate(25deg);
}

.hospitality-product img {
  object-fit: contain;
  height: 100%;
  padding: 5px;
  transition: transform .35s;
}

.hospitality-product:hover img {
  transform: scale(1.045);
}

.hospitality-product > span {
  color: var(--red);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 6px;
  font-size: .75rem;
  font-weight: 800;
  display: block;
}

.hospitality-product h3 {
  text-transform: uppercase;
  margin-top: 3px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: .75rem;
  line-height: 1.25;
}

.product-collection-overlay {
  z-index: 1;
  background: linear-gradient(#0000 52%, #0000006b);
  position: absolute;
  inset: 0;
}

.product-collection-number {
  z-index: 3;
  color: #fff;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  background: #191b19a3;
  border: 1px solid #ffffffa6;
  place-items: center;
  width: 52px;
  height: 52px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  display: grid;
  position: absolute;
  top: 24px;
  left: 24px;
}

.product-collection-detail {
  z-index: 3;
  color: #fff;
  letter-spacing: .1em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #191b19d1;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  font-size: .75rem;
  font-weight: 800;
  display: inline-flex;
  position: absolute;
  bottom: 24px;
  right: 24px;
}

.product-collection-detail svg {
  color: #ef615d;
  width: 20px;
  height: 20px;
}

.product-collection-copy {
  flex-direction: column;
  justify-content: center;
  padding: 48px 7vw 48px 6vw;
  display: flex;
}

.product-collection:nth-child(2n) .product-collection-copy {
  padding-left: 3vw;
  padding-right: 6vw;
}

.product-collection-copy h2 {
  letter-spacing: -.05em;
  text-transform: uppercase;
  max-width: 680px;
  margin-top: 20px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(2.375rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
}

.product-collection-copy > p {
  max-width: 590px;
  color: var(--muted);
  margin-top: 25px;
  font-size: 0.875rem;
  line-height: 1.8;
}

.product-benefits {
  border-top: 1px solid var(--line);
  max-width: 590px;
  margin-top: 30px;
  padding-top: 22px;
}

.product-benefits > span {
  color: var(--red);
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 800;
}

.product-benefits ul {
  gap: 11px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.product-benefits li {
  align-items: flex-start;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
  display: flex;
}

.product-benefits li svg {
  width: 17px;
  height: 17px;
  color: var(--red);
  stroke-width: 3px;
  flex: none;
}

.product-action {
  color: #fff;
  background: var(--ink);
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
  border: 0;
  justify-content: space-between;
  align-self: flex-start;
  align-items: center;
  gap: 24px;
  min-width: min(100%, 365px);
  margin-top: 32px;
  padding: 16px 18px;
  font-size: .75rem;
  font-weight: 800;
  transition: background .2s, transform .2s;
  display: inline-flex;
}

.product-action:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.product-action svg {
  width: 20px;
  height: 20px;
}

.products-cta {
  color: #fff;
  background: var(--red);
  grid-template-columns: minmax(280px, .72fr) minmax(460px, 1.28fr);
  align-items: center;
  gap: 8vw;
  padding: 88px 8vw;
  display: grid;
  position: relative;
  overflow: hidden;
}

.products-cta:after {
  content: "";
  border-left: 24px solid #ffffff1f;
  border-right: 2px solid #ffffff38;
  width: 100px;
  height: 270%;
  position: absolute;
  top: -80%;
  right: 17%;
  transform: rotate(24deg);
}

.products-cta > * {
  z-index: 1;
  position: relative;
}

.products-cta .section-label > span {
  background: #fff;
}

.products-cta h2 {
  letter-spacing: -.05em;
  text-transform: uppercase;
  margin-top: 18px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(2.375rem, 4.3vw, 4rem);
  line-height: 1.02;
}

.products-cta p {
  font-size: 0.875rem;
  line-height: 1.75;
}

.products-cta-intro {
  max-width: 560px;
  margin-top: 24px;
}

.products-info-form {
  color: var(--ink);
  background: #fff;
  gap: 16px;
  padding: 34px;
  display: grid;
  box-shadow: 0 22px 60px #5003;
}

.products-form-row {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.products-info-form label {
  gap: 7px;
  display: grid;
}

.products-info-form label > span {
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 800;
}

.products-info-form label small {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
}

.products-info-form input, .products-info-form select, .products-info-form textarea {
  width: 100%;
  min-height: 46px;
  color: var(--ink);
  background: #f7f7f5;
  border: 1px solid #cdd0cb;
  border-radius: 0;
  outline: 0;
  padding: 12px 13px;
}

.products-info-form textarea {
  resize: vertical;
}

.products-info-form input:focus, .products-info-form select:focus, .products-info-form textarea:focus {
  border-color: var(--red);
  box-shadow: inset 4px 0 0 var(--red);
}

.products-info-form textarea::placeholder {
  color: #8a8d88;
}

.products-form-submit {
  color: #fff;
  background: var(--ink);
  justify-self: start;
  margin-top: 3px;
}

.products-form-submit:hover {
  background: var(--red-dark);
}

.products-form-success {
  min-height: 430px;
  color: var(--ink);
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 42px;
  display: flex;
}

.products-form-success > div {
  color: #fff;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
  place-items: center;
  width: 62px;
  height: 62px;
  display: grid;
}

.products-form-success svg {
  stroke-width: 3px;
  width: 29px;
  height: 29px;
}

.products-form-success h3 {
  text-transform: uppercase;
  margin-top: 24px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(1.3125rem, 1.1042rem + 0.926vw, 1.9375rem);
}

.products-form-success p {
  max-width: 500px;
  color: var(--muted);
  margin-top: 13px;
}

.products-form-success button {
  border: 0;
  border-bottom: 2px solid var(--red);
  text-transform: uppercase;
  background: none;
  margin-top: 25px;
  padding: 0 0 5px;
  font-size: .75rem;
  font-weight: 800;
}

.method-page {
  background: var(--paper);
}

.method-hero {
  color: #fff;
  background: var(--ink);
  grid-template-columns: 1fr;
  align-items: end;
  gap: 7vw;
  min-height: 470px;
  padding: 90px 7vw 78px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.method-hero:after {
  content: "";
  border-right: 2px solid #ffffff21;
  border-left: 24px solid var(--red);
  opacity: .75;
  width: 120px;
  height: 250%;
  position: absolute;
  top: -70%;
  right: 18%;
  transform: rotate(23deg);
}

.method-hero > * {
  z-index: 1;
  position: relative;
}

.method-hero h1 {
  letter-spacing: -.06em;
  text-transform: uppercase;
  max-width: 930px;
  margin-top: 24px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(3.25rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: .95;
}

.method-hero h1 strong {
  color: var(--red);
  display: block;
}

.family-story {
  background: #fff;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
  gap: 8vw;
  padding: 110px 8vw;
  display: grid;
}

.family-story-heading h2, .evolution-intro h2, .method-workflow-heading h2, .embroidery-focus-copy h2, .method-final h2 {
  letter-spacing: -.05em;
  text-transform: uppercase;
  margin-top: 20px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 4.125rem);
  font-weight: 800;
  line-height: 1.02;
}

.family-story-heading h2 strong, .method-workflow-heading h2 strong {
  color: var(--red);
  display: block;
}

.family-story-copy > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.85;
}

.family-story-copy > p + p {
  margin-top: 20px;
}

.evolution {
  color: #fff;
  background: var(--red);
  padding: 100px 8vw;
  position: relative;
  overflow: hidden;
}

.evolution:after {
  content: "";
  border-left: 26px solid #ffffff1f;
  border-right: 2px solid #ffffff38;
  width: 110px;
  height: 280%;
  position: absolute;
  top: -80%;
  right: 14%;
  transform: rotate(24deg);
}

.evolution-intro, .evolution-grid {
  z-index: 1;
  position: relative;
}

.evolution .section-label > span {
  background: #fff;
}

.evolution-intro h2 {
  max-width: 800px;
}

.evolution-grid {
  background: #ffffff4d;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 52px;
  display: grid;
}

.evolution-grid article {
  background: var(--red-dark);
  min-height: 260px;
  padding: 30px;
}

.evolution-grid article > span {
  color: #f39a96;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.evolution-grid h3 {
  text-transform: uppercase;
  margin-top: 42px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(1.0625rem, 0.8958rem + 0.741vw, 1.5625rem);
}

.evolution-grid p {
  color: #f1d3d1;
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.method-workflow {
  grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr);
  gap: 7vw;
  padding: 110px 7vw;
  display: grid;
}

.method-workflow-heading {
  align-self: start;
  position: sticky;
  top: 32px;
}

.method-workflow-heading > p {
  max-width: 570px;
  color: var(--muted);
  margin-top: 25px;
  font-size: 0.875rem;
  line-height: 1.8;
}

.method-workflow-list {
  border-top: 1px solid var(--line);
}

.method-workflow-list > li {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 65px minmax(0, 1fr) 24px;
  gap: 24px;
  padding: 34px 0;
  display: grid;
}

.method-workflow-list > li > span {
  color: var(--red);
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(1rem, 0.8958rem + 0.463vw, 1.3125rem);
  font-weight: 800;
}

.method-workflow-list h3 {
  text-transform: uppercase;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(1rem, 0.875rem + 0.556vw, 1.375rem);
}

.method-workflow-list p {
  max-width: 650px;
  color: var(--muted);
  margin-top: 11px;
  font-size: 0.8125rem;
  line-height: 1.75;
}

.method-workflow-list > li > svg {
  width: 23px;
  height: 23px;
  color: var(--red);
}

.embroidery-focus {
  color: #fff;
  background: var(--ink);
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  min-height: 650px;
  display: grid;
}

.embroidery-focus-image {
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.embroidery-focus-image img {
  filter: saturate(.7) contrast(1.14);
  height: 100%;
  position: absolute;
  inset: 0;
}

.embroidery-focus-image:after {
  content: "";
  mix-blend-mode: multiply;
  background: #b90e0ab8;
  width: 23%;
  height: 165%;
  position: absolute;
  top: -30%;
  right: -14%;
  transform: skewX(-17deg);
}

.embroidery-focus-image > span {
  z-index: 2;
  border-left: 5px solid var(--red);
  letter-spacing: .12em;
  background: #1b1d1bdb;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  font-size: .75rem;
  font-weight: 800;
  display: inline-flex;
  position: absolute;
  bottom: 28px;
  left: 28px;
}

.embroidery-focus-image > span svg {
  color: #ef615d;
  width: 22px;
  height: 22px;
}

.embroidery-focus-copy {
  flex-direction: column;
  justify-content: center;
  padding: 70px 8vw 70px 6vw;
  display: flex;
}

.embroidery-focus-copy h2 {
  font-size: clamp(2.5rem, 4.2vw, 3.8125rem);
}

.embroidery-focus-copy > p {
  color: #c1c4bf;
  margin-top: 26px;
  font-size: 0.875rem;
  line-height: 1.8;
}

.embroidery-focus-copy ul {
  border-top: 1px solid #4a4d48;
  gap: 13px;
  margin: 29px 0 0;
  padding: 23px 0 0;
  list-style: none;
  display: grid;
}

.embroidery-focus-copy li {
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 700;
  display: flex;
}

.embroidery-focus-copy li svg {
  width: 17px;
  height: 17px;
  color: var(--red);
  stroke-width: 3px;
}

.method-final {
  color: #fff;
  background: var(--red);
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 8vw;
  padding: 90px 8vw;
  display: grid;
  position: relative;
  overflow: hidden;
}

.method-final:after {
  content: "";
  border-left: 23px solid #ffffff1f;
  width: 100px;
  height: 290%;
  position: absolute;
  top: -90%;
  right: 17%;
  transform: rotate(24deg);
}

.method-final > * {
  z-index: 1;
  position: relative;
}

.method-final .section-label > span {
  background: #fff;
}

.method-final p {
  font-size: 0.875rem;
  line-height: 1.75;
}

.quality-page {
  background: var(--paper);
}

.quality-hero {
  color: #fff;
  background: var(--ink);
  grid-template-columns: 1fr;
  align-items: end;
  gap: 7vw;
  min-height: 470px;
  padding: 90px 7vw 78px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.quality-hero:after {
  content: "";
  border-right: 2px solid #ffffff21;
  border-left: 24px solid var(--red);
  opacity: .75;
  width: 120px;
  height: 250%;
  position: absolute;
  top: -70%;
  right: 18%;
  transform: rotate(23deg);
}

.quality-hero > * {
  z-index: 1;
  position: relative;
}

.quality-hero h1 {
  letter-spacing: -.06em;
  text-transform: uppercase;
  max-width: 950px;
  margin-top: 24px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(3.25rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: .95;
}

.quality-hero h1 strong {
  color: var(--red);
  display: block;
}

.quality-controls-heading h2, .certification-copy h2, .quality-final h2 {
  letter-spacing: -.05em;
  text-transform: uppercase;
  margin-top: 20px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 4.125rem);
  font-weight: 800;
  line-height: 1.02;
}

.quality-controls {
  padding: 110px 7vw;
}

.quality-controls-heading {
  max-width: 900px;
}

.quality-controls-heading h2 strong {
  color: var(--red);
  display: block;
}

.quality-controls-intro {
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  max-width: 1120px;
  margin-top: 38px;
  display: grid;
}

.quality-controls-intro p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.85;
}

.quality-control-grid {
  background: var(--line);
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 55px;
  display: grid;
}

.quality-control-grid article {
  background: #fff;
  min-height: 320px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.quality-control-grid article:after {
  content: "";
  border-left: 1px solid var(--line);
  width: 80px;
  height: 140px;
  position: absolute;
  bottom: -65px;
  right: -35px;
  transform: rotate(27deg);
}

.quality-control-grid article > span {
  color: var(--red);
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
}

.quality-control-grid article > svg {
  width: 39px;
  height: 39px;
  color: var(--red);
  margin-top: 42px;
  display: block;
}

.quality-control-grid h3 {
  text-transform: uppercase;
  margin-top: 18px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(1rem, 0.9375rem + 0.278vw, 1.1875rem);
}

.quality-control-grid p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.75rem;
  line-height: 1.7;
}

.certification {
  background: #fff;
  grid-template-columns: minmax(270px, .65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 8vw;
  padding: 105px 10vw;
  display: grid;
}

.certification-logo {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  background: #f7f8f6;
  place-items: center;
  padding: 13%;
  display: grid;
}

.certification-logo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.certification-copy {
  max-width: 760px;
}

.certification-copy h2 {
  color: #007f69;
}

.certification-copy > p {
  color: var(--muted);
  margin-top: 23px;
  font-size: 0.875rem;
  line-height: 1.8;
}

.certification-copy > p + p {
  margin-top: 14px;
}

.certification-note {
  color: #27554c;
  background: #edf7f4;
  border-left: 5px solid #00a687;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 18px;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.6;
  display: flex;
}

.certification-note svg {
  color: #00a687;
  stroke-width: 3px;
  flex: none;
  width: 19px;
  height: 19px;
}

.quality-final {
  color: #fff;
  background: var(--red);
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 8vw;
  padding: 90px 8vw;
  display: grid;
  position: relative;
  overflow: hidden;
}

.quality-final:after {
  content: "";
  border-left: 23px solid #ffffff1f;
  width: 100px;
  height: 290%;
  position: absolute;
  top: -90%;
  right: 17%;
  transform: rotate(24deg);
}

.quality-final > * {
  z-index: 1;
  position: relative;
}

.quality-final .section-label > span {
  background: #fff;
}

.quality-final p {
  font-size: 0.875rem;
  line-height: 1.75;
}

.manifesto {
  color: #fff;
  background: var(--red);
  min-height: 590px;
  padding: 125px 9vw 100px;
  position: relative;
  overflow: hidden;
}

.manifesto:before {
  content: "";
  border-left: 28px solid #ffffff1a;
  border-right: 2px solid #ffffff2e;
  width: 120px;
  height: 210%;
  position: absolute;
  top: -50%;
  right: 17%;
  transform: rotate(24deg);
}

.manifesto-line {
  color: var(--red);
  letter-spacing: .24em;
  word-spacing: 3em;
  white-space: nowrap;
  background: #fff;
  padding: 11px 7%;
  font-size: .75rem;
  font-weight: 800;
  position: absolute;
  top: 30px;
  left: -4%;
  right: -4%;
  overflow: hidden;
  transform: rotate(-1.2deg);
}

.manifesto-inner {
  z-index: 2;
  max-width: 930px;
  position: relative;
}

.manifesto .section-label > span {
  background: #fff;
}

.manifesto h2 {
  letter-spacing: -.055em;
  text-transform: uppercase;
  margin-top: 22px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .98;
}

.manifesto-inner > p {
  max-width: 660px;
  margin-top: 30px;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.manifesto-stats {
  background: #ffffff47;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 46px;
  display: flex;
}

.manifesto-stats div {
  background: var(--red-dark);
  flex-direction: column;
  min-width: 185px;
  padding: 18px 22px;
  display: flex;
}

.manifesto-stats strong {
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(1.1875rem, 1rem + 0.833vw, 1.75rem);
}

.manifesto-stats span {
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 4px;
  font-size: .75rem;
  font-weight: 700;
}

.manifesto-icon {
  object-fit: contain;
  opacity: .14;
  mix-blend-mode: multiply;
  width: 190px;
  height: 190px;
  position: absolute;
  bottom: 40px;
  right: 4vw;
}

.process {
  background: #fff;
  grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr);
  gap: 7vw;
  display: grid;
}

.process-heading {
  align-self: start;
  position: sticky;
  top: 40px;
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-step {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 60px minmax(0, 1fr) 25px;
  align-items: start;
  gap: 24px;
  padding: 34px 0;
  display: grid;
}

.process-step > span {
  color: var(--red);
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(1rem, 0.9167rem + 0.37vw, 1.25rem);
  font-weight: 800;
}

.process-step h3 {
  text-transform: uppercase;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(1rem, 0.875rem + 0.556vw, 1.375rem);
}

.process-step p {
  max-width: 620px;
  color: var(--muted);
  margin-top: 11px;
  font-size: 0.8125rem;
  line-height: 1.75;
}

.process-step > svg {
  width: 23px;
  height: 23px;
  color: var(--red);
}

.closing {
  color: #fff;
  background: var(--ink);
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 8vw;
  padding: 90px 8vw;
  display: grid;
  position: relative;
  overflow: hidden;
}

.closing:after {
  content: "";
  border-left: 22px solid var(--red);
  opacity: .6;
  width: 100px;
  height: 270%;
  position: absolute;
  top: -80%;
  right: 18%;
  transform: rotate(24deg);
}

.closing h2 {
  letter-spacing: -.05em;
  text-transform: uppercase;
  margin-top: 18px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 4.1875rem);
  line-height: 1.02;
}

.closing-action {
  z-index: 2;
  position: relative;
}

.closing-action p {
  color: #bec1bc;
  font-size: 0.875rem;
  line-height: 1.75;
}

.button-light {
  color: var(--red);
  background: #fff;
  margin-top: 24px;
}

.button-light:hover {
  color: #fff;
  background: var(--red);
}

.site-footer {
  color: #fff;
  background: #191b19;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 45px;
  padding: 48px 5vw 0;
  display: grid;
}

.footer-brand {
  background: #fff;
  width: 185px;
  padding: 9px 12px;
}

.footer-brand img {
  mix-blend-mode: multiply;
}

.site-footer > p {
  color: #aeb1ac;
  font-size: .75rem;
  line-height: 1.6;
}

.site-footer nav {
  text-transform: uppercase;
  gap: 24px;
  font-size: .75rem;
  font-weight: 700;
  display: flex;
}

.site-footer nav a:hover {
  color: #ef615d;
}

.footer-bottom {
  color: #858983;
  letter-spacing: .1em;
  border-top: 1px solid #3c3f3b;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .75rem;
  font-weight: 700;
  display: flex;
}

.modal-backdrop {
  z-index: 100;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #141614db;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}

.contact-modal {
  background: #fff;
  width: min(100%, 610px);
  max-height: calc(100vh - 40px);
  padding: 46px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 30px 90px #00000059;
}

.modal-close {
  background: #eceeeb;
  border: 0;
  place-items: center;
  width: 40px;
  height: 40px;
  display: grid;
  position: absolute;
  top: 16px;
  right: 16px;
}

.modal-close svg {
  width: 22px;
  height: 22px;
}

.contact-modal h2 {
  text-transform: uppercase;
  margin-top: 18px;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: clamp(1.8125rem, 1.5208rem + 1.296vw, 2.6875rem);
  line-height: 1;
}

.contact-modal > p, .success > p {
  color: var(--muted);
  margin-top: 18px;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.contact-modal form {
  gap: 16px;
  margin-top: 28px;
  display: grid;
}

.contact-modal label {
  gap: 7px;
  font-size: .75rem;
  font-weight: 700;
  display: grid;
}

.contact-modal input, .contact-modal textarea {
  background: #f7f7f5;
  border: 1px solid #cdd0cb;
  border-radius: 0;
  outline: none;
  width: 100%;
  padding: 12px;
}

.contact-modal input:focus, .contact-modal textarea:focus {
  border-color: var(--red);
}

.contact-modal textarea {
  resize: vertical;
}

.contact-modal form .button {
  justify-self: start;
  margin-top: 5px;
}

.success {
  text-align: center;
  padding: 26px 0 12px;
}

.success .section-label {
  justify-content: center;
  margin-top: 24px;
}

.success-icon {
  color: #fff;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
  place-items: center;
  width: 70px;
  height: 70px;
  margin: auto;
  display: grid;
}

.success-icon svg {
  width: 32px;
  height: 32px;
}

.success .button {
  margin-top: 26px;
}

@media (min-width: 1600px) {
  .hero, .hero-media {
    min-height: 760px;
  }

  .collection-grid {
    grid-auto-rows: 420px;
  }
}

@media (max-width: 1050px) {
  .site-header {
    gap: 18px;
  }

  .brand {
    width: 175px;
  }

  .main-nav {
    gap: 20px;
  }

  .header-cta {
    gap: 10px;
    padding-inline: 15px;
  }

  .hero {
    grid-template-columns: 52% 48%;
  }

  .hero h1 {
    font-size: clamp(2.3125rem, 1.9375rem + 1.667vw, 3.4375rem);
  }

  .strength {
    padding-inline: 13px;
  }

  .strength-icon {
    width: 40px;
    height: 40px;
  }

  .strength p {
    display: none;
  }

  .collection-grid {
    grid-auto-rows: 315px;
  }

  .collection-card, .collection-card:first-child, .collection-card:nth-child(6) {
    grid-column: span 6;
  }

  .product-collection {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr);
  }

  .product-collection:nth-child(2n) {
    grid-template-columns: minmax(340px, .85fr) minmax(0, 1fr);
  }

  .product-collection-copy {
    padding-left: 4vw;
    padding-right: 4vw;
  }

  .product-collection:nth-child(2n) .product-collection-copy {
    padding-left: 2vw;
    padding-right: 4vw;
  }

  .family-story, .method-workflow {
    gap: 5vw;
    padding-inline: 6vw;
  }

  .embroidery-focus {
    grid-template-columns: 1fr 1fr;
  }

  .quality-control-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .certification {
    gap: 6vw;
    padding-inline: 7vw;
  }

  .manifesto-icon {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 760px) {
  .topline {
    text-align: center;
    justify-content: center;
  }

  .topline span:last-child {
    display: none;
  }

  .site-header {
    height: 78px;
  }

  .brand {
    width: 160px;
  }

  .header-cta {
    width: 42px;
    height: 42px;
    min-height: 42px;
    margin-left: auto;
    padding: 10px;
    font-size: 0;
  }

  .menu-button {
    display: grid;
  }

  .main-nav {
    border-top: 1px solid var(--line);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 22px 5vw;
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    box-shadow: 0 18px 35px #0000001f;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: 580px;
    padding: 70px 7vw 62px;
  }

  .hero-media {
    min-height: 540px;
  }

  .hero-media:before {
    width: 110%;
    height: 80px;
    inset: -55px -5% auto;
    transform: rotate(-4deg);
  }

  .strengths {
    grid-template-columns: 1fr 1fr;
  }

  .strength:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .section {
    padding: 78px 6vw;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .collection-grid {
    grid-auto-rows: 390px;
  }

  .collection-card, .collection-card:first-child, .collection-card:nth-child(6) {
    grid-column: span 12;
  }

  .products-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding: 72px 7vw 62px;
  }

  .products-hero h1 {
    font-size: clamp(2.3125rem, 1.9583rem + 1.574vw, 3.375rem);
  }

  .products-index {
    scrollbar-width: none;
    display: flex;
    overflow-x: auto;
  }

  .products-index::-webkit-scrollbar {
    display: none;
  }

  .products-index a {
    flex: none;
    width: 190px;
  }

  .product-collections {
    padding-inline: 6vw;
  }

  .product-collection, .product-collection:nth-child(2n) {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 68px 0;
  }

  .product-collection:nth-child(2n) .product-collection-visual {
    order: 0;
  }

  .product-collection-image {
    min-height: 480px;
  }

  .product-collection-copy, .product-collection:nth-child(2n) .product-collection-copy {
    padding: 42px 2vw 0;
  }

  .products-cta {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 72px 7vw;
  }

  .method-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding: 72px 7vw 62px;
  }

  .method-hero h1 {
    font-size: clamp(2.3125rem, 1.9583rem + 1.574vw, 3.375rem);
  }

  .family-story {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 78px 7vw;
  }

  .evolution {
    padding: 78px 7vw;
  }

  .evolution-grid {
    grid-template-columns: 1fr;
  }

  .evolution-grid article {
    min-height: 210px;
  }

  .evolution-grid h3 {
    margin-top: 27px;
  }

  .method-workflow {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 78px 7vw;
  }

  .method-workflow-heading {
    position: static;
  }

  .embroidery-focus {
    grid-template-columns: 1fr;
  }

  .embroidery-focus-image {
    min-height: 520px;
  }

  .embroidery-focus-copy {
    padding: 62px 7vw 70px;
  }

  .method-final {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 72px 7vw;
  }

  .quality-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding: 72px 7vw 62px;
  }

  .quality-hero h1 {
    font-size: clamp(2.3125rem, 1.9583rem + 1.574vw, 3.375rem);
  }

  .quality-controls {
    padding: 78px 7vw;
  }

  .quality-controls-intro {
    gap: 25px;
  }

  .certification {
    grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
    gap: 5vw;
    padding: 78px 7vw;
  }

  .quality-final {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 72px 7vw;
  }

  .manifesto {
    padding: 110px 7vw 75px;
  }

  .manifesto-icon {
    display: none;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .process-heading {
    position: static;
  }

  .closing {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 72px 7vw;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > p {
    display: none;
  }

  .site-footer nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 500px) {
  .hero-content {
    min-height: 560px;
    padding-top: 68px;
  }

  .hero h1 {
    font-size: clamp(2.625rem, 13vw, 3.625rem);
  }

  .hero-content > p {
    font-size: 0.8125rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    gap: 12px;
  }

  .hero-media {
    min-height: 460px;
  }

  .hero-media img {
    object-position: 51% center;
  }

  .hero-media-caption {
    bottom: 20px;
    left: 18px;
    right: 18px;
  }

  .strength {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 115px;
  }

  .strength h2 {
    font-size: .75rem;
  }

  .section-heading h2, .process-heading h2 {
    font-size: clamp(1.6875rem, 1.4375rem + 1.111vw, 2.4375rem);
  }

  .collection-grid {
    grid-auto-rows: 350px;
  }

  .products-hero h1 {
    font-size: clamp(1.875rem, 1.5833rem + 1.296vw, 2.75rem);
  }

  .product-collection-image {
    min-height: 390px;
  }

  .hospitality-gallery {
    padding: 11px 12px 12px;
  }

  .hospitality-product {
    flex-basis: 68%;
  }

  .product-collection-copy, .product-collection:nth-child(2n) .product-collection-copy {
    padding-inline: 0;
  }

  .product-collection-copy h2 {
    font-size: clamp(1.5625rem, 1.3125rem + 1.111vw, 2.3125rem);
  }

  .product-action {
    width: 100%;
    min-width: 0;
  }

  .products-cta h2 {
    font-size: clamp(1.6875rem, 1.4167rem + 1.204vw, 2.5rem);
  }

  .products-info-form {
    padding: 25px 20px;
  }

  .products-form-row {
    grid-template-columns: 1fr;
  }

  .products-form-submit {
    width: 100%;
  }

  .method-hero h1 {
    font-size: clamp(1.875rem, 1.5833rem + 1.296vw, 2.75rem);
  }

  .family-story-heading h2, .evolution-intro h2, .method-workflow-heading h2, .embroidery-focus-copy h2, .method-final h2 {
    font-size: clamp(1.6875rem, 1.4375rem + 1.111vw, 2.4375rem);
  }

  .method-workflow-list > li {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 13px;
  }

  .method-workflow-list > li > svg {
    display: none;
  }

  .embroidery-focus-image {
    min-height: 420px;
  }

  .quality-hero h1 {
    font-size: clamp(1.875rem, 1.5833rem + 1.296vw, 2.75rem);
  }

  .quality-controls-heading h2, .certification-copy h2, .quality-final h2 {
    font-size: clamp(1.6875rem, 1.4375rem + 1.111vw, 2.4375rem);
  }

  .quality-controls-intro, .quality-control-grid {
    grid-template-columns: 1fr;
  }

  .quality-control-grid article {
    min-height: 280px;
  }

  .certification {
    grid-template-columns: 1fr;
  }

  .certification-logo {
    width: min(100%, 310px);
  }

  .manifesto h2 {
    font-size: clamp(2rem, 1.6875rem + 1.389vw, 2.9375rem);
  }

  .manifesto-stats {
    grid-template-columns: 1fr;
    display: grid;
  }

  .manifesto-stats div {
    min-width: 0;
  }

  .process-step {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 13px;
  }

  .process-step > svg {
    display: none;
  }

  .process-step h3 {
    font-size: clamp(1rem, 0.9583rem + 0.185vw, 1.125rem);
  }

  .closing h2 {
    font-size: clamp(1.8125rem, 1.5417rem + 1.204vw, 2.625rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .footer-bottom > span:nth-child(2) {
    display: none;
  }

  .contact-modal {
    padding: 40px 24px 28px;
  }

  .contact-modal h2 {
    font-size: clamp(1.5rem, 1.25rem + 1.111vw, 2.25rem);
  }

  .contact-modal form .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, :before, :after {
    transition: none !important;
  }
}

/* ==========================================================================
   STILMAR — integrazioni al progetto grafico (Friday): elementi nuovi,
   accessibilità, impaginazione mobile e tipografia fluida.
   ========================================================================== */

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
[hidden] { display: none !important; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); line-height: 1.5; overflow-x: hidden; }
img { height: auto; }
.hero-media img, .collection-card img, .product-collection-image img, .embroidery-focus-image img, .hospitality-product img { height: 100%; }
ul.hero-proof, ol.process-list, ol.method-workflow-list, ul.hospitality-gallery-track, .faq-list, .catalog-grid, .footer-legal, .quote-steps { list-style: none; margin: 0; padding: 0; }
.hero-proof { margin-top: 32px; }
main:focus { outline: none; }

/* utilità accessibili */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 800; font-size: .875rem; transition: top .15s; }
.skip-link:focus { top: 12px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #000; }
.button-line { color: var(--ink); background: transparent; border: 1px solid #b9bcb6; }
.button-line:hover { border-color: var(--ink); }
.button[disabled] { opacity: .6; cursor: progress; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--red); font-size: .8125rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.text-link svg { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }
.section-label { color: inherit; }

/* testata */
.brand img { width: 100%; height: auto; }
.brand__logo--white { display: none; mix-blend-mode: normal !important; }
.header-cta span { white-space: nowrap; }
.main-nav__cta, .main-nav__foot { display: none; }
.menu-button__close { display: none; }
.menu-button[aria-expanded="true"] .menu-button__open { display: none; }
.menu-button[aria-expanded="true"] .menu-button__close { display: block; }

/* percorso (breadcrumb) */
.breadcrumbs { background: #fff; border-bottom: 1px solid var(--line); padding: 12px 5vw; font-size: .75rem; font-weight: 700; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; }
.breadcrumbs li + li:before { content: "/"; margin-right: 10px; color: #b4b7b1; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* home: FAQ */
.faq { background: var(--paper); display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: 7vw; }
.faq-heading h2 { letter-spacing: -.045em; text-transform: uppercase; margin-top: 18px; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(2.125rem, 1.6rem + 2.4vw, 3.875rem); font-weight: 800; line-height: 1.03; }
.faq-heading h2 strong { color: var(--red); display: block; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 0; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: clamp(1rem, .95rem + .3vw, 1.25rem); text-transform: uppercase; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; width: 22px; height: 22px; color: var(--red); transition: transform .25s; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: .9375rem; line-height: 1.75; padding: 0 40px 26px 0; max-width: 760px; }

/* prodotti: indice, collezioni, carosello */
.products-hero__intro { color: #c3c6c1; max-width: 640px; margin-top: 26px; font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); line-height: 1.7; }
.product-collection { scroll-margin-top: 80px; }
.product-collection-image { aspect-ratio: 4 / 3; min-height: 0 !important; }
.product-collection-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.product-collection-links .text-link { margin-top: 28px; }
.hospitality-gallery-heading span { font-size: .75rem; }
.hospitality-gallery-heading strong { font-size: .9375rem; }
.hospitality-gallery-controls button { width: 40px; height: 40px; }
.hospitality-gallery-controls button[disabled] { opacity: .35; cursor: default; background: #fff; color: var(--ink); }
.hospitality-gallery.is-static .hospitality-gallery-controls { visibility: hidden; }
.hospitality-gallery-track:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.hospitality-product > div { aspect-ratio: 3 / 4; }
.hospitality-product img { padding: 8px; }
.hospitality-product > span { font-size: .75rem; letter-spacing: .06em; margin-top: 10px; }
.hospitality-product h3 { font-size: .875rem; margin-top: 4px; }
.hospitality-product__colors { margin-top: 3px; font-size: .75rem; color: var(--muted); }

/* pagina area */
.area-page .product-collection--single { border-bottom: 0; }
.area-page .product-collection-copy h1 { letter-spacing: -.05em; text-transform: uppercase; max-width: 680px; margin-top: 20px; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(2.375rem, 1.95rem + 1.9vw, 3.75rem); font-weight: 800; line-height: 1; }
.area-page .product-collection-copy > p { color: var(--muted); margin-top: 24px; font-size: .9375rem; line-height: 1.75; max-width: 620px; }
.area-catalog { background: var(--paper); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 22px; }
.catalog-item__img { aspect-ratio: 3 / 4; background: #fff; border: 1px solid #e4e5e2; overflow: hidden; }
.catalog-item__img img { object-fit: contain; width: 100%; height: 100%; padding: 12px; transition: transform .35s; }
.catalog-item:hover .catalog-item__img img { transform: scale(1.04); }
.catalog-item > span { display: block; margin-top: 12px; color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.catalog-item h3 { margin-top: 4px; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1rem; text-transform: uppercase; line-height: 1.25; }
.catalog-item__colors { margin-top: 4px; color: var(--muted); font-size: .8125rem; }
.area-text { background: #fff; }
.area-others { background: #fff; border-top: 1px solid var(--line); }
.area-others__title { margin: 16px 0 34px; font-family: "Plus Jakarta Sans", sans-serif; text-transform: uppercase; letter-spacing: -.04em; font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem); }
.collection-grid--small { grid-auto-rows: 300px; }
.collection-grid--small .collection-card, .collection-grid--small .collection-card:first-child, .collection-grid--small .collection-card:nth-child(6) { grid-column: span 4; }

/* pagine con intestazione scura (legali, preventivo, errori) */
.page-hero { color: #fff; background: var(--ink); padding: clamp(64px, 8vw, 96px) 7vw clamp(54px, 6vw, 78px); position: relative; overflow: hidden; }
.page-hero:after { content: ""; border-left: 24px solid var(--red); border-right: 2px solid #ffffff21; opacity: .75; width: 110px; height: 250%; position: absolute; top: -70%; right: 14%; transform: rotate(23deg); }
.page-hero > * { position: relative; z-index: 1; max-width: 900px; }
.page-hero h1 { letter-spacing: -.06em; text-transform: uppercase; margin-top: 22px; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(2.5rem, 1.9rem + 2.8vw, 4.75rem); font-weight: 800; line-height: .98; }
.page-hero h1 strong { color: var(--red); display: block; }
.page-hero p { color: #c3c6c1; margin-top: 24px; max-width: 680px; font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); line-height: 1.7; }
.page-hero .hero-actions { margin-top: 30px; }
.prose { background: #fff; max-width: none; padding-left: max(7vw, calc((100vw - 860px) / 2)); padding-right: max(7vw, calc((100vw - 860px) / 2)); font-size: clamp(.9375rem, .92rem + .15vw, 1.0625rem); line-height: 1.8; color: #3b3e3a; }
.prose h2 { margin: 2.2em 0 .6em; color: var(--ink); font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.75rem); text-transform: uppercase; letter-spacing: -.03em; line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .4em; color: var(--ink); font-size: 1.0625rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose a, .prose .link-btn { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-size: .875em; background: #f1f2ef; padding: 1px 5px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); }
.prose table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .875rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: #f4f4f1; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.prose-title { font-family: "Plus Jakarta Sans", sans-serif; text-transform: uppercase; font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem); margin: 14px 0 10px; }

/* qualità: due loghi affiancati, più piccoli */
.certification { grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr); }
.certification-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; align-items: center; max-width: 440px; }
.certification-logo { padding: 10%; max-width: 210px; width: 100%; }
.certification-logo--wide { aspect-ratio: 1; }
.certification-logo img { mix-blend-mode: multiply; }
.certification-copy h2 { letter-spacing: -.04em; text-transform: uppercase; margin-top: 18px; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.875rem); line-height: 1.05; }
.certification-copy > p { font-size: .9375rem; }
.certification-note { font-size: .875rem; }

/* modulo di richiesta preventivo (popup, pagina prodotti, pagina dedicata) */
.contact-dialog { border: 0; padding: 0; background: transparent; width: min(100% - 24px, 640px); max-width: none; max-height: calc(100dvh - 24px); overflow: visible; }
.contact-dialog::backdrop { background: #141614db; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.contact-dialog .contact-modal { width: 100%; max-height: calc(100dvh - 24px); }
.contact-modal h2 + p { margin-top: 14px; }
.dialog-open, .menu-open { overflow: hidden; }
.quote-form { display: grid; gap: 16px; margin-top: 26px; }
.quote-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: grid; gap: 7px; font-size: .8125rem; font-weight: 700; }
.quote-form label small { font-weight: 500; color: var(--muted); }
.quote-form label b, .quote-form__note b { color: var(--red); }
.quote-form input:not([type=checkbox]), .quote-form select, .quote-form textarea { font-weight: 400; width: 100%; min-height: 48px; padding: 12px 14px; font-size: 1rem; color: var(--ink); background: #f7f7f5; border: 1px solid #b9bcb6; border-radius: 0; }
.quote-form textarea { resize: vertical; min-height: 120px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--red); background: #fff; }
.quote-form [aria-invalid="true"] { border-color: var(--red) !important; box-shadow: 0 0 0 2px #b90e0a33; }
.quote-form__check { grid-template-columns: 22px 1fr; align-items: start; font-weight: 500 !important; line-height: 1.55; }
.quote-form__check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.quote-form__check a { color: var(--red); text-decoration: underline; }
.quote-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form__msg { color: #8f0b08; background: #fdeceb; border-left: 4px solid var(--red); padding: 12px 14px; font-size: .875rem; font-weight: 700; }
.quote-form__note { color: var(--muted); font-size: .75rem; }
.quote-form .button { justify-self: start; }
.quote-form__flash { padding: 12px 14px; font-weight: 700; font-size: .875rem; margin-bottom: 8px; }
.quote-form__flash--error { color: #8f0b08; background: #fdeceb; }
.quote-form__flash--success { color: #1d5b3c; background: #e8f5ee; }
.products-info-form { color: var(--ink); }
.products-info-form .quote-form { margin-top: 0; }
.products-info-form .quote-form label, .products-info-form .quote-form__note { color: var(--ink); }
.products-cta--page { background: var(--red); }
.quote-steps { margin-top: 26px; display: grid; gap: 14px; }
.quote-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; font-size: .9375rem; line-height: 1.6; }
.quote-steps b { font-family: "Plus Jakarta Sans", sans-serif; }
.products-cta a:not(.button) { text-decoration: underline; }
.products-form-success { color: var(--ink); }

/* footer */
.footer-info { grid-column: 1 / -1; border-top: 1px solid #3c3f3b; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; color: #aeb1ac; font-size: .8125rem; line-height: 1.6; }
.footer-info strong { color: #fff; }
.footer-info a:hover, .footer-legal .link-btn:hover { color: #ef615d; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal .link-btn { text-decoration: none; }
.site-footer nav { flex-wrap: wrap; }
.st-mail__at { opacity: .8; }

/* banner cookie */
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: flex-start; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__box { pointer-events: auto; position: relative; width: min(100%, 560px); background: #fff; color: var(--ink); padding: 26px 26px 22px; border-top: 5px solid var(--red); box-shadow: 0 24px 70px #0000004d; }
.consent__x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: #eceeeb; }
.consent__x svg { width: 20px; height: 20px; }
.consent__title { display: flex; align-items: center; gap: 10px; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 1.0625rem; text-transform: uppercase; padding-right: 40px; }
.consent__title svg { width: 22px; height: 22px; color: var(--red); }
.consent__text { margin-top: 10px; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.consent__text a { color: var(--red); text-decoration: underline; }
.consent__prefs { margin-top: 14px; display: grid; gap: 10px; }
.consent__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; background: #f4f4f1; font-size: .875rem; }
.consent__row small { display: block; color: var(--muted); font-size: .8125rem; margin-top: 2px; }
.consent__row input { width: 22px; height: 22px; accent-color: var(--red); flex: none; }
.consent__actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.consent__actions .button { min-height: 46px; padding: 12px 18px; }
.consent__actions [hidden] { display: none; }

/* widget accessibilità */
.a11y-launcher { position: fixed; z-index: 80; left: 16px; bottom: 16px; width: 52px; height: 52px; display: grid; place-items: center; border: 0; color: #fff; background: var(--ink); box-shadow: 0 10px 30px #0000003d; clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%); }
.a11y-launcher:hover { background: var(--red); }
.a11y-launcher svg { width: 28px; height: 28px; }
.a11y-dialog { border: 0; padding: 0; width: min(100% - 24px, 520px); max-height: calc(100dvh - 24px); background: #fff; color: var(--ink); box-shadow: 0 30px 90px #00000059; }
.a11y-dialog::backdrop { background: #141614b3; }
.a11y-dialog__inner { padding: 30px; }
.a11y-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.a11y-dialog__head .modal-close { position: static; }
.a11y-dialog__title { font-family: "Plus Jakarta Sans", sans-serif; text-transform: uppercase; font-size: 1.375rem; letter-spacing: -.02em; }
.a11y-dialog__intro { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.a11y-group { margin-top: 22px; }
.a11y-group__label { display: block; margin-bottom: 10px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.a11y-seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.a11y-seg button { min-height: 46px; border: 0; border-right: 1px solid var(--line); background: #fff; font-size: .875rem; font-weight: 700; }
.a11y-seg button:last-child { border-right: 0; }
.a11y-toggles { display: grid; gap: 8px; }
.a11y-toggle { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 10px 14px; text-align: left; border: 1px solid var(--line); background: #fff; font-size: .9375rem; font-weight: 700; }
.a11y-toggle:after { content: ""; width: 40px; height: 22px; border-radius: 11px; background: #c9ccc6; box-shadow: inset -18px 0 0 2px #c9ccc6, inset 0 0 0 2px #c9ccc6, inset -18px 0 0 11px #fff; transition: all .2s; }
.a11y-seg [aria-pressed="true"] { background: var(--ink); color: #fff; }
.a11y-toggle[aria-pressed="true"] { border-color: var(--ink); }
.a11y-toggle[aria-pressed="true"]:after { background: var(--red); box-shadow: inset 18px 0 0 2px var(--red), inset 0 0 0 2px var(--red), inset 18px 0 0 11px #fff; }
.a11y-dialog__foot { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .875rem; }
.a11y-dialog__foot a { color: var(--red); text-decoration: underline; }

/* preferenze di lettura */
html[data-a11y-font="1"] { font-size: 112.5%; }
html[data-a11y-font="2"] { font-size: 125%; }
html[data-a11y-contrast] { --muted: #3a3c39; --line: #8d918a; }
html[data-a11y-contrast] .hero-content > p, html[data-a11y-contrast] .closing-action p, html[data-a11y-contrast] .page-hero p, html[data-a11y-contrast] .products-hero__intro, html[data-a11y-contrast] .site-footer > p, html[data-a11y-contrast] .footer-info, html[data-a11y-contrast] .hero-proof li { color: #fff !important; }
html[data-a11y-contrast] .collection-shade { background: linear-gradient(#0000004d 10%, #000000f0 100%); }
html[data-a11y-spacing] body { letter-spacing: .03em; word-spacing: .12em; }
html[data-a11y-spacing] p, html[data-a11y-spacing] li { line-height: 2 !important; }
html[data-a11y-readable] body, html[data-a11y-readable] h1, html[data-a11y-readable] h2, html[data-a11y-readable] h3, html[data-a11y-readable] button, html[data-a11y-readable] input { font-family: Verdana, Tahoma, "Segoe UI", sans-serif !important; letter-spacing: 0 !important; }
html[data-a11y-links] a { text-decoration: underline !important; text-underline-offset: 3px; }
html[data-a11y-motion] *, html[data-a11y-motion] *:before, html[data-a11y-motion] *:after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }

/* ---------- tablet ---------- */
@media (max-width: 1050px) {
	.faq { grid-template-columns: 1fr; gap: 34px; }
	.collection-grid--small .collection-card, .collection-grid--small .collection-card:first-child, .collection-grid--small .collection-card:nth-child(6) { grid-column: span 6; }
	.certification { grid-template-columns: 1fr; }
}

/* ---------- smartphone ---------- */
@media (max-width: 760px) {
	.site-header { position: sticky; top: 0; }
	.header-cta span { display: none; }
	.header-cta { font-size: 0; }
	/* menu a schermo intero: dal bordo inferiore della testata (che resta visibile, con la X) fino in fondo */
	.main-nav { position: fixed; top: var(--nav-top, 78px); left: 0; right: 0; bottom: 0; z-index: 1; display: flex !important; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 22px 7vw max(28px, env(safe-area-inset-bottom)); background: linear-gradient(113deg, transparent 74%, #b90e0a40 74%, #b90e0a40 78%, transparent 78%), var(--ink); color: #fff; border: 0; box-shadow: none; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
	.main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
	.main-nav a { padding: 18px 0; border-bottom: 1px solid #ffffff24; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(1.625rem, 7.5vw, 2.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
	.main-nav a:after { display: none; }
	.main-nav a.active { color: #ff6b66; }
	.main-nav__cta { display: flex !important; justify-content: center; align-items: center; margin-top: 30px; padding: 18px !important; color: #fff; background: var(--red); border: 0 !important; font-family: Inter, sans-serif !important; font-size: .9375rem !important; letter-spacing: .06em !important; text-transform: uppercase; }
	.main-nav__foot { display: block; margin-top: auto; padding-top: 30px; color: #c3c6c1; font-size: .875rem; line-height: 1.55; }
	.main-nav__foot a { display: inline; padding: 0; border: 0; font: inherit; letter-spacing: 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
	.nav-status { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 8px 12px; background: #ffffff12; color: #e6e7e4; }
	.nav-status span { width: 9px; height: 9px; border-radius: 50%; background: #e0534f; box-shadow: 0 0 0 4px #e0534f33; }
	.nav-status--open span { background: #3fbf7f; box-shadow: 0 0 0 4px #3fbf7f33; }
	.nav-status strong { color: #fff; }
	.nav-info { margin: 18px 0 0; display: grid; gap: 12px; }
	.nav-info > div { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
	.nav-info dt svg { width: 20px; height: 20px; color: #ff6b66; margin-top: 1px; }
	.nav-info dd { margin: 0; }
	.nav-info__line { display: block; }
	.nav-info__line b { color: #fff; font-weight: 700; }
	/* testata scura e logo bianco con il menu aperto */
	.menu-open .site-header { background: var(--ink); border-color: #ffffff24; box-shadow: none; }
	.menu-open .brand__logo { display: none; }
	.menu-open .brand__logo--white { display: block; }
	.menu-open .menu-button { color: #fff; }
	.menu-open .header-cta { background: var(--red); }
	.site-header, .menu-button { transition: background-color .25s, color .25s, box-shadow .3s, border-color .3s; }
	.menu-open .a11y-launcher, .menu-open .consent { display: none; }
	.topline { font-size: .75rem; padding: 8px 4vw; letter-spacing: .08em; }
	.hero-content { min-height: 0; padding: 56px 6vw 52px; }
	.hero-media { min-height: 420px; }
	.strength p { display: block; }
	.collection-grid { grid-auto-rows: 330px; }
	.collection-grid--small .collection-card, .collection-grid--small .collection-card:first-child, .collection-grid--small .collection-card:nth-child(6) { grid-column: span 12; }
	.collection-grid--small { grid-auto-rows: 260px; }
	.product-collection { scroll-margin-top: 150px; }
	.products-index a { width: auto; min-width: 170px; }
	.product-collection-image { min-height: 0 !important; }
	.quote-form__row { grid-template-columns: 1fr; }
	.quote-form .button { width: 100%; justify-self: stretch; }
	.contact-modal { padding: 44px 20px 24px; }
	.page-hero { padding-left: 6vw; padding-right: 6vw; }
	.page-hero:after, .method-hero:after, .products-hero:after { right: -10%; opacity: .5; }
	.faq-item p { padding-right: 0; }
	.footer-info { flex-direction: column; }
	.consent { left: 0; right: 0; bottom: 0; }
	.consent__box { width: 100%; padding: 22px 18px 18px; max-height: 80dvh; overflow-y: auto; }
	.consent__actions .button { flex: 1 1 calc(50% - 8px); }
	.a11y-launcher { width: 46px; height: 46px; left: 12px; bottom: 12px; }
	.a11y-dialog__inner { padding: 22px 18px; }
	.catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.certification-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 360px; }
}

@media (max-width: 500px) {
	.hero h1 { font-size: clamp(2.375rem, 11vw, 3.25rem); }
	.strength h2 { font-size: .75rem; }
	.hospitality-product { flex-basis: 62%; }
	.manifesto h2 { font-size: clamp(2.125rem, 10vw, 2.9375rem); }
}

@media (prefers-reduced-motion: reduce) {
	.faq-item summary svg, .text-link svg { transition: none; }
}

/* ==========================================================================
   Effetti di movimento (discreti). Attivi solo con html.fx: la classe è messa nel <head>
   se il sistema non chiede movimento ridotto e se "Riduci animazioni" è spento.
   Senza JavaScript (o se site.js non parte entro 3s) tutto resta visibile e fermo.
   ========================================================================== */
:root { --ease-out: cubic-bezier(.2, .75, .25, 1); }

/* testata fissa con ombra quando si scorre */
.site-header { position: sticky; top: 0; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px #0000001a; border-color: transparent; }
.products-index { top: 96px; }

/* comparsa allo scroll */
.fx .reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.fx .reveal.is-in { opacity: 1; transform: none; }
.fx .reveal-fade { transform: none; }

/* linea rossa delle etichette: si "cuce" da sinistra */
.fx .section-label > span { transform: skewX(-24deg) scaleX(0); transform-origin: left center; transition: transform .7s var(--ease-out) .15s; }
.fx .is-in .section-label > span, .fx .section-label.is-in > span, .fx .is-in.section-label > span { transform: skewX(-24deg) scaleX(1); }

/* foto: leggero zoom d'ingresso */
.fx .img-reveal img { transform: scale(1.08); transition: transform 1.4s var(--ease-out), filter .35s; }
.fx .img-reveal.is-in img { transform: scale(1); }
.fx .product-collection:hover .product-collection-image.is-in img { transform: scale(1.045); }

/* foto principale: parallasse lieve (valore da site.js) */
.fx .hero-media img { transform: translate3d(0, var(--parallax, 0px), 0) scale(1.06); will-change: transform; }

/* fascia STILMAR · IDENTITÀ che scorre lentamente */
.manifesto-line__track { display: inline-block; }
.fx .manifesto-line__track { animation: st-marquee 48s linear infinite; }
@keyframes st-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* pulsanti e link: la freccia accompagna il passaggio */
.button svg, .header-cta svg, .product-action svg { transition: transform .25s var(--ease-out); }
.button:hover svg, .header-cta:hover svg, .product-action:hover svg { transform: translateX(4px); }

/* schede capi: sollevamento lieve */
.catalog-item, .hospitality-product { transition: transform .35s var(--ease-out); }
.catalog-item:hover { transform: translateY(-4px); }
.catalog-item:hover .catalog-item__img { box-shadow: 0 16px 34px #0000001a; }
.catalog-item__img { transition: box-shadow .35s; }

/* FAQ: apertura morbida */
.fx .faq-item p { animation: st-fade .45s var(--ease-out); }
@keyframes st-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1050px) { .products-index { top: 96px; } }
@media (max-width: 760px) { .products-index { top: 78px; } }
@media (prefers-reduced-motion: reduce) {
	.fx .reveal, .fx .img-reveal img, .fx .section-label > span { opacity: 1 !important; transform: none !important; transition: none !important; }
	.manifesto-line__track { animation: none !important; }
}

/* SEO: riga con la parola chiave dentro gli H1 (visibile, non nascosta) */
.h1-kicker { display: block; margin-bottom: 16px; font-family: Inter, sans-serif; font-size: clamp(.8125rem, .78rem + .15vw, .9375rem); font-weight: 800; letter-spacing: .12em; line-height: 1.4; color: #c3c6c1; }
.product-collection-copy .h1-kicker, .area-page .h1-kicker { color: var(--red); letter-spacing: .1em; }
.home-intro { background: #fff; border-bottom: 1px solid var(--line); }
.home-intro a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.home-intro strong { color: var(--ink); }
@media (max-width: 760px) { .home-intro { grid-template-columns: 1fr; gap: 30px; padding: 70px 6vw; } }
.area-page .product-collection-copy > p.area-label { margin-top: 14px; color: var(--ink); font-weight: 700; font-size: 1rem; }
.footer-bottom { flex-wrap: wrap; gap: 8px 24px; }
.footer-credit { letter-spacing: .06em; }
.footer-credit a { color: #c3c6c1; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: #ef615d; }
@media (max-width: 500px) { .footer-bottom { flex-direction: column; } .footer-bottom .footer-credit { display: block !important; } }

/* tabelle delle pagine legali: su smartphone diventano schede impilate (niente scorrimento orizzontale) */
@media (max-width: 760px) {
	.table-wrap--stack { overflow: visible; border: 0; }
	.table-wrap--stack table { min-width: 0; }
	.table-wrap--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.table-wrap--stack tr { display: block; margin-bottom: 14px; border: 1px solid var(--line); border-left: 4px solid var(--red); background: #fafaf8; }
	.table-wrap--stack td { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #ebece9; }
	.table-wrap--stack td:last-child { border-bottom: 0; }
	.table-wrap--stack td:before { content: attr(data-label); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
	.table-wrap--stack code { word-break: break-all; }
}


/* tendina del modulo preventivo: stile coerente con gli altri campi */
.quote-form select {
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	cursor: pointer; font-family: Inter, sans-serif; font-size: 1rem; font-weight: 500; line-height: 1.3; color: var(--ink);
	padding-right: 48px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
	background-color: #f7f7f5;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b90e0a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"), linear-gradient(#b9bcb6, #b9bcb6);
	background-repeat: no-repeat, no-repeat;
	background-position: right 16px center, right 44px center;
	background-size: 16px 16px, 1px 55%;
}
.quote-form select:hover { border-color: var(--ink); }
.quote-form select:focus { background-color: #fff; outline: 3px solid #b90e0a40; outline-offset: 0; }
.quote-form select::-ms-expand { display: none; }
.quote-form select option { font-weight: 400; color: var(--ink); background: #fff; }
.quote-form select:invalid, .quote-form select option[value=""] { color: var(--muted); }
.quote-form .quote-form__check, .quote-form .quote-form__check span, .products-info-form .quote-form__check span { text-transform: none; letter-spacing: 0; font-size: .875rem; font-weight: 500; color: var(--ink); }
.products-info-form .quote-form label > span small { text-transform: none; letter-spacing: 0; }

/* ==========================================================================
   Schermi oltre 1440px: colonna dei contenuti che cresce con lo schermo.
   --wrap va da 1440px (schermo 1440) a 1920px (schermo 2560 e oltre), in proporzione:
   circa 1645px su uno schermo da 1920. Sfondi, fasce e foto proseguono fino ai bordi;
   i margini interni sono percentuali di --wrap, così le proporzioni restano quelle del design.
   ========================================================================== */
@media (min-width: 1441px) {
	:root {
		--wrap: clamp(1440px, calc(1440px + (100vw - 1440px) * .4286), 1920px);
		--bleed: calc((100vw - var(--wrap)) / 2);
	}
	.topline, .site-header, .breadcrumbs, .strengths, .section, .product-collections, .site-footer { padding-left: calc(var(--bleed) + var(--wrap) * 0.05); padding-right: calc(var(--bleed) + var(--wrap) * 0.05); }
	.hero-content { padding-left: calc(var(--bleed) + var(--wrap) * 0.08); padding-right: calc(var(--bleed) + var(--wrap) * 0.07); }
	.manifesto { padding-left: calc(var(--bleed) + var(--wrap) * 0.09); padding-right: calc(var(--bleed) + var(--wrap) * 0.09); }
	.closing, .products-cta, .family-story, .evolution, .method-final, .quality-final { padding-left: calc(var(--bleed) + var(--wrap) * 0.08); padding-right: calc(var(--bleed) + var(--wrap) * 0.08); }
	.products-hero, .method-hero, .quality-hero, .page-hero, .method-workflow, .quality-controls { padding-left: calc(var(--bleed) + var(--wrap) * 0.07); padding-right: calc(var(--bleed) + var(--wrap) * 0.07); }
	.certification { padding-left: calc(var(--bleed) + var(--wrap) * 0.1); padding-right: calc(var(--bleed) + var(--wrap) * 0.1); }
	.hero-content { padding-right: calc(var(--wrap) * .07); } /* la foto prosegue fino al bordo destro */
	.embroidery-focus-copy { padding-left: calc(var(--wrap) * .06); padding-right: calc(var(--bleed) + var(--wrap) * 0.08); } /* la foto prosegue fino al bordo sinistro */
	.products-index { padding-left: var(--bleed); padding-right: var(--bleed); }
	.products-index a:first-child { border-left: 1px solid var(--line); }
	.products-index a:last-child { border-right: 1px solid var(--line); }
	.hero { grid-template-columns: calc(var(--bleed) + var(--wrap) * .47) minmax(0, 1fr); }
	.embroidery-focus { grid-template-columns: calc(var(--bleed) + var(--wrap) * .525) minmax(0, 1fr); }
	.hero, .hero-media { min-height: clamp(690px, calc(var(--wrap) * .44), 820px); }
	.collection-grid { grid-auto-rows: clamp(380px, calc(var(--wrap) * .24), 460px); }
}

/* consenso privacy: casella allineata alla prima riga del testo, in tutti i moduli */
.quote-form label.quote-form__check { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 0; padding: 0; line-height: 1.55; }
.quote-form label.quote-form__check input[type=checkbox] { flex: 0 0 20px; width: 20px !important; height: 20px !important; min-height: 0 !important; margin: calc((1.55em - 20px) / 2) 0 0 !important; padding: 0 !important; border: 0; background: none; box-shadow: none; }
.quote-form label.quote-form__check > span { display: block; flex: 1 1 auto; min-width: 0; margin: 0; }

/* pagina dell'area: foto e testo allineati in alto, senza vuoto sopra la foto */
.area-page .product-collection--single { align-items: start; padding-top: clamp(32px, 4vw, 64px); padding-bottom: clamp(48px, 5vw, 80px); min-height: 0; }
.area-page .product-collection--single .product-collection-visual { align-self: start; position: sticky; top: 120px; }
.area-page .product-collection--single .product-collection-copy { padding-top: 0; padding-bottom: 0; }
.area-page .product-collection--single .product-collection-copy h1 { margin-top: 0; }
@media (max-width: 760px) {
	.area-page .product-collection--single .product-collection-visual { position: static; }
	.area-page .product-collection--single .product-collection-copy { padding-top: 32px; }
}

/* galleria "Ricami realizzati" */
.works { background: #fff; }
.works .section-heading h2 strong { color: var(--red); display: block; }
.works-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 19vw, 300px); gap: 14px; }
.works-item--tall { grid-row: span 2; }
.works-item figure { position: relative; height: 100%; margin: 0; overflow: hidden; background: var(--ink); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.works-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out, ease); }
.works-item:hover img { transform: scale(1.05); }
.works-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 18px; color: #fff; background: linear-gradient(#0000, #000000c4); display: grid; gap: 4px; }
.works-item figcaption a { justify-self: start; color: #ffd0ce; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.works-item figcaption a:hover { color: #fff; text-decoration: underline; }
.works-item figcaption strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); text-transform: uppercase; line-height: 1.2; }
.area-page .works { background: var(--paper); }
@media (max-width: 1050px) { .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.works-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; margin-right: -6vw; padding-right: 6vw; }
	.works-grid::-webkit-scrollbar { display: none; }
	.works-item { flex: 0 0 72%; height: 360px; scroll-snap-align: start; }
	.works-item--tall { grid-row: auto; }
}

/* qualità: i due loghi OEKO-TEX alla stessa altezza, Standard 100 in un riquadro più largo */
.certification-logos { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); max-width: 480px; gap: 12px; }
.certification-logos .certification-logo { aspect-ratio: auto; height: clamp(130px, 12vw, 170px); max-width: none; padding: 9%; }
.certification-logos .certification-logo--wide { padding: 6% 7%; }
.certification-logos .certification-logo img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 760px) { .certification-logos { max-width: 100%; } }
.certification-logos .certification-logo { display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 16px; }
.certification-logos .certification-logo--wide { padding: 14px 18px; }
.certification-logos .certification-logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.works-grid { grid-auto-flow: dense; }
.works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(260px, 24vw, 400px); }
@media (max-width: 760px) { .works-item { height: 380px; } }

/* titoli delle collezioni: si adattano alla larghezza della colonna, la parola più lunga (PROFESSIONALE) entra sempre */
.product-collection-copy { container-type: inline-size; min-width: 0; }
.products-page .product-collection .product-collection-copy h1, .products-page .product-collection .product-collection-copy h2 { font-size: min(clamp(2.125rem, 1.6rem + 2.2vw, 3.75rem), 9.6cqi); overflow-wrap: normal; word-break: normal; hyphens: manual; }
.area-catalog .section-heading h2, .works .section-heading h2 { overflow-wrap: break-word; }
.area-page .works-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

/* approfondimento dell'area: titolo a sinistra (fermo durante lo scorrimento), testo a destra, sulla larghezza del contenitore */
.area-text .prose { padding: 0; max-width: none; display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.5fr); column-gap: clamp(40px, 6vw, 120px); align-items: start; font-size: clamp(1rem, .95rem + .2vw, 1.125rem); }
.area-text .prose > * { grid-column: 2; max-width: 780px; }
.area-text .prose > h2:first-child { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: 130px; margin: 0; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1.05; letter-spacing: -.04em; }
.area-text .prose > h3:first-of-type { margin-top: 1.4em; }
.area-text .prose > h2:first-child + p { margin-top: 0; }
@media (max-width: 900px) {
	.area-text .prose { display: block; }
	.area-text .prose > h2:first-child { position: static; margin-bottom: .8em; }
}

/* pagine legali: colonna di lettura centrata (massimo ~880px), anche oltre 1440px */
.legal-page .prose.section { padding-left: max(6vw, calc((100vw - 880px) / 2)); padding-right: max(6vw, calc((100vw - 880px) / 2)); }
.area-text .prose { font-size: clamp(1rem, .9rem + .35vw, 1.25rem); line-height: 1.75; }
.area-text .prose > * { max-width: 900px; }
.area-text .prose h3 { font-size: 1.15em; }

/* galleria nelle pagine area: 5 esempi = prima foto alta il doppio + 4, griglia 3x2 piena */
.area-page .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 20vw, 340px); }
.area-page .works-item:first-child { grid-row: span 2; }
@media (max-width: 760px) { .area-page .works-item:first-child { grid-row: auto; } }

/* galleria nelle pagine area con 10 esempi: 4 colonne, prima e sesta foto alte il doppio = 3 righe piene; 3 colonne sotto 1050px = 4 righe piene */
.area-page .works-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 16vw, 300px); grid-auto-flow: dense; }
.area-page .works-item:first-child, .area-page .works-item:nth-child(6) { grid-row: span 2; }
@media (max-width: 1050px) { .area-page .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .area-page .works-item:first-child, .area-page .works-item:nth-child(6) { grid-row: auto; } }

/* footer: logo bianco su fondo trasparente, senza riquadro */
.footer-brand { background: none; padding: 0; width: 200px; }
.footer-brand img { mix-blend-mode: normal; }

/* catalogo grande: carosello con "Vedi tutti", gruppi per tipo di capo con scorciatoie */
.hospitality-product--more a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; aspect-ratio: 3 / 4; padding: 18px; color: #fff; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.hospitality-product--more strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1; }
.hospitality-product--more span { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hospitality-product--more em { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-size: .8125rem; font-weight: 800; text-transform: uppercase; }
.hospitality-product--more svg { width: 18px; height: 18px; }
.hospitality-product--more a:hover { background: var(--red-dark); }
.catalog-tools { display: grid; gap: 16px; margin: 0 0 28px; }
.catalog-search { position: relative; display: block; max-width: 520px; }
.catalog-search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted, #6b6b6b); pointer-events: none; }
.catalog-search input { width: 100%; min-height: 50px; padding: 12px 16px 12px 48px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 0; -webkit-appearance: none; appearance: none; }
.catalog-search input:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.catalog-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-filter button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; font: inherit; font-size: .8125rem; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid var(--line); cursor: pointer; }
.catalog-filter button span { color: var(--red); font-weight: 800; }
.catalog-filter button:hover { border-color: var(--red); color: var(--red); }
.catalog-filter button[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.catalog-filter button[aria-pressed="true"] span { color: #fff; }
.catalog-count { margin: 0; font-size: .875rem; font-weight: 700; color: var(--muted, #6b6b6b); }
.catalog-item[hidden] { display: none !important; }
.catalog-empty { margin: 10px 0 0; padding: 26px; background: #fff; border: 1px dashed var(--line); }
.catalog-empty a { color: var(--red); font-weight: 700; text-decoration: underline; }
.catalog-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; }
.catalog-pager button { min-width: 44px; min-height: 44px; padding: 0 12px; font: inherit; font-size: .875rem; font-weight: 800; color: var(--ink); background: #fff; border: 1px solid var(--line); cursor: pointer; }
.catalog-pager button:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.catalog-pager button[aria-current="page"] { color: #fff; background: var(--red); border-color: var(--red); }
.catalog-pager button:disabled { opacity: .35; cursor: default; }
.catalog-pager .catalog-pager__gap { align-self: center; padding: 0 4px; }
.area-catalog { scroll-margin-top: 90px; }
@media (max-width: 760px) { .catalog-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -6vw; padding-right: 6vw; } .catalog-filter::-webkit-scrollbar { display: none; } .catalog-filter button { flex: none; } }

/* scheda del capo in finestra modale: colori disponibili con la foto di ogni colore */
.has-sheet { position: relative; }
.product-open { position: absolute; inset: 0; z-index: 2; width: 100%; padding: 0; background: transparent; border: 0; cursor: pointer; }
.product-open:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.product-open-hint { display: inline-flex; align-items: center; gap: 6px; color: var(--red) !important; font-weight: 700; }
.product-open-hint svg { width: 16px; height: 16px; flex: none; }
.has-sheet:hover .product-open-hint { text-decoration: underline; text-underline-offset: 3px; }
.product-dialog { border: 0; padding: 0; width: min(100% - 24px, 980px); max-width: none; max-height: calc(100dvh - 24px); background: #fff; color: var(--ink); box-shadow: 0 30px 90px #00000059; overflow: auto; overscroll-behavior: contain; }
.product-dialog::backdrop { background: #141614db; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.product-dialog__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.product-dialog__close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: #fff; border: 1px solid var(--line); cursor: pointer; }
.product-dialog__close svg { width: 20px; height: 20px; }
.product-dialog__close:hover { color: #fff; background: var(--red); border-color: var(--red); }
.product-dialog__media { position: relative; margin: 0; background: #fff; aspect-ratio: 3 / 4; border-right: 1px solid var(--line); overflow: hidden; }
.product-dialog__media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 16px; object-fit: contain; transition: opacity .25s ease; }
.product-dialog__media img.is-loading { opacity: .35; }
.product-dialog__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(22px, 3vw, 40px); padding-top: clamp(56px, 6vw, 64px); }
.product-dialog__cat { color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-dialog__body h2 { margin: -6px 0 0; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
.product-dialog__ex { margin: 0; color: var(--muted, #5f5f5f); font-size: .9375rem; line-height: 1.6; }
.product-dialog__color { margin: 6px 0 0; font-size: .875rem; color: var(--muted, #5f5f5f); }
.product-dialog__color strong { color: var(--ink); }
.product-dialog__swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.product-dialog__swatches button { position: relative; width: 40px; height: 40px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.product-dialog__swatches button span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px #0000001f; }
.product-dialog__swatches button:hover { border-color: var(--ink); }
.product-dialog__swatches button[aria-pressed="true"] { border: 2px solid var(--red); padding: 3px; }
.product-dialog__swatches button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.product-dialog__body .button { margin-top: 10px; }
.product-dialog__note { margin: 0; font-size: .8125rem; color: var(--muted, #5f5f5f); line-height: 1.5; }
@media (max-width: 760px) {
	.product-dialog { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; }
	.product-dialog__inner { grid-template-columns: 1fr; }
	.product-dialog__media { aspect-ratio: auto; height: min(44vh, 380px); border-right: 0; border-bottom: 1px solid var(--line); }
	.product-dialog__media img { padding: 14px 56px 10px; }
	.product-dialog__ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.product-dialog__body { padding: 20px 18px 28px; }
	.product-dialog__body .button { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .product-dialog__media img { transition: none; } }

/* verifica anti-spam Cloudflare Turnstile nel modulo di preventivo */
.quote-form__captcha { min-height: 65px; } /* spazio riservato al widget: niente salto di layout quando compare */

/* «Come lavoriamo»: la macchina ricama il marchio STILMAR sul telaio della foto.
   L'SVG usa le coordinate della foto (1024×1536) e lo stesso ritaglio «cover» (slice) dell'immagine: combacia a ogni larghezza.
   Senza animazione (o con «riduci movimento») il marchio è già ricamato. */
.stitch-art { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.stitch-stage img { object-position: 50% 50%; }
.stitch-stage .st-sweep { transform-box: fill-box; transform-origin: 0 50%; }
.stitch-stage .st-draw, .stitch-stage .st-ring { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.stitch-stage.is-stitching .st-mark { animation: st-fade 13s linear infinite; }
.stitch-stage.is-stitching .st-draw--red { animation: st-draw-red 13s linear infinite; }
.stitch-stage.is-stitching .st-sweep--red { animation: st-fill-red 13s cubic-bezier(.45, .05, .55, .95) infinite; }
.stitch-stage.is-stitching .st-draw--grey { animation: st-draw-grey 13s linear infinite; }
.stitch-stage.is-stitching .st-sweep--grey { animation: st-fill-grey 13s cubic-bezier(.45, .05, .55, .95) infinite; }
.stitch-stage.is-stitching .st-ring { animation: st-ring 13s linear infinite; }
.stitch-stage.is-paused * { animation-play-state: paused !important; }
@keyframes st-fade { 0%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes st-draw-red { 0% { stroke-dashoffset: 1; } 14%, 100% { stroke-dashoffset: 0; } }
@keyframes st-fill-red { 0%, 14% { transform: scaleX(0); } 32%, 100% { transform: scaleX(1); } }
@keyframes st-draw-grey { 0%, 32% { stroke-dashoffset: 1; } 42%, 100% { stroke-dashoffset: 0; } }
@keyframes st-fill-grey { 0%, 42% { transform: scaleX(0); } 56%, 100% { transform: scaleX(1); } }
@keyframes st-ring { 0%, 56% { stroke-dashoffset: 1; } 74%, 100% { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .stitch-stage.is-stitching * { animation: none !important; } }
[data-a11y-motion] .stitch-stage.is-stitching * { animation: none !important; }

/* home: 2 esempi per settore (12 foto) — 4 colonne × 3 righe, 2 × 6 sotto i 900px (una riga per settore), carosello su mobile */
.works--home .works-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 21vw, 320px); }
@media (max-width: 1050px) { .works--home .works-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .works--home .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 42vw, 340px); } }
@media (max-width: 760px) { .works--home .works-grid { display: flex; } }

/* Guide (pillar page): indice per argomento e pagina di lettura con indice laterale */
.guides-topic { background: var(--paper); }
.guides-topic + .guides-topic { padding-top: 0; }
.guides-topic__title { margin: 14px 0 30px; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); text-transform: uppercase; letter-spacing: -.04em; line-height: 1.05; }
.guides-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.guide-card a { display: flex; flex-direction: column; height: 100%; background: #fff; color: var(--ink); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); transition: transform .35s var(--ease-out, ease), box-shadow .35s; }
.guide-card a:hover { transform: translateY(-4px); box-shadow: 0 16px 34px #0000001a; }
.guide-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink); }
.guide-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out, ease); }
.guide-card a:hover .guide-card__img img { transform: scale(1.05); }
.guide-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 26px; flex: 1; }
.guide-card h3 { font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); text-transform: uppercase; letter-spacing: -.02em; line-height: 1.15; }
.guide-card p { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.guide-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.guide-card__more svg { width: 18px; height: 18px; }
.guides-related { background: #fff; border-top: 1px solid var(--line); }
.guides-related__all { margin-top: 26px; }
.guide-hero__meta { font-size: .8125rem !important; color: #a9aca7 !important; }
.guide-cover { margin: 0; background: var(--ink); }
.guide-cover img { width: 100%; height: clamp(220px, 34vw, 520px); object-fit: cover; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; background: #fff; }
.guide-layout .prose { padding-left: 0; padding-right: 0; background: none; max-width: 760px; }
.guide-toc { align-self: start; }
.guide-toc__title { margin: 0 0 12px; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.guide-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.guide-toc li { counter-increment: toc; }
.guide-toc a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); font-size: .875rem; line-height: 1.35; }
.guide-toc a::before { content: counter(toc, decimal-leading-zero) "  "; color: var(--red); font-weight: 800; }
.guide-toc a:hover { border-left-color: var(--red); color: var(--red); }
.guide-toc .guide-toc__cta { margin: 22px 0 0; border-left: 0; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; color: #fff; background: var(--red); font-size: .8125rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.guide-toc .guide-toc__cta svg { width: 18px; height: 18px; }
.guide-toc .guide-toc__cta:hover { background: var(--red-dark); color: #fff; }
.guide-toc .guide-toc__cta::before { content: none; }
.guide-body h2 { scroll-margin-top: 110px; }
.guide-body table { min-width: 0; }
.guide-body blockquote { margin: 1.4em 0; padding: 18px 22px; background: #f4f4f1; border-left: 4px solid var(--red); color: var(--ink); }
.guide-faq { margin-top: 10px; }
@media (min-width: 1000px) {
	.guide-layout { grid-template-columns: 260px minmax(0, 760px); justify-content: center; gap: 64px; }
	.guide-toc { position: sticky; top: 110px; }
}
@media (max-width: 999px) {
	.guide-toc { padding: 18px 20px; background: #f4f4f1; }
	.guide-toc .guide-toc__cta { display: none; }
}
.guide-hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 4rem); overflow-wrap: break-word; hyphens: auto; } /* titoli lunghi delle guide (es. «personalizzato») senza sforare su mobile */
