/* PREVIEW ONLY (v2): same rooms walk, photos first on phones, one line for About. Lives in _preview/, never published. */

.pv-mhead { display: none; }

/* phones: the rooms are one swipe of big pictures; the paint still changes from room to room behind them */
@media (max-width: 1023px) {
  #work { padding: 56px 0 44px; }
  #work .rooms__intro { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
  .pv-mhead { display: block; padding: 0 6% 22px; }
  .pv-mhead__k { margin: 0 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
  .pv-mhead__h { margin: 0; font-family: var(--serif); font-size: clamp(52px, 15vw, 84px); line-height: .9; letter-spacing: -.01em; }
  .pv-mhead__h em { font-style: italic; }
  #work .rooms__track { --mc-w: 80vw; --mc-gap: 14px; }
  #work .room { padding: 0 0 8px; gap: 14px; }
  #work .room__frame, #work .room--flip .room__frame, #work .room--side .room__frame, #work .room--title .room__frame, #work .room--wide .room__frame {
    justify-self: stretch; width: 100%; height: auto; aspect-ratio: 4 / 5; margin: 0; border-radius: 16px;
    transform: scale(calc(1 - var(--ad, 0) * .07)); transform-origin: 50% 60%; box-shadow: 0 18px 40px rgba(40, 10, 16, .16); }
  #work .room__label { padding: 0 4px; }
  #work .room__n { display: none; }
  #work .room__title { font-size: clamp(30px, 8.6vw, 44px); }
  #work .room__tag { font-size: 18px; }
  #work .room__go { margin-top: 2px; }
}

/* About on the home: one line, for whoever is curious */
.pv-meet { padding: clamp(56px, 8vw, 120px) 0 clamp(24px, 3vw, 40px); color: var(--wine); text-align: center; }
.pv-meet__in { display: grid; justify-items: center; gap: 14px; }
.pv-meet h2 { margin: 0; max-width: 16ch; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 64px); line-height: 1; }
.pv-meet h2 em { color: var(--cherry); }
.pv-meet__more { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }

/* the About page: room at the top for the bar */
.pv-about .about { padding-top: calc(var(--nav-h, 80px) + 40px); }

