/*
 * Approved Why Sablemill treatment
 * Low Arc marker + Specialized Capabilities copy
 */

.theme-s .selected-why {
  min-height: 0;
  display: block;
  padding: clamp(78px, 8vw, 126px) 0 clamp(88px, 9vw, 142px);
  background: var(--variant-fog, #e9e3d3);
  color: var(--ink);
}

.concept-site section.selected-why[id] {
  scroll-margin-top: -16px;
}

.selected-why__inner {
  position: relative;
  width: min(1500px, calc(100% - 64px));
  margin-inline: auto;
}

.selected-why__code {
  position: absolute;
  top: 0;
  left: 0;
}

.selected-why__header {
  text-align: center;
}

.theme-s .selected-why .selected-why__header .eyebrow {
  margin-bottom: 16px;
  color: #77532e;
  font: 700 10px/1.45 var(--utility);
  letter-spacing: 0.18em;
}

.theme-s .selected-why .selected-why__heading {
  width: 100%;
  max-width: 25ch;
  margin-inline: auto;
  color: var(--ink);
  font-size: clamp(52px, 5.25vw, 78px);
  letter-spacing: -0.052em;
  line-height: 0.96;
  text-wrap: initial;
}

.headline-marker {
  isolation: isolate;
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
}

.headline-marker::before {
  position: absolute;
  box-sizing: border-box;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.headline-marker--low-arc::before {
  right: -0.03em;
  bottom: -0.15em;
  left: -0.03em;
  height: 0.2em;
  border: 0.085em solid transparent;
  border-bottom-color: var(--hero-shadow);
  border-radius: 50%;
}

.selected-why__composition {
  margin-top: clamp(54px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.86fr);
  grid-template-areas:
    "visual copy"
    "visual ledger";
  grid-template-rows: auto 1fr;
  column-gap: clamp(64px, 6vw, 112px);
  row-gap: 30px;
  align-items: start;
}

.selected-why__visual {
  grid-area: visual;
  position: relative;
  z-index: 1;
  height: clamp(540px, 43vw, 660px);
  min-width: 0;
  margin: 0 0 44px;
}

.selected-why__primary,
.selected-why__inset {
  position: absolute;
}

.selected-why__primary {
  z-index: 3;
  top: 0;
  left: 32%;
  width: 64%;
  height: 100%;
  overflow: hidden;
  background: var(--variant-night, #0b2d2e);
  box-shadow: 20px 24px 0 var(--hero-shadow);
}

.selected-why__primary-image,
.selected-why__inset-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selected-why__primary-image {
  object-position: 38% 50%;
}

.selected-why__inset {
  z-index: 6;
  bottom: 9%;
  left: 0;
  width: 55%;
  height: 31%;
  filter: drop-shadow(12px 14px 0 rgba(23, 59, 51, 0.9));
}

.selected-why__inset-aperture {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 8px solid var(--paper);
  border-start-end-radius: clamp(38px, 5vw, 72px);
  background: var(--variant-night, #0b2d2e);
  clip-path: none;
}

.selected-why__inset-image {
  object-position: 63% 56%;
  transform: translateX(100%) scaleX(-1);
  transform-origin: left center;
}

.selected-why__copy {
  grid-area: copy;
  position: relative;
  z-index: 7;
  align-self: end;
  padding: 26px 0 clamp(22px, 2vw, 34px);
}

.selected-why__lead,
.selected-why__second-paragraph {
  max-width: 41rem;
  margin: 0;
}

.theme-s .selected-why .selected-why__lead,
.theme-s .selected-why .selected-why__second-paragraph {
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16px, 1.08vw, 18px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.62;
}

.theme-s .selected-why .selected-why__second-paragraph {
  margin-top: clamp(18px, 1.8vw, 26px);
}

.selected-why__ledger {
  grid-area: ledger;
  position: relative;
  z-index: 7;
  align-self: start;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.selected-why__proof-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: 34px minmax(104px, 130px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.selected-why__proof-row dt,
.selected-why__proof-row dd {
  margin: 0;
}

.selected-why__proof-row dt {
  display: grid;
  grid-column: 1 / 3;
  grid-template-columns: 34px minmax(104px, 130px);
  gap: 14px;
  align-items: center;
}

.selected-why__proof-index,
.selected-why__proof-row dt {
  color: #77532e;
  font: 800 10px/1.35 var(--utility);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.selected-why__proof-index {
  opacity: 0.72;
}

.selected-why__proof-row dd {
  grid-column: 3;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

@media (min-width: 901px) {
  .selected-why__line {
    display: block;
    white-space: nowrap;
  }
}

@media (max-width: 1100px) {
  .selected-why__composition {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.76fr);
    column-gap: 54px;
  }

  .selected-why__proof-row {
    grid-template-columns: 28px 1fr;
    gap: 4px 12px;
  }

  .selected-why__proof-row dt {
    grid-column: 1 / -1;
    grid-template-columns: 28px 1fr;
    gap: 12px;
  }

  .selected-why__proof-row dd {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .theme-s .selected-why {
    padding-block: 72px 96px;
  }

  .selected-why__inner {
    width: min(calc(100% - 48px), 760px);
  }

  .selected-why__code {
    position: static;
    margin-bottom: 18px;
  }

  .theme-s .selected-why .selected-why__heading {
    max-width: 16ch;
    font-size: clamp(46px, 7.2vw, 64px);
    text-wrap: balance;
  }

  .selected-why__composition {
    margin-top: 48px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "copy"
      "ledger";
    gap: 32px;
  }

  .selected-why__visual {
    width: 100%;
    height: clamp(510px, 82vw, 620px);
    margin-bottom: 0;
  }

  .selected-why__primary {
    left: 24%;
    width: 72%;
    height: 90%;
  }

  .selected-why__inset {
    bottom: 10%;
    width: 57%;
    height: 27%;
  }

  .selected-why__copy {
    padding: 0 0 24px;
  }

  .selected-why__proof-row {
    min-height: 72px;
    grid-template-columns: 32px minmax(112px, 142px) minmax(0, 1fr);
    gap: 14px;
  }

  .selected-why__proof-row dt {
    grid-column: 1 / 3;
    grid-template-columns: 32px minmax(112px, 142px);
    gap: 14px;
  }

  .selected-why__proof-row dd {
    grid-column: 3;
  }
}

@media (max-width: 560px) {
  .theme-s .selected-why {
    padding-block: 58px 76px;
  }

  .selected-why__inner {
    width: calc(100% - 36px);
  }

  .theme-s .selected-why .selected-why__header .eyebrow {
    margin-bottom: 11px;
  }

  .theme-s .selected-why .selected-why__heading {
    max-width: 15ch;
    font-size: clamp(39px, 11.4vw, 52px);
    line-height: 0.99;
  }

  .selected-why__composition {
    margin-top: 38px;
    gap: 26px;
  }

  .selected-why__visual {
    height: clamp(410px, 116vw, 500px);
  }

  .selected-why__primary {
    left: 20%;
    width: 76%;
    height: 82%;
    box-shadow: 10px 12px 0 var(--hero-shadow);
  }

  .selected-why__primary-image {
    object-position: 36% 50%;
  }

  .selected-why__inset {
    bottom: 9%;
    width: 60%;
    height: 26%;
    filter: drop-shadow(8px 9px 0 rgba(23, 59, 51, 0.9));
  }

  .selected-why__inset-aperture {
    border-width: 6px;
    border-start-end-radius: 36px;
  }

  .selected-why__inset-image {
    object-position: 63% 54%;
  }

  .theme-s .selected-why .selected-why__lead,
  .theme-s .selected-why .selected-why__second-paragraph {
    font-size: 16px;
    line-height: 1.58;
  }

  .theme-s .selected-why .selected-why__second-paragraph {
    margin-top: 18px;
  }


  .selected-why__proof-row {
    min-height: 0;
    grid-template-columns: 28px 1fr;
    gap: 5px 10px;
    padding: 16px 0 18px;
  }

  .selected-why__proof-row dt {
    grid-column: 1 / -1;
    grid-template-columns: 28px 1fr;
    gap: 10px;
  }

  .selected-why__proof-row dd {
    grid-column: 2;
  }

  .selected-why__proof-row dd {
    font-size: 15px;
  }
}

@media (max-width: 350px) {
  .selected-why__primary {
    height: 72%;
  }
}
