/* Block 02: source composition; section heading follows Site Book 1.2. */
.sewes-small {
  padding: 0;
  background: radial-gradient(circle at 93% 17%, rgba(15,180,166,.07), transparent 22%),
              linear-gradient(109deg, #fcfdfd 5%, #f8f9f9 58%, #f7f8f7 100%);
  overflow: clip;
}
.sewes-small__inner {
  padding: 24px 0 16px;
}
.sewes-small__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(296px, .84fr) minmax(0, 2.54fr);
  gap: 24px;
  align-items: end;
}
.sewes-small__intro {
  display: block;
  align-self: start;
  padding-top: 0;
}
.sewes-small__eyebrow { margin-bottom: 16px; }
.sewes-small__h2 {
  position: relative;
  z-index: 2;
  width: min(536px, calc(100% + 210px));
  max-width: none;
  margin: 0 0 24px;
  font-size: 48px;
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.03em;
}
.sewes-small__lede {
  max-width: 440px;
  margin: 0 0 30px;
  font-size: 21px;
  line-height: 1.42;
}
.sewes-small__actions { margin-bottom: 33px; }
.sewes-small__benefits {
  max-width: 340px;
  gap: 15px;
}
.sewes-small__benefits li {
  min-height: 48px;
  gap: 14px;
  color: #254a75;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.34;
}
.sewes-small__benefit-icon {
  width: 42px;
  height: 42px;
  background: #e7f2fa;
  color: #113b70;
}
.sewes-small__gallery {
  display: block;
  min-width: 0;
  padding-top: 16px;
}
.sewes-small__handnote {
  position: absolute;
  z-index: 3;
  top: 53px;
  left: 520px;
  display: block;
  width: 230px;
  max-width: none;
  padding: 0;
  border: 0;
  color: #23518a;
  font-family: "Segoe Print", "Comic Sans MS", Georgia, serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transform: rotate(-7deg);
  pointer-events: none;
}
.sewes-small__handnote::after {
  content: "";
  display: block;
  width: 75%;
  height: 8px;
  margin: 5px auto 0;
  border-bottom: 2px solid var(--sds-teal-functional);
  border-radius: 50%;
  transform: rotate(-6deg);
}
.sewes-small__stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.sewes-small__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.sewes-small__stephead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 140px;
  padding: 20px 2px 0 7px;
}
.sewes-small__stage:nth-child(1) .sewes-small__stephead { transform: translateY(138px); }
.sewes-small__stage:nth-child(2) .sewes-small__stephead { transform: translateY(70px); }
.sewes-small__stage:nth-child(3) .sewes-small__stephead { transform: translateY(34px); }
.sewes-small__index {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  flex: none;
  margin-bottom: 9px;
  border-radius: 50%;
  background: #e1eeff;
  color: #15529d;
  font-size: 24px;
  font-weight: 700;
}
.sewes-small__stage-title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.02em;
}
.sewes-small__stage-descr {
  max-width: 230px;
  margin: 0;
  color: #466284;
  font-size: 15px;
  line-height: 1.35;
}
.sewes-small__photobox {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 320px;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  isolation: isolate;
}
.sewes-small__photobox::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 1px;
  width: 97%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e1e4e5, transparent);
}
.sewes-small__shelf {
  position: static;
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}
.sewes-small__stage:nth-child(1) .sewes-small__shelf { height: 184px; }
.sewes-small__stage:nth-child(2) .sewes-small__shelf { height: 230px; }
.sewes-small__stage:nth-child(3) .sewes-small__shelf { height: 267px; }
.sewes-small__stage:nth-child(4) .sewes-small__shelf { width: calc(100% + 12px); max-width: none; height: 340px; }
.sewes-small__stage:not(:last-child) .sewes-small__photobox::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: var(--shelf-arrow-center, calc(100% + 4px));
  bottom: 43%;
  width: 18px;
  height: 14px;
  color: #089da5;
  background: currentColor;
  clip-path: polygon(0 40%, 65% 40%, 65% 12%, 100% 50%, 65% 88%, 65% 60%, 0 60%);
  transform: translateX(-50%);
  pointer-events: none;
}
.sewes-small__outcome {
  min-height: 30px;
  margin: 8px 4px 0;
  padding: 0;
  border: 0;
  color: #184a79;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.27;
  text-align: center;
}
.sewes-small__outcome::after {
  content: "";
  display: block;
  width: 65%;
  height: 6px;
  margin: 0 auto;
  border-bottom: 2px solid #159dce;
  border-radius: 50%;
  transform: rotate(-2deg);
}
.sewes-small__closing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  margin: 16px 0 0;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid #e0e6e9;
  border-radius: 0;
  background: transparent;
  color: #527195;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}
