/* site-v2 consulting page (round 3, Milan 2026-10-16): its own structure, not the home sequence.
   Light hero with the copy left and the cocktail bar framed right; ruled two-column Turnaround grid; the Opening as
   a six-step runway on the page's one dark accent; verticals as photo tiles; the COVID film on light; closer.
   Every service, step, tile and jump card is a .lift (v2.css). */

.cx-sec { padding-block: clamp(76px, 10vw, 140px); }
.cx-n { font: 700 14px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); transition: color .3s; }

/* Shared section head: heading left, the line that frames it right, a rule under both */
.cx-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px clamp(28px, 6vw, 96px); align-items: end;
  padding-bottom: clamp(28px, 3.4vw, 44px); margin-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--fg); }
.cx-head h2 { font-size: clamp(46px, 5.8vw, 92px); line-height: .98; }
.cx-head > p { color: var(--muted); font-size: 18px; max-width: 44ch; }
@media (max-width: 900px) { .cx-head { grid-template-columns: 1fr; } }

/* ---------- 1 hero: light, copy left, framed photo right ---------- */
.cx-hero { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.cx-hero-grid { width: min(var(--maxw), 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px); align-items: center; }
.cx-hero h1 { font-size: clamp(54px, 6.4vw, 104px); line-height: .94; letter-spacing: -0.025em; margin: 0 0 26px; }
.cx-hero h1 em { display: block; color: var(--flame); }
.cx-lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 44ch; margin-bottom: 30px; }
.cx-lede b { color: var(--fg); font-weight: 600; }
.cx-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cx-act span { font-size: 16px; color: var(--muted); }
.cx-jump { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; }
.cx-jump li { border: 1px solid var(--line); background: #fff; }
.cx-jump a { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 16px; text-decoration: none; color: inherit; }
.cx-jump a:focus-visible { outline: none; }
.cx-jump .tile { --t: 48px; flex: none; color: var(--flame); }
.cx-jump .tile .icon { width: 22px; height: 22px; }
.cx-jump small { display: block; font: 700 14px/1.2 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cx-jump b { display: block; margin-top: 4px; font: 400 clamp(22px, 1.8vw, 26px)/1.05 var(--display); }
.cx-hero-media { position: relative; margin: 0; }
.cx-hero-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--flame); }
.cx-hero-media picture { position: relative; display: block; padding: 10px; background: #fff; box-shadow: 0 36px 70px -36px rgba(22,20,18,.55), 0 0 0 1px rgba(22,20,18,.06); }
.cx-hero-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 46% 50%; }
.cx-hero-media figcaption { position: absolute; left: 24px; bottom: 24px; padding: 8px 12px; background: rgba(22,20,18,.82); color: #fff;
  font: 700 14px/1.3 var(--label); letter-spacing: .12em; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .cx-hero-copy > * { animation: rise .9s var(--ease) both; }
  .cx-hero-copy > :nth-child(2) { animation-delay: .08s; } .cx-hero-copy > :nth-child(3) { animation-delay: .16s; }
  .cx-hero-copy > :nth-child(4) { animation-delay: .24s; } .cx-hero-copy > :nth-child(5) { animation-delay: .32s; }
  .cx-hero-media picture { animation: rise 1s var(--ease) .1s both; }
  .cx-hero-media img { animation: settle 1.6s var(--ease) both; }
}
@media (max-width: 900px) {
  .cx-hero { padding-block: 28px 64px; }
  .cx-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .cx-hero h1 { font-size: clamp(48px, 13.5vw, 72px); }
  .cx-hero-media { margin-right: 14px; }
  .cx-hero-media::before { inset: 14px -14px -14px 14px; }
  .cx-hero-media picture { padding: 8px; }
  .cx-hero-media img { aspect-ratio: 4 / 3; }
  .cx-hero-media figcaption { left: 18px; bottom: 18px; }
}
@media (max-width: 480px) {
  .cx-jump { grid-template-columns: 1fr; }
  .cx-act .btn { width: 100%; }
}

