/* Editorial treatment for the MG728 product page only. The hero, site header,
 shared product navigation and reference pages have their own styles. */
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > :is(section:not(.mill-hero), .source-jump) {
  --mill-ink: #030552;
  --mill-text: #34445b;
  --mill-muted: #56647a;
  --mill-blue: #0863a2;
  --mill-signal: #14a1ff;
  --mill-wash: #e6f5ff;
  --mill-mist: #f6f9fc;
  --mill-line: #cfdeea;
  --mill-gutter: clamp(1rem, 4vw, 3.5rem);
  --mill-shell: 76rem;
  --mill-family: Inter, "Helvetica Neue", Arial, sans-serif;
  --mill-section-type: clamp(1.25rem, 1.02rem + .82vw, 1.6875rem);
  --mill-heading-leading: 1.25;
  --mill-small-heading: 1rem;
  --mill-heading-weight: 650;
  --mill-small-leading: 1.4;
  --mill-copy: 1rem;
  --mill-copy-leading: 1.5;
  --mill-table-type: .9375rem;
  --mill-label-type: .8125rem;
  /* Adjacent sections each contribute one side of the vertical gap. */
  --mill-section-space: clamp(1.35rem, 2.45vw, 2.5rem);
  --mill-card-gap: clamp(.625rem, 1vw, .875rem);
  --design-red: var(--mill-blue);
  --design-ink: var(--mill-ink);
  --design-muted: var(--mill-text);
  --design-line: var(--mill-line);
  --red: var(--mill-blue);
  --green: var(--mill-blue);
  --fabric-section: #fff;
  --fabric-x: none;
  --fabric-y: none;
  --fabric-diagonal: none;
  color: var(--mill-text);
  text-align: start;
  user-select: text;
  -webkit-user-select: text;
}

