/* Primary five-project carousel: original captures, natural resolution, dark editorial UI. */
.editorial-site .visual-break{
  overflow:clip;
  padding:clamp(104px,12vw,176px) 0 clamp(110px,12vw,170px);
  background:#111!important;
  color:#f2f0eb;
  --editorial-line:rgba(242,240,235,.16);
}
.editorial-site .visual-break-head h2{color:#f2f0eb}
.editorial-site .landing-carousel-shell{margin-top:clamp(68px,7vw,104px)}
.editorial-site .landing-carousel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;padding-top:16px;border-top:1px solid var(--editorial-line)}
.editorial-site .landing-carousel-progress{color:#b6b3ad;font-family:Inter,Arial,sans-serif;font-size:10px;font-weight:600;letter-spacing:.14em}
.editorial-site .landing-carousel-progress b{color:#b72b32;font:inherit}
.editorial-site .landing-carousel-controls{display:flex;gap:8px}
.editorial-site .landing-carousel-controls button{display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid rgba(242,240,235,.25);border-radius:50%;background:transparent;color:#f2f0eb;font-family:Inter,Arial,sans-serif;font-size:18px;transition:border-color .2s ease,background-color .2s ease,color .2s ease,transform .2s ease}
.editorial-site .landing-carousel-controls button:hover:not(:disabled),.editorial-site .landing-carousel-controls button:focus-visible{border-color:#f2f0eb;background:#f2f0eb;color:#111;transform:translateY(-2px)}
.editorial-site .landing-carousel-controls button:focus-visible{outline:3px solid #b72b32;outline-offset:3px}
.editorial-site .landing-carousel-controls button:disabled{opacity:.28;cursor:not-allowed}
.editorial-site .landing-carousel-viewport{margin-right:calc((100vw - min(100% - var(--gutter)*2,1440px))/ -2);overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-inline:0;padding:0 var(--gutter) 12px 0;cursor:grab;scrollbar-width:none}
.editorial-site .landing-carousel-viewport::-webkit-scrollbar{display:none}
.editorial-site .landing-carousel-viewport.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.editorial-site .landing-carousel-viewport:focus-visible{outline:2px solid #b72b32;outline-offset:6px}
.editorial-site .landing-project-grid,.editorial-site .landing-carousel-track{display:flex!important;grid-template-columns:none!important;gap:clamp(18px,2vw,30px)!important;max-width:none!important;margin:0!important;width:max-content}
.editorial-site .landing-grid-card,.editorial-site .landing-grid-card--05{flex:0 0 clamp(500px,42vw,680px);width:auto!important;min-width:0;grid-column:auto!important;justify-self:auto;scroll-snap-align:start;scroll-snap-stop:always}
.editorial-site .landing-grid-card a{display:block;color:#f2f0eb;text-decoration:none}
.editorial-site .landing-grid-card figure{position:relative;display:flex;justify-content:center;align-items:flex-start;height:clamp(380px,34vw,520px);margin:0;padding:0;overflow:hidden;border:1px solid rgba(242,240,235,.12);background:#1b1b1b;isolation:isolate}
.editorial-site .landing-grid-card figure:after{content:"";position:absolute;inset:0;z-index:2;box-shadow:inset 0 0 0 1px rgba(0,0,0,.24);pointer-events:none}
.editorial-site .landing-grid-card img{display:block;width:min(100%,var(--asset-width));max-width:100%;height:auto;min-height:100%;object-fit:contain;object-position:top center;filter:none!important;transform:none;transform-origin:top center;transition:transform .8s cubic-bezier(.22,1,.36,1)}
.editorial-site .landing-grid-card img{-webkit-user-drag:none;user-select:none}
.editorial-site .landing-grid-card a:hover img,.editorial-site .landing-grid-card a:focus-visible img{transform:translateY(-7%)}
.editorial-site .landing-grid-card a:focus-visible{outline:3px solid #b72b32;outline-offset:4px}
.editorial-site .landing-grid-copy{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:14px;align-items:end;padding:18px 0 0;border-top:1px solid rgba(242,240,235,.16)}
.editorial-site .landing-grid-copy>span{align-self:start;color:#b72b32;font-family:Inter,Arial,sans-serif;font-size:10px;font-weight:700;letter-spacing:.12em}
.editorial-site .landing-grid-copy p{margin:0 0 7px;color:#b6b3ad;font-family:Inter,Arial,sans-serif;font-size:9px;font-weight:600;letter-spacing:.11em;text-transform:uppercase}
.editorial-site .landing-grid-copy h3{margin:0;color:#f2f0eb;font-family:Inter,Arial,sans-serif;font-size:clamp(25px,2.2vw,36px);font-weight:600;line-height:1;letter-spacing:-.045em}
.editorial-site .landing-grid-copy b{display:inline-flex;align-items:center;gap:12px;min-height:46px;padding:0 16px;border:1px solid rgba(242,240,235,.3);color:#f2f0eb;font-family:Inter,Arial,sans-serif;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;transition:background-color .2s ease,border-color .2s ease,color .2s ease}
.editorial-site .landing-grid-copy b i{color:#b72b32;font-size:15px;font-style:normal;transition:transform .2s ease}
.editorial-site .landing-grid-card a:hover b,.editorial-site .landing-grid-card a:focus-visible b{border-color:#f2f0eb;background:#f2f0eb;color:#111}
.editorial-site .landing-grid-card a:hover b i,.editorial-site .landing-grid-card a:focus-visible b i{transform:translate(3px,-3px)}

/* The continuous thumbnail strip stays secondary and compact. */
.editorial-site .project-carousel-heading{margin-top:clamp(86px,9vw,126px);border-color:rgba(242,240,235,.16);color:#b6b3ad}
.editorial-site .project-index-controls button{border-color:rgba(242,240,235,.22);color:#f2f0eb}
.editorial-site .project-index-loop{margin-top:30px;border-color:rgba(242,240,235,.14);background:#0c0c0c}
.editorial-site .project-index-card,.editorial-site [class*="project-index-card--"]{width:clamp(220px,17vw,280px);padding-top:0}
.editorial-site .project-index-card figure{height:clamp(300px,27vw,410px);padding:0;border:1px solid rgba(242,240,235,.1);background:#181818}
.editorial-site .project-index-card img{width:min(100%,var(--asset-width,100%));height:100%;object-fit:cover;object-position:top center;filter:none!important}
.editorial-site .project-index-copy h3{color:#f2f0eb;font-family:Inter,Arial,sans-serif;font-weight:600}
.editorial-site .project-index-copy p{color:#8d8983}
.editorial-site .project-index-copy b{color:#f2f0eb}
.editorial-site .directed-case .project-heading h3{overflow:visible;padding-bottom:.18em}
.editorial-site .directed-case .project-context{margin-top:12px}
.portfolio-motion-ready .editorial-site .project-heading .case-reveal{opacity:1!important;transform:none!important;transition:opacity .3s ease!important;will-change:auto!important}

/* Dedicated pages: no artificial frame, shadow, background, or upscaling. */
.project-detail-site .project-detail-capture-frame{max-width:980px;padding:0;background:transparent!important;box-shadow:none!important}
.project-detail-site .project-detail-capture-frame img{width:auto;max-width:100%;height:auto;background:transparent!important;filter:none!important}
.project-detail-site .project-detail-gallery-grid figure{padding:0;background:transparent;border-color:rgba(242,240,235,.12)}
.project-detail-site .project-detail-gallery-grid img{background:transparent!important;filter:none!important}

@media(max-width:1100px){
  .editorial-site .landing-grid-card,.editorial-site .landing-grid-card--05{flex-basis:min(78vw,620px)}
  .editorial-site .landing-grid-card figure{height:clamp(360px,48vw,500px)}
}
@media(max-width:760px){
  .editorial-site .visual-break{padding-top:96px;padding-bottom:106px}
  .editorial-site .landing-carousel-shell{margin-top:58px}
  .editorial-site .landing-carousel-toolbar{margin-bottom:16px}
  .editorial-site .landing-carousel-controls button{width:44px;height:44px}
  .editorial-site .landing-carousel-viewport{margin-right:calc(var(--gutter)*-1);padding-right:var(--gutter)}
  .editorial-site .landing-grid-card,.editorial-site .landing-grid-card--05{flex-basis:min(84vw,390px)}
  .editorial-site .landing-grid-card figure{height:clamp(220px,63vw,290px)}
  .editorial-site .landing-grid-copy{grid-template-columns:28px minmax(0,1fr);align-items:start}
  .editorial-site .landing-grid-copy b{grid-column:2;width:max-content;margin-top:7px}
  .editorial-site .landing-grid-copy h3{font-size:clamp(24px,7vw,31px)}
  .editorial-site .directed-case .project-context{margin-top:16px;line-height:1.55}
  .editorial-site .project-carousel-heading{margin-top:76px}
  .editorial-site .project-index-card,.editorial-site [class*="project-index-card--"]{width:min(64vw,270px)}
  .editorial-site .project-index-card figure{height:340px}
}
@media(max-width:380px){
  .editorial-site .landing-grid-card,.editorial-site .landing-grid-card--05{flex-basis:84vw}
  .editorial-site .landing-grid-card figure{height:220px}
  .editorial-site .header-inner{gap:5px}
  .editorial-site .wordmark{font-size:10px;letter-spacing:-.03em}
  .editorial-site .language-switcher{margin-right:1px;gap:1px}
  .editorial-site .menu-toggle{width:40px;height:40px}
}
@media(prefers-reduced-motion:reduce){
  .editorial-site .landing-carousel-viewport{scroll-behavior:auto}
  .editorial-site .landing-grid-card img{transition:none!important;transform:none!important}
}
