/* Layout variants share real content, controls and the selected photo-print language. */
.view-panel[data-view="home"] .home-intro,
.view-panel[data-view="home"] .home-work,
.view-panel[data-view="home"] .creator-card,
.view-panel[data-view="home"] .featured-block,
.view-panel[data-view="home"] .live-and-notes,
.view-panel[data-view="home"] .live-section,
.view-panel[data-view="home"] .notes-teaser{min-width:0}
.view-panel[data-view="home"] .home-intro{padding-block:32px 44px;gap:clamp(28px,4.4vw,64px);align-items:start}
.view-panel[data-view="home"] .creator-copy h1{font-size:clamp(36px,3.8vw,54px);font-weight:550;line-height:1.12;letter-spacing:-.035em;margin:0}
.view-panel[data-view="home"] .creator-copy p{font-size:14px;line-height:1.6;color:var(--muted);margin:12px 0 0}
.view-panel[data-view="home"] .photo-slideshow{width:100%;max-width:294px;margin:0;padding:12px 12px 0;background:#fff;box-shadow:0 7px 23px rgba(30,39,42,.07);transform:rotate(-1.2deg)}
.view-panel[data-view="home"] .photo-window{aspect-ratio:3/4;max-height:352px;overflow:hidden;background:#e5e1dd}
.view-panel[data-view="home"] .photo-window img{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 38%}
.view-panel[data-view="home"] .slideshow-controls{min-height:50px;gap:0;align-items:center;justify-content:space-between;flex-wrap:wrap}
.view-panel[data-view="home"] .slideshow-controls button{min-width:44px;min-height:44px}
.view-panel[data-view="home"] .featured-block{align-self:start}
.view-panel[data-view="home"] .featured-block>.video-stage{width:100%;aspect-ratio:16/9}
.view-panel[data-view="home"] .feature-selector{margin-top:16px;min-width:0}
.view-panel[data-view="home"] .home-work{display:grid;gap:52px;padding-bottom:42px}
.view-panel[data-view="home"] .shorts-section{min-width:0}
.view-panel[data-view="home"] .shorts-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;align-items:start;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin}
.view-panel[data-view="home"] .short-card{min-width:0;scroll-snap-align:start}
.view-panel[data-view="home"] .live-and-notes{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:clamp(30px,4vw,56px);align-items:start}

/* A: the print is an introduction beside the selected work. */
body[data-layout="journal"] .home-intro{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.7fr)}
body[data-layout="journal"] .creator-card{display:flex;flex-direction:column;align-items:flex-start;gap:22px;padding-right:12px}
body[data-layout="journal"] .creator-copy{padding-left:5px}
body[data-layout="journal"] .photo-slideshow{max-width:276px}
body[data-layout="journal"] .photo-window{max-height:326px}
body[data-layout="journal"] .featured-block{padding-top:4px}
body[data-layout="journal"] .feature-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body[data-layout="journal"] .home-work{padding-top:8px}

/* B: a horizontal screening desk, with a small print at its right edge. */
body[data-layout="screening"] .home-intro{display:grid;grid-template-columns:minmax(0,1fr) 248px;grid-template-areas:"feature creator";gap:38px;padding-top:34px;padding-bottom:42px}
body[data-layout="screening"] .creator-card{grid-area:creator;display:flex;flex-direction:column;gap:20px;align-items:flex-start;padding-top:8px}
body[data-layout="screening"] .creator-copy h1{font-size:40px}
body[data-layout="screening"] .photo-slideshow{max-width:248px;transform:rotate(1.1deg)}
body[data-layout="screening"] .photo-window{aspect-ratio:3/4;max-height:292px}
body[data-layout="screening"] .featured-block{grid-area:feature;display:grid;grid-template-columns:minmax(0,1fr) 142px;column-gap:20px;align-items:start}
body[data-layout="screening"] .featured-block>:not(.video-stage):not(.feature-selector){grid-column:1/-1}
body[data-layout="screening"] .featured-block>.video-stage{grid-column:1;grid-row:2}
body[data-layout="screening"] .featured-block>.feature-selector{grid-column:2;grid-row:2;display:flex;flex-direction:column;gap:12px;margin-top:0}
body[data-layout="screening"] .feature-selector button{width:100%;display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:6px}
body[data-layout="screening"] .feature-selector img{width:100%;aspect-ratio:16/9;object-fit:cover;max-height:80px}
body[data-layout="screening"] .shorts-rail{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;max-width:1070px}
body[data-layout="screening"] .live-and-notes{grid-template-columns:minmax(0,1.8fr) minmax(270px,.9fr);gap:48px}