:where(.mg728-source[data-theme="mill-motion"]) #mg728 > section:not(.mill-hero) .section-shell {
  inline-size: min(var(--mill-shell), calc(100% - 2 * var(--mill-gutter)));
  max-inline-size: var(--mill-shell);
  margin-inline: auto;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > :is(.gauze-applications, .factory-gallery-section, .spec-band, .workshop-section, .proof-band, .faq-section) {
  padding-block: var(--mill-section-space);
  border: 0;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > .feature-section {
  inline-size: 100%;
  max-inline-size: none;
  padding-block: var(--mill-section-space);
  padding-inline: max(var(--mill-gutter), calc((100% - var(--mill-shell)) / 2));
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > :is(.feature-section, .factory-gallery-section, .workshop-section, .faq-section) {
  background: #fafafa;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > :is(.gauze-applications, .spec-band) {
  background: var(--mill-wash);
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > .intro-band {
  background: white;
  border: 0;
  border-block-end: 1px solid var(--mill-line);
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > .intro-band .intro-grid {
  align-items: center;
  padding-block: clamp(1.1rem, 2vw, 1.875rem);
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > .intro-band .intro-stack p {
  color: var(--mill-text);
}

:where(.mg728-source[data-theme="mill-motion"]) #mg728 > section:not(.mill-hero) :is(.section-heading, .intro-grid, .gauze-application-copy, .spec-copy, .proof-layout) h2 {
  color: var(--mill-ink);
  text-wrap: balance;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > section:not(.mill-hero) .section-kicker {
  color: var(--mill-blue);
  letter-spacing: .055em;
  margin-block: 0 .4rem;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > section:not(.mill-hero) .section-heading {
  margin-block-end: clamp(.65rem, 1.4vw, 1.15rem);
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > section:not(.mill-hero) :is(.section-heading, .spec-copy) > p:not(.section-kicker) {
  max-inline-size: 70ch;
  color: var(--mill-text);
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > section:not(.mill-hero) :is(.section-heading, .intro-grid) h2:last-child { margin-block-end: 0; }

:where(.mg728-source[data-theme="mill-motion"]) #mg728 #advantages .benefits-title {
  flex-wrap: wrap;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #advantages .benefit-item + .benefit-item::before { color: var(--mill-signal); }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #advantages .feature-grid { gap: var(--mill-card-gap); }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #advantages .feature-card {
  gap: .4rem .8rem;
  grid-template-columns: min-content minmax(0, 1fr);
  min-height: 0;
  border: 1px solid var(--mill-line);
  border-radius: .625rem;
  background: #fff;
  padding: clamp(.8rem, 1.2vw, 1.1rem);
  box-shadow: none;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #advantages .feature-card::after { content: none; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #advantages .feature-number {
  grid-area: 1 / 1;
  inline-size: auto;
  block-size: auto;
  color: var(--mill-blue);
  font-size: .86rem;
  line-height: 1.7;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #advantages .feature-card h3 { grid-area: 1 / 2; margin: 0; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #advantages .feature-card p { grid-area: 2 / 2; margin: 0; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 :is(.feature-card, .gallery-card, .video-card, .workshop-card, .application-list, .faq-project) h3 {
  color: var(--mill-ink);
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 :is(.feature-card, .gallery-card, .video-card, .workshop-card, .application-list, .faq-project) p {
  color: var(--mill-text);
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #applications .gauze-application-layout { align-items: center; gap: clamp(.8rem, 2.8vw, 2.75rem); }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #applications .gauze-application-image {
  border: 0;
  border-radius: .7rem;
  overflow: hidden;
  box-shadow: none;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #applications .application-list article {
  padding-block-start: .625rem;
  border-color: #b8cfdf;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 :is(.factory-gallery-section, .workshop-section) :is(.gallery-card, .video-card, .workshop-card) {
  background: white;
  border: 1px solid var(--mill-line);
  border-radius: .7rem;
  box-shadow: none;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 :is(.gallery-card, .video-card, .workshop-card) > div {
  padding: clamp(.75rem, 1.1vw, 1rem);
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 :is(.gauze-featured-gallery, .factory-video-grid, .gauze-workshop-featured, .spec-parameter-groups, .support-points) { gap: var(--mill-card-gap); }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 .weaving-sequence { border-color: var(--mill-line); padding-block: .5rem; margin-block-end: .75rem; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 .weaving-sequence li { color: var(--mill-ink); font-weight: 550; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 .weaving-sequence li span { color: var(--mill-blue); }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 .factory-video-panel { padding-block-start: clamp(.85rem, 1.65vw, 1.5rem); margin-block-start: clamp(.85rem, 1.65vw, 1.5rem); }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 .portrait-video-trigger {
  background: var(--mill-ink);
  color: white;
  border-color: var(--mill-ink);
  box-shadow: none;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 .portrait-video-trigger:is(:hover, :focus-visible) { background: #12368c; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 .source-video-link { color: var(--mill-blue); margin-inline: clamp(.85rem, 1.35vw, 1.25rem); }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #specs .spec-table { background: white; border-color: #bfd7e8; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #specs .spec-group th { background: var(--mill-ink); color: white; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #specs .spec-table tr:not(.spec-group) > * { border-color: var(--mill-line); padding-block: clamp(.375rem, .55vw, .5rem); }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #specs .spec-table th[scope="row"] { background: var(--mill-mist); color: var(--mill-ink); }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #specs .spec-table td { color: var(--mill-text); background: white; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #specs .spec-table.is-spec-selected { border-color: var(--mill-blue); }

:where(.mg728-source[data-theme="mill-motion"]) #mg728 > #support {
  background: var(--mill-ink);
  color: white;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #support h2, :where(.mg728-source[data-theme="mill-motion"]) #mg728 #support h3 { color: #fff; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #support .section-kicker { color: #8ad8ff; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #support .support-stack p { color: #e3edff; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #support .support-points article {
  padding-block: clamp(.625rem, 1vw, .9rem);
  background: rgba(255, 255, 255, .055);
  border: 1px solid #455480;
  border-radius: .6rem;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #support .support-project-link {
  min-block-size: 2.75rem;
  margin-block-start: .85rem;
  padding-inline: 1.15rem;
  color: var(--mill-ink);
  background: #fff;
  border: 1px solid #fff;
  border-radius: .45rem;
  box-shadow: none;
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #support .support-project-link:is(:hover, :focus-visible) {
  color: var(--mill-ink);
  background: var(--mill-wash);
  border-color: var(--mill-signal);
}
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #support .support-project-link:focus-visible { outline: 2px solid var(--mill-signal); }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #faq .faq-item { border-color: var(--mill-line); padding-block: 0; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #faq .faq-selection-trigger { color: var(--mill-ink); }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #faq .faq-item.is-faq-selected { border-color: var(--mill-blue); }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 #faq .faq-item p, :where(.mg728-source[data-theme="mill-motion"]) #mg728 #faq .faq-project-checklist { color: var(--mill-text); }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > .source-jump { margin-block: .4rem; padding-block: .35rem .65rem; }
:where(.mg728-source[data-theme="mill-motion"]) #mg728 > .source-jump a { color: var(--mill-blue); }

@media (max-width: 640px) {
  :where(.mg728-source[data-theme="mill-motion"]) #mg728 > section:not(.mill-hero) { --mill-section-space: 1.125rem; --mill-card-gap: .5rem; }
  :where(.mg728-source[data-theme="mill-motion"]) #mg728 > .intro-band .intro-grid { padding-block: 1rem; gap: .4rem; }
  :where(.mg728-source[data-theme="mill-motion"]) #mg728 > section:not(.mill-hero) .section-kicker { margin-block-end: .4rem; }
  :where(.mg728-source[data-theme="mill-motion"]) #mg728 #advantages .feature-card { padding: .7rem .875rem; }
  :where(.mg728-source[data-theme="mill-motion"]) #mg728 #advantages .feature-grid { gap: .5rem; }
  :where(.mg728-source[data-theme="mill-motion"]) #mg728 #applications .gauze-application-layout { gap: .75rem; }
  /* The mobile accordion trigger already provides a full 44px touch target. */
  :where(.mg728-source[data-theme="mill-motion"]) #mg728 #faq .faq-item { padding-block: 0; }
  :where(.mg728-source[data-theme="mill-motion"]) #mg728 .weaving-sequence { column-gap: 1rem; row-gap: .28rem; }
  :where(.mg728-source[data-theme="mill-motion"]) #mg728 .factory-video-panel { margin-block-start: .875rem; padding-block-start: .875rem; }
}

/* A single type scale for the product information. The masthead, site navigation
   and film captions retain their own appearance. These rules follow the original
   component styles so the imported templates cannot assign a second type scale. */
.mg728-source[data-theme="mill-motion"] #mg728 > :is(section:not(.mill-hero), .source-jump) {
  font-family: var(--mill-family);
}
.mg728-source[data-theme="mill-motion"] #mg728 > section:not(.mill-hero) h2 {
  font: var(--mill-heading-weight) var(--mill-section-type)/var(--mill-heading-leading) var(--mill-family);
  letter-spacing: -.023em;
}
.mg728-source[data-theme="mill-motion"] #mg728 #advantages .benefits-title {
  white-space: normal;
  text-wrap: wrap;
}
.mg728-source[data-theme="mill-motion"] #mg728 #advantages .benefits-title span {
  font: inherit;
  letter-spacing: inherit;
  max-inline-size: 100%;
  white-space: normal;
}
#af-main.mg728-source[data-theme="mill-motion"] #mg728 > section:not(.mill-hero) :is(h3, .faq-selection-trigger) {
  font: var(--mill-heading-weight) var(--mill-small-heading)/var(--mill-small-leading) var(--mill-family);
  letter-spacing: -.008em;
}
.mg728-source[data-theme="mill-motion"] #mg728 #faq .faq-item h3 { margin: 0; }
.mg728-source[data-theme="mill-motion"] #mg728 #faq .faq-selection-trigger {
  min-block-size: 2.75rem;
  padding-block: .55rem;
}
.mg728-source[data-theme="mill-motion"] #mg728 #faq .faq-item.is-faq-selected .faq-answer { padding-block-end: .75rem; }
#af-main.mg728-source[data-theme="mill-motion"] #mg728 > section:not(.mill-hero) :is(p:not(.section-kicker), .faq-project-checklist, .faq-project-checklist li) {
  font: 400 var(--mill-copy)/var(--mill-copy-leading) var(--mill-family);
  letter-spacing: normal;
}
.mg728-source[data-theme="mill-motion"] #mg728 > section:not(.mill-hero) .section-kicker {
  font: var(--mill-heading-weight) var(--mill-label-type)/1.35 var(--mill-family);
}
.mg728-source[data-theme="mill-motion"] #mg728 #specs .spec-table :is(th, td) {
  font: 400 var(--mill-table-type)/1.45 var(--mill-family);
  letter-spacing: normal;
}
.mg728-source[data-theme="mill-motion"] #mg728 #specs .spec-table th { font-weight: var(--mill-heading-weight); }
.mg728-source[data-theme="mill-motion"] #mg728 #specs .spec-table .spec-group th {
  font-size: var(--mill-label-type);
  line-height: 1.35;
  letter-spacing: .045em;
}
.mg728-source[data-theme="mill-motion"] #mg728 > .source-jump a,
.mg728-source[data-theme="mill-motion"] #mg728 #support .support-project-link {
  font: 600 var(--mill-table-type)/1.4 var(--mill-family);
}
.mg728-source[data-theme="mill-motion"][dir="rtl"] #mg728 > section:not(.mill-hero) {
  --mill-heading-leading: 1.4;
  --mill-small-leading: 1.5;
  --mill-copy-leading: 1.6;
}
#af-main.mg728-source[data-theme="mill-motion"][dir="rtl"] #mg728 > section:not(.mill-hero) :is(h2,h3,.faq-selection-trigger,.section-kicker) {
  letter-spacing: normal;
}