/* v3, from the phone review */
@media (max-width: 1023px) {
  /* hero: no four-line headline on phones, just the line and the button */
  .scene .scene__h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* showreel: wide like the film itself, so the picture is not blown up and stays sharp */
  .showreel__frame video { aspect-ratio: 16 / 9 !important; }
  /* the films section keeps its film; the turning carousel goes */
  /* (v14) the turning film carousel is back on phones */
  /* the work paint melts in and out instead of a straight edge */
  #work { isolation: isolate; background: none !important; }
  #work::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--rbg); transition: background-color .3s linear;
    -webkit-mask-image: linear-gradient(transparent, #000 110px, #000 calc(100% - 110px), transparent); mask-image: linear-gradient(transparent, #000 110px, #000 calc(100% - 110px), transparent); }
  #work { padding-top: 96px; padding-bottom: 80px; }
  /* contact picture: soft at the top, clean at the bottom */
  .contact-banner img { -webkit-mask-image: linear-gradient(transparent, #000 24%) !important; mask-image: linear-gradient(transparent, #000 24%) !important; }
}

/* v4: marble and dust. A quieter, powdered rose for the whole page; no pistachio fields behind sections */
body { background: #ecdcd6; }
body::before {
  background:
    radial-gradient(50% 40% at 10% 6%, rgba(250, 245, 242, .9), rgba(250, 245, 242, 0) 70%),
    radial-gradient(44% 40% at 92% 22%, rgba(226, 206, 200, .55), rgba(226, 206, 200, 0) 70%),
    radial-gradient(52% 46% at 24% 64%, rgba(246, 236, 232, .75), rgba(246, 236, 232, 0) 70%),
    radial-gradient(46% 40% at 78% 52%, rgba(221, 196, 190, .35), rgba(221, 196, 190, 0) 70%),
    radial-gradient(60% 50% at 30% 100%, rgba(248, 240, 236, .85), rgba(248, 240, 236, 0) 70%),
    linear-gradient(165deg, #f5ede9 0%, #efe2dd 45%, #e8d6d0 100%) !important;
}
.how { --how-bg: #ead9d3; }
.deck::before { background: linear-gradient(#f2eae6, #ebdfda 50%, #f2eae6) !important; }
.footer { --bg: #ecdcd6; }
.svcs .rooms__end, .rooms__intro { background: transparent; }
@media (max-width: 1023px) {
  #services { background: none !important; }
  .pv-meet { padding-bottom: 0; }
  .contact { padding-top: 24px; }
  .contact-banner img { -webkit-mask-image: linear-gradient(transparent, #000 10%) !important; mask-image: linear-gradient(transparent, #000 10%) !important; }
}

/* v5 */
.pv-statement { padding: clamp(40px, 6vw, 96px) 0 clamp(8px, 2vw, 24px); }
.pv-statement h2 { margin: 0; }
.pv-reel { grid-column: 1 / -1; margin: 0 0 clamp(28px, 4vw, 56px); padding: 0; max-width: none; }
#films-h em, #identity-h em { color: var(--cherry); }
#work-h, .pv-mhead__h { text-transform: uppercase; font-style: italic; letter-spacing: -.01em; }
@media (max-width: 1023px) {
  /* hero: the one line rests on the bottom of the picture */
  .scene__intro { position: relative; z-index: 2; margin-top: 8px; }
  .scene__roles { display: none; }
  /* never cut a head: the pictures hang from the top */
  #work .room__frame img { object-position: 50% 8% !important; }
  #identity-h { font-size: clamp(38px, 11vw, 56px); line-height: .98; }
}

/* brand cards on the turning carousel */
.pv-breel { margin-top: clamp(24px, 3vw, 44px); }
.pv-bcard { border-radius: 16px; overflow: hidden; background: var(--wine); }
.pv-bcard img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-bcard__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; display: grid; gap: 2px; color: #fbf3ef; background: linear-gradient(transparent, rgba(30, 8, 14, .72)); }
.pv-bcard__name { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 36px); line-height: 1; }
.pv-bcard__type { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
@media (max-width: 1023px) { .pv-breel .reel3d__item { width: 78vw; } .pv-breel .reel3d__stage { height: calc(78vw * 9 / 16 + 20px); } }

/* v7: the showreel on its own, straight after the line */
.pv-reelsec { padding: clamp(8px, 2vw, 24px) 0 clamp(32px, 5vw, 72px); }
.pv-reelsec .pv-reel { margin: 0; }
@media (max-width: 1023px) { .pv-mhead__h { font-size: clamp(44px, 12vw, 64px); line-height: .95; } }

/* v8: services as a scroll piece. A held frame shows each service through her own work; the list runs past it */
.sv { position: relative; padding: clamp(72px, 9vw, 140px) 0 clamp(48px, 6vw, 96px); color: var(--wine); }
.sv__k { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--cherry); }
.sv__head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; line-height: .95; font-size: clamp(44px, 5vw, 80px); }
.sv__head h2 em { color: var(--cherry); }
.sv__body { position: relative; margin-top: clamp(24px, 3vw, 48px); }
.sv__stage { position: sticky; z-index: 2; top: calc(var(--nav-h, 72px) + 12px); height: min(46svh, 420px); border-radius: 18px; overflow: hidden; background: #2a1418; box-shadow: 0 24px 50px rgba(40, 10, 16, .18); }
.sv-layer { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s cubic-bezier(.77, 0, .18, 1); }
.sv-layer.is-on { clip-path: inset(0 0 0 0); }
.sv-layer > img, .sv-layer > video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.14); transition: transform 1.6s cubic-bezier(.22, 1, .36, 1); }
.sv-layer.is-on > img, .sv-layer.is-on > video { transform: scale(1); }
.sv-layer figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 3; color: #fbf1ec; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.sv__count { position: absolute; z-index: 99; right: 16px; bottom: 12px; color: #fbf1ec; font-size: 12px; letter-spacing: .14em; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.sv__count i { font-family: var(--serif); font-size: 26px; letter-spacing: 0; }
/* content campaigns: one picture, recut for every format in turn */
.sv-layer[data-k="4"] { display: grid; place-items: center; background: radial-gradient(80% 80% at 50% 40%, #3a1c22, #1f0d11); }
.sv-cut { display: block; overflow: hidden; border-radius: 6px; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); width: 44%; height: 70%; animation: recut 8s cubic-bezier(.77, 0, .18, 1) infinite; }
.sv-cut img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@keyframes recut { 0%, 18% { width: 46%; height: 72%; } 25%, 43% { width: 34%; height: 86%; } 50%, 68% { width: 54%; height: 70%; } 75%, 93% { width: 92%; height: 52%; } 100% { width: 46%; height: 72%; } }
.sv-fmt { position: absolute; top: 14px; left: 16px; display: grid; }
.sv-fmt b { grid-area: 1 / 1; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #fbf1ec; opacity: 0; animation: fmt 8s infinite; }
.sv-fmt b:nth-child(2) { animation-delay: 2s; } .sv-fmt b:nth-child(3) { animation-delay: 4s; } .sv-fmt b:nth-child(4) { animation-delay: 6s; }
@keyframes fmt { 0%, 4% { opacity: 0; } 8%, 22% { opacity: 1; } 26%, 100% { opacity: 0; } }
.sv__list { list-style: none; margin: 0; padding: 8px 0 18svh; }
.sv-item { padding: 9svh 0 2svh; opacity: .26; transition: opacity .6s ease; }
.sv-item.is-on { opacity: 1; }
.sv-n { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--cherry); }
.sv-name { margin: 0; font-family: var(--serif); font-weight: 500; font-style: italic; text-transform: uppercase; font-size: clamp(34px, 9.4vw, 92px); line-height: .92; letter-spacing: -.01em; }
.sv-line { margin: 14px 0 0; max-width: 34ch; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; transform: translateY(8px); transition: transform .6s ease; }
.sv-item.is-on .sv-line { transform: none; }
@media (min-width: 1024px) {
  .sv__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
  .sv__stage { order: 2; top: calc(var(--nav-h, 80px) + 6vh); height: 76vh; }
  .sv__list { padding: 10vh 0 30vh; }
  .sv-item { padding: 12vh 0 0; cursor: default; }
  .sv-name { font-size: clamp(48px, 5.4vw, 96px); }
}
@media (prefers-reduced-motion: reduce) { .sv-layer, .sv-layer > img, .sv-layer > video { transition: none; } .sv-cut, .sv-fmt b { animation: none; } .sv-fmt b:first-child { opacity: 1; } }

/* v8: About, make it dark in one move: the black climbs from her boots up, the pink gives way above it */
@property --p { syntax: '<percentage>'; inherits: true; initial-value: -30%; }
.about[data-look] { --p: -30%; transition: --p 1.5s cubic-bezier(.65, 0, .35, 1); }
.about[data-look="black"] { --p: 100%; }
.about .about__fig--black, .about .chap__pics .about__fig--black { -webkit-mask-image: linear-gradient(to top, #000 var(--p), transparent calc(var(--p) + 30%)) !important; mask-image: linear-gradient(to top, #000 var(--p), transparent calc(var(--p) + 30%)) !important; }
.about .about__fig--pink, .about .chap__pics .about__fig--pink { -webkit-mask-image: linear-gradient(to top, transparent var(--p), #000 calc(var(--p) + 30%)) !important; mask-image: linear-gradient(to top, transparent var(--p), #000 calc(var(--p) + 30%)) !important; }
.about .chap__pics { position: relative; }
.about .chap__pics .about__fig--pink, .about .chap__pics .about__fig--black, .about[data-look="black"] .chap__pics .about__fig--pink { display: block !important; }
.about .chap__pics .about__fig--black { position: absolute; left: 0; right: 0; top: 0; margin: 0 auto; }
.about .chap__pics .about__fig--morph, .about .about__fig[data-fig="m"] { display: none !important; }

/* v10: South shows the pair whole (both heads in), on every screen */
#work [aria-labelledby="room-south"] .room__frame img { object-position: 64% 22% !important; }

/* v10: How it works on wide screens walks one cupcake at a time (how.js); the lettering a touch smaller */
@media (min-width: 1024px) {
  .how.how--walk { height: 100vh; padding: calc(var(--nav-h, 76px) + 3vh) 0 0; display: flex; flex-direction: column; }
  .how--walk .how__h { font-size: clamp(36px, 3.4vw, 60px); }
  .how--walk .how__steps { position: relative; flex: 1 1 auto; display: block; max-width: none; margin: 2vh 0 0; padding: 0; }
  .how--walk .how__step { position: absolute; left: 50%; top: 0; width: min(30vw, 470px); margin: 0 !important; transition: none !important; transform-origin: 50% 55%; will-change: transform, opacity; }
  .how--walk .how__title { width: 70%; }
  .how--walk .how__girl { height: clamp(240px, 40vh, 400px); }
  .how--walk .how__txt { padding-top: 12px; }
  .how::before { transition: background-color 1.2s ease; }
}

/* v10: "make it dark": the page's black climbs with her, from the bottom of the screen up, in the same 1.5 s */
@property --k { syntax: '<number>'; inherits: true; initial-value: -0.3; }
.about[data-look] { --k: -0.3; transition: --p 1.5s cubic-bezier(.65, 0, .35, 1), --k 1.5s cubic-bezier(.65, 0, .35, 1); position: relative; isolation: isolate; }
.about[data-look="black"] { --k: 1; background: none; }
.about[data-look]::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #2a1d1f; display: none; }
.about[data-anim]::after { display: block;
  -webkit-mask-image: linear-gradient(to top, #000 calc(var(--vb, 0px) + var(--vv, 100vh) * var(--k)), transparent calc(var(--vb, 0px) + var(--vv, 100vh) * var(--k) + 30vh));
  mask-image: linear-gradient(to top, #000 calc(var(--vb, 0px) + var(--vv, 100vh) * var(--k)), transparent calc(var(--vb, 0px) + var(--vv, 100vh) * var(--k) + 30vh)); }
.about[data-look="black"]:not([data-anim])::after { display: block; }
.about[data-look="black"] .about__chaps .chap > .chap__pic, .about[data-look="black"] .about__chaps .chap > .chap__pics { background: none !important; }

/* v11: the light that runs through the cherry liquid in the hero was washing the pour out near the coupe: softer and rose, not white */
.scene__art .liquid i { background: linear-gradient(100deg, rgba(240, 180, 192, 0) 0%, rgba(246, 196, 206, .16) 50%, rgba(240, 180, 192, 0) 100%); }

/* v11: SERVICES after the "Good ideas. Bad behaviour." mockup: the headline, the pin-up resting her chin bottom-left,
   a hairline list, the line and keywords beside it, and the picture on the right with its rounded corners (gb.js) */
.gb { position: relative; overflow: hidden; color: var(--wine); background: linear-gradient(170deg, #f8e9e6, #f3dcd8 60%, #efd3cf); }
.gb__in { position: relative; display: grid; gap: 28px; padding: 64px var(--pad) 0; max-width: 1680px; margin: 0 auto; }
.gb__main { display: contents; }
.gb__k { order: 1; display: flex; align-items: center; gap: 16px; margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.gb__k::after { content: ""; width: 110px; height: 1px; background: currentColor; opacity: .6; }
.gb__h { order: 2; margin: 0; font-family: var(--serif); font-weight: 500; font-style: italic; text-transform: none; font-size: clamp(54px, 15vw, 150px); line-height: .86; letter-spacing: -.04em; }
.gb__h span { display: block; }
.gb__h span + span { padding-left: .32em; }
.gb__stage { order: 3; position: relative; aspect-ratio: 4 / 5; max-height: 70svh; width: 100%; border-radius: 26px; overflow: hidden; isolation: isolate; background: #e9cfcd; box-shadow: 0 30px 60px -30px rgba(74, 10, 23, .4); }
.gb__menu { order: 4; position: relative; z-index: 2; }
.gb__pin { position: absolute; z-index: 1; left: -2vw; bottom: 0; width: clamp(150px, 38vw, 330px); height: auto; pointer-events: none; filter: drop-shadow(0 10px 18px rgba(74, 10, 23, .12)); }
.gb-tab { display: flex; width: 100%; align-items: baseline; gap: 20px; padding: 15px 0; border: 0; border-bottom: 1px solid rgba(90, 15, 30, .22); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gb-tab:first-child { border-top: 0; }
.gb-tab__n { flex: 0 0 auto; width: 22px; font-family: var(--serif); font-size: 14px; opacity: .7; }
.gb-tab__name { flex: 1 1 auto; font-family: var(--serif); font-size: clamp(21px, 1.55vw, 27px); line-height: 1.1; transition: color .4s ease, letter-spacing .4s ease; }
.gb-tab svg { flex: 0 0 auto; width: 28px; opacity: 0; transform: translateX(-8px); transition: opacity .4s ease, transform .4s ease; }
.gb-tab.is-on .gb-tab__name { font-style: italic; font-weight: 600; color: #6e0f24; font-size: clamp(25px, 2.05vw, 36px); letter-spacing: -.01em; }
.gb-tab.is-on svg { opacity: 1; transform: none; }
.gb-tab:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.gb__side { padding: 26px 0 64px 42%; min-height: 300px; }
.gb-panel.is-on { animation: gbIn .7s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes gbIn { from { opacity: 0; transform: translateY(12px); } }
.gb-panel__tag { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 1.7vw, 30px); line-height: 1.16; }
.gb-panel__caps { list-style: none; margin: 0 0 28px; padding: 0; font-size: 11.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; line-height: 2.05; }
.gb__btn { display: inline-flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 28px; border: 1px solid currentColor; border-radius: 999px; color: inherit; font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; text-decoration: none; transition: background .3s ease, color .3s ease; }
.gb__btn svg { width: 22px; }
.gb__btn:hover { background: var(--wine); color: #fbeeea; }
.gb-layer { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.05s cubic-bezier(.77, 0, .18, 1); }
.gb-layer.is-on { clip-path: inset(0 0 0 0); }
.gb-layer > img, .gb-layer > video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.12); transition: transform 1.7s cubic-bezier(.22, 1, .36, 1); }
.gb-layer.is-on > img, .gb-layer.is-on > video { transform: scale(1); }
.gb-layer figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 3; color: #fbf1ec; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
.gb-layer--fmt { background: radial-gradient(90% 80% at 50% 40%, #f4e0dd, #e6c6c5); }
.gb-layer--fmt figcaption { color: var(--wine); text-shadow: none; }
.gb-fmt { position: absolute; inset: 0; display: grid; grid-template-columns: 1.26fr 1fr; grid-template-areas: "st fe" "st sq" "bb bb"; gap: 12px; padding: 8% 8% 12%; align-content: center; }
.gb-fmt__t { position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 14px 26px -12px rgba(74, 10, 23, .45); opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1); }
.gb-layer.is-on .gb-fmt__t { opacity: 1; transform: none; }
.gb-layer.is-on .gb-fmt__t--feed { transition-delay: .35s; } .gb-layer.is-on .gb-fmt__t--sq { transition-delay: .5s; } .gb-layer.is-on .gb-fmt__t--bb { transition-delay: .65s; } .gb-layer.is-on .gb-fmt__t--story { transition-delay: .2s; }
.gb-fmt__t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.gb-fmt__t b { position: absolute; left: 8px; top: 7px; color: #fff; font-size: 9.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.gb-fmt__t--story { grid-area: st; }
.gb-fmt__t--feed { grid-area: fe; aspect-ratio: 4 / 5; }
.gb-fmt__t--sq { grid-area: sq; aspect-ratio: 1; }
.gb-fmt__t--bb { grid-area: bb; aspect-ratio: 2.4 / 1; }
.gb-fmt__t--bb img { object-position: 50% 30%; }
@media (min-width: 1024px) {
  .gb__in { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 3.4vw; row-gap: 0; min-height: min(100vh, 1000px); padding: calc(var(--nav-h, 80px) + 5vh) 0 0 var(--pad); }
  .gb__k { grid-column: 1; grid-row: 1; }
  .gb__h { grid-column: 1; grid-row: 2; margin-top: 3.4vh; font-size: clamp(76px, 7.4vw, 150px); }
  .gb__menu { grid-column: 1; grid-row: 3; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-self: end; margin: 5vh 0 9vh clamp(190px, 17vw, 330px); }
  .gb__list { padding-right: 2.6vw; border-right: 1px solid rgba(90, 15, 30, .3); }
  .gb__side { padding: 18px 0 0 2.6vw; min-height: 0; }
  .gb__pin { left: -1vw; width: clamp(220px, 20vw, 360px); }
  .gb__stage { grid-column: 2; grid-row: 1 / 4; align-self: stretch; aspect-ratio: auto; max-height: none; margin: 0 0 7vh; border-radius: 44px 0 0 44px; }
}
@media (prefers-reduced-motion: reduce) { .gb-layer, .gb-layer > img, .gb-layer > video, .gb-fmt__t { transition: none !important; } .gb-panel.is-on { animation: none; } }

/* v11: South: the laughing shot, head and shoulders whole */
#work [aria-labelledby="room-south"] .room__frame img { object-position: 50% 12% !important; }

/* v11: How it works: the stage clears for the cupcakes, each one comes forward big when it is its turn */
@media (min-width: 1024px) {
  .how.how--walk { padding-top: 0; }
  .how--walk .how__head { position: absolute; z-index: 30; left: var(--pad); top: calc(var(--nav-h, 80px) + 5vh); width: 24vw; text-align: left; padding: 0; }
  .how--walk .how__h { font-size: clamp(34px, 2.9vw, 52px); line-height: 1; }
  .how--walk .how__steps { position: absolute; inset: calc(var(--nav-h, 80px) + 2vh) 0 0; margin: 0; }
  .how--walk .how__step { width: min(40vw, 640px); }
  .how--walk .how__title { width: 56%; }
  .how--walk .how__girl { height: calc(100vh - var(--nav-h, 80px) - 15vw - 70px); max-height: 640px; margin-top: -7%; }
  .how--walk .how__txt { padding-top: 6px; }
  .how--walk .how__line { font-size: 16px; }
}
.how::before { transition: background-color 1.4s ease !important; }

/* v11: once she is dark: no worn pink halo behind her, just the dark room */
.about[data-look="black"] .about__glow { background: none !important; opacity: 0; }
.about .about__glow { transition: opacity 1.2s ease; }
/* v11: the new cabin-crew pin-up is taller than the old picture */
.about__fig--set { width: min(100%, calc(var(--sh) * 1086 / 1448)); aspect-ratio: 1086 / 1448; }
.about__crew { object-fit: contain; object-position: 50% 100%; }
/* v11: phones keep "Bad behaviour." on one line; the pin-up's fur melts into the page instead of ending on a line */
@media (max-width: 1023px) { .gb__h { font-size: clamp(44px, 12.4vw, 96px); } .gb__h span + span { padding-left: .2em; } }
.gb__pin { -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%); mask-image: linear-gradient(to top, transparent 0, #000 22%); }

/* v13: "make it dark" with the four drawings. The page black climbs while she changes: pink, the swirl rises,
   the leather jacket arrives, the long black coat. Each frame dissolves into the next with a slow push in. */
.about__fig--doll { aspect-ratio: 733 / 1100; height: 100%; width: auto; }
.about__fig--doll .dfr, .chap__pics--doll .dfr { -webkit-mask-image: none !important; mask-image: none !important; }
.about__fig--doll .dfr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.chap__pics.chap__pics--doll { display: none; }
.chap__pics--doll .dfr { grid-area: 1 / 1; display: block !important; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.dfr { opacity: 0; transform: scale(.985); transition: opacity .75s ease, transform 1.4s cubic-bezier(.22, 1, .36, 1), filter .75s ease; filter: blur(2px); }
.about:not([data-dstep]) .dfr--0, .about[data-dstep="0"] .dfr--0, .about[data-dstep="1"] .dfr--1, .about[data-dstep="2"] .dfr--2, .about[data-dstep="3"] .dfr--3 { opacity: 1; transform: none; filter: none; }
.about[data-look="black"]:not([data-dstep]) .dfr--0 { opacity: 0; }
.about[data-look="black"]:not([data-dstep]) .dfr--3 { opacity: 1; transform: none; filter: none; }
.about[data-anim] .about__fig--doll, .about[data-anim] .chap__pics--doll { scale: 1.025; }
.about__fig--doll, .chap__pics--doll { transition: scale 1.6s cubic-bezier(.65, 0, .35, 1); }
/* once dark: a soft warm light on the floor under her boots instead of the old halo */
.about[data-look="black"] .about__fig--doll::after, .about[data-look="black"] .chap__pics--doll::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -2%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 182, 196, .16), transparent); pointer-events: none; }
.chap__pics--doll { position: relative; }
@media (prefers-reduced-motion: reduce) { .dfr { transition: none; } }

/* v12: services. Dolls Kill's formats on the dark room she looked best in; the billboard keeps her whole head */
.gb-layer--fmt { background: radial-gradient(90% 80% at 50% 40%, #3a1c22, #1f0d11) !important; }
.gb-layer--fmt figcaption { color: #f6e3df !important; }
.gb-fmt__t--bb img { object-position: 50% 6% !important; }
/* the pin-up's fur melts away instead of ending in a cut, and the section fades into the next one */
.gb__pin { -webkit-mask-image: linear-gradient(to top, transparent 0, #000 26%); mask-image: linear-gradient(to top, transparent 0, #000 26%); }
.gb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; z-index: 3; pointer-events: none; background: linear-gradient(rgba(240, 224, 220, 0), #f0e2df); }
/* phones: the picture stays on screen while you scroll the list, and the service in front grows big */
@media (max-width: 1023px) {
  .gb__stage { position: sticky; z-index: 2; top: calc(var(--nav-h, 64px) + 8px); aspect-ratio: auto; height: 44svh; align-self: start; }
  .gb__list { padding-top: 6px; }
  .gb-tab { padding: 3.4svh 0; transition: padding .5s ease; }
  .gb-tab__name { font-size: 22px; transition: font-size .5s cubic-bezier(.22, 1, .36, 1), color .4s ease; }
  .gb-tab.is-on .gb-tab__name { font-size: clamp(36px, 10.5vw, 52px); line-height: 1; }
  .gb__side { padding: 22px 0 140px 42%; }
}

@media (max-width: 860px) { .about__chaps .chap > .chap__pics.chap__pics--doll { display: grid; } }

/* v14: on mid-width screens the Films label sits a touch higher so its arrow clears the scarf */
@media (min-width: 900px) and (max-width: 1179px) { .scene > .spot[data-w="3"] { top: 63.4% !important; } }

/* v17: services, two colours in the title like the rest of the page */
.gb__h span + span { color: var(--cherry, #8e1f2f); }
.gbm { display: none; }
/* phones: the pin-up sits under the title (mirrored, looking at the words), then one swipe of picture cards */
@media (max-width: 1023px) {
  .gb { overflow: visible; }
  .gb::after { display: none; }
  .gb__in { padding: 48px 0 56px; gap: 0; }
  .gb__k { padding: 0 6%; }
  .gb__h { position: relative; z-index: 2; padding: 18px 6% 0; font-size: clamp(48px, 13.6vw, 96px); text-shadow: 0 0 22px rgba(248, 234, 230, .9); }
  .gb__h span + span { padding-left: .5em; }
  .gb__pin { position: relative; display: block; order: 3; z-index: 1; left: auto; bottom: auto; width: min(64vw, 420px); margin: -26px -4vw 0 auto; transform: scaleX(-1);
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 34%); mask-image: linear-gradient(to top, transparent 0, #000 34%); }
  .gb__menu, .gb__stage { display: none !important; }
  .gbm { display: block; order: 4; position: relative; z-index: 2; margin-top: -18vw; }
  .gbm__track { display: flex; gap: 14px; margin: 0; padding: 6px 11vw 18px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .gbm__track::-webkit-scrollbar { display: none; }
  .gbm__card { flex: 0 0 78vw; max-width: 460px; scroll-snap-align: center; transform: scale(.93); opacity: .55; transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .6s ease; }
  .gbm__card.is-on { transform: none; opacity: 1; }
  .gbm__pic { position: relative; margin: 0 0 16px; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #e9cfcd; box-shadow: 0 24px 44px -22px rgba(74, 10, 23, .5); }
  .gbm__pic > img, .gbm__pic > video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
  .gbm__pic figcaption { position: absolute; left: 14px; bottom: 12px; color: #fbf1ec; font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
  .gbm__card--fmt .gbm__pic { background: radial-gradient(90% 80% at 50% 40%, #3a1c22, #1f0d11); }
  .gbm__card--fmt .gb-fmt { padding: 9% 8% 15%; }
  .gbm__card--fmt .gb-fmt__t { opacity: 1; transform: none; }
  .gbm__n { margin: 0 0 4px; font-family: var(--serif); font-size: 15px; }
  .gbm__n span { opacity: .55; }
  .gbm__name { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(30px, 8.6vw, 40px); line-height: 1; letter-spacing: -.01em; color: #6e0f24; text-transform: none; }
  .gbm__tag { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.25; }
  .gbm__caps { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.8; }
  .gbm__caps i { font-style: normal; opacity: .5; padding: 0 .2em; }
  .gbm__dots { display: flex; justify-content: center; gap: 8px; margin: 6px 0 26px; }
  .gbm__dots i { width: 7px; height: 7px; border-radius: 99px; background: currentColor; opacity: .25; transition: width .4s ease, opacity .4s ease; }
  .gbm__dots i.is-on { width: 26px; opacity: .9; }
  .gbm__btn { display: flex; width: max-content; margin: 0 auto; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) { .gbm__card { transition: none; } }

/* v18: cupcakes on phones rise to the front one at a time (how.js). No drop-shadow filter on the drawings: Safari paints
   it as a pale box around them, so the shadow is a soft pool on the floor instead */
@media (max-width: 1023px) {
  .how__girl { filter: none !important; }
  .how__art { position: relative; }
  .how__art::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -2%; height: 7%; z-index: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(74, 10, 23, .16), transparent); pointer-events: none; }
  .how--rise .how__steps { --mc-w: min(80vw, 440px); padding-top: 10px; padding-bottom: 20px; }
  .how--rise .how__art { transform-origin: 50% 70%; will-change: transform, opacity; }
  .how--rise .how__girl { height: min(96vw, 440px); }
  .how--rise .how__txt { transition: opacity .3s ease; }
  .how::before { transition: background-color 1.6s ease !important; }
}
@media (max-width: 1023px) {
  .gb__in { grid-template-columns: minmax(0, 1fr); }
  .gbm { min-width: 0; }
  .gb__h { font-size: clamp(44px, 12vw, 92px); }
  .gb__h span + span { padding-left: .3em; }
}

/* v20: on phones the cupcakes are walked by the page scroll (how.js pins the section), not by a swipe */
@media (max-width: 1023px) {
  .how--held { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h, 64px) + 8px) 0 24px; }
  .how--held .how__steps { scroll-snap-type: none; touch-action: pan-y; overflow-x: hidden; }
  .how--held .how__h { font-size: clamp(30px, 8.4vw, 44px); }
  .how--held .how__girl { height: min(84vw, 46svh, 420px); }
  .how--held .mc-dots { pointer-events: none; }
}

/* v20: services on phones, the words sit on her: "Good ideas." at her eyes, "Bad behaviour." down across her arms */
@media (max-width: 1023px) {
  .gb__h span + span { margin-top: .62em; padding-left: .3em; }
  .gb__pin { margin-top: -47vw; }
  .gbm { margin-top: -10vw; }
}

/* v20: Meet Caroline closes the page, after the form */
.pv-meet--end { padding: clamp(48px, 7vw, 110px) 0 clamp(56px, 8vw, 120px) !important; }
@media (max-width: 1023px) {
  .how--held .how__steps { width: 100%; max-width: 100vw; min-width: 0; align-self: stretch; }
  .gb__k::after { width: 56px; }
}
/* v21: the title a size smaller on phones, so "Good ideas." stops before her glove and "Bad behaviour." before the fur */
@media (max-width: 1023px) {
  .gb__h { font-size: clamp(38px, 10.6vw, 80px); padding-top: 22px; }
  .gb__h span + span { margin-top: .78em; }
  .gb__pin { margin-top: -45vw; }
}
@media (max-width: 1023px) { .gb__pin { margin-right: -9vw; } }
@media (max-width: 1023px) { .how--held .how__steps { scroll-behavior: auto !important; } }

/* v27: desktop hero without the sweeping white sheen, and a slimmer, quieter nav bar */
@media (min-width: 900px) {
  .scene__art .liquid { display: none !important; }
  :root { --nav-h: 60px; }
  .nav .logo__name { font-size: 21px; letter-spacing: .05em; }
  .nav .logo__sub { font-size: 8.5px; letter-spacing: .38em; margin-top: 4px; }
  .nav__links { gap: clamp(20px, 2.6vw, 40px); }
  .nav__links a { font-size: 11.5px; letter-spacing: .2em; }
  .nav__links .nav__cta { min-height: 36px; padding: 0 18px; font-size: 11px; }
}

/* v28: the canvas transformation sits exactly where the drawings sit; they hide while it plays */
.dcv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; pointer-events: none; z-index: 2; }
.chap__pics--doll .dcv { position: static; grid-area: 1 / 1; }
.is-cv .dfr { opacity: 0 !important; transition: none !important; }