.sewes-small__closing::before,
.sewes-small__closing::after {
  content: "";
  width: clamp(28px, 6vw, 100px);
  height: 1px;
  flex: none;
  background: #7298ba;
}
.sewes-small__closing strong { color: #0f356c; }
@media (max-width: 1330px) {
  .sewes-small__stage:nth-child(1) .sewes-small__shelf { height: 164px; }
  .sewes-small__stage:nth-child(2) .sewes-small__shelf { height: 208px; }
  .sewes-small__stage:nth-child(3) .sewes-small__shelf { height: 239px; }
  .sewes-small__stage:nth-child(4) .sewes-small__shelf { height: 300px; }
}
@media (max-width: 1279px) {
  .sewes-small__layout { grid-template-columns: 1fr; gap: 28px; }
  .sewes-small__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(185px, .9fr);
    grid-template-areas: "eyebrow benefits" "title benefits" "lede benefits" "actions benefits";
    column-gap: 28px;
    padding-top: 0;
  }
  .sewes-small__h2 { width: auto; max-width: 680px; }
  .sewes-small__lede { max-width: 620px; }
  .sewes-small__actions { margin-bottom: 0; }
  .sewes-small__benefits { align-self: center; }
  .sewes-small__gallery { padding-top: 10px; }
  .sewes-small__stephead { min-height: 165px; padding-top: 28px; }
  .sewes-small__photobox { height: 308px; }
  .sewes-small__handnote { position: static; grid-row: 2; justify-self: end; width: 190px; margin-right: 20px; font-size: 18px; }
}
@media (max-width: 900px) {
  .sewes-small__stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .sewes-small__stage:nth-child(n) .sewes-small__stephead { transform: none; }
  .sewes-small__stephead { min-height: 145px; }
  .sewes-small__photobox { height: 260px; }
  .sewes-small__handnote { top: 95px; right: 0; width: 220px; font-size: 18px; }
}
@media (max-width: 630px) {
  .sewes-small__inner { padding: 40px 0 24px; }
  .sewes-small__layout { display: flex; flex-direction: column; gap: 18px; }
  .sewes-small__intro { display: block; }
  .sewes-small__h2 { width: auto; font-size: 32px; line-height: 1.17; margin-bottom: 17px; }
  .sewes-small__lede { font-size: 18px; line-height: 1.48; margin-bottom: 23px; }
  .sewes-small__actions { margin-bottom: 23px; }
  .sewes-small__benefits { display: flex; flex-wrap: wrap; gap: 8px 18px; max-width: none; }
  .sewes-small__benefits li { min-height: 31px; gap: 7px; font-size: 12px; }
  .sewes-small__benefit-icon { width: 29px; height: 29px; }
  .sewes-small__gallery { width: 100%; padding-top: 0; }
  .sewes-small__handnote {
    position: static;
    width: 220px;
    max-width: 100%;
    margin: 0 0 0 auto;
    font-size: 17px;
    text-align: right;
  }
  .sewes-small__stages { display: flex; flex-direction: column; gap: 10px; }
  .sewes-small__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(107px, 40%);
    align-items: center;
    gap: 0 10px;
    min-height: 190px;
    grid-template-rows: auto auto;
    padding: 12px 12px 7px;
    border: 1px solid rgba(203,216,227,.75);
    border-radius: 15px;
    background: rgba(255,255,255,.74);
  }
  .sewes-small__stephead { min-height: 0; padding: 0; align-self: center; }
  .sewes-small__index { width: 35px; height: 35px; margin-bottom: 8px; font-size: 20px; }
  .sewes-small__stage-title { font-size: 20px; line-height: 1.22; }
  .sewes-small__stage-descr { font-size: 13px; line-height: 1.38; }
  .sewes-small__photobox { height: 190px; grid-column: 2; grid-row: 1/3; }
  .sewes-small__stage:nth-child(n) .sewes-small__shelf { width: auto; height: auto; max-height: 181px; }
  .sewes-small__stage:not(:last-child) .sewes-small__photobox::before { display: none; }
  .sewes-small__outcome { grid-column: 1; grid-row: 2; min-height: 0; margin: 8px 0 0; font-size: 12px; text-align: left; align-self: start; }
  .sewes-small__outcome::after { width: 72%; margin-left: 0; }
  .sewes-small__closing { gap: 10px; margin-top: 19px; padding-top: 22px; font-size: 13px; }
  .sewes-small__closing::before,
  .sewes-small__closing::after { width: 16px; }
}