/* ---------- 2 The Turnaround: two-column ruled grid, each cell lifts ---------- */
.cx-turn h2 { color: var(--accent); }
.cx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.cx-grid li { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "tile h" "tile p"; gap: 0 22px; align-content: start;
  padding: clamp(26px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; }
.cx-grid .tile { grid-area: tile; }
.cx-grid .cx-n { grid-area: n; margin-top: 4px; }
.cx-grid h3 { grid-area: h; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.08; margin: 4px 0 10px; }
.cx-grid p { grid-area: p; color: var(--muted); max-width: 46ch; }
@media (max-width: 900px) {
  .cx-grid { grid-template-columns: 1fr; border-left: 0; border-top: 0; }
  .cx-grid li { grid-template-columns: 50px minmax(0, 1fr); gap: 0 16px; padding: 26px 16px; border-right: 0; }
}

/* ---------- 3 The Opening: the one dark accent; a runway of six steps on a rail ---------- */
.cx-open { --fg: var(--dark-fg); --muted: var(--dark-muted); --line: var(--dark-line); --accent: var(--flame-on-dark); background: var(--ink); color: var(--dark-fg); }
.cx-open .cx-head { border-bottom-color: var(--dark-line); }
.cx-run { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px) 14px; }
.cx-run li { position: relative; display: grid; align-content: start; gap: 12px; padding: 22px 22px 28px; margin-inline: -8px; }
/* the rail: a line through every step's icon, running on into the next */
.cx-run li::before { content: ""; position: absolute; left: 0; right: -14px; top: 50px; height: 1px; background: var(--dark-line); }
.cx-run li:nth-child(3n)::before { right: 0; }
.cx-step { position: relative; display: flex; align-items: center; gap: 14px; padding-top: 0; }
.cx-run .tile { background: var(--ink); color: var(--flame-on-dark); border-color: rgba(243,122,84,.4); }
.cx-run .cx-n { color: var(--dark-muted); }
.cx-run h3 { font-size: clamp(25px, 2.1vw, 30px); line-height: 1.1; margin-top: 8px; }
.cx-run p { color: var(--dark-muted); }
.cx-run li.lift:hover .cx-n, .cx-run li.lift:focus-within .cx-n, .cx-run li.lift.is-hot .cx-n,
.cx-run li.lift:hover p, .cx-run li.lift:focus-within p, .cx-run li.lift.is-hot p { color: rgba(255,255,255,.92); }
.cx-run li.lift:hover::before, .cx-run li.lift.is-hot::before { opacity: 0; }
@media (max-width: 1000px) { .cx-run { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cx-run li:nth-child(3n)::before { right: -14px; } .cx-run li:nth-child(2n)::before { right: 0; } }
@media (max-width: 640px) {
  .cx-run { grid-template-columns: 1fr; gap: 0; }
  /* on a phone the rail runs down the left, through every icon */
  .cx-run li, .cx-run li.lift { grid-template-columns: 50px minmax(0, 1fr); column-gap: 16px; padding: 20px 16px 26px; margin-inline: -16px; }
  .cx-run li::before, .cx-run li:nth-child(n)::before { left: 40px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .cx-step { grid-row: span 3; flex-direction: column; align-items: flex-start; }
  .cx-run .cx-n { display: none; }
  .cx-run h3 { margin-top: 2px; }
}

/* ---------- 4 Verticals: photo tiles that lift ---------- */
.cx-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr); gap: 18px; }
.cx-tiles li { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.cx-tiles figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; flex: none; background: var(--stone2); }
.cx-tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cx-tiles li:hover img, .cx-tiles li:focus-within img, .cx-tiles li.is-hot img { transform: scale(1.06); }
.cx-tiles li > div { padding: 22px clamp(20px, 2vw, 28px) 28px; }
.cx-tiles h3 { font-size: clamp(26px, 2.3vw, 34px); line-height: 1.08; margin: 10px 0 10px; }
.cx-tiles p { color: var(--muted); }
/* restaurants stands tall on the left; universities runs wide under hotels and casinos */
.cx-tiles li:first-child { grid-row: span 2; }
.cx-tiles li:first-child figure { aspect-ratio: auto; flex: 1 1 auto; min-height: 320px; }
.cx-tiles .cx-wide { grid-column: span 2; flex-direction: row; }
.cx-tiles .cx-wide figure { aspect-ratio: auto; width: 42%; }
.cx-tiles .cx-wide > div { flex: 1; align-self: center; }
.cx-tiles .cx-also { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 22px; padding: 24px clamp(20px, 2vw, 28px); }
.cx-tiles .cx-also > div { padding: 0; }
.cx-tiles .cx-also h3 { margin: 8px 0 6px; }
.cx-tiles .tile { flex: none; color: var(--flame); }
@media (max-width: 1000px) {
  .cx-tiles { grid-template-columns: 1fr 1fr; }
  .cx-tiles li:first-child { grid-row: auto; }
  .cx-tiles li:first-child figure { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
  .cx-tiles .cx-wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .cx-tiles { grid-template-columns: 1fr; gap: 14px; }
  .cx-tiles .cx-wide { flex-direction: column; }
  .cx-tiles .cx-wide figure { width: 100%; aspect-ratio: 16 / 9; }
  .cx-tiles li > div { padding: 20px 18px 24px; }
  .cx-tiles .cx-also { padding: 20px 18px; align-items: flex-start; gap: 16px; }
}

/* ---------- 5 Then and now: the quote set large, then the film beside the copy ---------- */
.cx-quote { margin: 0 0 clamp(44px, 6vw, 80px); max-width: 980px; padding-left: clamp(20px, 3vw, 36px); border-left: 3px solid var(--flame); }
.cx-quote blockquote { margin: 0; font: italic 400 clamp(34px, 4.4vw, 66px)/1.08 var(--display); }
.cx-film-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cx-film-copy h2 { font-size: clamp(36px, 3.8vw, 56px); line-height: 1.04; margin-bottom: 20px; }
.cx-film-copy h2 em { color: var(--accent); }
.cx-film-copy > p:not(.label) { color: var(--muted); font-size: 18px; max-width: 44ch; margin-bottom: 28px; }
.cx-film .film-frame { box-shadow: 0 40px 80px -44px rgba(22,20,18,.7); }
.cx-film { padding-top: clamp(40px, 5vw, 72px); }
@media (max-width: 900px) { .cx-film-grid { grid-template-columns: 1fr; } .cx-film .film-frame { order: 1; } }

/* ---------- lift fixes for this page ---------- */
/* The motion-kit reveal pins every tile's transform and transition once a group is in (html.mk-on [data-mk-group].in .tile),
   which outranks .lift's tilt. Restore the tilt and the colour transition here. */
html.mk-on [data-mk-group].in .tile { transition: opacity .45s ease-out, transform .4s cubic-bezier(.34,1.56,.64,1), background-color .3s, border-color .3s, color .3s; transition-delay: 0s; }
html.mk-on [data-mk-group].in .lift:hover .tile, html.mk-on [data-mk-group].in .lift:focus-within .tile, html.mk-on [data-mk-group].in .lift.is-hot .tile { transform: scale(1.08) rotate(-6deg); }
.cx-grid li.lift:hover .tile, .cx-grid li.lift:focus-within .tile, .cx-grid li.lift.is-hot .tile,
.cx-run li.lift:hover .tile, .cx-run li.lift:focus-within .tile, .cx-run li.lift.is-hot .tile,
.cx-tiles li.lift:hover .tile, .cx-tiles li.lift:focus-within .tile, .cx-tiles li.lift.is-hot .tile,
.cx-jump li.lift:hover .tile, .cx-jump li.lift:focus-within .tile { background: #fff; border-color: #fff; color: var(--flame); }
.cx-jump li.lift:hover small, .cx-jump li.lift:focus-within small { color: rgba(255,255,255,.9); }
.cx-tiles li.lift:hover, .cx-tiles li.lift:focus-within, .cx-tiles li.lift.is-hot { border-color: var(--flame); }
.lift:focus-visible, .cx-jump li.lift:focus-within { outline: 2px solid var(--ink); outline-offset: 4px; }
.cx-open .lift:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) {
  html.mk-on [data-mk-group].in .lift:hover .tile { transform: none; }
  .cx-tiles img { transition: none; }
  .cx-tiles li:hover img { transform: none; }
}

/* ---------- 21st kit (2026-11-02): Expanding photo panels (Expandable Gallery) on a desk ----------
   The four venue tiles sit side by side as tall photo panels; the one you point at (or tab to) opens wide and shows
   its copy. Real estate stays the wide icon row beneath. Phones and tablets keep the stacked tiles above. */
@media (min-width: 1001px) {
  .cx-tiles.xpand { display: flex; flex-wrap: wrap; gap: 14px; }
  .xpand > li:not(.cx-also) { position: relative; flex: 1 1 0; min-width: 0; height: clamp(460px, 40vw, 560px); border: 0; background: var(--ink); color: #fff;
    transition: flex-grow .7s cubic-bezier(.2,.8,.2,1), transform .3s var(--ease), box-shadow .3s; }
  .xpand > li.is-open:not(.cx-also) { flex-grow: 2.7; }
  .xpand > li:not(.cx-also):hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(22,20,18,.7); }
  .xpand > li:not(.cx-also) figure, .xpand > li.cx-wide figure, .xpand > li:first-child figure { position: absolute; inset: 0; width: auto; height: auto; aspect-ratio: auto; min-height: 0; }
  .xpand > li:not(.cx-also) figure::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(22,20,18,.92) 0%, rgba(22,20,18,.5) 42%, rgba(22,20,18,.08) 75%); transition: background .4s; }
  .xpand > li.is-open:not(.cx-also) figure::after { background: linear-gradient(0deg, rgba(176,53,15,.94) 0%, rgba(217,72,31,.55) 40%, rgba(22,20,18,0) 78%); }
  .xpand > li:not(.cx-also) > div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 26px 24px 28px; }
  .xpand > li:not(.cx-also) .cx-n { color: rgba(255,255,255,.85); }
  .xpand > li:not(.cx-also) h3 { color: #fff; font-size: clamp(26px, 2.1vw, 34px); }
  .xpand > li:not(.cx-also) p { color: rgba(255,255,255,.92); max-width: 34ch; max-height: 0; opacity: 0; overflow: hidden; transition: opacity .35s, max-height .5s var(--ease); }
  .xpand > li.is-open:not(.cx-also) p { max-height: 9em; opacity: 1; transition-delay: .25s; }
  .xpand > li.cx-also { flex: 1 1 100%; }
}
@media (min-width: 1001px) and (prefers-reduced-motion: reduce) { .xpand > li:not(.cx-also), .xpand > li p { transition: none; } }