/* C: a full-width name line above a photo-and-video spread, then records. */
body[data-layout="notebook"] .home-intro{display:grid;grid-template-columns:286px minmax(0,1fr);column-gap:54px;row-gap:28px;padding-top:24px;padding-bottom:44px}
body[data-layout="notebook"] .creator-card{display:contents}
body[data-layout="notebook"] .creator-copy{grid-column:1/-1;grid-row:1;display:flex;align-items:baseline;justify-content:space-between;gap:28px;padding-bottom:22px;border-bottom:1px solid var(--line)}
body[data-layout="notebook"] .creator-copy h1{font-size:44px}
body[data-layout="notebook"] .creator-copy p{margin:0}
body[data-layout="notebook"] .photo-slideshow{grid-column:1;grid-row:2;max-width:286px;transform:rotate(.8deg)}
body[data-layout="notebook"] .photo-window{max-height:342px}
body[data-layout="notebook"] .featured-block{grid-column:2;grid-row:2}
body[data-layout="notebook"] .feature-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body[data-layout="notebook"] .home-work{gap:54px}
body[data-layout="notebook"] .live-and-notes{order:-1;grid-template-columns:minmax(0,1.3fr) minmax(310px,1fr);gap:54px;padding-top:10px}
body[data-layout="notebook"] .notes-teaser{padding-top:0}
body[data-layout="notebook"] .shorts-rail{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}

@media(min-width:1440px){
  body[data-layout="journal"] .home-intro{grid-template-columns:300px minmax(0,1fr)}
  body[data-layout="screening"] .home-intro{grid-template-columns:minmax(0,1fr) 266px;gap:46px}
  body[data-layout="screening"] .photo-slideshow{max-width:266px}
  body[data-layout="screening"] .photo-window{max-height:316px}
  body[data-layout="screening"] .featured-block{grid-template-columns:minmax(0,1fr) 156px;column-gap:22px}
  body[data-layout="screening"] .feature-selector img{max-height:88px}
}

@media(max-width:1050px) and (min-width:701px){
  .view-panel[data-view="home"] .home-intro{gap:28px;padding-block:28px 36px}
  .view-panel[data-view="home"] .creator-copy h1{font-size:38px}
  .view-panel[data-view="home"] .home-work{gap:42px}
  .view-panel[data-view="home"] .live-and-notes{grid-template-columns:minmax(0,1.4fr) minmax(230px,1fr);gap:28px}
  .view-panel[data-view="home"] .shorts-rail{gap:18px}
  body[data-layout="journal"] .home-intro{grid-template-columns:226px minmax(0,1fr)}
  body[data-layout="journal"] .creator-card{padding:0;gap:20px}
  body[data-layout="journal"] .photo-window{max-height:268px}
  body[data-layout="journal"] .feature-selector{gap:8px}
  body[data-layout="screening"] .home-intro{grid-template-columns:minmax(0,1fr) 212px;gap:28px}
  body[data-layout="screening"] .photo-window{max-height:250px}
  body[data-layout="screening"] .featured-block{display:block}
  body[data-layout="screening"] .featured-block>.feature-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
  body[data-layout="screening"] .feature-selector img{max-height:none}
  body[data-layout="notebook"] .home-intro{grid-template-columns:236px minmax(0,1fr);gap:24px 30px}
  body[data-layout="notebook"] .creator-copy{padding-bottom:18px}
  body[data-layout="notebook"] .photo-window{max-height:290px}
  body[data-layout="notebook"] .live-and-notes{gap:30px}
}

