.ed-heading {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  align-items: end;
  gap: 5%;
  padding: clamp(64px, 8vw, 136px) 0 clamp(36px, 4.5vw, 76px);
}
.ed-heading h1,
.about-copy h1 {
  font: 400 clamp(4rem, 8vw, 8rem)/0.9 var(--serif);
  margin: 0;
  letter-spacing: -0.054em;
  text-wrap: balance;
}
.ed-heading h1 span,
.about-copy h1 span {
  color: var(--wine);
}
.ed-heading p,
.about-copy > p:not(.eyebrow),
.about-detail p,
.help-sections p {
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.65;
}
.ed-heading p {
  max-width: 39ch;
  margin: 0 0 0.15em;
}
.album-entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  margin-top: 18px;
}
.album-films {
  background: var(--ink);
  color: var(--paper);
  margin-top: clamp(56px, 7vw, 108px);
  scroll-margin-top: 1rem;
}
.album-film-layout {
  display: grid;
  grid-template-columns: minmax(0, .96fr) repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 50px);
  padding-block: clamp(56px, 7vw, 110px);
  align-items: start;
}
.album-film-heading {
  align-self: center;
  padding-bottom: clamp(36px, 6vw, 110px);
}
.album-film-heading h2 { font-size: clamp(50px, 5.4vw, 92px); line-height: .96; }
.album-film-heading p, .album-film figcaption p {
  color: #e7dbd5;
  line-height: 1.6;
  max-width: 37ch;
}
.album-film-heading p { margin-top: 20px; }
.album-reel { position: relative; }
.album-reel-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: end;
  padding: clamp(12px, 1.5vw, 22px);
  border: 0;
  color: var(--paper);
  background: transparent;
}
.album-reel-play > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  background: var(--wine);
  font: 550 .85rem/1 var(--sans);
}
.album-reel-play small { font: 450 .77rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.album-reel-play:focus-visible { outline: 3px solid var(--paper); }
.album-reel-play .icon { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) {
  .album-reel-play:hover > span { color: var(--wine); background: var(--paper); }
}
.album-film video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #211b1a;
}
.album-film figcaption { padding-top: 16px; }
.album-film figcaption h3 { font-size: clamp(1.85rem, 2.4vw, 2.6rem); }
.album-film figcaption p { margin-top: 7px; font-size: .9rem; }
.album-films + .wrap .ed-end { border: 0; padding: 0; }
@media (min-width: 761px) and (max-width: 1024px) {
  .album-film-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .album-film-heading { grid-column: 1 / -1; padding: 0; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
  .album-film-heading p { margin: 0; }
}
.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-block: 1px solid var(--rule);
  margin-bottom: clamp(22px, 3vw, 52px);
}
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(18px, 2.6vw, 46px);
}
.work-filters[hidden],
.work-card[hidden] {
  display: none;
}
.work-filter,
.album-dialog button {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.work-filter {
  min-height: 52px;
  padding: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.work-filter[aria-pressed="true"] {
  color: var(--wine);
  box-shadow: inset 0 -2px var(--wine);
}
.work-count {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  padding: 0.5rem 0;
}
.work-gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: clamp(24px, 3.2vw, 56px) clamp(12px, 1.6vw, 28px);
}
.work-card {
  flex: var(--aspect) 1 calc(var(--aspect) * 22vw);
  min-width: 0;
  margin: 0;
}
.work-card:nth-child(1),
.work-card:nth-child(2) {
  flex-basis: calc(var(--aspect) * 33vw);
}
.work-card[data-marquee] {
  flex-basis: calc(var(--aspect) * 31vw);
}
.work-photo {
  display: block;
  background: var(--blush);
  overflow: hidden;
  color: var(--ink);
}
.work-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--aspect);
  object-fit: cover;
}
.work-card figcaption {
  line-height: 1.22;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
  margin-top: 0.55em;
  text-wrap: pretty;
}
.work-card figcaption small {
  display: block;
  font: 0.72rem/1.5 var(--sans);
  color: var(--muted);
  margin-top: 0.3rem;
}
.ed-end {
  margin: clamp(64px, 8vw, 128px) 0;
  padding-top: clamp(32px, 6vw, 86px);
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ed-end h2,
.about-detail h2,
.about-clients h2,
.help-sections h2 {
  font: 400 clamp(2.6rem, 5vw, 5.3rem)/0.98 var(--serif);
  letter-spacing: -0.045em;
  margin: 0;
  text-wrap: balance;
}
.album-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100%;
  border: 0;
  margin: 0;
  padding: clamp(14px, 3vw, 46px);
  color: #fff9f4;
  background: #20191b;
  overscroll-behavior: contain;
  color-scheme: dark;
}
.album-dialog::backdrop {
  background: #20191b;
}
.album-dialog-inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
}
.album-dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.album-dialog button {
  color: inherit;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.album-dialog button:focus-visible,
.work-filter:focus-visible,
.work-photo:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.album-dialog-top button span {
  font-size: 1.65rem;
  line-height: 1;
}
.album-dialog-count {
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.album-slide {
  display: grid;
  grid-template-columns: minmax(44px, 5vw) minmax(0, 1fr) minmax(44px, 5vw);
  gap: 1rem;
  min-height: 0;
  align-items: center;
}
.album-enlarged {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-height: 0;
}
.album-dialog-caption {
  padding: 1.1rem 10px 0;
  text-align: center;
}
.album-dialog-caption h2 {
  color: inherit;
  font: 400 clamp(1.3rem, 2.1vw, 2rem)/1.1 var(--serif);
  margin: 0;
}
.album-dialog-caption p {
  font-size: 0.8rem;
  color: #e2ccd1;
  margin: 0.35rem 0 0;
}
.album-dialog-caption p:empty {
  display: none;
}
html:has(.album-dialog[open]) {
  overflow: hidden;
}

.about-intro {
  display: grid;
  grid-template-columns: 0.92fr 1.15fr;
  gap: 7%;
  align-items: center;
  padding-block: clamp(42px, 6vw, 100px);
}
.about-copy > .eyebrow {
  margin: 0 0 22px;
}
.about-copy > p:not(.eyebrow) {
  max-width: 39ch;
  margin: 1.65rem 0;
}
.about-image {
  aspect-ratio: 1.16;
}
.about-image img,
.about-diptych img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.about-spread {
  background: var(--blush);
}
.about-spread-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 9%;
  padding-block: clamp(52px, 7vw, 112px);
}
.about-diptych {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: end;
  gap: clamp(10px, 1.3vw, 20px);
}
.about-diptych img {
  aspect-ratio: 0.77;
  height: auto;
}
.about-diptych img + img {
  aspect-ratio: 0.8;
  padding-top: 0;
  margin-bottom: 14%;
}
.about-detail p {
  max-width: 40ch;
  margin: 1.5rem 0;
}
.about-clients {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 10%;
  padding-block: clamp(60px, 8vw, 132px);
}
.about-clients h2 {
  max-width: 10ch;
}
.about-clients ul {
  columns: 2;
  column-gap: clamp(16px, 3vw, 44px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-clients li {
  padding: 0.8rem 0;
  border-top: 1px solid var(--rule);
  break-inside: avoid;
  font-size: 0.95rem;
  line-height: 1.45;
}

.help-layout {
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(0, 1.6fr);
  gap: 8%;
  padding-block: clamp(32px, 5vw, 80px) clamp(50px, 8vw, 136px);
}
.help-index {
  display: flex;
  flex-direction: column;
  position: sticky;
  align-self: start;
  top: 96px;
  align-items: start;
}
.help-index a {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}
.help-index .help-enquire {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 0.28em;
  margin-top: 0.65rem;
}
.help-sections > section + section {
  padding-top: clamp(38px, 5.3vw, 85px);
  margin-top: clamp(38px, 5.3vw, 85px);
  border-top: 1px solid var(--rule);
}
.help-sections h2 {
  font-size: clamp(2.65rem, 4.6vw, 4.5rem);
  margin-bottom: 1.45rem;
}
.help-sections h3 {
  font: 400 clamp(1.4rem, 2.1vw, 2.05rem)/1.17 var(--serif);
  margin: 0;
}
.help-sections p {
  max-width: 66ch;
  margin: 0.4rem 0;
}
.help-steps {
  list-style: none;
  counter-reset: help-step;
  padding: 0;
  margin: 0 0 1.4rem;
}
.help-steps li {
  counter-increment: help-step;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 15px;
  padding: 1rem 0;
}
.help-steps li::before {
  content: counter(help-step, decimal-leading-zero);
  font: italic 1.4rem/1.28 var(--serif);
  color: var(--wine);
}
.help-question {
  border-top: 1px solid var(--rule);
}
.help-question:last-child {
  border-bottom: 1px solid var(--rule);
}
.help-question summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.02rem;
  line-height: 1.4;
}
.help-question summary::-webkit-details-marker {
  display: none;
}
.help-question summary span {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}
.help-question summary span::before,
.help-question summary span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 15px;
  height: 1px;
  background: currentColor;
}
.help-question:not([open]) summary span::after {
  transform: rotate(90deg);
}
.help-question p {
  margin: 0 0 1.3rem;
}
.help-policy + .help-policy {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.about-page [id],
.help-page [id] {
  scroll-margin-top: 6.5rem;
}
@media (hover: hover) and (pointer: fine) {
  .work-photo img {
    transition: transform 210ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .work-photo:hover img {
    transform: scale(1.025);
  }
  .work-filter:hover,
  .help-index a:hover {
    text-decoration: underline;
    text-underline-offset: 0.35em;
  }
}
@media (max-width: 760px) {
  .album-film-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; }
  .album-film-heading { grid-column: 1 / -1; padding: 0; }
  .ed-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ed-heading h1,
  .about-copy h1 {
    font-size: clamp(3.8rem, 12vw, 5.6rem);
  }
  .about-intro,
  .about-spread-inner,
  .about-clients {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-detail {
    grid-row: 1;
  }
  .about-image {
    aspect-ratio: 1.35;
  }
  .about-clients h2 {
    max-width: none;
  }
  .help-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .help-index {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 1.2rem;
    position: static;
  }
  .help-index .help-enquire {
    margin: 0;
  }
}
@media (max-width: 550px) {
  .album-film-layout { grid-template-columns: 1fr; gap: 34px; }
  .album-film { max-width: 400px; }
  .album-entry-links { gap: 8px 16px; }
  .album-entry-links .instagram-action { padding-inline: 15px; }
}
@media (max-width: 640px) {
  .album-page .ed-heading {
    padding-block: 42px 28px;
  }
  .gallery-toolbar {
    gap: 6px;
    padding-bottom: 6px;
  }
  .work-filters {
    justify-content: space-between;
    width: 100%;
    gap: 4px;
  }
  .work-filter {
    font-size: 0.87rem;
    min-height: 46px;
  }
  .work-count {
    font-size: 0.74rem;
  }
  .work-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 12px;
  }
  .work-card[data-first],
  .work-card[data-mobile-landscape],
  .work-gallery:not([data-ready]) .work-card:first-child {
    grid-column: 1 / -1;
  }
  .work-photo img {
    aspect-ratio: 4/5;
  }
  .work-card[data-first] img,
  .work-card[data-mobile-landscape] img,
  .work-gallery:not([data-ready]) .work-card:first-child img {
    aspect-ratio: var(--aspect);
  }
  .work-card figcaption {
    font-size: 1.22rem;
  }
  .ed-end {
    align-items: start;
    flex-direction: column;
  }
  .album-slide {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 54px;
  }
  .album-slide button {
    position: absolute;
    bottom: 1px;
  }
  .album-prev {
    left: 24%;
  }
  .album-next {
    right: 24%;
  }
  .album-dialog-caption {
    padding: 0.3rem 0 max(0.5rem, env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .work-photo img {
    transition: none;
  }
  .work-photo:hover img {
    transform: none;
  }
}
