/* Shared editorial hero for the homepage and its working copy. */
.editorial-hero {
  --hero-ribbon-overhang: calc(clamp(28px, 4vw, 64px) + 22px);
  --hero-ease: cubic-bezier(.22, .68, .18, 1);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .44fr) minmax(0, .56fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
  margin: 0 auto;
  padding-block: var(--fotogenic-hero-top) var(--fotogenic-section-end);
  padding-inline: max(40px, calc((100% - 1600px) / 2));
}
.editorial-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #fff;
  /* Fade the complete decorative layer, keeping the animated image inside it. */
  mask-image: linear-gradient(to bottom, #000 55%, #000c 72%, #0006 86%, #0001 96%, transparent 100%);
}
.fotogenic-scope .editorial-hero__backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .85; animation: editorial-paper 22s ease-in-out infinite alternate; animation-play-state: paused; }
.editorial-hero.is-ready:not(.is-motion-paused) .editorial-hero__backdrop img { animation-play-state: running; }
@keyframes editorial-paper { from { transform: scale(1.025) translate3d(-.5%, .3%, 0); } to { transform: scale(1.045) translate3d(.5%, -.3%, 0); } }
.editorial-hero__copy { position: relative; z-index: 2; min-width: 0; padding-bottom: 0; }
.editorial-hero__teaser { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; padding: 7px 13px 7px 8px; margin-bottom: 52px; border: 1px solid #c8bef0; border-radius: var(--fotogenic-button-radius); background: #ffffff85; }
.fotogenic-scope .editorial-hero__portraits { flex: 0 0 96px; width: 96px; height: 34px; object-fit: contain; }
.fotogenic-scope .editorial-hero__teaser p { margin: 0; color: #292633; font-size: 12px; line-height: 1.4; letter-spacing: 0; }
.editorial-hero__teaser strong, .editorial-hero__teaser p span { display: block; }
.editorial-hero__teaser strong { font-weight: 650; }
.editorial-hero__teaser p span { color: #53515e; }
.editorial-hero__poster { position: relative; perspective: 1000px; padding-block-start: 3cqw; container-type: inline-size; direction: ltr; }
.fotogenic-scope .editorial-hero__title { margin: 0; font-family: var(--fotogenic-font-display); font-weight: 400; font-size: 15cqw; line-height: 1; letter-spacing: -.025em; text-transform: uppercase; color: #090909; transform: rotateX(var(--poster-x, 0deg)) rotateY(var(--poster-y, 0deg)) translateY(var(--poster-scroll, 0px)); transition: transform 450ms cubic-bezier(.22,.68,.18,1); }
.editorial-hero__word { display: block; width: max-content; direction: var(--fotogenic-language-direction, ltr); white-space: nowrap; font-size: 25.5cqw; transform: rotate(-4deg) scaleX(var(--word-scale, .7227)); transform-origin: left bottom; }
.editorial-hero__ribbon { position: relative; z-index: 2; display: block; width: calc(100% + var(--hero-ribbon-overhang)); padding: var(--fotogenic-display-paper-top) .16em .2em; margin: .015em 0 0 -.015em; font-size: 20.5cqw; transform: rotate(-4deg); color: #fff; background-color: #5726b9; box-shadow: 7px 8px 0 #c6b7f2, 0 18px 26px #37245b20; transform-origin: left center; }
.editorial-hero__ribbon-text { display: block; width: max-content; direction: var(--fotogenic-language-direction, ltr); white-space: nowrap; transform: scaleX(var(--ribbon-scale, min(1, tan(atan2(calc(93.44cqw + var(--hero-ribbon-overhang)), 137.09033cqw))))); transform-origin: left center; }
/* Initial fit uses the local Anton advances for the fixed heading copy,
   including the title's inherited letter spacing. JS only reconciles rounding.
   Moving the same gradient layers preserves their positions without repainting
   the ribbon every frame. Percent translations refer to each layer's size. */
.editorial-hero__ribbon-colors { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.editorial-hero__ribbon-colors i { position: absolute; left: 0; top: 0; background-repeat: no-repeat; }
.editorial-hero__ribbon-colors i:nth-child(1) { width: 160%; height: 230%; background-image: radial-gradient(ellipse at center, #9143df 0%, #9143df00 70%); transform: translate(-16.875%, -25.43478%); }
.editorial-hero__ribbon-colors i:nth-child(2) { width: 150%; height: 240%; background-image: radial-gradient(ellipse at center, #2453df 0%, #2453df00 72%); transform: translate(-46.66667%, -40.83333%); }
.editorial-hero__ribbon-colors i:nth-child(3) { width: 140%; height: 220%; background-image: radial-gradient(ellipse at center, #be185d 0%, #be185d00 68%); transform: translate(22.85714%, -16.36364%); }
@media (prefers-reduced-motion: no-preference) {
  .editorial-hero__ribbon-colors i { animation: 7s ease-in-out infinite alternate; animation-play-state: paused; }
  .editorial-hero__ribbon-colors i:nth-child(1) { animation-name: poster-purple; }
  .editorial-hero__ribbon-colors i:nth-child(2) { animation-name: poster-blue; }
  .editorial-hero__ribbon-colors i:nth-child(3) { animation-name: poster-pink; }
  .editorial-hero:not(.is-motion-paused) .editorial-hero__ribbon-colors i { animation-play-state: running; }
}
@keyframes poster-purple { 0% { transform: translate(-16.875%, -25.43478%); } 50% { transform: translate(-37.5%, -36.73913%); } 100% { transform: translate(11.25%, -16.95652%); } }
@keyframes poster-blue { 0% { transform: translate(-46.66667%, -40.83333%); } 50% { transform: translate(-18.33333%, -11.66667%); } 100% { transform: translate(21.66667%, -35%); } }
@keyframes poster-pink { 0% { transform: translate(22.85714%, -16.36364%); } 50% { transform: translate(-4.28571%, -38.18182%); } 100% { transform: translate(-31.42857%, -21.81818%); } }
.fotogenic-scope .editorial-hero:not(:lang(en)):not(:dir(rtl)) { --hero-intro-measure: 40ch; }
.fotogenic-scope .editorial-hero__description {  margin-top: var(--fotogenic-content-gap); color: #252329; font-size: var(--fotogenic-type-hero-lead, var(--fotogenic-type-lead)); line-height: var(--fotogenic-leading-hero-lead, var(--fotogenic-leading-lead)); letter-spacing: -.025em;  text-wrap: balance; max-inline-size: min(100%, var(--hero-intro-measure, 30ch));}
.fotogenic-scope :is(.editorial-hero__description, .editorial-hero__primary, .editorial-hero__secondary) { font-family: var(--fotogenic-font-sans); }
.editorial-hero__actions { display: flex; align-items: center; gap: 36px; margin-top: 34px; justify-content: left; flex-wrap: wrap; }
.fotogenic-scope .editorial-hero__primary {
  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--fotogenic-shell-button-height);
  padding: 0 var(--fotogenic-shell-button-padding);
  border: 1px solid transparent;
  border-radius: var(--fotogenic-button-radius);
  background: #080808;
  color: #fff;
  font-size: var(--fotogenic-shell-button-font-size);
  line-height: 1.5;
  font-weight: 650;
  transition: background .2s, transform .2s;
}
.editorial-hero__primary:hover { background: #292331; transform: translateY(-1px); }
.fotogenic-scope .editorial-hero__secondary { display: inline-flex; align-items: center; min-height: 48px; font-size: 17px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .editorial-hero__poster { animation: poster-float 13s ease-in-out 1800ms infinite; animation-play-state: paused; }
  .editorial-hero.is-ready:not(.is-motion-paused) .editorial-hero__poster { animation-play-state: running; }
  .editorial-hero__word { animation: poster-word 800ms cubic-bezier(.16,1,.3,1) 80ms both; }
  .editorial-hero__teaser { animation: poster-detail 650ms ease-out 20ms both; }
  .editorial-hero__ribbon { animation: poster-strip 1050ms cubic-bezier(.16,1,.3,1) 420ms both; }
  .editorial-hero__description { animation: poster-detail 650ms ease-out 760ms both; }
  .editorial-hero__actions { animation: poster-detail 650ms ease-out 890ms both; }
  .editorial-hero__window { animation: poster-panel 850ms cubic-bezier(.16,1,.3,1) 480ms both; }
  .editorial-hero__window:nth-child(2) { animation-delay: 610ms; }
  .editorial-hero__window:nth-child(3) { animation-delay: 740ms; }
  .editorial-hero__source { animation: product-card-entry 600ms ease-out 1050ms both; }
}
@keyframes poster-float { 0%, 12%, 100% { transform: translateY(0); } 31%, 39% { transform: translateY(-3px); } 58% { transform: translateY(1px); } 76%, 83% { transform: translateY(-2px); } }
@keyframes product-card-entry { from { opacity: 0; } to { opacity: 1; } }
@keyframes poster-word { from { opacity: 0; transform: translateY(36px) rotate(-8deg) scaleX(var(--word-scale, .7227)); } to { opacity: 1; transform: translateY(0) rotate(-4deg) scaleX(var(--word-scale, .7227)); } }
@keyframes poster-strip { 0% { opacity: 0; transform: translate(-40px,24px) rotate(-12deg) scale(.94); } 65% { opacity: 1; transform: translate(0,-3px) rotate(-5deg) scale(1.01); } 100% { opacity: 1; transform: translate(0,0) rotate(-4deg) scale(1); } }
@keyframes poster-detail { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes poster-panel { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
/* The hero artwork already extends beneath the fixed header. Fade only its
   existing glass surface at the very top; menus retain the shared surface. */
.page-template-page-fotogenic-custom .site-nav { transition: border-color 200ms ease; }
.page-template-page-fotogenic-custom .site-nav::before { transition: opacity 200ms ease; }
.page-template-page-fotogenic-custom .site-nav-wrap[data-hero-top]:not([data-menu-open]) .site-nav:not([data-open]) { border-bottom-color: transparent; }
.page-template-page-fotogenic-custom .site-nav-wrap[data-hero-top]:not([data-menu-open]) .site-nav:not([data-open])::before { opacity: .08; }
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
  .page-template-page-fotogenic-custom .site-nav-wrap[data-hero-top]:not([data-menu-open]) .site-nav:not([data-open])::before { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .page-template-page-fotogenic-custom .site-nav, .page-template-page-fotogenic-custom .site-nav::before { transition: none; }
}
.editorial-hero__gallery { position: relative; min-width: 0; --source-left: 0px; }
.editorial-hero__windows { display: flex; gap: 7px; height: clamp(500px, 48vw, 750px); }
.editorial-hero__window { position: relative; overflow: hidden; flex: 1 1 0; min-width: 0; border-radius: 20px; background: #e8edf1; isolation: isolate; transition: flex-grow  .75s var(--hero-ease); }
.editorial-hero__window.is-active { flex-grow: 3.55; }
.editorial-hero__window[hidden] { display: none; }
.fotogenic-scope .editorial-hero__result { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: object-position  .75s var(--hero-ease); }
.fotogenic-scope [data-hero-slot="0"].is-active .editorial-hero__result { object-position: 100% 45%; }
.editorial-hero__result-label { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 8px 12px; border: 1px solid #ffffffb3; border-radius: 12px; color: #25202c; background: #ffffffdf; font-size: 12px; line-height: 1.3; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 180ms ease; }
.editorial-hero__window.is-active .editorial-hero__result-label { opacity: 1; transition-delay: 600ms; }
.editorial-hero__panel-select { display: none; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; }
.editorial-hero.is-ready .editorial-hero__panel-select { display: block; }
.editorial-hero__panel-select:focus-visible { outline-offset: -5px; }
.editorial-hero__source { position: absolute; z-index: 3; width: clamp(106px, 10.5vw, 160px); aspect-ratio: .88; bottom: 8%; left: 0; transform: translateX(var(--source-left)); transition: transform .75s var(--hero-ease); border-radius: 18px; border: 1px solid #e5e5e9; background: #f7f7f8; box-shadow: 0 12px 35px #171b2610; pointer-events: none; }
.editorial-hero__source-label { position: absolute; z-index: 2; top: -13px; left: 10px; padding: 8px 15px; border-radius: 30px; background: #fff; box-shadow: 0 4px 15px #171b2608; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.editorial-hero__source-layer { position: absolute; inset: 23px 10px 12px; opacity: 0; transform: translateY(6px); transition: opacity .55s ease, transform .7s var(--hero-ease); }
.editorial-hero__source-layer.is-current { opacity: 1; transform: translateY(0); }
.fotogenic-scope .editorial-hero__source-layer img { width: 100%; height: 100%; object-fit: contain; }
.editorial-hero__connector { position: absolute; width: 80px; height: 66px; right: -20px; top: -75px; color: #69449d; animation: editorial-arrow-float 5.25s ease-in-out infinite; animation-play-state: paused; }
.editorial-hero__controls { display: none; position: absolute; z-index: 4; left: 50%; bottom: 12px; transform: translateX(-50%); width: min(300px, calc(100% - 24px)); align-items: center; gap: 8px; padding: 0 8px; border-radius: 28px; border: 1px solid #ffffffb3; background: #ffffffa8; backdrop-filter: blur(16px) saturate(125%); -webkit-backdrop-filter: blur(16px) saturate(125%); box-shadow: inset 0 1px 0 #ffffffe6, 0 4px 18px #2923330d; }
.editorial-hero__progress { display: flex; justify-content: center; flex: 1; pointer-events: auto; }
.editorial-hero__step { display: flex; align-items: center; justify-content: center; flex: 1; min-width: 44px; height: 44px; padding: 7px; border: 0; border-radius: var(--fotogenic-button-radius); background: transparent; cursor: pointer; }
.editorial-hero__step > span { display: block; width: 100%; height: 5px; background: #352d492b; border-radius: 6px; overflow: hidden; }
.editorial-hero__step i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #925bfa, #b599ff); transform: scaleX(0); transform-origin: left center; }
.editorial-hero__step.is-current i, .editorial-hero__step.is-complete i { transform: scaleX(1); }
/* Keyboard-accessible motion control; no visible play/pause icon. */
.editorial-hero__pause { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.editorial-hero__pause:focus-visible { width: auto; height: auto; min-height: 44px; clip-path: none; overflow: visible; right: 0; bottom: 54px; padding: 10px 16px; border: 1px solid #69449d; border-radius: 12px; background: #fff; color: #241932; }
.editorial-hero.is-ready .editorial-hero__controls { display: flex; }

.editorial-hero :is(button,a):focus-visible { outline: 3px solid #a16aff; outline-offset: 4px; }

.editorial-hero__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.editorial-hero.is-ready:not(.is-motion-paused) .editorial-hero__connector { animation-play-state: running; }
.editorial-hero.is-motion-paused .editorial-hero__connector { animation-play-state: paused; }
[data-hero-arrow-line] { stroke-dasharray: 1; stroke-dashoffset: 0; }
.editorial-hero__connector path { stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes editorial-arrow-float { 0%, 100% { transform: translate(-2px, 2px); } 50% { transform: translate(2px, -2px); } }
.fotogenic-scope .editorial-hero + .products-angles-section { margin-top: 48px; }
.fotogenic-scope .editorial-hero ~ #examples { scroll-margin-top: 112px; }
.admin-bar .fotogenic-scope .editorial-hero ~ #examples { scroll-margin-top: 144px; }
@media (min-width: 1001px) {
  .editorial-hero__source-label { font-size: 12px; padding: 7px 12px; }
}
@media (min-width: 1800px) { .editorial-hero__windows { height: 780px; } }
@media (max-width: 1200px) {
  .editorial-hero__controls { position: relative; bottom: auto; left: auto; transform: none; margin: 12px auto 0; }
  .editorial-hero__result-label { font-size: 10px; padding: 6px 8px; }
}
@media (max-width: 1200px) and (min-width: 1001px) {
  .editorial-hero { width: 100%; padding-inline: 24px; gap: 30px; padding-top: max(133px, calc(var(--fotogenic-header-height, 80px) + 32px)); }
  .editorial-hero__windows { height: 510px; }
  .editorial-hero__source { bottom: calc(7% + 56px); width: 100px; }
  .editorial-hero__actions { gap: 24px; }
}
@media (max-width: 1000px) {
  .editorial-hero { grid-template-columns: 1fr; width: 100%; padding-inline: max(24px, calc((100% - 760px) / 2)); gap: 40px; padding-top: max(139px, calc(var(--fotogenic-header-height, 76px) + 32px)); }
  .fotogenic-scope .editorial-hero__backdrop img { object-position: 25% center; }
  .editorial-hero__copy { padding: 0; }
  .editorial-hero__poster { max-width: 560px; }
  .editorial-hero__ribbon { --hero-ribbon-overhang: 0px; width: 100%; }
  .editorial-hero__teaser { margin-bottom: 44px; }
  .fotogenic-scope .editorial-hero__description { max-inline-size: min(100%, var(--hero-intro-measure, 32ch)); font-size: var(--fotogenic-type-hero-lead, var(--fotogenic-type-lead)); text-wrap: balance;}
  .editorial-hero__actions { margin-top: 24px; }
  .editorial-hero__windows { height: min(680px, 87vw); }
  .editorial-hero__source { bottom: calc(8% + 56px); width: 141px; }
  .editorial-hero__connector { right: -50px; }
}
@media (max-width: 600px) {
  .editorial-hero { width: 100%; padding: var(--fotogenic-hero-top) var(--fotogenic-page-gutter) var(--fotogenic-section-end); gap: 28px; }
  .editorial-hero__teaser { margin-bottom: 40px; padding: 6px 10px 6px 7px; gap: 8px; }
  .fotogenic-scope .editorial-hero__teaser p { font-size: 11px; }
  .fotogenic-scope .editorial-hero__portraits { width: 84px; flex-basis: 84px; height: 29px; }
  .fotogenic-scope .editorial-hero__description { margin-top: var(--fotogenic-content-gap); font-size: var(--fotogenic-type-hero-lead, var(--fotogenic-type-lead)); line-height: var(--fotogenic-leading-hero-lead, var(--fotogenic-leading-lead)); max-inline-size: min(100%, var(--hero-intro-measure, 32ch)); text-wrap: balance;}
  .editorial-hero__actions { gap: 18px; flex-wrap: wrap; margin-top: 22px; }
  .fotogenic-scope .editorial-hero__secondary { font-size: 15px; }
  .editorial-hero__ribbon { box-shadow: 5px 6px 0 #c6b7f2, 0 12px 20px #37245b20; }
  .editorial-hero__result-label { top: auto; left: auto; right: 8px; bottom: 8px; padding: 6px 8px; font-size: 9px; border-radius: 9px; }
  .editorial-hero__windows { height: calc((100vw - 46px) * .86); gap: 5px; }
  .editorial-hero__window { border-radius: 13px; }
  .editorial-hero__source { width: 82px; bottom: calc(9% + 48px); border-radius: 12px; }
  .editorial-hero__source-label { font-size: 8px; padding: 5px 7px; left: 50%; top: -10px; transform: translateX(-50%); }
  .editorial-hero__source-layer { inset: 15px 5px 6px; }
  .editorial-hero__connector { width: 48px; height: 40px; top: -46px; right: -25px; }
  .editorial-hero__controls { position: relative; bottom: auto; left: auto; transform: none; width: min(280px, calc(100% - 112px)); margin: 16px auto 0; }
  
}
@media (prefers-reduced-motion: reduce) {
  .editorial-hero *, .editorial-hero *::before, .editorial-hero *::after { transition: none !important; animation: none !important; }
}

/* The shared mobile header stays in normal flow when JavaScript is unavailable. */
@media (max-width: 1199px) and (scripting: none) { .editorial-hero { padding-top: 32px; } }
@media (max-width: 1000px) and (scripting: none) { .editorial-hero { padding-top: 42px; } }
@media (max-width: 599px) and (scripting: none) { .editorial-hero { padding-top: 32px; } }

@media (max-width: 360px) {
  .editorial-hero__actions { gap: 10px; }
  .fotogenic-scope .editorial-hero__secondary { font-size: 14px; }
}

@media (prefers-reduced-transparency: reduce) {
  .editorial-hero__controls { background: #f3f0f6; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: #d8d1e1; }
}

.editorial-hero__video { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.editorial-hero__window.is-active .editorial-hero__video { opacity: 1; }
.editorial-hero__window .editorial-hero__video[data-playback="error"] { opacity: 0; }