@media(max-width:700px){
  .view-panel[data-view="home"] .home-intro{display:flex!important;flex-direction:column;gap:28px!important;padding-block:24px 34px}
  .view-panel[data-view="home"] .creator-card{display:grid!important;grid-template-columns:minmax(0,1fr) 154px;gap:20px;align-items:center;padding:0;width:100%}
  .view-panel[data-view="home"] .creator-copy{display:block;grid-column:1;grid-row:1;padding:0;border:0;min-width:0}
  .view-panel[data-view="home"] .creator-copy h1{font-size:36px;line-height:1.18}
  .view-panel[data-view="home"] .creator-copy p{font-size:13px;margin-top:12px}
  .view-panel[data-view="home"] .photo-slideshow{grid-column:2;grid-row:1;width:154px;max-width:154px;margin:0;padding:9px 9px 0;transform:rotate(1deg)}
  .view-panel[data-view="home"] .photo-window{height:182px;max-height:182px;aspect-ratio:auto}
  .view-panel[data-view="home"] .slideshow-controls{margin-inline:-7px;min-height:44px;justify-content:center;column-gap:0}
  .view-panel[data-view="home"] .slideshow-controls button{min-width:44px;min-height:44px;padding-inline:0}
  .view-panel[data-view="home"] .slideshow-controls :is(.slide-count,.photo-count){font-size:11px;min-width:100%;text-align:center;padding-block:1px 3px}
  .view-panel[data-view="home"] .featured-block{width:100%;display:block!important;padding:0}
  .view-panel[data-view="home"] .featured-block>.feature-selector{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;margin-top:13px!important}
  .view-panel[data-view="home"] .feature-selector button{min-height:44px}
  .view-panel[data-view="home"] .feature-selector img{width:100%;max-height:none;aspect-ratio:16/9;object-fit:cover}
  .view-panel[data-view="home"] .home-work{display:flex;flex-direction:column;gap:36px;padding-bottom:30px}
  .view-panel[data-view="home"] .shorts-section{width:100%;order:0}
  .view-panel[data-view="home"] .shorts-rail{display:flex;gap:14px;max-width:none;padding:0 1px 8px;overflow-x:auto;scroll-padding-inline:1px;overscroll-behavior-inline:contain}
  .view-panel[data-view="home"] .short-card{flex:0 0 44%;width:44%;min-width:140px;max-width:196px}
  .view-panel[data-view="home"] .live-and-notes{display:flex;flex-direction:column;gap:34px;order:1;padding:0;width:100%}
  .view-panel[data-view="home"] .live-section,
  .view-panel[data-view="home"] .notes-teaser{width:100%;padding:0}
  body[data-layout="screening"] .home-intro .creator-card{order:1}
  body[data-layout="screening"] .home-intro .featured-block{order:0}
  body[data-layout="screening"] .creator-card{grid-template-columns:132px minmax(0,1fr);gap:23px;align-items:center}
  body[data-layout="screening"] .creator-copy{grid-column:2}
  body[data-layout="screening"] .photo-slideshow{grid-column:1;width:132px;max-width:132px;padding:8px 8px 0;transform:rotate(-1deg)}
  body[data-layout="screening"] .photo-window{height:157px;max-height:157px}
  body[data-layout="screening"] .slideshow-controls{margin-inline:-8px}
  body[data-layout="notebook"] .creator-card{grid-template-columns:154px minmax(0,1fr);gap:22px;padding-bottom:24px;border-bottom:1px solid var(--line)}
  body[data-layout="notebook"] .creator-copy{grid-column:2}
  body[data-layout="notebook"] .photo-slideshow{grid-column:1;transform:rotate(-1deg)}
  body[data-layout="notebook"] .home-work .live-and-notes{order:0}
  body[data-layout="notebook"] .home-work .shorts-section{order:1}
}

@media(max-width:380px){
  .view-panel[data-view="home"] .creator-card{grid-template-columns:minmax(0,1fr) 140px;gap:16px}
  .view-panel[data-view="home"] .creator-copy h1{font-size:32px}
  .view-panel[data-view="home"] .photo-slideshow{width:140px;max-width:140px;padding:8px 8px 0}
  .view-panel[data-view="home"] .photo-window{height:168px;max-height:168px}
  .view-panel[data-view="home"] .slideshow-controls{margin-inline:-8px}
  .view-panel[data-view="home"] .feature-selector{gap:8px!important}
  body[data-layout="screening"] .creator-card{grid-template-columns:132px minmax(0,1fr);gap:19px}
  body[data-layout="screening"] .photo-slideshow{width:132px;max-width:132px}
  body[data-layout="notebook"] .creator-card{grid-template-columns:140px minmax(0,1fr);gap:18px}
}

@media(prefers-reduced-motion:reduce){
  .view-panel[data-view="home"] .shorts-rail{scroll-behavior:auto;scroll-snap-type:none}
}