@media (min-width: 1280px) and (max-width: 1450px) {
  .sewes-small__stage:first-child .sewes-small__stephead { padding-left: 45px; }
}

@media (min-width: 901px) {
  .sewes-small__stage { gap: 0; }
  .sewes-small__stephead { translate: 0 var(--shelf-label-correction, 0px); }
}

@media (min-width: 1280px) and (max-width: 1450px) {
  .sewes-small__stage:nth-child(2) .sewes-small__stephead { padding-left: 25px; }
  .sewes-small__stage:nth-child(2) .sewes-small__index { margin-left: 50px; }
}
@media (min-width: 631px) and (max-width: 900px) {
  .sewes-small__h2 { font-size: 32px; line-height: 1.17; }
  .sewes-small__stage-title { font-size: 20px; line-height: 1.22; }
}
@media (max-width: 365px) {
  .sewes-small__h2 { font-size: 30px; line-height: 1.17; }
}

@media (max-width: 599px) {
  .sewes-small__eyebrow { margin-bottom: 12px; }
}

/* Share the shelf and caption baselines across all four stages. */
@media (min-width: 1280px) {
  .sewes-small__stage { display: grid; grid-template-rows: 240px 320px auto; }
  .sewes-small__stephead { position: relative; top: 48px; }
  .sewes-small__stage:nth-child(2) .sewes-small__stephead { transform: translateY(91px); }
  .sewes-small__stage:nth-child(3) .sewes-small__stephead { transform: translateY(75px); }
  .sewes-small__stage:nth-child(4) .sewes-small__stephead { transform: translateY(clamp(-38px, calc(283px - 20vw), 27px)); }
}
@media (min-width: 1280px) and (max-width: 1330px) {
  .sewes-small__stage:nth-child(3) .sewes-small__stephead { transform: translateY(88px); }
}
@media (min-width: 1451px) {
  .sewes-small__stage:nth-child(3) .sewes-small__stephead { transform: translateY(55px); }
}
@media (min-width: 901px) and (max-width: 1279px) {
  .sewes-small__stage { display: grid; grid-template-rows: 190px 308px auto; }
  .sewes-small__stage-title { font-size: 20px; }
}
@media (min-width: 631px) and (max-width: 900px) {
  .sewes-small__stage { display: grid; grid-template-rows: 160px 260px auto; }
  .sewes-small__stage-title { font-size: 20px; }
}

@media (min-width: 631px) and (max-width: 900px) {
  .sewes-small__inner { padding-top: var(--sds-label-top); }
  .sewes-small__stage:nth-child(2) .sewes-small__photobox::before { display: none; }
  .sewes-small__stage:nth-child(4) .sewes-small__stephead { padding-top: 0; }
  .sewes-small__stage:nth-child(4) .sewes-small__shelf { height: 260px; }
}

/* Keep each approved slogan line intact at every viewport width. */
.sewes-small__handnote { width: 240px; max-width: 100%; }
