/* stehMED v6 · Full-width photographic heroes.
   Load after the v5 styles. All rules are scoped to the new v6 blocks.
   Optional one-shot motion: add v6-hero-animate to the hero section. */

.v6-photo-hero {
  --v6-red: #cb0f33;
  --v6-green: #407e43;
  --v6-ink: #121516;
  --v6-hero-text: #fff;
  --v6-hero-muted: #edf0ed;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
  min-width: 0;
  min-height: 650px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #18221d;
  color: var(--v6-hero-text);
}

.v6-photo-hero .v6-hero-picture,
.v6-photo-hero .v6-hero-shade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
}

.v6-photo-hero .v6-hero-picture { z-index: 0; }

.v6-photo-hero .v6-hero-picture img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: var(--v6-focus, 70% 50%);
  transform-origin: var(--v6-focus, 70% 50%);
}

.v6-photo-hero .v6-hero-shade {
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(10, 19, 14, .57), transparent 28%),
    linear-gradient(90deg,
      rgba(10, 19, 14, .87) 0%,
      rgba(10, 19, 14, .82) 23%,
      rgba(10, 19, 14, .73) 45%,
      rgba(10, 19, 14, .20) 65%,
      rgba(10, 19, 14, .04) 100%);
}

.v6-photo-hero .v6-hero-inner,
.v6-photo-hero .v6-hero-footer {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.v6-photo-hero .v6-hero-inner {
  display: flex;
  align-items: center;
  padding-block: 78px 58px;
}

.v6-photo-hero .v6-hero-copy {
  width: 100%;
  max-width: 560px;
  min-width: 0;
}

.v6-photo-hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #e0ecd8 !important;
  -webkit-text-fill-color: #e0ecd8 !important;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.v6-photo-hero .eyebrow::before {
  content: "";
  width: 25px;
  height: 3px;
  flex: 0 0 25px;
  background: var(--v6-red);
}

.v6-photo-hero .v6-hero-copy h1 {
  max-width: 560px;
  margin: 0 0 25px;
  color: var(--v6-hero-text) !important;
  -webkit-text-fill-color: var(--v6-hero-text) !important;
  font-family: inherit;
  font-size: clamp(48px, 5.05vw, 76px);
  line-height: 1.035;
  font-weight: 650;
  letter-spacing: -.045em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

.v6-photo-hero .v6-hero-copy h1 em {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--v6-red);
  text-decoration-thickness: .045em;
  text-underline-offset: .13em;
  text-decoration-skip-ink: auto;
}

.v6-photo-hero .v6-hero-copy .lead {
  max-width: 490px;
  margin: 0 0 29px;
  color: var(--v6-hero-muted) !important;
  -webkit-text-fill-color: var(--v6-hero-muted) !important;
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

.v6-photo-hero .v6-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 25px;
  margin: 0;
}

.v6-photo-hero .v6-hero-actions .button {
  min-height: 51px;
  max-width: 100%;
  padding: 15px 21px;
  gap: 24px;
  border-radius: 4px;
  background: var(--v6-red);
  border-color: var(--v6-red);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
  text-align: left;
}

.v6-photo-hero .v6-hero-actions .button.green {
  background: var(--v6-green);
  border-color: var(--v6-green);
}

.v6-photo-hero .v6-hero-actions .button span { flex-shrink: 0; }

.v6-photo-hero .v6-hero-actions .aed5-button {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.v6-photo-hero .v6-hero-actions .aed5-button-secondary {
  border-color: rgba(255, 255, 255, .65);
  background: rgba(10, 19, 14, .20);
}
.v6-photo-hero .v6-hero-actions .aed5-button-secondary:hover {
  background: rgba(255, 255, 255, .15);
}
.v6-photo-hero .v5-hero-actions { margin-top: 0; }

.v6-photo-hero .v6-hero-actions .text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  white-space: normal;
}

.v6-photo-hero .v6-hero-actions a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}

.v6-photo-hero .v6-hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 30px;
  padding-block: 17px 24px;
  border-top: 1px solid rgba(255, 255, 255, .30);
  color: #fff;
}

.v6-photo-hero .v6-hero-footer > span {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .025em;
}

.v6-photo-hero .v6-hero-footer > small {
  max-width: 390px;
  color: #e6ece7;
  font-size: 10px;
  line-height: 1.55;
  text-align: right;
}

