/* Product editorial. Everything is scoped to the replaced section. */
#sl-quality {
  --slq-paper: #f7f5f1;
  --slq-ink: #25231f;
  --slq-muted: #625e57;
  --slq-gold: #856326;
  --slq-line: #d9d0c0;
  --slq-ease: cubic-bezier(.22, 1, .36, 1);
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
  background: var(--slq-paper);
  color: var(--slq-ink);
  font: 400 16px/1.6 Inter, sans-serif;
  letter-spacing: normal;
  padding: clamp(88px, 8vw, 136px) var(--sl-gutter, 5.55vw) 80px !important;
  overflow: clip;
  border-block: 1px solid var(--slq-line);
}
#sl-quality *, #sl-quality *::before, #sl-quality *::after { box-sizing: border-box; }
#sl-quality .slq-inner { max-width: 1440px; margin-inline: auto; }
#sl-quality .slq-intro { max-width: 850px; margin-bottom: clamp(64px, 7vw, 112px); }
#sl-quality .slq-title {
  margin: 0;
  font: 400 clamp(42px, 5.1vw, 78px)/1.06 "Inter Display", Inter, sans-serif;
  letter-spacing: -.055em;
  text-wrap: balance;
}
#sl-quality .slq-title span { color: var(--slq-gold); }
#sl-quality .slq-lede { max-width: 550px; margin: 30px 0 0; font-size: 19px; line-height: 1.6; font-weight: 300; color: var(--slq-muted); }
#sl-quality .slq-chapter { min-width: 0; }
#sl-quality .slq-copy { position: relative; padding: 40px 0; }
#sl-quality .slq-number { margin: 0 0 25px; color: var(--slq-gold); font: 400 14px/1.2 "Fragment Mono", monospace; letter-spacing: .12em; }
#sl-quality .slq-heading { margin: 0 0 24px; max-width: 440px; font: 400 clamp(30px, 2.75vw, 42px)/1.13 "Inter Display", Inter, sans-serif; letter-spacing: -.035em; text-wrap: balance; }
#sl-quality .slq-description { max-width: 435px; margin: 0; color: var(--slq-muted); font-size: 18px; line-height: 1.7; font-weight: 300; white-space: pre-line; }
#sl-quality .slq-divider { display: block; width: 100%; max-width: 435px; height: 1px; margin-top: 36px; background: var(--slq-line); transform-origin: left; }
#sl-quality .slq-scene { min-width: 0; width: 100%; position: relative; margin: 4px 0 64px; }
#sl-quality .slq-folio { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--slq-line); padding-top: 16px; margin-bottom: 18px; font: 400 12px/1.5 "Fragment Mono", monospace; text-transform: uppercase; letter-spacing: .1em; color: var(--slq-gold); }
#sl-quality .slq-folio-total { color: var(--slq-muted); padding-left: 8px; }
#sl-quality .slq-composition { position: relative; height: min(66vw, 610px); isolation: isolate; }
#sl-quality .slq-watermark { position: absolute; right: 0; bottom: 2%; z-index: -1; font: 400 clamp(130px, 17vw, 270px)/1 "Inter Display", Inter, sans-serif; color: var(--slq-gold); opacity: .085; letter-spacing: -.08em; }
#sl-quality .slq-photo { position: absolute; margin: 0; overflow: hidden; border-radius: 3px; background: #e7e0d5; }
#sl-quality .slq-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
#sl-quality .slq-photo--main { top: 0; left: 7%; width: 72%; height: 92%; z-index: 1; transform: translateY(var(--slq-parallax, 0px)); }
#sl-quality .slq-photo--main img { object-position: center 47%; }
#sl-quality .slq-photo--detail { width: 32%; height: 35%; right: 0; bottom: 0; z-index: 2; border: 5px solid var(--slq-paper); transform: translateY(calc(var(--slq-parallax, 0px) * -.7)); }
#sl-quality .slq-image-note { position: absolute; left: 0; top: 5%; writing-mode: vertical-rl; transform: rotate(180deg); font: 400 12px/1 "Fragment Mono", monospace; text-transform: uppercase; letter-spacing: .09em; color: var(--slq-muted); }
#sl-quality .slq-index { display: flex; justify-content: flex-start; gap: 24px; margin: 24px 0 0 7%; font: 400 12px/1 "Fragment Mono", monospace; color: var(--slq-muted); }
#sl-quality .slq-index span { padding-top: 10px; position: relative; }
#sl-quality .slq-index span::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: var(--slq-line); }
#sl-quality .slq-index .is-current { color: var(--slq-gold); }
#sl-quality .slq-index .is-current::before { background: var(--slq-gold); }
/* Chapter two: the same actual product, viewed as a material study. */
#sl-quality .slq-scene--2 .slq-photo--main { left: 14%; width: 78%; height: 82%; top: 5%; }
#sl-quality .slq-scene--2 .slq-photo--main img { transform: scale(2.2); transform-origin: 42% 32%; }
#sl-quality .slq-scene--2 .slq-photo--detail { right: auto; left: 2%; width: 34%; height: 43%; bottom: 0; }
#sl-quality .slq-scene--2 .slq-photo--detail img { object-fit: cover; }
/* Chapter three: control, curve and the junction of the two finishes. */
#sl-quality .slq-scene--3 .slq-photo--main { left: 19%; width: 74%; height: 87%; top: 4%; }
#sl-quality .slq-scene--3 .slq-photo--main img { object-position: center 45%; }
#sl-quality .slq-scene--3 .slq-photo--detail { left: 0; right: auto; width: 42%; height: 34%; bottom: 0; }
#sl-quality .slq-scene--3 .slq-photo--detail img { transform: scale(2.35); transform-origin: 64% 31%; }
/* A darker final spread, with the existing storage case as the focal inset. */
#sl-quality .slq-scene--4 .slq-photo--main { left: 7%; width: 73%; height: 90%; background: #171717; }
#sl-quality .slq-scene--4 .slq-photo--detail { right: 0; width: 60%; height: 42%; bottom: 9%; background: #171717; }
#sl-quality .slq-scene--4 .slq-photo--detail img { object-fit: cover; transform: scale(1.08); }
#sl-quality .slq-footer { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--slq-line); }
#sl-quality .slq-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 48px; color: var(--slq-ink); font: 400 17px/1.4 Inter, sans-serif; text-decoration: none; }
#sl-quality .slq-link svg { flex: none; transition: transform 700ms var(--slq-ease); }
#sl-quality .slq-link:hover { text-decoration: underline; text-underline-offset: 6px; }
#sl-quality .slq-link:hover svg { transform: translateX(5px); }
@media (min-width: 1400px) {
  #sl-quality { order: 12; }
}
/* One semantic article per chapter. Its image follows its copy on mobile;
   enhanced desktop shares one sticky grid cell across the four scenes. */
