.home-editorial{
 grid-column:span 12;min-width:0;overflow:hidden;
 padding:var(--k-editorial-space) 0;background:var(--k-paper);color:var(--k-ink);
 font-family:var(--k-face-body);
}
.home-editorial .editorial-header{
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:var(--k-gap);
 padding-inline:var(--k-gutter);
}
.home-editorial .editorial-eyebrow{
 display:block;margin:0 0 var(--k-gap-sm);font-size:var(--k-t-label);
 font-weight:700;letter-spacing:var(--k-ls-label);text-transform:uppercase;
 color:var(--k-ink-mid);
}
.home-editorial .editorial-heading{min-width:0}
.home-editorial h2{
 margin:0;font-family:var(--k-face-display);font-size:var(--k-editorial-heading);
 font-weight:500;line-height:var(--k-lh-display);letter-spacing:var(--k-ls-display);
}
.home-editorial h2 span{color:var(--k-flare)}
.home-editorial .editorial-intro{
 max-width:var(--k-editorial-copy);margin:var(--k-gap-sm) 0 0;
 color:var(--k-ink-mid);font-size:var(--k-t-small);line-height:var(--k-lh-body);
}
.home-editorial .editorial-all{
 display:inline-flex;align-items:center;justify-content:center;gap:var(--k-gap-sm);
 width:max-content;min-height:var(--k-editorial-control);padding:var(--k-editorial-button-pad);
 border:var(--k-hairline) solid currentColor;border-radius:var(--k-r-pill);
 font:700 var(--k-t-label)/var(--k-editorial-leading) var(--k-face-body);
 text-decoration:none;transition:background var(--k-dur-hover),color var(--k-dur-hover);
}
.home-editorial .editorial-all:hover{background:var(--k-ink);color:var(--k-paper)}
.home-editorial .editorial-stage{position:relative;margin-top:var(--k-gap)}
.home-editorial.has-editorial-dome .editorial-track{opacity:0;pointer-events:none}
.home-editorial .editorial-dome,.home-editorial .editorial-dome-canvas,
.home-editorial .editorial-dome-links{position:absolute;inset:0;width:100%;height:100%}
.home-editorial .editorial-dome,.home-editorial .editorial-dome-canvas{display:block;pointer-events:none}
.home-editorial .editorial-dome-links{pointer-events:none}
.home-editorial .editorial-dome-links a{position:absolute;pointer-events:auto;display:block}
.home-editorial .editorial-track{
 display:flex;align-items:center;gap:var(--k-editorial-gap);
 padding:var(--k-editorial-gallery-pad) var(--k-gutter);
 padding-right:max(var(--k-gutter),calc(100% - var(--k-editorial-card) - var(--k-gutter)));
 overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;
 scroll-snap-type:x proximity;scroll-padding-inline:var(--k-gutter);
 cursor:grab;touch-action:pan-x pan-y;isolation:isolate;
}
.home-editorial .editorial-track::-webkit-scrollbar{display:none}
.home-editorial .editorial-track.is-dragging{cursor:grabbing;scroll-snap-type:none}
.home-editorial .editorial-card{
 flex:0 0 var(--k-editorial-card);min-width:0;display:block;
 scroll-snap-align:start;text-decoration:none;color:inherit;
 -webkit-user-drag:none;user-select:none;position:relative;
}
.home-editorial .editorial-paper{
 display:block;aspect-ratio:var(--k-editorial-ratio);transform-origin:center;
 transform:perspective(var(--k-editorial-perspective))
  translateY(var(--paper-y,0px)) rotateY(var(--paper-yaw,0deg))
  rotate(var(--paper-rotate,0deg)) skewY(var(--paper-skew,0deg)) scale(var(--paper-scale,1));
 transition:filter var(--k-dur-hover);backface-visibility:hidden;
}
.home-editorial .editorial-paper picture,
.home-editorial .editorial-paper img{
 display:block;width:100%;height:100%;object-fit:contain;
 pointer-events:none;-webkit-user-drag:none;
}
.editorial-magazine .editorial-card[data-variant="0"]{
 --paper-y:var(--k-editorial-rise-a);--paper-rotate:var(--k-editorial-tilt-a);
}
.editorial-magazine .editorial-card[data-variant="1"]{
 --paper-y:var(--k-editorial-rise-b);--paper-rotate:var(--k-editorial-tilt-b);
 --paper-scale:var(--k-editorial-scale-b);
}
.editorial-magazine .editorial-card[data-variant="2"]{
 --paper-y:var(--k-editorial-rise-c);--paper-rotate:var(--k-editorial-tilt-c);
 --paper-scale:var(--k-editorial-scale-c);
}
.editorial-magazine .editorial-card[data-variant="3"]{
 --paper-y:var(--k-editorial-rise-d);--paper-rotate:var(--k-editorial-tilt-d);
 --paper-scale:var(--k-editorial-scale-d);
}
.home-editorial .editorial-controls{
 display:flex;align-items:center;gap:var(--k-gap-sm);padding-inline:var(--k-gutter);
 min-height:var(--k-editorial-caption-height);
}
.home-editorial .editorial-current{flex:1;min-width:0;display:grid;gap:var(--k-focus-gap)}
.editorial-insight .editorial-current{text-align:center;justify-items:center}
.has-editorial-dome .editorial-controls{
 transform:translateY(-30svh);position:relative;z-index:2;pointer-events:none;
 height:var(--k-editorial-caption-height);min-height:0;align-items:flex-start;
 mix-blend-mode:difference;
}
.editorial-insight.has-editorial-dome .editorial-current-title,
.editorial-insight.has-editorial-dome .editorial-current-meta{color:var(--k-card)}
.home-editorial .editorial-current-title{
 font-size:var(--k-t-small);font-weight:600;line-height:var(--k-editorial-leading);
}
.editorial-insight .editorial-current-title{
 width:100%;max-width:var(--k-editorial-copy);text-align:center;
 word-break:keep-all;overflow-wrap:anywhere;
}
.editorial-insight .editorial-title-line{display:block;text-wrap:balance}
.editorial-insight.has-editorial-dome .editorial-current-title{position:relative}
.editorial-insight.has-editorial-dome .editorial-current-title::after{
 content:attr(data-floor-title) / "";position:absolute;left:0;
 top:calc(100% + var(--k-editorial-caption-floor-distance));width:100%;
 white-space:pre-line;text-wrap:balance;pointer-events:none;
 color:var(--k-card);opacity:var(--k-editorial-caption-floor-opacity);
 filter:blur(var(--k-editorial-caption-floor-blur));
 transform-origin:center top;
 transform:perspective(var(--k-editorial-perspective))
  rotateX(var(--k-editorial-caption-floor-tilt)) scaleX(var(--k-editorial-caption-floor-width));
}
.home-editorial .editorial-current-meta,
.home-editorial .editorial-count{
 font-size:var(--k-t-label);color:var(--k-ink-mid);font-variant-numeric:tabular-nums;
}
.home-editorial .editorial-count{white-space:nowrap;margin-inline:var(--k-gap-sm)}
.home-editorial [data-editorial-prev],.home-editorial [data-editorial-next]{
 display:grid;place-items:center;flex:none;width:var(--k-editorial-control);
 height:var(--k-editorial-control);border:var(--k-hairline) solid var(--k-line);
 border-radius:50%;background:transparent;color:var(--k-ink);cursor:pointer;
 font:400 var(--k-t-lead)/1 var(--k-face-body);
 transition:background var(--k-dur-hover),color var(--k-dur-hover);
}
.home-editorial button:disabled{opacity:.35;cursor:default}
.home-editorial button:not(:disabled):hover{background:var(--k-ink);color:var(--k-paper)}
.home-editorial :is(a,button,.editorial-track):focus-visible{
 outline:var(--k-focus-w) solid var(--k-flare);outline-offset:var(--k-focus-gap);
}
.home-editorial .editorial-card:focus-visible{outline:none}
.home-editorial .editorial-card:focus-visible .editorial-paper{
 outline:var(--k-focus-w) solid var(--k-flare);outline-offset:var(--k-focus-gap);
}
.editorial-insight{--k-editorial-card:var(--k-editorial-insight-card);--k-editorial-ratio:var(--k-editorial-insight-ratio);border-top:var(--k-hairline) solid var(--k-line)}
.editorial-insight .editorial-track{
 gap:var(--k-editorial-insight-gap);padding-block:var(--k-editorial-insight-pad);
}
.home-editorial .editorial-scroll-hint{color:var(--k-ink-mid);font-size:var(--k-t-label);white-space:nowrap}
.home-editorial .editorial-swipe-hint{display:none}
.has-editorial-dome .editorial-stage{touch-action:pan-y}
.home-editorial.is-scroll-driven{padding:0;overflow:visible;position:relative;height:var(--editorial-scroll-height)}
.is-scroll-driven .editorial-scene{
 position:sticky;top:var(--k-hdr-h);height:calc(100svh - var(--k-hdr-h));
 box-sizing:border-box;min-width:0;width:100%;overflow:hidden;display:grid;
 grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;
 gap:var(--k-editorial-scene-gap);padding-block:var(--k-editorial-scene-pad);
}
.has-editorial-dome.is-scroll-driven .editorial-scene{
 background:var(--k-paper);
 height:calc(100svh - var(--k-hdr-h) + var(--editorial-dome-extra,0px));
 /* Let the extra space scroll past naturally; keep the caption in view. */
 top:calc(var(--k-hdr-h) - var(--editorial-dome-extra,0px));
}
.is-scroll-driven h2{font-size:var(--k-editorial-scene-heading)}
.is-scroll-driven .editorial-stage{min-width:0;min-height:0;margin:0}
.is-scroll-driven .editorial-track{
 box-sizing:border-box;height:100%;padding-block:var(--k-editorial-float-pad);
 overflow-x:hidden;scroll-snap-type:none;cursor:auto;
 padding-right:max(var(--k-gutter),calc(100% - var(--editorial-measured-card,var(--k-editorial-card)) - var(--k-gutter)));
}
.is-scroll-driven.editorial-insight .editorial-track{padding-block:var(--k-editorial-insight-pad)}
.is-scroll-driven .editorial-card{flex-basis:var(--editorial-measured-card,var(--k-editorial-card))}
.is-scroll-driven.editorial-magazine .editorial-card{
 --k-editorial-rise-a:var(--k-editorial-pin-rise-a);--k-editorial-rise-b:var(--k-editorial-pin-rise-b);
 --k-editorial-rise-c:var(--k-editorial-pin-rise-c);--k-editorial-rise-d:var(--k-editorial-pin-rise-d);
}
@media(min-width:1100px){
 .has-editorial-dome .editorial-heading{
  display:grid;grid-template-columns:max-content 1fr;align-items:end;
  column-gap:var(--k-editorial-header-gap);
 }
 .has-editorial-dome .editorial-eyebrow{grid-column:1/-1}
 .has-editorial-dome .editorial-intro{margin:0;max-width:var(--k-editorial-copy)}
}
@media(max-width:760px){
 .home-editorial{--k-editorial-card:var(--k-editorial-card-mobile)}
 .home-editorial .editorial-header{grid-template-columns:minmax(0,1fr);gap:var(--k-gap-sm)}
 .home-editorial .editorial-track{gap:var(--k-gap);scroll-snap-type:x mandatory}
 .home-editorial .editorial-count{margin-inline:0}
 .home-editorial .editorial-current-title{font-size:var(--k-t-body)}
 .home-editorial .editorial-current-meta{display:none}
 .home-editorial .editorial-controls{flex-wrap:wrap}
 .home-editorial .editorial-current{flex-basis:100%}
 .home-editorial :is([data-editorial-prev],[data-editorial-next],.editorial-count,.editorial-scroll-hint){display:none}
 .home-editorial .editorial-swipe-hint{
  display:flex;align-items:center;justify-content:center;gap:var(--k-gap-sm);
  flex-basis:100%;height:var(--k-editorial-swipe-height);font-size:var(--k-t-label);color:var(--k-ink-mid);
 }
 .editorial-swipe-motion{position:relative;width:var(--k-editorial-swipe-width);height:var(--k-editorial-swipe-dot)}
 .editorial-swipe-motion::before{
  content:"";position:absolute;inset-block:0;left:0;width:var(--k-editorial-swipe-dot);
  border-radius:var(--k-r-pill);background:currentColor;
 }
 .editorial-swipe-hint.is-swipe-visible .editorial-swipe-motion::before{animation:editorial-swipe var(--k-editorial-swipe-duration) var(--k-ease) 3}
 .editorial-insight.has-editorial-dome .editorial-swipe-hint{color:var(--k-card)}
 .is-scroll-driven .editorial-header{grid-template-columns:minmax(0,1fr) auto;align-items:start}
 .is-scroll-driven .editorial-intro{display:none}
 .is-scroll-driven .editorial-all{min-height:var(--k-edit-touch);padding:var(--k-edit-button-pad)}
 .is-scroll-driven .editorial-scroll-hint{flex-basis:100%}
 .is-scroll-driven .editorial-current-title{
  min-height:calc(2em * var(--k-editorial-leading));
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
 }
 .is-scroll-driven.editorial-insight .editorial-current-title{
  display:block;-webkit-line-clamp:unset;overflow:visible;
 }
 .is-scroll-driven .editorial-eyebrow{font-size:var(--k-t-label);letter-spacing:0}
 .is-scroll-driven h2{font-size:var(--k-t-title)}
}
@keyframes editorial-swipe{
 0%,100%{transform:translateX(0)}
 50%{transform:translateX(calc(var(--k-editorial-swipe-width) - var(--k-editorial-swipe-dot)))}
}
@media(prefers-reduced-motion:reduce){
 .home-editorial .editorial-paper{transform:translateY(var(--paper-y,0px)) rotate(var(--paper-rotate,0deg)) scale(var(--paper-scale,1))}
 .home-editorial *{scroll-behavior:auto;transition:none!important}
 .home-editorial .editorial-swipe-motion::before{animation:none}
}

