.shade-main {
  max-width: 1120px;
  margin-inline: auto;
  padding: 20px 24px 64px;
  color: var(--ink, #282128);
}

.shade-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 13px;
  color: #625865;
}

.shade-breadcrumb li:not(:last-child)::after {
  margin-inline-start: 10px;
  content: '/';
  color: #8a7d87;
}

.shade-main a, .shade-palette-nav a {
  color: #733757;
  text-underline-offset: 4px;
}

.shade-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  margin-block: 22px 26px;
  padding: clamp(16px, 4vw, 42px);
  background: #fff;
  border: 1px solid #e4d9e0;
  border-radius: 22px;
  scroll-margin-top: 100px;
}

.shade-summary h1 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 43px);
  letter-spacing: -.035em;
  line-height: 1.12;
}

.shade-subtitle {
  margin: 10px 0;
  font-size: 17px;
  font-weight: 650;
  color: #733757;
}

.shade-intro {
  max-width: 80ch;
  margin: 0 0 24px;
  line-height: 1.6;
}

.shade-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr));
  gap: 12px;
  min-width: 0;
  align-self: center;
}

.shade-gallery figure { margin: 0; min-width: 0; }
.shade-image {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: #faf7fa;
  border: 1px solid #e4d9e0;
}

.shade-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.shade-gallery figcaption { margin-block-start: 8px; color: #625865; font-size: 13px; line-height: 1.45; }
.shade-buy { padding-block: 14px 8px; }
.shade-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 15px; margin: 0 0 12px; }
.shade-price strong { font-size: clamp(21px, 3vw, 28px); }
.shade-price span { color: #58515b; font-size: 14px; }
.shade-buy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.shade-buy .primary { min-height: 46px; }
.shade-purchase-message { min-height: 1.45em; margin-block: 6px; font-size: 14px; }
.shade-palette-link { display: inline-block; font-size: 14px; padding-block: 6px; }
.shade-palette-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; max-width: 1120px; margin: 12px auto; padding-inline: 18px; font-size: 14px; }
.shade-palette-nav ul { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; list-style: none; }
.shade-palette-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 36px; padding-inline: 8px; border-radius: 8px; background: #f7eff4; font-weight: 650; }

