/* Caroline M. — THE EXHIBITION (home page), one world: the studio's pin-up on a rose wall, pink and pistachio paper,
   wine ink, cherry accents, Didone type. The campaign rooms keep the colours of their own photographs.
   Motion lives in js/motion.js (GSAP + ScrollTrigger); everything here is also the designed still that reduced motion
   and no-JS visitors see. */

.home { --wall: #e3b2a6; --wall-deep: #d9a294; --wall-ink: #4a0a17; }

/* the entrance waits for motion.js so nothing flashes in its final state first (a timeout in the head lifts it anyway) */
.motion-wait .cover .cover__model, .motion-wait .cover .cover__mast span, .motion-wait .cover__h .ln > span, .motion-wait .cover__side, .motion-wait .cover__label { visibility: hidden; }

/* ---------- COVER (editorial, red): the campaign model, the masthead behind her head ---------- */
.cover { --cover-red: #b40d14; --on-red: #f8ede4; position: relative; background: #1a0a0e; color: var(--on-red); isolation: isolate; }
.cover__stage { position: relative; height: calc(110vw * 1.5 * .8); background: var(--cover-red); overflow: hidden; }
.cover .cover__mast { position: absolute; z-index: 1; left: 0; right: 0; top: 4vw; margin: 0; overflow: clip; text-align: center; white-space: nowrap; display: none;
  font-family: var(--serif); font-style: normal; font-weight: 600; font-size: 19vw; line-height: .82; letter-spacing: -.025em; color: var(--on-red); font-optical-sizing: none; font-variation-settings: 'opsz' 96; }
.cover .cover__mast span { display: inline-block; padding-top: .04em; }
.cover .cover__model { position: absolute; z-index: 2; top: 0; left: -5vw; width: 110vw; max-width: none; height: auto; }
.cover__lines { position: relative; z-index: 3; display: grid; gap: 26px; padding: 30px var(--pad) 46px; }
.cover__h { font-family: var(--serif); font-style: normal; font-weight: 500; text-transform: none; font-size: clamp(40px, 11.5vw, 64px); line-height: .98; letter-spacing: -.015em; color: var(--on-red); font-optical-sizing: none; font-variation-settings: 'opsz' 72; }
.cover__h em { font-style: italic; }
.cover__h .ln { display: block; overflow: clip; padding-bottom: .07em; margin-bottom: -.07em; }
.cover__h .ln > span { display: inline-block; }
.cover__side { display: grid; gap: 22px; }
.cover__dek { margin: 0; max-width: 34ch; font-size: 16px; line-height: 1.55; color: rgba(248, 237, 228, .88); }
.cover__dek span { display: block; color: var(--on-red); font-family: var(--serif); font-style: italic; font-size: 1.3em; margin-top: 4px; }
.cover__ctas { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cover__btn { display: inline-flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--wine); color: var(--cream); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: background .35s var(--ease), transform .2s var(--ease); }
.cover .cover__btn { background: var(--on-red); color: #1a0a0e; }
.cover__btn svg { width: 22px; height: 12px; transition: transform .35s var(--ease); }
.cover__btn:hover svg { transform: translateX(5px); } .cover__btn:active { transform: scale(.97); }
.cover__btn:hover { background: var(--cherry); } .cover .cover__btn:hover { background: #fff; }
.cover__link { color: var(--on-red); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 12px 0; }
.cover__label { display: grid; gap: 2px; justify-self: start; text-decoration: none; color: var(--on-red); border-left: 1px solid rgba(248, 237, 228, .45); padding: 2px 0 2px 14px; }
.cover__label span { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.cover__label b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 19px; }
.cover__label i { font-style: normal; font-size: 13px; opacity: .85; }
.cover :focus-visible { outline: 2px solid var(--on-red); outline-offset: 4px; }
@media (min-width: 900px) and (min-aspect-ratio: 6/5) {
  .cover { height: 100vh; min-height: 620px; background: var(--cover-red); overflow: hidden; }
  .cover__stage { position: absolute; inset: 0; height: auto; background: none; }
  .cover .cover__mast { display: block; top: calc(var(--nav-h) + 1.5vh); font-size: min(13.6vw, 31vh); }
  .cover .cover__model { top: -4%; left: calc(54% - 43.333vh); width: auto; height: 130%; }
  .cover__lines { position: absolute; inset: 0; display: block; padding: 0; pointer-events: none; }
  .cover__lines a { pointer-events: auto; }
  .cover__h { position: absolute; left: var(--pad); bottom: 15vh; font-size: clamp(36px, min(3.7vw, 6.4vh), 70px); }
  .cover__side { position: absolute; right: var(--pad); bottom: 15vh; width: min(19.5vw, 330px); gap: 26px; }
  .cover__dek { font-size: clamp(14px, 1.05vw, 17px); }
  .cover__ctas { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cover__label { position: absolute; left: var(--pad); bottom: 5vh; }
}
@media (min-width: 900px) {
  .home .nav--overlay.is-cover .logo, .home .nav--overlay.is-cover .nav__links a { color: #f8ede4; }
  .home .nav--overlay.is-cover .nav__links .nav__cta { background: #f8ede4; color: #1a0a0e; }
}

/* ---------- THE PORTAL: a pinned, scrubbed fly-through that ends inside the suite's gold mirror ---------- */
.portal { position: relative; height: 100vh; height: 100svh; background: #a5876f; overflow: hidden; }
.portal__view { position: absolute; inset: 0; overflow: hidden; }
.portal__film { position: absolute; inset: 0; width: 100%; height: 100%; display: block; will-change: transform; }
/* the arrival, seen through the mirror glass: an ellipse the size of the glass (set by js/motion.js as --mx/--my and
   --rx/--ry, in px) that keeps growing as the camera moves in until it is the whole screen */
.portal__arrive { position: absolute; inset: 0; --mx: 50%; --my: 50%; --rx: 0px; --ry: 0px;
  -webkit-mask-image: radial-gradient(var(--rx) var(--ry) at var(--mx) var(--my), #000 86%, transparent 100%); mask-image: radial-gradient(var(--rx) var(--ry) at var(--mx) var(--my), #000 86%, transparent 100%); }
.portal__arrive { background: #e3b2a6; }
.arrive__world { position: absolute; inset: 0; will-change: transform; }
.portal .cover__wall { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 50% 30%; }
.portal .cover__light { position: absolute; inset: 0; opacity: .5; pointer-events: none; mix-blend-mode: soft-light; background: radial-gradient(120% 90% at 78% 8%, rgba(255, 224, 170, .95), rgba(255, 170, 130, .35) 45%, rgba(120, 30, 40, .25) 100%); }
.arrive__mast { position: absolute; z-index: 1; left: 0; right: 0; top: 16vh; margin: 0; overflow: clip; text-align: center; white-space: nowrap; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: min(12.5vw, 26vh); line-height: .95; letter-spacing: -.02em; color: var(--wine); font-optical-sizing: none; font-variation-settings: 'opsz' 96; }
.arrive__mast span { display: inline-block; }
.portal .cover__fig { position: absolute; z-index: 2; left: 50%; bottom: 4vh; width: min(74vw, 150vh); aspect-ratio: 1738 / 870; translate: -50% 0; }
.portal .cover__model { display: block; width: 100%; height: auto; }
.portal .cover__shadow { position: absolute; left: 6%; right: 8%; bottom: -3%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(74, 10, 23, .32), rgba(74, 10, 23, 0)); }
.arrive__line { position: absolute; z-index: 3; right: var(--pad); top: calc(16vh + min(12.5vw, 26vh) * .95); margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.6vw, 26px); color: var(--wine); }
.portal__skip { position: absolute; z-index: 4; right: var(--pad); bottom: 4vh; padding: 12px 0; color: #fdf1ec; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid rgba(253, 241, 236, .6); text-shadow: 0 1px 12px rgba(40, 20, 16, .45); transition: opacity .4s var(--ease); }
.portal__skip:hover { border-bottom-color: #fdf1ec; }
.portal.is-arrived .portal__skip { opacity: 0; pointer-events: none; }
@media (max-width: 899px), (max-aspect-ratio: 6/5) {
  .arrive__mast { top: 14vh; font-size: 17vw; }
  .portal .cover__fig { width: 150vw; left: 38%; bottom: 8vh; }
  .arrive__line { left: var(--pad); right: auto; top: calc(14vh + 17vw); }
  .portal__skip { bottom: calc(4vh + 70px); }
}
/* without the scrubbed journey (reduced motion, or no script) the portal is simply the arrival */
.portal:not(.is-live) .portal__film, .portal:not(.is-live) .portal__skip { display: none; }
.portal:not(.is-live) .portal__arrive { -webkit-mask-image: none; mask-image: none; }

/* the nav floats on the wall over the cover */
@media (min-width: 900px) { .home .nav--overlay { transition: background .4s var(--ease), transform .5s var(--ease); } }
/* past the cover the nav steps out of the way while you read down, and comes back as soon as you scroll up */
.home .nav.is-tucked { transform: translateY(-100%); }
.home .nav { transition: transform .5s var(--ease), background .4s var(--ease); }
@media (prefers-reduced-motion: reduce) { .home .nav { transition: none; } }

/* ---------- SCREENING ROOM: the same rose wall, the film in a soft frame ---------- */
.screening { background: linear-gradient(var(--wall), #ecc3b8 70%, #f2cfc4); color: var(--wall-ink); padding-bottom: clamp(64px, 8vw, 128px); }
.screening .statement__grid { padding-top: clamp(8px, 2vw, 32px); }
.screening h2 span { color: var(--cherry); }
.screening .statement__rule { background: rgba(74, 10, 23, .25); }
.screening .showreel__frame { border-radius: 28px; box-shadow: 0 50px 90px -50px rgba(74, 10, 23, .55); outline: 1px solid rgba(255, 240, 232, .5); outline-offset: -1px; }
.screening .showreel__frame video { aspect-ratio: 16 / 9; }
@media (min-width: 761px) { .screening .showreel { max-width: 1320px; } }

/* ---------- THE FLOOR PLAN (the illustrated scene, now second) ---------- */
.scene { padding-top: clamp(24px, 4vw, 64px); }
.scene .scene__h { font-style: italic; }

/* ---------- THE ROOMS ---------- */
.rooms { position: relative; --rbg: #f3d3c8; --rink: var(--wine); }
.rooms__track { display: grid; }
.rooms__intro { padding: clamp(80px, 11vw, 150px) var(--pad) clamp(40px, 5vw, 64px); display: grid; gap: 18px; justify-items: start; background: var(--rbg); color: var(--rink); }
.rooms__h { font-style: normal; font-weight: 500; text-transform: none; font-size: clamp(56px, 9.5vw, 156px); line-height: .9; letter-spacing: -.02em; font-optical-sizing: none; font-variation-settings: 'opsz' 96; }
.rooms__h em { font-style: italic; }
.rooms__lead { margin: 0; max-width: 32ch; font-size: clamp(16px, 1.25vw, 19px); }
.rooms__skip { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: inherit; padding: 10px 0; }

.room { position: relative; background: var(--room); color: var(--room-ink); padding: 40px var(--pad) 56px; display: grid; gap: 26px; overflow: hidden; }
.room__frame { display: block; overflow: hidden; aspect-ratio: 4 / 5; }
.room--wide .room__frame { aspect-ratio: 16 / 10; }
.room__frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.room__frame:hover img { transform: scale(1.03); }
.room__ghost { display: none; }
.room__label { display: grid; gap: 6px; align-content: start; }
.room__n { margin: 0 0 6px; font-family: var(--serif); font-style: italic; font-size: 18px; }
.room__n span { font-size: 1.5em; }
.room__kind { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.room__title { font-style: normal; font-weight: 500; font-size: clamp(42px, 11vw, 64px); line-height: .95; letter-spacing: -.01em; margin: 6px 0 2px; font-optical-sizing: none; font-variation-settings: 'opsz' 72; }
.room__tag { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 5.4vw, 26px); line-height: 1.2; }
.room__line { margin: 6px 0 0; max-width: 36ch; font-size: 15.5px; line-height: 1.55; }
.room__go { justify-self: start; display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 0; color: inherit; text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.room__go svg { width: 26px; height: 12px; transition: transform .35s var(--ease); }
.room__go:hover svg, .room__go:focus-visible svg { transform: translateX(6px); }
.room[style*="--room-x"] .room__go { color: var(--room-x); }
.room :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.rooms__end { display: grid; gap: 20px; justify-items: start; padding: clamp(56px, 8vw, 110px) var(--pad); background: #f2cfc4; color: var(--wine); }
.rooms__end p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 56px); line-height: 1.05; max-width: 14ch; }
.rooms__end .cover__btn { background: var(--wine); color: var(--cream); }

@media (min-width: 640px) and (max-width: 1023px) {
  .room { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .room--flip .room__frame { order: 2; }
  .room--wide { grid-template-columns: 1fr; }
  .room__title { font-size: clamp(44px, 6.4vw, 64px); }
}

/* wide screens with motion: the rooms hang side by side and you walk through them; js/motion.js adds .rooms--h,
   pins the section, slides the track and repaints --rbg / --rink between each room's own colours */
.rooms--h { height: 100vh; overflow: hidden; background: var(--rbg); color: var(--rink); }
.rooms--h .rooms__track { display: flex; align-items: stretch; height: 100%; width: max-content; }
.rooms--h .rooms__intro { flex: 0 0 auto; width: 38vw; height: 100%; align-content: end; padding: 0 4vw 14vh var(--pad); background: none; color: inherit; }
.rooms--h .room { flex: 0 0 auto; height: 100%; padding: 0; display: block; background: none; color: inherit; overflow: clip; }
.rooms--h .room__frame { position: absolute; }
.rooms--h .room__frame img { width: 112%; max-width: none; margin-left: -6%; }
.rooms--h .room__label { position: absolute; bottom: 13vh; width: min(25vw, 380px); }
.rooms--h .room__title { font-size: clamp(48px, 4.8vw, 88px); }
.rooms--h .room__tag { font-size: clamp(20px, 1.7vw, 28px); }
.rooms--h .room__line { font-size: clamp(14px, 1vw, 16px); }
.rooms--h .room[style*="--room-x"] .room__go { color: inherit; }
.rooms--h .room__ghost { display: block; position: absolute; z-index: 0; top: 50%; left: 0; margin: 0; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  font-family: var(--serif); font-weight: 600; font-size: 21vw; line-height: .8; letter-spacing: -.03em; text-transform: uppercase; font-optical-sizing: none; font-variation-settings: 'opsz' 96;
  color: color-mix(in srgb, currentColor 9%, transparent); }
.rooms--h .room__frame, .rooms--h .room__label { z-index: 1; }
/* side: the picture on the left wall, the label beside it */
.rooms--h .room--side { width: calc(60vh + 38vw); }
.rooms--h .room--side .room__frame { left: 0; top: 11vh; height: 78vh; aspect-ratio: 3 / 4; }
.rooms--h .room--side .room__label { left: calc(58.5vh + 4vw); }
/* title: the name runs huge behind the picture */
.rooms--h .room--title { width: calc(60vh + 36vw); }
.rooms--h .room--title .room__frame { left: 30vw; top: 9vh; height: 82vh; aspect-ratio: 3 / 4; }
.rooms--h .room--title .room__label { left: 2vw; width: min(24vw, 360px); }
.rooms--h .room--title .room__ghost { color: color-mix(in srgb, currentColor 14%, transparent); left: -2vw; }
/* flip: label first, the picture hung lower on the right */
.rooms--h .room--flip { width: calc(58vh + 36vw); }
.rooms--h .room--flip .room__label { left: 4vw; bottom: 30vh; }
.rooms--h .room--flip .room__frame { left: 32vw; top: 15vh; height: 76vh; aspect-ratio: 3 / 4; }
/* wide: a landscape picture with the label under its right edge */
.rooms--h .room--wide { width: 78vw; }
.rooms--h .room--wide .room__frame { left: 4vw; top: 12vh; width: 54vw; aspect-ratio: 16 / 9; }
.rooms--h .room--wide .room__label { left: 60vw; width: min(17vw, 300px); bottom: auto; top: 12vh; }
.rooms--h .room--wide .room__title { font-size: clamp(42px, 3.8vw, 72px); }
.rooms--h .rooms__end { flex: 0 0 auto; width: 46vw; height: 100%; align-content: end; padding: 0 var(--pad) 14vh 6vw; background: none; color: inherit; }
.rooms--h .rooms__end .cover__btn { background: var(--rink); color: var(--rbg); }

/* wide screens without the walk (reduced motion, short windows): the rooms stack two to a row of picture and label */
@media (min-width: 1024px) {
  .rooms:not(.rooms--h) .room { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); align-items: end; gap: clamp(32px, 5vw, 96px); padding: clamp(56px, 6vw, 96px) var(--pad); }
  .rooms:not(.rooms--h) .room--flip .room__frame { order: 2; }
  .rooms:not(.rooms--h) .room__frame { max-height: 82vh; }
  .rooms:not(.rooms--h) .room__title { font-size: clamp(56px, 5vw, 88px); }
}

/* the pictures hang as they were shot: whole, at their own proportions (each room's --ar), only the corners softened */
.room__frame { aspect-ratio: var(--ar, .75); border-radius: 22px; }
.rooms--h .room__frame img { width: 100%; margin-left: 0; }
.rooms--h .room--side .room__frame, .rooms--h .room--title .room__frame, .rooms--h .room--flip .room__frame { aspect-ratio: var(--ar, .75); }
.rooms--h .room--side { width: calc(78vh * var(--ar, .75) + 38vw); }
.rooms--h .room--side .room__label { left: calc(78vh * var(--ar, .75) + 4vw); }
.rooms--h .room--title { width: calc(82vh * var(--ar, .75) + 36vw); }
.rooms--h .room--flip { width: calc(76vh * var(--ar, .75) + 36vw); }
.rooms--h .room { overflow: visible; }
.rooms--h .room__ghost { max-width: 100%; overflow: clip; }

/* ---------- SERVICES: the same walk, one liquid world ---------- */
.svcs .rooms__end { background: #d3d9a6; color: #2f3a10; }
.svcs .rooms__end .cover__btn { background: #2f3a10; color: #eef0d8; }
/* the services mural opens the walk: on wide screens it hangs full height, edge to edge, and its cream runs straight
   into the river; on phones it is a strip you swipe along, tall enough that its lettering stays readable */
.svcs__mural { margin: 0; padding: 0 0 8px; overflow-x: auto; overscroll-behavior-x: contain; background: #e4dcbf; }
.svcs__mural img { display: block; height: min(72vh, 540px); width: auto; max-width: none; }
.rooms--h .svcs__mural { flex: 0 0 auto; height: 100%; padding: 0; overflow: visible; background: none; position: relative; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 86%, transparent); }
.rooms--h .svcs__mural img { height: 100%; }

/* the river: pink cream and pistachio satin (inline SVG) behind and in front; each service's name runs behind its
   illustration, the illustration dips into the cream, the line of copy sits on top */
.flow { position: relative; padding: clamp(48px, 9vw, 96px) var(--pad); display: grid; gap: clamp(56px, 12vw, 96px); background: linear-gradient(#f6ddd3, #f2c3c3); color: var(--wine); overflow: hidden; }
.flow__back, .flow__front { display: none; }
.flow__item { position: relative; display: grid; }
.flow__title { position: relative; z-index: 1; margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; font-size: clamp(54px, 15vw, 90px); line-height: .88; letter-spacing: -.02em; color: #86142a; font-optical-sizing: none; font-variation-settings: 'opsz' 96; }
.flow__item--low .flow__title { color: #4a5716; }
.flow__art { position: relative; z-index: 2; width: 100%; height: auto; margin-top: -.5em; filter: drop-shadow(0 24px 30px rgba(74, 10, 23, .18)); }
.flow__line { position: relative; z-index: 4; margin: 10px 0 0; max-width: 34ch; font-size: 16px; line-height: 1.55; }
.rooms--h .flow { flex: 0 0 auto; display: flex; height: 100%; width: 340vw; margin-left: -4vw; padding: 0; gap: 0; background: none; overflow: visible; color: inherit; }
/* the liquid runs on under the closing panel, so it never ends in a cut */
.rooms--h .flow__back, .rooms--h .flow__front { display: block; position: absolute; top: 0; left: 0; width: calc(100% + 75vw); height: 100%; pointer-events: none; }
.rooms--h .flow__back { z-index: 0; }
.rooms--h .flow__front { z-index: 3; }
.rooms--h.svcs .rooms__end { position: relative; z-index: 4; background: none; }
.rooms--h .flow__item { flex: 0 0 68vw; height: 100%; display: block; }
.rooms--h .flow__title { position: absolute; left: 3vw; top: 9vh; max-width: 62vw; font-size: min(9.4vw, 17vh); }
.rooms--h .flow__art { position: absolute; left: 22vw; bottom: 6vh; height: auto; width: min(50vw, 52vh * var(--a)); margin: 0; }
.rooms--h .flow__line { position: absolute; left: 3.4vw; top: calc(11vh + min(9.4vw, 17vh) * 1.8); width: min(17vw, 280px); margin: 0; font-size: clamp(14px, 1.05vw, 17px); }
.rooms--h .flow__item--low .flow__title { top: 36vh; left: 8vw; }
.rooms--h .flow__item--low .flow__art { left: 26vw; bottom: 10vh; width: min(46vw, 46vh * var(--a)); }
.rooms--h .flow__item--low .flow__line { left: 8.4vw; top: 16vh; }

/* ---------- PROCESS: the steps beside the cupcake stand, hung as a framed print ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.steps h2 { font-size: clamp(40px, 4.6vw, 76px); line-height: 1.02; text-transform: none; font-style: italic; }
.steps h2 em { color: var(--cherry); }
.steps__list { list-style: none; counter-reset: step; margin: clamp(28px, 3vw, 44px) 0 0; padding: 0; display: grid; }
.steps__list li { counter-increment: step; display: grid; grid-template-columns: 3.2em 1fr; column-gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps__list li::before { content: "0" counter(step); grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--cherry); }
.steps__list b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 24px; line-height: 1.15; }
.steps__list span { font-size: 16px; line-height: 1.55; max-width: 44ch; }
.steps__list li { transition: opacity .5s var(--ease); }
.steps.is-live .steps__list li:not(.is-on) { opacity: .38; }
/* the tower: four cut-out cupcakes stacked, the brief at the foot and the drop on top, each sitting in the frosting
   of the one below. js/motion.js drops them in one at a time. */
.tower { --w: min(300px, 64vw); position: relative; margin: 0 auto; width: calc(var(--w) * 1.1); height: calc(var(--w) * (.95 + 3 * .66)); }
.tower::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -3%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(74, 10, 23, .26), rgba(74, 10, 23, 0)); }
.tower__cake { position: absolute; z-index: calc(var(--i) + 1); left: 50%; bottom: calc(var(--i) * var(--w) * .66); width: var(--w); height: auto; translate: -50% 0; filter: drop-shadow(0 10px 14px rgba(74, 10, 23, .16)); }
@media (min-width: 861px) { .tower { --w: min(24vw, 25vh); } }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .tower { order: -1; } }

/* ---------- RIGHTS & DELIVERY: a deck of double-sided cards, each turned over as it passes the camera ---------- */
@property --tap { syntax: '<number>'; inherits: true; initial-value: 0; }
.deck { --cw: min(68vw, 290px); --ch: calc(var(--cw) / .72); --gap: 9vw; --gold: #c9a467; --gold-2: #e8d3a4;
  position: relative; overflow: hidden; color: var(--wine);
  background: linear-gradient(#fbefe7 0%, #f8e6de 40%, #f5dbd6 100%); }
.deck__satin { display: block; width: 112%; max-width: none; margin-left: -6%; pointer-events: none; }
.deck__satin--top { height: clamp(80px, 13vw, 230px); }
.deck__satin--bottom { height: clamp(80px, 12vw, 210px); margin-top: -2vw; }
.deck__stage { position: relative; z-index: 2; }
.deck__head { padding: 0 var(--gutter, 6vw); }
.deck__label { color: #86142a; }
.deck__h { margin: 10px 0 0; font-family: var(--serif); font-weight: 500; text-transform: none; font-size: clamp(48px, 6.4vw, 108px); line-height: .95; letter-spacing: -.02em; font-variation-settings: 'opsz' 96; color: var(--wine); }
.deck__h em { font-style: italic; color: #a3163a; }

/* the row: a plain swipeable strip until motion turns it into the reel */
.deck__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 70px); }
.deck__viewport::-webkit-scrollbar { display: none; }
.deck__track { display: flex; gap: var(--gap); margin: 0; padding: 0 calc(50vw - var(--cw) / 2); list-style: none; width: max-content; }
.deck__cta { padding: 0 var(--gutter, 6vw); justify-content: flex-start; }
.deck__cta em { color: #a3163a; }

/* a card: two faces 8px apart with a champagne edge between them, an arched top like an old cabinet card */
.card { --turn: 1; --glint: 0; --spread: 1; --r: 46% 46% 20px 20px / 15% 15% 20px 20px;
  position: relative; flex: 0 0 var(--cw); height: var(--ch); perspective: 1600px; scroll-snap-align: center; }
.card__body { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(calc((var(--turn) + var(--tap)) * 180deg)); transition: --tap .95s cubic-bezier(.22, .8, .24, 1); }
.card__face { position: absolute; inset: 0; border-radius: var(--r); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: grid; align-content: center; justify-items: center; text-align: center; padding: 22% 13% 16%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), inset 0 -14px 30px rgba(120, 40, 50, .08); }
.card__face--back { transform: translateZ(4px); }
.card__face--front { transform: rotateY(180deg) translateZ(4px); }
/* the light rakes across the satin as the card turns */
.card__face::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 250, 244, calc(.12 + var(--glint) * .5)) 48%, transparent 68%);
  background-size: 260% 100%; background-position: calc(100% - var(--turn) * 100%) 0; mix-blend-mode: soft-light; }
.card__face::before { content: ''; position: absolute; inset: 6.5%; border-radius: var(--r); border: 1.5px solid var(--gold); pointer-events: none;
  outline: 1px solid rgba(201, 164, 103, .6); outline-offset: -7px; }
.card__edge { position: absolute; top: 12%; bottom: 4%; width: 8px; background: linear-gradient(var(--gold-2), var(--gold) 45%, #b98f55 70%, var(--gold-2)); }
.card__edge--l { left: -4px; transform: rotateY(90deg); }
.card__edge--r { right: -4px; transform: rotateY(90deg); }
.card__shadow { position: absolute; left: 10%; right: 10%; bottom: -6%; height: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(74, 10, 23, .38), rgba(74, 10, 23, 0)); filter: blur(2px); transform: scaleX(var(--spread)); }
.card__flip { position: absolute; inset: 0; z-index: 3; margin: 0; padding: 0; border: 0; border-radius: var(--r); background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.card__flip:focus-visible { outline: 2px solid var(--wine); outline-offset: 6px; }

/* the backs: the cheek, set big and upright */
.card--pink .card__face--back { background: radial-gradient(circle, rgba(185, 143, 85, .22) 1px, transparent 1.7px) 0 0 / 13px 13px, radial-gradient(120% 80% at 30% 15%, #fbe0e2, transparent 60%), linear-gradient(165deg, #f6c7cd, #eeb0bb 55%, #f4c6cc); }
.card--pista .card__face--back { background: radial-gradient(circle, rgba(185, 143, 85, .22) 1px, transparent 1.7px) 0 0 / 13px 13px, radial-gradient(120% 80% at 30% 15%, #f6f7e2, transparent 60%), linear-gradient(165deg, #e6e9c2, #d3d9a1 55%, #e2e6bb); }
.card--ivory .card__face--back { background: radial-gradient(circle, rgba(185, 143, 85, .22) 1px, transparent 1.7px) 0 0 / 13px 13px, radial-gradient(120% 80% at 30% 15%, #fffaf2, transparent 60%), linear-gradient(165deg, #f9f0e3, #efe1cc 55%, #f7ecdc); }
.card__shout { margin: 0; font-family: var(--serif); font-weight: 700; text-transform: uppercase; font-size: calc(var(--cw) * .112); line-height: .92; letter-spacing: -.01em; font-variation-settings: 'opsz' 96; color: #5c0b1d; text-wrap: balance; }
.card__shout span { display: block; color: #a3163a; }
.card__shout--long { font-size: calc(var(--cw) * .084); }
.card__shout::before { content: '\2726'; display: block; margin-bottom: .55em; font-size: .4em; color: var(--gold); }

/* the fronts: the promise, set like a good contract */
.card--pink .card__face--front { background: linear-gradient(170deg, #fdeceb, #f8dcdc); }
.card--pista .card__face--front { background: linear-gradient(170deg, #f6f7e6, #ebeecf); }
.card--ivory .card__face--front { background: linear-gradient(170deg, #fffbf4, #f6ecdd); }
.card__n { font-family: var(--serif); font-style: italic; font-size: calc(var(--cw) * .07); color: var(--gold); }
.card__title { margin: .35em 0 0; font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: calc(var(--cw) * .066); line-height: 1.15; color: var(--wine); }
.card__title::after { content: ''; display: block; width: 2.4em; height: 1px; margin: .8em auto .9em; background: var(--gold); }
.card__text { margin: 0; font-family: var(--serif); font-style: italic; font-size: calc(var(--cw) * .056); line-height: 1.42; color: #5c0b1d; }

@media (min-width: 900px) { .deck { --cw: min(25vw, 35vh, 380px); --gap: 5vw; } }

/* the reel (motion on): pinned, the cards cross from right to left and turn over at the centre */
.deck--reel { height: 100vh; height: 100svh; min-height: 600px; }
.deck--reel .card { --turn: 0; }
.deck--reel .deck__satin { position: absolute; left: -6%; z-index: 4; margin: 0; will-change: transform; }
.deck--reel .deck__satin--top { top: 0; }
.deck--reel .deck__satin--bottom { bottom: 0; }
.deck--reel .deck__stage { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding: max(120px, 17vh) 0 max(64px, 9vh); }
.deck--reel .deck__viewport { min-width: 0; overflow: visible; scroll-snap-type: none; padding: 0; display: flex; align-items: center; }
.deck--reel .deck__track { padding: 0; will-change: transform; }
.deck--reel .deck__cta { position: relative; z-index: 5; margin-top: 0; }
@media (max-width: 899px) { .deck--reel .deck__cta p { display: none; } .deck--reel .deck__stage { padding-top: max(100px, 13vh); } }
.screening h2 span { color: #86142a; }

/* ---------- the showreel's second door: into the pink suite (intro.html) ---------- */
.showreel__suite { position: absolute; z-index: 2; left: 50%; bottom: 22px; translate: -50% 0; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  background: rgba(251, 239, 230, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fbefe6; text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; transition: background .35s var(--ease); }
.showreel__suite svg { width: 18px; transition: transform .3s var(--ease); }
.showreel__suite:hover { background: rgba(251, 239, 230, .3); } .showreel__suite:hover svg { transform: translateX(4px); }
@media (max-width: 760px) { .showreel__suite { left: auto; right: 14px; translate: none; top: 12px; bottom: auto; padding: 7px 12px; font-size: 10px; } }
/* intro.html closes on the rose wall of the arrival, with the way back to the work */
.intro__end { display: grid; justify-items: center; gap: 22px; padding: clamp(64px, 9vw, 120px) var(--pad); background: #e3b2a6; color: var(--wine); text-align: center; }
.intro__end p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 44px); line-height: 1.1; }
.intro__end .cover__btn { background: var(--wine); color: var(--cream); }

/* ---------- SERVICES, restored: the original illustration as the walk, every service on it a live, lifting spot ---------- */
.svcs__art { position: relative; display: inline-block; height: min(72vh, 540px); }
.svcs__art img { height: 100%; width: auto; max-width: none; display: block; }
.rooms--h .svcs__art { height: 100%; }
.rooms--h .svcs__mural { padding: 0; }
.svcs .rooms__end { background: #f0cbc4; color: #4a0a17; }
.svcs .rooms__end .cover__btn { background: #4a0a17; color: #fbefe6; }
/* the spot repeats exactly the pixels under it; pointing at it lifts that piece of the picture a little, its edge
   feathered so the enlarged piece melts back into the original */
.svc-spot { position: absolute; left: calc(var(--l) * 1%); top: calc(var(--t) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); border-radius: 40%; }
.svc-spot::before { content: ""; position: absolute; inset: 0; background-image: url(../assets/art/services-banner-3.webp); background-repeat: no-repeat;
  background-size: calc(10000% / var(--w)) calc(10000% / var(--h));
  background-position: calc(var(--l) / (100 - var(--w)) * 100%) calc(var(--t) / (100 - var(--h)) * 100%);
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent);
  opacity: 0; transform: scale(1); transition: transform .6s var(--ease), opacity .35s var(--ease); }
.svc-spot:hover::before, .svc-spot:focus-visible::before { opacity: 1; transform: scale(1.07); }
.svc-spot:focus-visible { outline: 2px solid var(--wine); outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { .svc-spot::before { transition: opacity .2s; } .svc-spot:hover::before, .svc-spot:focus-visible::before { transform: scale(1.03); } }

/* ---------- HOW IT WORKS: the cupcakes walked like the campaign rooms ---------- */
.cakewalk .rooms__intro .label { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; }
.cakewalk .rooms__h { font-size: clamp(44px, 5.2vw, 96px); }
.cakewalk .rooms__h span { display: block; font-style: italic; font-size: .42em; color: #b0243f; margin-top: .25em; }
.room--cake .room__frame { aspect-ratio: var(--ar); border-radius: 0; overflow: visible; max-width: 520px; }
.room--cake .room__frame img { object-fit: contain; filter: drop-shadow(0 26px 30px rgba(74, 10, 23, .2)); }
.room--cake .room__title { font-style: italic; }
.rooms--h .room--cake { width: calc(56vh * var(--ar) + 40vw); }
.rooms--h .room--cake .room__frame { left: 21vw; top: 21vh; height: 56vh; max-width: none; }
.rooms--h .room--cake .room__frame img { width: 100%; margin: 0; }
.rooms--h .room--cake .room__label { left: 2vw; bottom: 14vh; width: min(18vw, 300px); }
.rooms--h .room--cake .room__ghost { font-style: italic; text-transform: none; font-size: 19vw; color: color-mix(in srgb, currentColor 11%, transparent); }
.cakewalk .rooms__end { background: #e9ebcc; color: #2f3a10; }
.cakewalk .rooms__end .cover__btn { background: #2f3a10; color: #eef0d8; }
.rooms--h.cakewalk .rooms__end { background: none; color: inherit; }

/* ---------- critique fixes (2026-12-05) ---------- */
/* a way out of the eleven rooms that stays on screen for the whole walk (wide screens; phones have the stacked rooms) */
.rooms__out { display: none; }
.rooms--h .rooms__out { display: inline-flex; align-items: center; gap: 8px; position: absolute; z-index: 6; right: var(--pad, 4vw); bottom: 4.5vh; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: rgba(251, 239, 230, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--wine); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.rooms--h .rooms__out:hover { background: rgba(251, 239, 230, .85); }
.rooms__out:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
@media (max-width: 760px) {
  .showreel__suite { font-size: 12px; min-height: 44px; padding: 0 12px; gap: 6px; letter-spacing: .07em; }
  .showreel__what { display: none; }
}

/* ---------- 2026-12-05 evening: cupcakes whole, services read downwards on phones ---------- */
/* the cupcakes are now whole rectangles cropped from the stand picture, so the frame is a soft-cornered print */
.room--cake .room__frame { border-radius: 22px; overflow: hidden; box-shadow: 0 26px 50px -18px rgba(74, 10, 23, .32); }
.room--cake .room__frame img { filter: none; width: 100%; height: 100%; object-fit: cover; }
/* services: the wide mural on big screens; below 1024px the same art in three panels, one under another */
.svcs__stack { display: none; }
@media (max-width: 1023px) {
  .svcs__mural { overflow: visible; padding: 0; background: #eadac4; }
  .svcs__art { display: none; }
  .svcs__stack { display: grid; }
  .svcs__stack img { display: block; width: 100%; height: auto; }
}
/* phones: the scene squared around its cupcake, so the tag can be read */
@media (max-width: 1023px) { .room--cake .room__frame { aspect-ratio: 1; } .room--cake .room__frame img { object-position: 50% 60%; } }

/* ---------- HOW IT WORKS (2026-12-05 night): her four scenes. The step's lettering sits behind her, the words underneath.
   Wide screens: the four in a staggered row, rising one after another. Phones: one at a time (css/mobile.css carousel),
   the paint shifting between pink and pistachio (js/mobile.js). ---------- */
.how { --how-bg: #f6d8d3; background: var(--how-bg); color: var(--wine); transition: background-color .8s var(--ease); padding: clamp(64px, 8vw, 120px) 0 clamp(64px, 8vw, 120px); overflow: hidden; }
.how__head { text-align: center; padding: 0 var(--pad, 22px); }
.how__head .label { color: #c3122d; }
.how__h { margin: 12px 0 0; font-size: clamp(40px, 5.2vw, 96px); }
.how__h span { display: block; font-size: .42em; color: #b0243f; margin-top: .25em; }
.how__steps { list-style: none; margin: clamp(40px, 5vw, 72px) auto 0; padding: 0 clamp(24px, 4vw, 64px); max-width: 1600px; display: flex; gap: clamp(16px, 2vw, 32px); }
.how__step { flex: 1 1 0; display: flex; flex-direction: column; min-width: 0; }
.how__art { display: flex; flex-direction: column; align-items: center; }
.how__title { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.how__girl { position: relative; z-index: 2; display: block; height: clamp(260px, 21vw, 380px); width: auto; max-width: 100%; object-fit: contain; margin-top: -9%; filter: drop-shadow(0 18px 22px rgba(74, 10, 23, .16)); }
.how__txt { padding: 16px 6px 0; text-align: center; }
.how__n { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .22em; color: #c3122d; }
.how__line { margin: 10px auto 0; max-width: 34ch; font-size: 17px; line-height: 1.5; }
.how__end { text-align: center; margin-top: clamp(36px, 4vw, 56px); }
.how__end p { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: 24px; }
.how__end .cover__btn { background: #c3122d; color: #fff6ee; }
@media (min-width: 1024px) {
  .how__step:nth-child(even) { margin-top: 56px; }
  .js .how__step { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * .14s); }
  .js .how.is-in .how__step { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .js .how__step { opacity: 1 !important; transform: none !important; transition: none !important; } .how { transition: none; } }

/* RIGHTS colours (2026-12-05 night): pink cards on pistachio, the palette of the How it works scenes */
.deck { background: linear-gradient(#eef1d4 0%, #e6eac8 45%, #e1e5c0 100%); }
.card--pink .card__face--back, .card--pista .card__face--back, .card--ivory .card__face--back { background: radial-gradient(120% 80% at 30% 15%, #fde9e8, transparent 60%), linear-gradient(165deg, #f9d4d6, #f2bcc2 55%, #f6cdd1); }
.card--pink .card__face--front, .card--pista .card__face--front, .card--ivory .card__face--front { background: linear-gradient(170deg, #fbfcf0, #f3f5e2); }
.card__shout { color: #8f0b22; }
.card__shout span { color: #c3122d; }
/* the promise reads in the plain sans, larger: Bodoni italic at this size was hard to read */
.card__text { font-family: var(--sans); font-style: normal; font-size: max(15px, calc(var(--cw) * .052)); line-height: 1.5; }

/* 2026-12-05 late: sections hand over by colour alone. No satin waves or rules between them; the rights deck fades in from
   the How it works pink, sits on a powdery pistachio, and fades out into the contact cream. */
.deck__satin { display: none !important; }
.deck { background: linear-gradient(#f6d8d3 0, #eef0e2 14%, #e9ecdb 50%, #eef0e2 86%, #fff0e8 100%); }
.deck--reel .deck__stage { padding-top: max(96px, 13vh); }

/* 2026-12-05 night: no hard edges at all. How it works and the rights deck paint their colour on a layer that fades
   to nothing at the top and bottom, so the page paint behind shows through and each section melts into the next.
   The green is the pistachio cream of the services illustration, made powdery: warm, never blue. */
.how, .deck { position: relative; isolation: isolate; background: none !important; }
.how::before, .deck::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 clamp(90px, 12vw, 160px), #000 calc(100% - clamp(90px, 12vw, 160px)), transparent);
          mask-image: linear-gradient(transparent, #000 clamp(90px, 12vw, 160px), #000 calc(100% - clamp(90px, 12vw, 160px)), transparent); }
.how::before { background: var(--how-bg); transition: background-color .8s var(--ease); }
.deck::before { background: linear-gradient(#f3efdc, #efebd3 50%, #f3efdc); }
.card--pink .card__face--front, .card--pista .card__face--front, .card--ivory .card__face--front { background: linear-gradient(170deg, #fbf9ee, #f3f0dd); }