/* Almost-white studio/group photographs retain dark text and a quiet shade. */
.v6-photo-hero.v6-hero-light {
  --v6-hero-text: #121516;
  --v6-hero-muted: #38473e;
  background: #f1f3ee;
}

.v6-photo-hero.v6-hero-light .v6-hero-shade {
  background:
    linear-gradient(0deg, rgba(247, 249, 244, .74), transparent 28%),
    linear-gradient(90deg,
      rgba(248, 250, 246, .98) 0%,
      rgba(248, 250, 246, .94) 23%,
      rgba(248, 250, 246, .77) 42%,
      rgba(248, 250, 246, .22) 67%,
      rgba(248, 250, 246, .03) 100%);
}

.v6-photo-hero.v6-hero-light .eyebrow {
  color: #407e43 !important;
  -webkit-text-fill-color: #407e43 !important;
}

.v6-photo-hero.v6-hero-light .v6-hero-actions .text-link {
  color: #244d2b !important;
  -webkit-text-fill-color: #244d2b !important;
  border-color: rgba(36, 77, 43, .45);
}

.v6-photo-hero.v6-hero-light .v6-hero-actions a:focus-visible { outline-color: #407e43; }
.v6-photo-hero.v6-hero-light .v6-hero-footer { color: #25372b; border-color: rgba(36, 55, 43, .24); }
.v6-photo-hero.v6-hero-light .v6-hero-footer > small { color: #415548; }

/* Optional shop/editorial-intro modifier. Keep a catalog landing compact. */
.v6-photo-hero.v6-hero-shop { min-height: 480px; }
.v6-photo-hero.v6-hero-shop .v6-hero-inner { padding-block: 55px 42px; }
.v6-photo-hero.v6-hero-shop .v6-hero-copy h1 { font-size: clamp(42px, 4.3vw, 62px); }

/* Original AED imagery and SKU-bound price examples, outside the scene hero. */
.v6-product-intro {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(35px, 6vw, 88px);
  min-width: 0;
  padding-block: 70px;
  border-bottom: 1px solid #dfe4e1;
  color: #121516;
}

.v6-product-intro > figure {
  position: relative;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 27px;
  background: #f7f7f4;
  border-radius: 9px;
}

.v6-product-intro > figure img {
  display: block;
  position: static;
  width: 100%;
  max-width: 100%;
  height: clamp(245px, 28vw, 370px);
  max-height: none;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  filter: none;
}

.v6-product-intro > figure figcaption {
  max-width: 420px;
  margin: 19px auto 0;
  color: #5d6663 !important;
  -webkit-text-fill-color: #5d6663 !important;
  font-size: 11px;
  line-height: 1.65;
  text-align: left;
}

.v6-product-intro > figure figcaption span {
  display: block;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

.v6-product-intro > div { min-width: 0; }
.v6-product-intro .v6-family-back { display: inline-block; color: #315e37; font-size: 12px; margin-bottom: 24px; text-underline-offset: .25em; }
.v6-product-intro > div > .eyebrow { margin-bottom: 16px; color: #407e43; }
.v6-product-intro > div > h2 { margin: 0 0 22px; color: #121516; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; }
.v6-product-intro > div > p:not(.eyebrow) { max-width: 600px; margin: 0 0 24px; color: #5d6663; font-size: 16px; line-height: 1.75; }
.v6-product-intro .aed5-hero-price { margin: 23px 0 9px; }
.v6-product-intro .aed5-hero-price span { color: #5d6663 !important; -webkit-text-fill-color: #5d6663 !important; font-size: 12px; }
.v6-product-intro .aed5-hero-price strong { color: #121516 !important; -webkit-text-fill-color: #121516 !important; font-size: 32px; }
.v6-product-intro .aed5-base-link { display: inline-block; margin: 0 0 23px; color: #315e37 !important; -webkit-text-fill-color: #315e37 !important; font-size: 12px; line-height: 1.6; text-underline-offset: .2em; }
.v6-product-intro .aed5-actions { margin-top: 4px; gap: 10px; }
.v6-product-intro .aed5-actions .aed5-button { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.v6-product-intro .aed5-actions .aed5-button-secondary { color: #315e37 !important; -webkit-text-fill-color: #315e37 !important; }

/* Retain the existing v5 showcase and its tabs in a compact separate block. */
.v6-start-products {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 85px);
  padding-block: 66px 78px;
}
.v6-start-products > div:first-child { max-width: 510px; }
.v6-start-products > div:first-child h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.08; margin-bottom: 25px; }
.v6-start-products > div:first-child p:not(.eyebrow) { font-size: 16px; line-height: 1.75; margin-bottom: 24px; color: #5d6663; }
.v6-start-products .v6-start-stage {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  transform: none;
  box-shadow: 0 16px 45px rgba(18, 21, 22, .10);
}
.v6-start-products .v6-start-stage .v5-stage-art { height: 420px; }
.v6-start-products .v6-start-stage .v5-stage-tabs > button { min-height: 51px; }

.v6-photo-hero.v6-hero-animate .v6-hero-picture img {
  animation: v6-photo-arrive 4.8s cubic-bezier(.2, .7, .3, 1) 1 both;
}

@keyframes v6-photo-arrive {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@media (min-width: 1700px) {
  .v6-photo-hero { min-height: 700px; }
  .v6-photo-hero.v6-hero-shop { min-height: 510px; }
}

@media (max-width: 1000px) {
  .v6-photo-hero { min-height: 610px; }
  .v6-photo-hero:not(.v6-hero-light) .v6-hero-shade {
    background:
      linear-gradient(0deg, rgba(10, 19, 14, .58), transparent 28%),
      linear-gradient(90deg, rgba(10, 19, 14, .90), rgba(10, 19, 14, .78) 64%, rgba(10, 19, 14, .10) 100%);
  }
  .v6-photo-hero .v6-hero-copy { max-width: 490px; }
  .v6-photo-hero .v6-hero-copy h1 { font-size: clamp(45px, 6.4vw, 65px); }
  .v6-photo-hero .v6-hero-copy .lead { max-width: 440px; font-size: 16px; }
  .v6-photo-hero .v6-hero-inner { padding-block: 67px 49px; }
  .v6-product-intro { gap: 36px; padding-block: 52px; }
  .v6-product-intro > figure { padding: 22px; }
}

@media (max-width: 760px) {
  .v6-product-intro { grid-template-columns: 1fr; gap: 32px; }
  .v6-product-intro > figure { max-width: 540px; width: 100%; margin-inline: auto; }
  .v6-product-intro > figure img { height: 300px; }
  .v6-product-intro > div > p:not(.eyebrow) { font-size: 15px; }
  .v6-start-products { grid-template-columns: 1fr; padding-block: 44px 54px; }
}

@media (max-width: 640px) {
  /* Minimum height, never a fixed/max height: long copy grows without cropping. */
  .v6-photo-hero { min-height: 700px; min-height: clamp(620px, 94svh, 730px); }
  .v6-photo-hero .v6-hero-picture { height: 360px; }
  .v6-photo-hero .v6-hero-picture img { object-position: var(--v6-focus-mobile, 72% 38%); transform-origin: var(--v6-focus-mobile, 72% 38%); }
  .v6-photo-hero:not(.v6-hero-light) .v6-hero-shade {
    background: linear-gradient(180deg,
      rgba(10, 19, 14, .02) 0%,
      rgba(10, 19, 14, .08) 165px,
      rgba(10, 19, 14, .72) 255px,
      rgba(10, 19, 14, .93) 360px,
      rgba(10, 19, 14, .98) 100%);
  }
  .v6-photo-hero .v6-hero-inner { align-items: flex-end; padding-block: clamp(245px, 36svh, 315px) 30px; }
  .v6-photo-hero .v6-hero-copy { max-width: 540px; }
  .v6-photo-hero .eyebrow { font-size: 9px; letter-spacing: .10em; gap: 9px; margin-bottom: 17px; }
  .v6-photo-hero .eyebrow::before { width: 20px; flex-basis: 20px; }
  .v6-photo-hero .v6-hero-copy h1 { margin-bottom: 21px; font-size: clamp(39px, 9.7vw, 57px); line-height: 1.04; letter-spacing: -.04em; }
  .v6-photo-hero .v6-hero-copy .lead { max-width: 490px; margin-bottom: 23px; font-size: 15px; line-height: 1.62; }
  .v6-photo-hero .v6-hero-actions { gap: 11px 21px; }
  .v6-photo-hero .v6-hero-actions .button { padding: 14px 18px; gap: 19px; font-size: 12px; }
  .v6-photo-hero .v6-hero-actions .text-link { gap: 14px; font-size: 12px; }
  .v6-photo-hero .v6-hero-footer { flex-wrap: wrap; gap: 7px; padding-block: 15px 19px; }
  .v6-photo-hero .v6-hero-footer > span { font-size: 10px; }
  .v6-photo-hero .v6-hero-footer > small { max-width: none; width: 100%; text-align: left; font-size: 9px; }
  .v6-photo-hero.v6-hero-light .v6-hero-shade {
    background: linear-gradient(180deg,
      rgba(248, 250, 246, .02) 0%,
      rgba(248, 250, 246, .06) 165px,
      rgba(248, 250, 246, .82) 255px,
      rgba(248, 250, 246, .97) 360px,
      rgba(248, 250, 246, .99) 100%);
  }
  .v6-photo-hero.v6-hero-shop { min-height: 580px; }
  .v6-photo-hero.v6-hero-shop .v6-hero-picture { height: 285px; }
  .v6-photo-hero.v6-hero-shop:not(.v6-hero-light) .v6-hero-shade {
    background: linear-gradient(180deg, rgba(10, 19, 14, .04), rgba(10, 19, 14, .16) 110px, rgba(10, 19, 14, .78) 190px, rgba(10, 19, 14, .96) 310px, rgba(10, 19, 14, .98));
  }
  .v6-photo-hero.v6-hero-shop.v6-hero-light .v6-hero-shade {
    background: linear-gradient(180deg, rgba(248, 250, 246, .02), rgba(248, 250, 246, .12) 110px, rgba(248, 250, 246, .90) 190px, rgba(248, 250, 246, .99) 310px);
  }
  .v6-photo-hero.v6-hero-shop .v6-hero-inner { padding-block: 185px 28px; }
  .v6-photo-hero.v6-hero-shop .v6-hero-copy h1 { font-size: clamp(36px, 9vw, 49px); }
  .v6-product-intro { padding-block: 40px; }
  .v6-product-intro > figure { padding: 20px; }
  .v6-product-intro > figure img { height: 250px; }
  .v6-product-intro > figure figcaption { font-size: 10px; }
  .v6-product-intro > div > h2 { font-size: 33px; }
  .v6-product-intro .aed5-hero-price strong { font-size: 29px; }
  .v6-product-intro .aed5-base-link { font-size: 11px; }
  .v6-start-products .v6-start-stage { width: 100%; }
  .v6-start-products .v6-start-stage .v5-stage-art { height: 390px; }
}

/* Additional provided scenarios and unscaled, exact catalog photography. */
.v6-case-scenes { padding-block: 75px; }
.v6-scene-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.v6-scene-pair figure, .v6-finance-photo { margin-block: 0; }
.v6-scene-pair figure { margin-inline: 0; min-width: 0; }
.v6-scene-pair img { display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; border-radius: 6px; }
.v6-scene-pair figcaption, .v6-finance-photo figcaption { color: #5d6663; font-size: 11px; line-height: 1.65; padding-top: 12px; }
.v6-finance-photo { padding-block: 0 70px; }
.v6-finance-photo img { display: block; width: 100%; height: auto; max-height: 630px; object-fit: cover; object-position: center 58%; border-radius: 6px; }
.v6-catalog-top { padding-top: 45px; scroll-margin-top: 110px; }
img.v6-source-limited { max-width: min(100%, var(--v6-native-width)); max-height: var(--v6-native-height); object-fit: contain; }
.catalog-card .image-box img {
  width: auto; height: auto;
  max-width: min(90%, var(--v6-native-width, 100%));
  max-height: min(170px, var(--v6-native-height, 170px));
  object-fit: contain;
}
.catalog-product-visual > img {
  width: auto; height: auto;
  max-width: min(90%, var(--v6-native-width, 90%));
  max-height: min(440px, var(--v6-native-height, 440px));
  object-fit: contain;
}
@media (max-width: 760px) {
  .v6-case-scenes { padding-block: 45px; }
  .v6-scene-pair { grid-template-columns: 1fr; gap: 30px; }
  .v6-finance-photo { padding-bottom: 45px; }
}
@media (max-width: 640px) {
  .catalog-card .image-box img { max-height: min(125px, var(--v6-native-height, 125px)); }
}

@media (prefers-reduced-motion: reduce) {
  .v6-photo-hero .v6-hero-picture img { animation: none !important; transform: none !important; }
  .v6-photo-hero .v6-hero-actions a { transition: none !important; }
}
@media (max-width: 360px) {
  .v6-photo-hero .v6-hero-picture { height: 320px; }
  .v6-photo-hero.v6-hero-shop .v6-hero-picture { height: 285px; }
}