/* Magazine keeps its original angled, lifted-card feel with wider spacing. */
.is-editorial-deck .editorial-track{
 gap:0;perspective:var(--k-editorial-perspective);isolation:isolate;scroll-snap-type:none;
 padding-block:var(--k-editorial-deck-pad) var(--k-gap);
 padding-right:max(var(--k-gutter),calc(100% - var(--k-editorial-deck-card) - var(--k-gutter)));
}
.is-editorial-deck .editorial-card{
 flex-basis:var(--k-editorial-deck-card);margin-right:var(--k-editorial-deck-overlap);
 z-index:var(--deck-depth);
 --paper-y:0px!important;--paper-rotate:0deg!important;--paper-skew:0deg;
 --paper-yaw:var(--k-editorial-deck-tilt);--paper-scale:var(--k-editorial-deck-scale)!important;
}
.is-editorial-deck:not(.deck-in) .editorial-card{opacity:0;transform:translateY(var(--k-editorial-deck-enter-y))}
.is-editorial-deck.deck-in .editorial-card{
 animation:editorial-deck-rise var(--k-dur-enter) var(--k-ease) backwards;
 animation-delay:calc(var(--deck-index) * var(--k-editorial-deck-stagger));
}
@keyframes editorial-deck-rise{
 from{opacity:0;transform:translateY(var(--k-editorial-deck-enter-y))}
 to{opacity:1;transform:none}
}
.is-editorial-deck .editorial-paper{
 border-radius:var(--k-r-lg);overflow:hidden;
 transition:transform var(--k-editorial-preview-lift) var(--k-ease),filter var(--k-dur-hover);
}
.is-editorial-deck .editorial-card:last-child{margin-right:0}
.is-editorial-deck .editorial-card.is-raised .editorial-paper{
 transform:perspective(var(--k-editorial-perspective)) translateY(var(--k-editorial-deck-lift)) rotateY(var(--k-editorial-deck-raised-tilt));
}
/* Keep the hover/click target still while the visual lifts out of the stack. */
.is-editorial-deck .editorial-paper{pointer-events:none}
.is-editorial-deck .editorial-card.is-raised::before{
 content:"";position:absolute;inset:var(--k-editorial-deck-lift) 0 0;
}
.is-editorial-deck .editorial-card.is-preview-source .editorial-paper{visibility:hidden}
@media(max-width:760px){
 .is-editorial-deck{
  --k-editorial-deck-card:var(--k-editorial-deck-card-mobile);
  --k-editorial-deck-overlap:calc(var(--k-editorial-deck-mobile-peek) - var(--k-editorial-deck-card));
  --k-editorial-deck-tilt:var(--k-editorial-deck-mobile-tilt);
  --k-editorial-deck-pad:calc(var(--k-editorial-deck-card) + var(--k-editorial-deck-mobile-headroom));
 }
 .is-editorial-deck .editorial-track{scroll-snap-type:x mandatory}
}
@media(prefers-reduced-motion:reduce){
 .is-editorial-deck .editorial-card{animation:none!important;opacity:1!important;transform:none!important}
}