@media (min-width: 1080px) and (min-height: 650px) {
  #sl-quality.slq-enhanced .slq-body { display: grid; grid-template-columns: 45fr 55fr; column-gap: clamp(48px, 6vw, 104px); grid-template-rows: repeat(4, auto); align-items: start; }
  #sl-quality.slq-enhanced .slq-chapter { display: contents; }
  #sl-quality.slq-enhanced .slq-copy { grid-column: 1; grid-row: var(--slq-row); min-height: 44vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 0; }
  #sl-quality.slq-enhanced .slq-chapter:last-child .slq-copy { min-height: 76vh; }
  #sl-quality.slq-enhanced .slq-heading { opacity: .62; transform: translateY(5px); transition: opacity 800ms var(--slq-ease), transform 800ms var(--slq-ease); }
  #sl-quality.slq-enhanced .slq-number { opacity: 1; }
  #sl-quality.slq-enhanced .slq-divider { transform: scaleX(.4); transition: transform 900ms var(--slq-ease); }
  #sl-quality.slq-enhanced .is-active .slq-heading, #sl-quality.slq-enhanced .is-active .slq-number { opacity: 1; transform: none; }
  #sl-quality.slq-enhanced .is-active .slq-divider { transform: scaleX(1); }
  #sl-quality.slq-enhanced .slq-scene { grid-column: 2; grid-row: 1 / 5; align-self: start; position: sticky; top: max(104px, 11vh); height: min(74vh, 780px); margin: 0; opacity: 0; visibility: hidden; transform: translateY(9px) scale(1.015); transition: opacity 900ms var(--slq-ease), transform 1000ms var(--slq-ease), visibility 1000ms; pointer-events: none; }
  #sl-quality.slq-enhanced .is-active .slq-scene { opacity: 1; visibility: visible; transform: none; z-index: 2; }
  #sl-quality.slq-enhanced .slq-composition { height: calc(100% - 104px); }
  #sl-quality.slq-enhanced .slq-photo--main, #sl-quality.slq-enhanced .slq-photo--detail { transition: transform 220ms linear; }
  #sl-quality.slq-enhanced .slq-footer { margin-top: 20px; }
}
@media (min-width: 650px) and (max-width: 1079px), (min-width: 1080px) and (max-height: 649px) {
  #sl-quality .slq-intro { max-width: 720px; }
  #sl-quality .slq-chapter { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-bottom: 64px; }
  #sl-quality .slq-composition { height: clamp(330px, 47vw, 540px); }
  #sl-quality .slq-scene { margin: 0; }
  #sl-quality .slq-heading { font-size: 30px; }
  #sl-quality .slq-description { font-size: 17px; }
}
@media (max-width: 649px) {
  #sl-quality { padding-block: 72px 52px !important; }
  #sl-quality .slq-intro { margin-bottom: 48px; }
  #sl-quality .slq-title { font-size: clamp(36px, 9.1vw, 53px); line-height: 1.09; letter-spacing: -.045em; }
  #sl-quality .slq-lede { margin-top: 26px; font-size: 17px; line-height: 1.65; }
  #sl-quality .slq-copy { padding: 28px 0 32px; }
  #sl-quality .slq-number { margin-bottom: 18px; }
  #sl-quality .slq-heading { max-width: 330px; font-size: 32px; margin-bottom: 20px; }
  #sl-quality .slq-description { font-size: 17px; line-height: 1.65; }
  #sl-quality .slq-divider { margin-top: 26px; }
  #sl-quality .slq-scene { margin-bottom: 56px; }
  #sl-quality .slq-composition { height: 112vw; max-height: 590px; }
  #sl-quality .slq-photo--main { width: 83%; left: 7%; height: 91%; }
  #sl-quality .slq-photo--detail { width: 34%; height: 31%; }
  #sl-quality .slq-scene--2 .slq-photo--main { width: 84%; left: 12%; }
  #sl-quality .slq-scene--3 .slq-photo--main { width: 81%; left: 15%; }
  #sl-quality .slq-scene--4 .slq-photo--main { width: 82%; }
  #sl-quality .slq-scene--4 .slq-photo--detail { width: 72%; height: 40%; }
  #sl-quality .slq-watermark { font-size: 155px; }
  #sl-quality .slq-index { display: none; }
  #sl-quality .slq-footer { margin-top: 0; padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  #sl-quality *, #sl-quality *::before { transition: none !important; animation: none !important; }
  #sl-quality .slq-scene, #sl-quality .slq-heading, #sl-quality .slq-photo, #sl-quality .slq-link svg { transform: none !important; }
}
