/* Editorial board on the home page, laptops and wider (13 Nov 2026). Script: js/edb.js. Phones keep the shelf. */
.edb, .rep__one { display: none; }
@media (min-width: 861px) {
  /* the header keeps the headline; one short paragraph from the About page replaces the two, set level with the headline top */
  .rep__two { display: none; }
  .rep__one { display: block; max-width: 24em; margin: 0; padding-top: 1.1vh; font-size: min(1.15vw, 2vh); line-height: 1.6; }
  html:not(.shp-open) .rep__head { align-items: start; }
  .rep__cols { align-self: start; }
  #repDesk { display: none !important; }

  .edb { display: block; margin-top: clamp(16px, 3vh, 44px); }
  .edb__board { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
  .edb__cat { margin: 0 0 2vh; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #8d8d88; }
  .edb__q { margin: 0; font-family: var(--display, "Newsreader", serif); font-weight: 300; font-size: min(2.3vw, 3.5vh); line-height: 1.2; letter-spacing: -.003em; color: #F0EEEC; max-width: 19em; }
  .edb__note { margin-top: 3.4vh; max-width: 30em; }
  .edb__al { margin: 0 0 1.4vh; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #b9b9b4; }
  .edb__a { margin: 0; font-size: min(14px, 1.75vh); line-height: 1.6; color: #8d8d88; }
  .edb__read { display: inline-block; margin-top: 1.6vh; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #F0EEEC; text-decoration: none; }
  .edb__read i { font-style: normal; margin-left: .3em; display: inline-block; transition: transform .25s ease; }
  .edb__read:hover i { transform: translateX(4px); }

  .edb__feat { display: flex; justify-content: flex-start; }
  .edb__stage { position: relative; display: block; width: min(25vw, 31vh); aspect-ratio: 1 / 1.46; }
  .edb__bk { position: absolute; left: 0; right: 0; bottom: 0; perspective: 1400px; perspective-origin: 50% 40%; opacity: 0; pointer-events: none;
    transform: translateX(46px); transition: opacity .55s ease, transform .9s cubic-bezier(.16, .84, .24, 1); }
  .edb__stage[data-dir="-1"] .edb__bk { transform: translateX(-46px); }
  .edb__bk.is-on { opacity: 1; transform: none !important; pointer-events: auto; transition-delay: .06s; }
  .edb__bk.is-out { opacity: 0; transform: translateX(-46px); transition: opacity .38s ease, transform .7s cubic-bezier(.16, .84, .24, 1); }
  .edb__stage[data-dir="-1"] .edb__bk.is-out { transform: translateX(46px); }
  .edb__stage .bk3 { transform: rotateY(22deg); transition: none; }
  .edb__stage .bk3::after { filter: blur(14px); }

  .edb__left > * { transition: opacity .5s ease, transform .7s cubic-bezier(.16, .84, .24, 1); }
  .edb__left > :nth-child(2) { transition-delay: .06s; }
  .edb__left > :nth-child(3) { transition-delay: .12s; }
  .edb__left.is-swap > * { opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; transition-delay: 0s; }

  .edb__row { display: grid; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); align-items: start; margin-top: 3vh; }
  .edb__item { display: block; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; }
  .edb__item:focus-visible { outline: 1px solid rgba(255, 255, 255, .6); outline-offset: 4px; }
  .edb__cv { display: flex; align-items: flex-end; width: min(100%, 9vh); aspect-ratio: 1 / 1.5; }
  .edb__cv .bk__c { display: block; flex: none; width: 100%; box-shadow: 0 10px 22px rgba(0, 0, 0, .7), 0 1px 2px rgba(0, 0, 0, .6);
    transition: transform .55s cubic-bezier(.16, .84, .24, 1), box-shadow .55s ease; }
  .edb__item:hover .bk__c, .edb__item:focus-visible .bk__c { transform: translateY(-6px); }
  .edb__item.is-on .bk__c { transform: translateY(-10px); box-shadow: 0 18px 30px rgba(0, 0, 0, .8), 0 1px 2px rgba(0, 0, 0, .6); }
  .edb__it { display: block; margin-top: 1.2vh; padding-right: 10%; font-family: var(--display, "Newsreader", serif); font-size: min(11.5px, 1.35vh); line-height: 1.35; color: #8d8d88; transition: color .4s ease; }
  .edb__item.is-on .edb__it { color: #F0EEEC; }
}
/* More air (15 Nov, Ella: "the spacing of everything is too tight"): the headline clears the logo, and every part of the
   board gets room: headline to board, category to line, line to note, note to link, board to the row of covers, and below. */
@media (min-width: 861px) {
  .rep .rep__title { line-height: 1.04; }
  .rep__one { line-height: 1.7; }
  .edb__board { gap: clamp(40px, 6vw, 110px); }
  .edb__cat { margin-bottom: 3vh; }
  .edb__q { line-height: 1.26; }
  .edb__note { margin-top: 4.5vh; }
  .edb__al { display: none; } /* no "From the article" label (15 Nov, Ella) */
  .edb__a { line-height: 1.75; }
  .edb__read { margin-top: 3vh; }
  .edb__row { column-gap: clamp(16px, 2.2vw, 36px); }
  .edb__it { margin-top: 1.6vh; line-height: 1.45; }
}

/* All of it on one screen (15 Nov, Ella): the board is exactly the screen's height. Every size is set from the screen's
   height, and the leftover space is shared out evenly between headline, board and the row of covers. */
@media (min-width: 861px) {
  #s06 .rep { box-sizing: border-box; height: 100vh; height: 100svh; display: flex; flex-direction: column;
    padding-top: max(84px, 11vh); padding-bottom: 4vh; }
  #s06 .rep__head { flex: none; }
  /* same size as the "Selected work" headline (css/theme.css .doP__title), 15 Nov, Ella */
  .rep .rep__title { font-size: clamp(40px, 4.4vw, 64px); }
  .edb { flex: 1 1 auto; min-height: 0; margin-top: 0; display: flex; flex-direction: column; justify-content: space-evenly; }
  .edb__board, .edb__row { flex: none; margin-top: 0; }
  .edb__stage { width: min(22vw, 23vh); }
  .edb__q { font-size: min(2.2vw, 3.2vh); }
  .edb__cv { width: min(100%, 8vh); }
}
@media (min-width: 1600px) { .rep .rep__title { font-size: clamp(68px, 3.9vw, 128px); } }
/* the big book sits higher, clear of the row of small covers (15 Nov, Ella) */
@media (min-width: 861px) {
  .edb__stage { width: min(22vw, 21vh); }
  .edb__feat { transform: translateY(-2vh); }
  .edb__row { margin-top: 3vh; }
}
/* small laptops and tablets on their side: headline and paragraph side by side, as on wider screens, so it all fits */
@media (min-width: 861px) and (max-width: 1100px) {
  html:not(.shp-open) #s06 .rep__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  #s06 .rep .rep__title { grid-column: 1; }
  #s06 .rep__cols { grid-column: 2; display: block; }
}
/* the article's line and note run wider, so they take fewer lines (15 Nov, Ella) */
@media (min-width: 861px) {
  .edb__board { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
  .edb__q { max-width: 27em; }
  .edb__note { max-width: 46em; }
}
@media (prefers-reduced-motion: reduce) {
  .edb__bk, .edb__bk.is-out, .edb__stage[data-dir="-1"] .edb__bk, .edb__stage[data-dir="-1"] .edb__bk.is-out, .edb__left.is-swap > * { transform: none; }
}

/* The big book lines up with the paragraph above it (15 Nov, Ella: "these should be aligned"). The board uses the same two
   columns and gap as the headline row, so the book's left edge starts where the paragraph starts. */
@media (min-width: 861px) {
  html:not(.shp-open) #s06 .rep__head, .edb__board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 4vw, 140px); }
  html:not(.shp-open) #s06 .rep .rep__title { grid-column: 1; }
  html:not(.shp-open) #s06 .rep__cols { grid-column: 2; }
  .edb__q { max-width: none; }
  .edb__note { max-width: none; }
}

/* The line under the main line is now a teaser question (15 Nov), so the phone pop-up drops its "From the article"
   label too, and the question keeps the same space above it. */
@media (max-width: 760px) {
  .shp.has-lines .shp__al { display: none; }
  .shp.has-lines .shp__a { margin-top: 3.4svh; }
}
/* the paragraph above sits inside the same side padding as the headline, so the book steps in by the same amount */
@media (min-width: 861px) { .edb__feat { padding-left: calc(clamp(18px, 1.8vw, 26px) - 4px); } }

/* The headline always reads on two lines (15 Nov, Ella: "should be 2 lines"). The headline column is wider than the
   paragraph column, and the board below uses the same columns, so the big book still lines up with the paragraph. */
@media (min-width: 861px) {
  html:not(.shp-open) #s06 .rep__head, .edb__board { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); column-gap: clamp(32px, 3vw, 100px); }
  #s06 .rep__title .line { white-space: nowrap; }
}
/* No empty space on the right (15 Nov, Ella): the paragraph fills its column and the big book stands centered under it,
   a little larger. */
@media (min-width: 861px) {
  html:not(.shp-open) #s06 .rep__cols { display: block; }
  #s06 .rep__one { max-width: none; }
  .edb__feat { justify-content: center; }
  .edb__stage { width: min(24vw, 24vh); }
}
/* headline, paragraph and the text below all start on the same left edges (no extra side padding) */
@media (min-width: 861px) {
  #s06 .rep .rep__title, html:not(.shp-open) #s06 .rep__cols { padding-left: 0; padding-right: 0; }
  .edb__feat { padding-left: 0; }
}
/* short laptop screens: a smaller book and less room above the headline, so nothing overlaps */
@media (min-width: 861px) and (max-height: 700px) {
  #s06 .rep { padding-top: 72px; }
  .edb__stage { width: min(24vw, 19vh); }
  .edb__feat { transform: none; }
}

/* The text link is gone; a small "Read the article" label follows the mouse over the big book instead (15 Nov, Ella) */
@media (min-width: 861px) {
  .edb__read { display: none; }
}
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .edb__feat, .edb__feat * { cursor: none; }
}
.edb__cur { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; display: none; }
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .edb__cur { display: block; margin: -16px 0 0 -16px; padding: 9px 16px 8px; border-radius: 99px; background: #F0EEEC; color: #0a0a0a;
    font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
    opacity: 0; scale: .8; transition: opacity .2s ease, scale .25s cubic-bezier(.16, .84, .24, 1); }
  .edb__cur i { font-style: normal; margin-left: .3em; }
  .edb__cur.is-on { opacity: 1; scale: 1; }
}
/* the label is a circle centered on the pointer, with no arrow (15 Nov, Ella) */
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .edb__cur { box-sizing: border-box; width: 104px; height: 104px; margin: -52px 0 0 -52px; padding: 0 14px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; text-align: center; white-space: normal;
    font-size: 11px; line-height: 1.35; letter-spacing: .14em; }
}

/* REBUILD (15 Nov, Ella: "still very weird"). One clear composition on one screen: all the words in one column on the
   left (headline, the short paragraph under it, then the featured article), the big book standing tall on the right
   beside them, and the row of covers along the bottom. The wrappers step aside (display: contents) so the parts can
   share one grid. */
@media (min-width: 861px) {
  #s06 .rep { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: clamp(40px, 5vw, 120px);
    grid-template-rows: auto auto 1fr auto; grid-template-areas: "title feat" "intro feat" "left feat" "row row"; }
  html:not(.shp-open) #s06 .rep__head, #s06 .edb, #s06 .edb__board { display: contents; }
  html:not(.shp-open) #s06 .rep .rep__title { grid-area: title; }
  html:not(.shp-open) #s06 .rep__cols { grid-area: intro; display: block; padding: 0; margin-top: 2.6vh; }
  #s06 .rep__one { max-width: 34em; padding: 0; color: #a6a6a0; }
  #s06 .edb__left { grid-area: left; align-self: center; padding: 3vh 0; }
  #s06 .edb__feat { grid-area: feat; align-self: center; justify-content: center; transform: none; padding: 0; }
  #s06 .edb__stage { width: min(26vw, 38vh); }
  #s06 .edb__row { grid-area: row; margin-top: 0; padding-top: 3vh; }
  #s06 .edb__a { font-size: min(15px, 1.9vh); color: #a6a6a0; }
}
@media (min-width: 861px) and (max-height: 700px) {
  #s06 .edb__stage { width: min(26vw, 33vh); }
}
/* the big book starts level with the top of the headline and is a touch smaller, so it sits well clear of the covers (15 Nov, Ella) */
@media (min-width: 861px) {
  #s06 .edb__feat { align-self: start; }
  #s06 .edb__stage { width: min(24vw, 34vh); }
}
@media (min-width: 861px) and (max-height: 700px) {
  #s06 .edb__stage { width: min(24vw, 30vh); }
}
/* the book's top edge sits exactly level with the top of the capital W in "Written" (15 Nov, Ella) */
@media (min-width: 861px) { #s06 .edb__feat { margin-top: calc(clamp(40px, 4.4vw, 64px) * .05); } }
@media (min-width: 1600px) { #s06 .edb__feat { margin-top: calc(clamp(68px, 3.9vw, 128px) * .05); } }
/* the featured line is narrower, about the width of the headline above it (15 Nov, Ella: "width too much") */
@media (min-width: 861px) {
  #s06 .edb__q { max-width: 23em; }
  #s06 .edb__note { max-width: 36em; }
}
/* Fewer competing lines (15 Nov, Ella chose option 2): under the headline only the featured line and its "So how…?"
   question. The platform paragraph and the category label are hidden on laptops; phones keep them. */
@media (min-width: 861px) {
  html:not(.shp-open) #s06 .rep__cols { display: none; }
  #s06 .edb__cat { display: none; }
}
/* the circle shows over the book only: the empty space around the book is not part of the link, and the system pointer
   is hidden over the book itself (15 Nov, after "cursor so messy") */
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  #s06 .edb__feat, #s06 .edb__feat * { cursor: auto; }
  #s06 .edb__feat { pointer-events: none; }
  #s06 .edb__stage, #s06 .edb__stage * { pointer-events: auto; cursor: none; }
  .edb__cur { transition: opacity .18s ease, scale .22s cubic-bezier(.16, .84, .24, 1); will-change: transform; }
}
