/* Continuous, responsive reading after the opening scenes. */
.work-reader { position: fixed; z-index: 30; inset: 0; display: none; height: 100svh; background: #fff; color: #171717; }
.work-reader.is-visible { display: flex; flex-direction: column; }
.work-reader button { font: inherit; cursor: pointer; }
.work-reader button:focus-visible, .work-reader input:focus-visible { outline: 2px solid #ba5c57; outline-offset: 5px; }
.work-reader h2:focus, .work-reader__scroll:focus { outline: none; }
.work-reader__header { position: relative; z-index: 2; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; padding: 0 5%; background: rgb(255 255 255 / .96); border-bottom: 1px solid #eee; }
.work-reader__back, .work-reader__catalog { flex: none; border: 0; background: none; padding: 10px 0; font-size: 12px !important; color: #687982; }
.work-reader__catalog { color: #171717; }
.work-nav { display: flex; gap: clamp(16px, 3vw, 48px); }
.work-nav button { position: relative; display: flex; align-items: baseline; gap: 9px; padding: 30px 0; border: 0; color: #aaa; background: none; font-size: 11px; white-space: nowrap; }
.work-nav button span { color: #7c7c7c; font-size: 14px; }
.work-nav button[aria-current="true"], .work-nav button[aria-current="true"] span { color: #ba5c57; }
.work-nav button::after { position: absolute; inset: auto 0 -1px; height: 2px; background: currentColor; content: ''; transform: scaleX(0); transition: transform .3s; }
.work-nav button[aria-current="true"]::after { transform: scaleX(1); }
.work-reader__progress { position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; pointer-events: none; }
.work-reader__progress span { display: block; height: 100%; width: 100%; background: #ba5c57; transform: scaleX(0); transform-origin: left; }
.work-reader__scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #d6d0cc #fff; }
.work-reader__content { width: min(90%, 1440px); margin: 0 auto; }
.work-section { position: relative; margin: 0; padding: clamp(48px, 7vw, 110px) 0; scroll-margin-top: 32px; }
.work-section + .work-section { border-top: 1px solid #efedeb; }
.work-label { margin: 0; font-size: 11px; font-weight: 500; line-height: 1.6; color: #8b8581; letter-spacing: .1em; }
.work-section__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.work-section__heading p { margin: 0; max-width: 65%; font-size: 11px; letter-spacing: .08em; color: #8b8581; }
.work-section__heading h3 { flex: none; margin: 0; font-size: clamp(20px, 2vw, 30px); font-weight: 500; line-height: 1.4; }
.work-project { min-height: 52svh; display: flex; flex-direction: column; justify-content: center; padding-right: 100px; }
.work-project h2 { max-width: 1050px; margin: 28px 0 0; font-size: clamp(36px, 5.2vw, 80px); letter-spacing: -.04em; line-height: 1.3; font-weight: 700; text-wrap: balance; }
.work-project__arrow { position: absolute; bottom: 22%; right: 3%; font-size: clamp(60px, 8vw, 110px); font-weight: 300; color: #ba5c57; }
.work-chapter { min-height: 82svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: #c45752; background-image: linear-gradient(#edebea 1px, transparent 1px), linear-gradient(90deg, #edebea 1px, transparent 1px); background-size: 72px 72px; margin: 32px calc((100vw - 100%) / -2); padding-inline: max(5vw, calc((100vw - 1440px) / 2)); }
.work-chapter__number { position: relative; z-index: 1; margin: 0 0 32px; font-size: 12px; letter-spacing: .12em; }
.work-chapter h2 { position: relative; z-index: 1; margin: 0 0 12px; font-size: clamp(52px, 8vw, 122px); font-weight: 900; line-height: 1.2; letter-spacing: -.045em; }
.work-chapter > p:last-of-type { position: relative; z-index: 1; margin: 0; font-size: clamp(16px, 2vw, 28px); }
.work-chapter__word { position: absolute; left: 4%; bottom: -3%; color: transparent; -webkit-text-stroke: 1px #d9b8b4; font-size: clamp(80px, 15vw, 240px); font-weight: 900; white-space: nowrap; letter-spacing: -.06em; line-height: 1; pointer-events: none; }
.work-image { min-width: 0; margin: 0; }
.work-image__open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #f5f4f2; overflow: hidden; text-align: left; }
.work-image img { display: block; width: 100%; height: auto; transition: transform .65s cubic-bezier(.2,.7,.25,1); }
@media (hover: hover) { .work-image__open:hover img { transform: scale(1.025); } }
.work-image figcaption { margin: 14px 0 0; color: #8b8581; font-size: 11px; line-height: 1.6; }
.work-grid { display: grid; gap: 32px; align-items: start; }
.work-grid--process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.work-grid--ads { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.work-grid--retouch { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px; }
.work-grid--retouch .work-image { grid-column: span 2; }
.work-grid--retouch .work-image:nth-last-child(-n+2) { grid-column: span 3; }
.work-product-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 24px; align-items: center; }
.work-product-grid > .work-image:first-child { grid-row: span 2; }
.work-system { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.work-type { padding: clamp(24px, 3vw, 48px); background: #f2f1ef; }
.work-type > h4 { margin: 28px 0; padding-bottom: 20px; border-bottom: 1px solid #c6c1bd; font-size: clamp(24px, 2.5vw, 40px); font-weight: 400; }
.work-type ul { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
.work-type li { display: flex; gap: 20px; align-items: baseline; justify-content: space-between; font-family: var(--work-font); font-weight: var(--weight, 400); }
.work-type li span:first-child { font-size: 12px; white-space: nowrap; }
.work-type li span:last-child { font-size: clamp(18px, 1.8vw, 28px); line-height: 1.4; text-align: right; }
.work-type .work-type__english { display: block; margin-top: 12px; padding-top: 20px; border-top: 1px solid #c6c1bd; }
.work-type__english span { display: block; }
.work-type .work-type__english span:last-child { margin-top: 12px; font-family: Pristina, cursive; text-align: left; }
.work-colour > .work-label { margin-bottom: 28px; }
.work-swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-swatch { display: flex; min-height: 170px; flex-direction: column; justify-content: space-between; gap: 36px; padding: 22px; color: var(--swatch-ink); background: var(--swatch); }
.work-swatch:first-child { min-height: 220px; grid-column: 1 / -1; }
.work-swatch > span { align-self: flex-end; font-size: 10px; }
.work-swatch h4 { margin: 0 0 6px; font-size: 20px; font-weight: 500; }
.work-swatch p { margin: 0; font-size: 11px; }
.work-copy { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.95; max-width: 1000px; }
.work-copy p { margin: 0 0 24px; }
.work-copy strong { font-weight: 600; }
.work-copy ol { padding-left: 1.3em; margin: 20px 0 28px; }
.work-copy li { padding-left: .3em; margin-bottom: 14px; }
.work-copy section { padding: 26px 0; border-top: 1px solid #e8e5e2; }
.work-copy section > p:first-child { font-size: 11px; letter-spacing: .07em; color: #8b8581; margin-bottom: 16px; }
.work-copy h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.4; margin: 0 0 18px; }
.work-goals { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.work-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.work-metric h4 { font-size: 20px; font-weight: 500; margin: 0 0 30px; }
.work-metric__value > p { margin: 0; }
.work-metric__value strong { display: block; color: #9f5831; font-size: clamp(40px, 4vw, 64px); line-height: 1.2; font-weight: 500; }
.work-metric__value strong span { font-size: 22px; }
.work-metric__value > p > span { font-size: 12px; color: #8b8581; }
.work-metric__bars { display: flex; gap: 14px; align-items: end; height: 130px; padding: 20px 0 0; margin: 20px 0; border-bottom: 1px solid #ddd; }
.work-metric__bars span { width: 35%; height: 100%; background: #ddd; transform-origin: bottom; }
.work-metric__bars span:last-child { height: 20%; background: #9f5831; }
.work-metric:nth-child(2) .work-metric__bars span:last-child { height: 50%; }
.work-metric:nth-child(3) .work-metric__bars span:last-child { height: 80%; }
.work-metric:nth-child(4) .work-metric__bars span:first-child { height: 50%; }
.work-metric:nth-child(4) .work-metric__bars span:last-child { height: 100%; }
.work-metric > p { margin: 0 0 20px; font-size: 14px; line-height: 1.8; }
.work-metric__legend { font-size: 10px; color: #8b8581; }
.work-long { width: min(100%, 780px); margin: 0 auto; }
.work-long__crop { position: relative; max-height: 80svh; overflow: hidden; }
.work-long__crop::after { position: absolute; bottom: 0; inset-inline: 0; height: 100px; content: ''; background: linear-gradient(transparent, #fff); pointer-events: none; }
.work-long.is-expanded .work-long__crop { max-height: none; }
.work-long.is-expanded .work-long__crop::after { display: none; }
.work-expand { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 0; border: 0; border-bottom: 1px solid #d9d4d0; background: #fff; font-size: 13px !important; color: #687982; }
.work-compare { min-width: 0; }
.work-compare__stage { touch-action: pan-y; cursor: ew-resize; position: relative; overflow: hidden; aspect-ratio: var(--image-ratio); background: #f2f1ef; }
.work-compare__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.work-compare__stage .work-compare__colour { clip-path: inset(0 calc(100% - var(--compare)) 0 0); }
.work-compare__line { position: absolute; z-index: 1; top: 0; bottom: 0; left: var(--compare); width: 1px; background: rgb(255 255 255 / .85); pointer-events: none; }
.work-compare__line > span { position: absolute; top: 50%; left: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transform: translate(-50%, -50%); color: #171717; background: #fff; box-shadow: 0 2px 12px #0002; font-size: 16px; }
.work-compare__control { display: flex; align-items: center; gap: 20px; margin-top: 24px; font-size: 11px; color: #8b8581; }
.work-compare input { flex: 1; min-width: 0; accent-color: #ba5c57; cursor: ew-resize; }
.work-render { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 140px); align-items: center; }
.work-render__copy h2 { margin: 0 0 24px; font-size: clamp(32px, 4vw, 60px); font-weight: 500; }
.work-render__copy p { max-width: 340px; font-size: 16px; line-height: 1.8; }
.work-render__copy .work-label { font-size: 11px; margin-top: 40px; }
.work-render-pair { max-width: 600px; margin: 0 auto; }
.work-ending { display: flex; flex-direction: column; justify-content: center; min-height: 80svh; padding: 80px 0; }
.work-ending h2 { font-size: clamp(52px, 8vw, 128px); margin: 32px 0 20px; letter-spacing: -.045em; line-height: 1.3; }
.work-ending h2 span { color: #ba5c57; }
.work-ending > p:not(.work-label) { font-size: 18px; color: #8b8581; }
.work-ending > div { display: flex; gap: 40px; margin-top: 48px; }
.work-ending button { padding: 12px 0; border: 0; border-bottom: 1px solid #ccc; background: none; color: #687982; font-size: 13px; }
.work-reveal { opacity: 1; transform: none; }
.work-reader.has-work-motion .work-reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.25,1); transition-delay: var(--work-delay,0ms); }
.work-reader.has-work-motion .work-reveal.is-revealed { opacity: 1; transform: none; }
.work-reader.has-work-motion .work-metric:not(.is-revealed) .work-metric__bars span { transform: scaleY(.1); }
.work-metric__bars span { transition: transform .8s cubic-bezier(.2,.7,.25,1); }
.work-lightbox { position: fixed; inset: 0; width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #fff; color: #171717; }
.work-lightbox::backdrop { background: #fff; }
.work-lightbox[open] { display: flex; flex-direction: column; }
.work-lightbox__header { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 5%; border-bottom: 1px solid #eee; }
.work-lightbox__header p { font-size: 13px; margin: 0; }
.work-lightbox__header button { background: none; border: 0; padding: 10px 0 10px 20px; font: inherit; font-size: 14px; cursor: pointer; }
.work-lightbox__body { flex: 1; min-height: 0; overflow: auto; padding: 32px 5%; background: #f6f5f3; }
.work-lightbox img { display: block; width: auto; max-width: 100%; max-height: none; height: auto; margin: 0 auto; }
@media (max-width: 959px) {
  .work-reader__header { height: 112px; padding: 12px 20px 0; flex-wrap: wrap; gap: 0; align-content: space-between; }
  .work-reader__back, .work-reader__catalog { font-size: 11px !important; padding: 7px 0; }
  .work-nav { order: 3; flex: 0 0 100%; justify-content: space-between; gap: 12px; }
  .work-nav button { padding: 14px 0 16px; gap: 5px; font-size: 9px; }
  .work-nav button span { font-size: 12px; }
  .work-reader__content { width: calc(100% - 40px); }
  .work-section { padding: 48px 0; scroll-margin-top: 16px; }
  .work-section__heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 28px; }
  .work-section__heading p { max-width: 100%; line-height: 1.6; }
  .work-project { min-height: 44svh; padding-right: 36px; }
  .work-project h2 { font-size: clamp(30px, 8vw, 48px); margin-top: 22px; }
  .work-project__arrow { right: 0; bottom: 12%; font-size: 44px; }
  .work-chapter { min-height: 65svh; background-size: 44px 44px; padding-inline: 20px; }
  .work-chapter h2 { font-size: clamp(48px, 13vw, 90px); }
  .work-chapter__word { font-size: 24vw; bottom: 2%; }
  .work-grid { gap: 24px 16px; }
  .work-grid--process { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 16px; gap: 16px; scrollbar-width: thin; }
  .work-grid--process .work-image { flex: 0 0 88%; scroll-snap-align: start; }
  .work-grid--pair { grid-template-columns: 1fr 1fr; }
  .work-grid--ads, .work-grid--retouch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid--retouch .work-image, .work-grid--retouch .work-image:nth-last-child(-n+2) { grid-column: span 1; }
  .work-image figcaption { font-size: 10px; margin-top: 10px; }
  .work-product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .work-product-grid > .work-image:first-child { grid-column: 1 / -1; grid-row: auto; }
  .work-system, .work-goals, .work-render { grid-template-columns: 1fr; gap: 32px; }
  .work-type { padding: 24px; }
  .work-type > h4 { font-size: 28px; margin: 20px 0; }
  .work-type li span:first-child { font-size: 10px; }
  .work-type li span:last-child { font-size: 20px; }
  .work-swatch { min-height: 140px; padding: 18px; }
  .work-swatch:first-child { min-height: 180px; }
  .work-swatch h4 { font-size: 18px; }
  .work-metrics { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .work-metric h4 { margin-bottom: 22px; }
  .work-metric__value strong { font-size: 44px; }
  .work-metric > p { font-size: 13px; }
  .work-long__crop { max-height: 92svh; }
  .work-render__copy { order: -1; }
  .work-render__copy h2 { font-size: 32px; }
  .work-render__copy .work-label { margin-top: 16px; }
  .work-ending { min-height: 70svh; padding: 64px 0; }
  .work-ending h2 { font-size: clamp(44px, 12vw, 72px); }
  .work-reader.has-work-motion .work-reveal { transform: translateY(16px); transition-duration: .5s; }
  .work-lightbox__header { padding: 14px 20px; }
  .work-lightbox__body { padding: 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .work-reader__scroll { scroll-behavior: auto; }
  .work-reader.has-work-motion .work-reveal { opacity: 1; transform: none; transition: none; }
  .work-image img, .work-metric__bars span { transition: none; }
}