.shade-editorial { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr); align-items: start; gap: clamp(20px, 4vw, 45px); }
.shade-toc { background: #f7eff4; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.shade-toc ol { margin: 0; padding-left: 20px; }
.shade-toc li + li { margin-top: 10px; }
.shade-editorial article { max-width: 75ch; min-width: 0; }
.shade-editorial section { margin-bottom: 32px; scroll-margin-top: 105px; }
.shade-editorial h2 { margin: 0 0 12px; font-size: clamp(21px, 2.45vw, 29px); line-height: 1.22; letter-spacing: -.02em; }
.shade-editorial p { margin: 10px 0; font-size: 16px; line-height: 1.65; }
.shade-section-sources, .shade-related ul { margin: 12px 0 0; padding-inline-start: 20px; font-size: 14px; line-height: 1.6; }
.shade-section-sources li + li, .shade-related li + li { margin-top: 5px; }
.shade-related { padding: 20px; border-radius: 12px; background: #f7eff4; }
.shade-main :is(a,button):focus-visible, .shade-palette-nav a:focus-visible { outline: 2px solid #733757; outline-offset: 4px; }

@media (max-width: 720px) {
  .shade-main { padding: 13px 16px 40px; }
  .shade-hero { grid-template-columns: minmax(0, 1fr); margin-block: 16px 24px; gap: 15px; border-radius: 16px; }
  .shade-summary { display: contents; }
  .shade-gallery { grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shade-buy { padding-block: 0; }
  .shade-editorial { grid-template-columns: minmax(0, 1fr); gap: 25px; }
}

.shade-comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 16px);
  padding: 0;
  margin: 18px 0;
  list-style: none;
}
.shade-comparison li { min-width: 0; }
.shade-comparison figure { margin: 0; }
.shade-comparison figcaption { margin-block: 8px 3px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.shade-comparison li > a { display: inline-block; padding-block: 4px; font-size: 13px; line-height: 1.4; }
.shade-detail-cards { display: grid; gap: 14px; margin-block: 14px; }
.shade-detail-card {
  padding: clamp(14px, 2.7vw, 22px);
  background: #fff;
  border: 1px solid #e4d9e0;
  border-radius: 14px;
}
.shade-detail-card h3 { margin: 0; font-size: clamp(18px, 2.1vw, 23px); line-height: 1.26; }
.shade-detail-card .shade-card-credit { margin: 6px 0; color: #625865; font-size: 13px; }
.shade-detail-card .shade-case-role { color: #733757; font-size: 15px; }
.shade-case-steps { display: grid; gap: 11px; margin-block: 16px; }
.shade-case-steps div { padding-inline-start: 12px; border-inline-start: 2px solid #e4d9e0; }
.shade-case-steps dt { font-weight: 650; line-height: 1.45; }
.shade-case-steps dd { margin: 3px 0 0; font-size: 15px; line-height: 1.55; }
.shade-questions { display: grid; gap: 8px; }
.shade-questions details { padding: 0 14px; border: 1px solid #e4d9e0; border-radius: 10px; background: #fff; }
.shade-questions summary { padding-block: 12px; line-height: 1.45; font-weight: 650; cursor: pointer; }
.shade-questions details[open] { padding-block-end: 14px; }
.shade-questions summary:focus-visible { outline: 2px solid #733757; outline-offset: 4px; }

@media (max-width: 699px) {
  body:has(.shade-comparison) #contact-launcher {
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
  }
  body:has(.shade-comparison) #contact-launcher span {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
  }
}

[data-shade-reference] .shade-editorial { display: block; }
[data-shade-reference] .shade-editorial > article,
[data-shade-reference] .shade-toc { max-width: 880px; margin-inline: auto; }
[data-shade-reference] .shade-toc { padding: 10px 12px; margin-bottom: 30px; }
[data-shade-reference] .shade-toc ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 0;
  list-style: none;
}
[data-shade-reference] .shade-toc li { margin: 0; }
[data-shade-reference] .shade-toc a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}
[data-shade-reference] .shade-toc a:hover { background: #fff; text-decoration: underline; }

.shade-carousel-controls { display: flex; justify-content: end; gap: 8px; padding-block-end: 8px; }
.shade-carousel-controls[hidden] { display: none; }
.shade-carousel-controls button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #dacbd4;
  border-radius: 50%;
  background: #fff;
  color: #733757;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.shade-carousel-controls button[aria-disabled="true"] { opacity: .4; cursor: default; }
.shade-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 16px) / 2);
  gap: 16px;
  align-items: start;
  margin: 0;
  padding: 2px 2px 12px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
}
.shade-carousel-track:focus-visible { outline: 2px solid #733757; outline-offset: 2px; border-radius: 12px; }
.shade-carousel-track > li { min-width: 0; scroll-snap-align: start; }
.shade-photo-card { padding: 0; overflow: hidden; }
.shade-photo-card figure { margin: 0; }
.shade-photo-card > figure .shade-image {
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: 0;
}
.shade-photo-card > figure img { object-fit: cover; object-position: center 40%; }
.shade-photo-card > figure figcaption {
  padding: 12px 16px 0;
  color: #625865;
  font-size: 13px;
  line-height: 1.45;
}
.shade-photo-copy { padding: 12px 16px 16px; }
.shade-case-details { margin-top: 12px; border-top: 1px solid #e9dee5; }
.shade-case-details summary { padding-block: 12px 4px; font-weight: 650; color: #733757; cursor: pointer; }
.shade-case-details h4 { margin: 14px 0 0; font-size: 15px; }
.shade-case-details figure { max-width: 110px; margin: 12px 0; }
.shade-case-details figure .shade-image { aspect-ratio: 360 / 491; }
.shade-case-details figcaption { margin-top: 5px; font-size: 12px; line-height: 1.4; }

.shade-video-card { display: grid; grid-template-columns: minmax(200px, 240px) minmax(0, 1fr); align-items: center; gap: 20px; }
.shade-video-player {
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 272px;
  overflow: hidden;
  background: #242124;
  border-radius: 12px;
}
.shade-video-launch {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.shade-video-launch img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shade-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #29202ddb;
  color: #fff;
  font-size: 23px;
}
.shade-video-launch:focus-visible { outline-offset: -4px; outline-color: #fff; }
.shade-video-player iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 699px) {
  [data-shade-reference] .shade-toc { margin-bottom: 22px; }
  [data-shade-reference] .shade-toc a { padding: 7px 8px; }
  .shade-carousel-track { grid-auto-columns: 88%; gap: 12px; }
  .shade-video-card { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .shade-video-player { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .shade-carousel-track { scroll-behavior: auto; }
}

.variant-link-actions .variant-shade-detail {
  display: inline-flex;
  align-items: center;
  font-weight: 650;
}

.shade-video-card[data-wide-video] { grid-template-columns: minmax(0, 1fr); }
.shade-video-card[data-wide-video] .shade-video-player {
  aspect-ratio: 16 / 9;
  max-width: 720px;
  min-height: 200px;
  margin-inline: auto;
}