/* Reuse the product's section, type and card tokens. Keep both 16:9 frames uncropped. */
#mg728 > #factory-videos .factory-video-grid {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;
  gap:var(--mill-card-gap);
}
#mg728 > #factory-videos .video-card { min-inline-size:0;margin:0; }
#mg728 > #factory-videos .video-card video {
  inline-size:100%;block-size:auto;aspect-ratio:16/9;object-fit:contain;
  display:block;background:#10283c;
}
#mg728 > #factory-videos .video-card video:focus-visible {
  outline:3px solid var(--mill-signal);outline-offset:-3px;
}
@media(max-width:760px) {
  #mg728 > #factory-videos .factory-video-grid { grid-template-columns:minmax(0,1fr); }
}

/* The six weaving-floor images use the same section width and type as the videos. */
#mg728 > #factory-photos .mg728-photo-grid {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch;
  gap:var(--mill-card-gap);
}
#mg728 > #factory-photos .gallery-card {
  margin:0; padding:0; min-inline-size:0; overflow:hidden;
}
#mg728 > #factory-photos .gallery-card img {
  display:block; inline-size:100%; block-size:auto; aspect-ratio:1800/1013;
  object-fit:contain; background:var(--mill-mist);
}
#mg728 > #factory-photos figcaption {
  padding:clamp(.7rem,1.1vw,1rem); text-align:start;
}
#mg728 > #factory-photos figcaption h3 {margin:0;}
#mg728 > #factory-photos figcaption p {margin:.25rem 0 0;}
@media (max-width:1023px) {
  #mg728 > #factory-photos .mg728-photo-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:640px) {
  #mg728 > #factory-photos .mg728-photo-grid {grid-template-columns:minmax(0,1fr);}
}
