.lookbook {
  --ground: #f2eee7;
  --print: #2d2525;
  --rule: color-mix(in srgb, var(--print) 28%, transparent);
  background: var(--ground);
  color: var(--print);
}
.lookbook[data-tone="linen"] { --ground:#e9e1d3; --print:#45362d; }
.lookbook[data-tone="sage"] { --ground:#dfe4d9; --print:#2a4034; }
.lookbook[data-tone="aubergine"] { --ground:#302437; --print:#f4deeb; }
.lookbook[data-tone="sable"] { --ground:#292321; --print:#f7e1c0; }
.lookbook[data-tone="dove"] { --ground:#e8e7e5; --print:#3e4149; }
.lookbook[data-tone="forest"] { --ground:#29352f; --print:#f2e5d1; }
.lookbook[data-tone="parchment"] { --ground:#e9e5d7; --print:#46402b; }
.lookbook[data-tone="cherry"] { --ground:#391620; --print:#f8ddd0; }
.lookbook[data-tone="oxblood"] { --ground:#3e201e; --print:#f2dcc2; }
.lookbook[data-tone="blush"] { --ground:#f0dedb; --print:#612f43; }
.lookbook[data-tone="bronze"] { --ground:#423223; --print:#f4deb9; }
.lookbook[data-tone="champagne"] { --ground:#f2e8da; --print:#654b3d; }
.lookbook[data-tone="midnight"] { --ground:#192638; --print:#e9edf4; }
.book-inner { width:min(1440px,91%); margin-inline:auto; }
.book-back { display:inline-flex; gap:.6rem; align-items:center; margin:.3rem 0; min-height:44px; color:inherit; font:500 .9rem/1.2 var(--sans); text-decoration:none; }
.book-back::before { content:""; width:.52rem; height:.52rem; border:solid currentColor; border-width:0 0 1px 1px; transform:rotate(45deg); }
.book-back:hover, .book-link:hover { text-decoration:underline; text-underline-offset:.35em; }
.book-stage {
  position:relative; isolation:isolate; display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1fr);
  grid-template-rows:minmax(0,1fr) auto minmax(66px,.5fr);
  grid-template-areas:"study lead" "name lead" "actions lead";
  height:clamp(480px,73svh,820px); column-gap:4%;
  padding:clamp(.8rem,2.4vw,2.6rem) clamp(1rem,5vw,5.5rem);
  border-block:1px solid var(--rule);
}
.book-photo { position:relative; min-width:0; min-height:0; border:0; border-radius:0; background:transparent; padding:0; display:block; color:inherit; cursor:zoom-in; }
.book-photo:focus-visible, .lookbook a:focus-visible, .lookbook button:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.book-photo img { display:block; width:100%; height:100%; }
.book-lead { grid-area:lead; width:100%; height:100%; touch-action:pan-y pinch-zoom; }
.book-lead img { object-fit:contain; }
.book-study {
  grid-area:study; width:min(78%,clamp(7.2rem,14vw,14rem)); height:100%; max-height:clamp(8rem,22svh,14rem);
  align-self:end; justify-self:start; margin-bottom:.1rem;
}
.book-study img { object-fit:cover; object-position:50% 29%; }
.book-name {
  grid-area:name; z-index:1; position:relative; align-self:end; min-width:0;
  font:400 clamp(3.5rem,8.1vw,9.8rem)/.92 var(--serif);
  color:inherit; letter-spacing:-.056em; margin:clamp(1rem,3vh,2.3rem) 0 .4rem;
  pointer-events:none; font-kerning:normal;
}
.book-word { display:inline-block; }
.book-name.is-long { font-size:clamp(3rem,6.65vw,8rem); }
.lookbook[data-type="script"] .book-name { font-style:italic; }
.lookbook[data-type="initial"] .book-word::first-letter { font-style:italic; }
.lookbook[data-type="caps"] .book-name { font-variant-caps:all-small-caps; letter-spacing:.035em; font-weight:550; }
.book-actions { grid-area:actions; z-index:1; display:flex; align-items:center; align-self:start; flex-wrap:wrap; gap:.35rem 1.3rem; padding-top:1.15rem; }
.book-link { display:inline-flex; min-height:44px; align-items:center; gap:.55rem; color:inherit; font:500 .95rem/1.25 var(--sans); text-decoration:none; }
.book-booking { border:1px solid var(--rule); padding:.6rem 1.1rem; border-radius:2rem; }
.book-booking:hover { background:var(--print); color:var(--ground); text-decoration:none; }
.book-play::before { content:""; width:0; height:0; border-block:4px solid transparent; border-left:7px solid currentColor; }
.lookbook[data-layout="poster"] .book-stage {
  grid-template-columns:minmax(0, 1.1fr) minmax(0,.9fr);
  grid-template-areas:"lead study" "lead name" "lead actions";
}
.lookbook[data-layout="poster"] .book-study { justify-self:end; width:clamp(6.5rem,10vw,11rem); max-height:clamp(7.5rem,22svh,13rem); }
.lookbook[data-layout="pair"] .book-stage {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-rows:minmax(0,1fr) auto;
  grid-template-areas:"study lead" "name actions";
  gap:0 clamp(.8rem,2vw,2rem); padding-inline:6%;
}
.lookbook[data-layout="pair"] .book-study { width:75%; height:82%; max-height:none; align-self:center; justify-self:end; margin:0; }
.lookbook[data-layout="pair"] .book-lead img { object-position:left center; }
.lookbook[data-layout="pair"] .book-name { margin:.5rem 0 0; }
.lookbook[data-layout="pair"] .book-actions { align-self:end; justify-self:end; padding:0; }
.book-sequence { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-block:1rem 1.5rem; }
.book-sequence .gallery-shots { min-width:0; padding:.25rem; }
.book-sequence .gallery-shots button { width:46px; height:59px; }
.book-sequence .gallery-shots [aria-current="true"] { border-color:var(--print); }
.book-sequence .gallery-tools { flex:none; margin:0; gap:.5rem; color:inherit; }
.book-sequence .gallery-tools button { color:inherit; border:1px solid var(--rule); border-radius:2rem; min-width:44px; padding:.4rem .7rem; }
.book-sequence .gallery-tools button:disabled { opacity:.45; }
.book-sequence [data-count] { min-width:4ch; font-variant-numeric:tabular-nums; }
.book-film .film-scene { margin:0; border-radius:0; background:var(--ground); color:var(--print); border-block:1px solid var(--rule); }
.book-film .film-scene :is(h2,a,.film-audio) { color:inherit; }
.book-film .film-list button { color:var(--print); border-color:var(--rule); }
.book-film .film-list button[aria-pressed="true"] { background:var(--print); color:var(--ground); }
.book-next { display:flex; gap:1.25rem; align-items:center; width:fit-content; margin-left:auto; color:inherit; text-decoration:none; padding-block:1.25rem 2rem; }
.book-next img { width:51px; height:66px; object-fit:cover; }
.book-next small { display:block; font:500 .875rem/1.5 var(--sans); }
.book-next strong { display:block; color:inherit; font:italic 500 clamp(2rem,3vw,3.3rem)/1 var(--serif); }
@media (prefers-reduced-motion:no-preference) {
  @keyframes name-appear { from { opacity:0; transform:translateY(.18em); } to { opacity:1; transform:translateY(0); } }
  .book-word { animation:name-appear .55s cubic-bezier(.2,.72,.24,1) both; }
  .book-word + .book-word { animation-delay:90ms; }
}
@media (max-width:700px) {
  .book-inner { width:90%; }
  .book-back { margin:0; }
  .book-stage { display:grid; height:auto; min-height:0; padding:.8rem 0 1rem; gap:0; grid-template-columns:1fr; grid-template-rows:auto auto auto; grid-template-areas:"lead" "name" "actions"; }
  .book-lead { height:clamp(265px,48svh,460px); width:82%; justify-self:end; }
  .book-lead img { object-position:right center; }
  .book-study { grid-area:lead; z-index:1; width:26%; height:auto; aspect-ratio:3/4; max-height:none; align-self:end; justify-self:start; margin-bottom:6%; box-shadow:0 0 0 4px var(--ground); }
  .book-name, .book-name.is-long { margin:.6rem 0 0; font-size:clamp(3.1rem,15.5vw,6.5rem); }
  .book-name.is-long { font-size:clamp(2.9rem,12vw,5.6rem); }
  .book-actions { padding-top:.55rem; }
  .lookbook[data-layout="poster"] .book-stage { grid-template-areas:"name" "lead" "actions"; grid-template-columns:1fr; padding-top:0; }
  .lookbook[data-layout="poster"] .book-name { margin:.25rem 0 .6rem; }
  .lookbook[data-layout="poster"] .book-lead { justify-self:start; }
  .lookbook[data-layout="poster"] .book-lead img { object-position:left center; }
  .lookbook[data-layout="poster"] .book-study { grid-area:lead; width:25%; height:auto; max-height:none; justify-self:end; }
  .lookbook[data-layout="pair"] .book-stage { padding:.85rem 0 1rem; grid-template-columns:minmax(0,.65fr) minmax(0,1fr); grid-template-rows:auto auto auto; grid-template-areas:"study lead" "name name" "actions actions"; column-gap:.5rem; }
  .lookbook[data-layout="pair"] .book-study { grid-area:study; width:100%; height:67%; aspect-ratio:auto; box-shadow:none; }
  .lookbook[data-layout="pair"] .book-lead { height:clamp(205px,35svh,335px); width:100%; }
  .lookbook[data-layout="pair"] .book-actions { justify-self:start; padding-top:.55rem; }
  .book-sequence { flex-direction:column; align-items:stretch; gap:.35rem; padding-block:.7rem 1.1rem; }
  .book-sequence .gallery-tools { justify-content:center; }
  .book-film .film-scene { margin-inline:0; padding:1rem 0; }
}