/* The top layer receives the selected cover only after its in-deck lift finishes. */
dialog.editorial-preview{
 position:fixed;inset:0;margin:0;padding:0;border:0;width:100%;height:100dvh;
 max-width:none;max-height:none;overflow:auto;overscroll-behavior:contain;
 background:transparent;color:var(--k-deep-ink);font-family:var(--k-face-body);
 z-index:var(--k-z-modal);
}
.editorial-preview::backdrop{background:transparent}
.editorial-preview::before{
 content:"";position:fixed;inset:0;background:var(--k-deep);opacity:0;pointer-events:none;
 transition:opacity var(--k-editorial-preview-lift) var(--k-ease);
}
.editorial-preview.is-expanded::before{opacity:1}
.editorial-preview-sheet{
 position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;
 gap:var(--k-editorial-preview-gap);min-height:100%;padding:var(--k-editorial-preview-pad);
}
.editorial-preview-figure{
 position:relative;flex:none;margin:0;width:var(--k-editorial-preview-cover);aspect-ratio:4/5;
 border-radius:var(--k-r-lg);overflow:hidden;transform-origin:center;will-change:transform;
}
.editorial-preview-figure img{display:block;width:100%;height:100%;object-fit:contain}
.editorial-preview-copy{flex:0 1 var(--k-editorial-preview-copy);max-width:var(--k-editorial-preview-copy)}
.editorial-preview-copy,.editorial-preview-close{
 opacity:0;pointer-events:none;transition:opacity var(--k-dur-hover) var(--k-editorial-preview-lift);
}
.editorial-preview.is-expanded :is(.editorial-preview-copy,.editorial-preview-close){opacity:1;pointer-events:auto}
.editorial-preview-meta{margin:0 0 var(--k-gap-sm);font-size:var(--k-t-label);color:var(--k-deep-mid);line-height:var(--k-lh-body)}
.editorial-preview h3{margin:0;font-size:var(--k-editorial-preview-title);line-height:1.18;letter-spacing:var(--k-ls-title);word-break:keep-all}
.editorial-preview-lead{margin:var(--k-gap-sm) 0 var(--k-gap);font-size:var(--k-t-small);line-height:var(--k-lh-body);color:var(--k-deep-mid);white-space:pre-line;word-break:keep-all}
.editorial-preview :is(.editorial-preview-go,.editorial-preview-close){
 display:inline-flex;align-items:center;justify-content:center;gap:var(--k-gap-sm);
 min-height:var(--k-editorial-control);border:var(--k-hairline) solid var(--k-deep-mid);
 border-radius:var(--k-r-pill);background:var(--k-deep);color:var(--k-deep-ink);
 font:700 var(--k-t-body)/1 var(--k-face-body);text-decoration:none;cursor:pointer;
}
.editorial-preview .editorial-preview-go{padding:var(--k-editorial-button-pad)}
.editorial-preview :is(.editorial-preview-go,.editorial-preview-close):hover{background:var(--k-flare);border-color:var(--k-flare)}
.editorial-preview-close{position:fixed;right:var(--k-gap-sm);top:var(--k-gap-sm);width:var(--k-editorial-control);z-index:1}
.editorial-preview :is(a,button):focus-visible{outline:var(--k-focus-w) solid var(--k-ember);outline-offset:var(--k-focus-gap)}
@media(max-width:900px){
 .editorial-preview-sheet{flex-direction:column;justify-content:flex-start;padding-top:var(--k-hdr-h);gap:var(--k-gap-sm)}
 .editorial-preview-figure{width:var(--k-editorial-preview-cover-mobile)}
 .editorial-preview-copy{flex:none;width:100%;max-width:var(--k-editorial-preview-copy)}
 .editorial-preview h3{font-size:var(--k-t-lead)}
 .editorial-preview-lead{font-size:var(--k-t-body)}
}
@media(prefers-reduced-motion:reduce){
 .editorial-preview::before,.editorial-preview *{transition:none!important}
}
