.women-wall {
  max-width: 1440px;
  margin: auto;
  padding: clamp(24px, 5vw, 72px) var(--gutter) 80px;
}
.women-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-bottom: clamp(20px, 4vw, 46px);
}
.women-heading h1 {
  font: clamp(3.8rem, 10vw, 8rem)/.82 var(--serif);
  margin: 0;
  letter-spacing: -.055em;
}
.women-heading p { margin: 15px 0 0; max-width: 45ch; }
.women-heading a { text-underline-offset: 4px; }
.women-wall {
  max-width: 1080px;
}
.women-collage {
  --spread: clamp(460px, 100vw, 1040px);
  background: #211b18;
  overflow: hidden;
}
.women-spread {
  position: relative;
  height: var(--spread);
  isolation: isolate;
}
.women-spread + .women-spread { margin-top: calc(-.18 * var(--spread)); }
.women-shapes { position: absolute; width: 0; height: 0; }
.women-tile {
  position: absolute;
  inset: 0;
  color: white;
  -webkit-tap-highlight-color: transparent;
}
.women-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #211b18;
}
.women-tile:first-child { clip-path: url(#women-feature); }
.women-spread:first-child .women-tile:first-child { clip-path: url(#women-feature-first); }
.women-tile:nth-child(2) { clip-path: url(#women-panel-left); }
.women-tile:nth-child(3) { clip-path: url(#women-panel-middle); }
.women-tile:nth-child(4) { clip-path: url(#women-panel-right); }
.women-tile-media {
  position: absolute;
  inset: 0 0 50% 0;
  overflow: hidden;
}
.women-tile:nth-child(2) .women-tile-media { inset: 20% 67% 0 0; }
.women-tile:nth-child(3) .women-tile-media { inset: 39% 33.6% 0 34%; }
.women-tile:nth-child(4) .women-tile-media { inset: 46% 0 0 67.4%; }
.women-spread--1 { height: calc(.66 * var(--spread)); }
.women-spread--1 .women-tile:first-child { clip-path: url(#women-feature-last); }
.women-spread--1:first-child .women-tile:first-child { clip-path: none; }
.women-spread--1 .women-tile-media { inset: 0; }
.women-spread--2 .women-tile:nth-child(2) { clip-path: url(#women-panel-wide); }
.women-spread--2 .women-tile:nth-child(2) .women-tile-media { inset: 20% 0 0; }
.women-spread--3 .women-tile:nth-child(2) { clip-path: url(#women-panel-half-left); }
.women-spread--3 .women-tile:nth-child(3) { clip-path: url(#women-panel-half-right); }
.women-spread--3 .women-tile:nth-child(2) .women-tile-media { inset: 20% 50.4% 0 0; }
.women-spread--3 .women-tile:nth-child(3) .women-tile-media { inset: 40% 0 0 50.4%; }
.women-tile-media :is(img, video) {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 36%;
  transition: transform .35s ease, filter .25s ease;
}
.women-tile:first-child img { object-position: center 30%; }
.women-tile:is(:hover,:focus-visible) .women-tile-media :is(img, video) {
  transform: scale(1.035);
  filter: brightness(.82);
}
.women-tile:focus-visible .women-tile-media { box-shadow: inset 0 0 0 4px white; z-index: 1; }
.women-tile-label {
  position: absolute;
  z-index: 1;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: 95%;
  white-space: nowrap;
  padding: .4rem .7rem;
  border-radius: 99px;
  color: white;
  background: #211716e8;
}
.women-tile-label { display: none; }
.women-tile:is(:hover,:focus-visible) .women-tile-label { display: flex; }
.women-tile:nth-child(2) .women-tile-label { top: 58%; left: 16.5%; }
.women-tile:nth-child(3) .women-tile-label { top: 68%; left: 50%; }
.women-tile:nth-child(4) .women-tile-label { top: 78%; left: 83.5%; }
.women-spread--1 .women-tile-label { top: 56%; }
.women-spread--2 .women-tile:nth-child(2) .women-tile-label { top: 65%; left: 50%; }
.women-spread--3 .women-tile:nth-child(2) .women-tile-label { left: 25%; }
.women-spread--3 .women-tile:nth-child(3) .women-tile-label { left: 75%; }
.women-viewer .magazine-frame { justify-items: center; grid-template-columns: minmax(0, 1fr); }
.women-viewer .magazine-frame :is(img, video) { display: block; width: 100%; height: min(69svh, 900px); object-fit: contain; }
.women-controls { max-width: 880px; }
.women-controls .women-heading h1 { font-size: clamp(2.55rem, 7vw, 5rem); }
.women-controls label { display: block; margin: 16px 0 7px; font-weight: 600; }
.women-controls input { max-width: 100%; font: inherit; }
.women-controls ol { display: grid; gap: 8px; padding: 0; list-style: none; }
.women-controls li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.women-controls li p { margin: 0; overflow-wrap: anywhere; }
.women-controls li div { display: flex; flex-wrap: wrap; gap: 4px; justify-content: end; }
.women-controls button { min-height: 36px; min-width: 36px; border: 1px solid #666659; border-radius: 6px; background: white; color: var(--ink); font: inherit; cursor: pointer; }
.women-controls button:disabled { opacity: .45; cursor: default; }
.women-controls [role=status] { min-height: 1.4em; }
.women-controls dialog {
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: clamp(16px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.women-controls dialog::backdrop { background: #1d1816a8; }
.women-controls dialog h2 { margin: 0; }
.women-controls dialog p { overflow-wrap: anywhere; }
.women-controls textarea {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #666659;
  border-radius: 6px;
  color: var(--ink);
  background: white;
  font: inherit;
  resize: vertical;
}
.women-caption-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; }
.women-caption-actions button { padding-inline: 12px; }
.women-caption-actions button[type=submit] { background: var(--ink); color: white; }
@media (max-width: 700px) {
  .women-wall:not(.women-controls) { padding-inline: 0; }
  .women-wall:not(.women-controls) .women-heading { padding-inline: var(--gutter); }
  .women-collage { --spread: max(430px, 120vw); }
  .women-tile-label { font-size: .72rem; }
  .women-controls li { align-items: start; flex-direction: column; }
  .women-controls li div { justify-content: start; }
}
@media (prefers-reduced-motion: reduce) {
  .women-tile-media :is(img, video) { transition: none; }
}
