/* Hallmark · shape: Index, the work as the page · genre: editorial · theme: project tokens, client reference kept (no deal) · job: hire · draw: manual
 * hero: Banner · nav: edge-aligned fixed bar, transparent over the hero · footer: dark newsletter band over a four-block row · imagery: the client's own photographs and videos, uploaded in the dashboard · signature: the work itself, a filterable masonry of Max's photographs and clips
 * axes: light/high-contrast-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, a banner over a filter and a grid is the common portfolio shape; the video modal, the showreel and the spotlight project carry the difference */

/* ==========================================================================
   My Creations: hero (Banner)
   ========================================================================== */
.work-hero {
  position: relative; isolation: isolate; overflow: clip;
  display: flex; align-items: center;
  min-height: clamp(24rem, 52svh, 34rem);
  padding-top: var(--mm-header-h); padding-bottom: var(--space-xl);
  background: var(--color-paper); color: var(--color-ink);
  border-bottom: 1px solid var(--color-rule);
}
/* No photo set on the page: the hero shrinks to its content */
.work-hero:not(.work-hero--image) { min-height: 0; padding-top: calc(var(--mm-header-h) + var(--space-lg)); }
.work-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Scrim over the photograph: keeps the menu and the text readable */
.work-hero--image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--color-paper) 92%, transparent) 0, transparent calc(var(--mm-header-h) + var(--space-lg))),
    linear-gradient(90deg, color-mix(in oklab, var(--color-paper) 94%, transparent) 0%, color-mix(in oklab, var(--color-paper) 76%, transparent) 50%, color-mix(in oklab, var(--color-paper) 20%, transparent) 100%);
}

.work-hero .container { width: 100%; }
.work-hero__content { max-width: 40rem; animation: work-rise var(--dur-long) var(--ease-out) both; }

/* Breadcrumb */
.work-hero .breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); }
.work-hero .breadcrumb__item { display: inline-flex; align-items: center; color: var(--color-ink); }
.work-hero .breadcrumb__item + .breadcrumb__item::before { content: "/"; margin-inline: var(--space-sm); color: var(--color-muted); }
.work-hero .breadcrumb__item a { color: var(--color-ink-2); text-underline-offset: 0.2em; }
.work-hero .breadcrumb__item a:hover, .work-hero .breadcrumb__item a:active { color: var(--color-ink); }
.work-hero .breadcrumb__item a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.work-hero .breadcrumb__item [aria-current="page"] { font-weight: 500; }

.work-hero__title {
  margin: var(--space-md) 0 0; color: var(--color-ink); font-family: var(--font-display); font-size: var(--text-display);
  font-weight: 700; font-synthesis: none; line-height: 1.05; letter-spacing: var(--tracking-display);
  overflow-wrap: break-word; min-width: 0; text-wrap: balance;
}
.work-hero__lede { max-width: 40ch; margin: var(--space-md) 0 0; color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.5; text-wrap: pretty; }

/* One entrance: fade and an 8px rise, visible by default */
@keyframes work-rise { from { opacity: 0; transform: translateY(var(--space-xs)); } }

/* Tablet and phone */
@media (max-width: 991px) {
  .work-hero { min-height: 0; padding-bottom: var(--space-xl); }
  .work-hero--image::before {
    background:
      linear-gradient(180deg, color-mix(in oklab, var(--color-paper) 92%, transparent) 0, transparent calc(var(--mm-header-h) + var(--space-lg))),
      linear-gradient(90deg, color-mix(in oklab, var(--color-paper) 94%, transparent) 0%, color-mix(in oklab, var(--color-paper) 86%, transparent) 100%);
  }
}
@media (max-width: 575px) {
  .work-hero { padding-bottom: var(--space-lg); }
}

@media (prefers-reduced-motion: reduce) {
  .cview, .cview__img { transition: none; }
  .cview__stage::after { animation: none; }
}


/* ==========================================================================
   My Creations: types (tiles)
   ========================================================================== */
.types { padding: 44px 0 48px; background: var(--mm-cream); }

.types__head { max-width: 640px; margin: 0 0 28px; }
.types__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px;
  color: var(--mm-gold); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.types__eyebrow::after { content: ""; width: 32px; height: 1.5px; background: var(--mm-gold); }
.types__title { margin: 0 0 8px; font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.15; }
.types__text { margin: 0; color: var(--mm-muted); font-size: 1rem; line-height: 1.7; }

.types__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Tile */
.type-tile {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: 18px; background: var(--mm-navy); color: #fff;
  box-shadow: 0 10px 26px rgba(31, 36, 40, .12);
  transition: transform .35s ease, box-shadow .35s ease;
}
.type-tile:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(31, 36, 40, .22); color: #fff; }
.type-tile:focus-visible { outline: 3px solid var(--mm-gold); outline-offset: 3px; }

.type-tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.type-tile:hover .type-tile__img { transform: scale(1.07); }

/* Dark gradient so the name is always readable */
.type-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 51, 63, 0) 45%, rgba(18, 51, 63, .92) 100%);
}
/* Gold line that grows on hover */
.type-tile__body::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; background: var(--mm-gold);
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.type-tile:hover .type-tile__body::before { transform: scaleX(1); }

/* No cover image yet: navy tile with a gold ring */
.type-tile--plain::before {
  content: ""; position: absolute; top: 14%; right: -20%; width: 70%; aspect-ratio: 1;
  border: 1.5px solid rgba(196, 146, 44, .6); border-radius: 50%;
}

.type-tile__num {
  position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 12px; border-radius: 50px;
  background: rgba(251, 246, 236, .92); color: var(--mm-dark);
  font-family: var(--mm-font-heading); font-size: .9rem; font-weight: 700; line-height: 1;
}

.type-tile__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 22px;
}
.type-tile__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.type-tile__name { font-family: var(--mm-font-heading); font-size: 1.4rem; font-weight: 700; line-height: 1.2; color: #fff; }
.type-tile__count { color: rgba(255, 255, 255, .85); font-size: .88rem; line-height: 1.3; }

.type-tile__arrow {
  flex: 0 0 42px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, .8); border-radius: 50%; color: #fff;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.type-tile__arrow svg { width: 18px; height: 18px; }
.type-tile:hover .type-tile__arrow { background: var(--mm-gold); border-color: var(--mm-gold); color: var(--mm-dark); transform: rotate(-45deg); }

/* Tablet: 2 columns */
@media (max-width: 991px) {
  .types { padding: 38px 0 42px; }
  .types__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: one column, wider tiles */
@media (max-width: 575px) {
  .types { padding: 32px 0 36px; }
  .types__head { margin-bottom: 22px; }
  .types__grid { grid-template-columns: 1fr; gap: 16px; }
  .type-tile { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .type-tile, .type-tile__img, .type-tile__arrow, .type-tile__body::before { transition: none; }
}


/* ==========================================================================
   My Creations: the work (filter, masonry grid, load more)
   ========================================================================== */
.work { padding: 44px 0 56px; background: var(--mm-cream); scroll-margin-top: var(--mm-header-h); }

.work__head { max-width: 640px; margin: 0 0 22px; }
.work__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px;
  color: var(--mm-gold); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.work__eyebrow::after { content: ""; width: 32px; height: 1.5px; background: var(--mm-gold); }
.work__title { margin: 0 0 8px; font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.15; }
.work__text { margin: 0; color: var(--mm-muted); font-size: 1rem; line-height: 1.7; }

/* Filter tabs */
.work__filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.work__tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px;
  border: 1.5px solid var(--mm-gold); border-radius: 50px; background: transparent; color: var(--mm-dark);
  font-size: .95rem; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.work__tab:hover, .work__tab.is-active { background: var(--mm-navy); border-color: var(--mm-navy); color: #fff; }
.work__tab-count { font-size: .78rem; opacity: .75; }

/* Grid: CSS columns without JavaScript, JS masonry when it runs */
.work__grid { column-count: 3; column-gap: 20px; transition: opacity .25s ease; }
.work__grid .work-card { break-inside: avoid; margin-bottom: 20px; }
.work__grid.is-masonry { display: flex; align-items: flex-start; gap: 20px; column-count: auto; }
.work__grid.is-masonry .work-card { margin-bottom: 0; }
.work__col { display: flex; flex: 1 1 0; flex-direction: column; gap: 20px; min-width: 0; }
.work__grid.is-loading { opacity: .45; }

/* Card */
.work-card {
  position: relative; overflow: hidden; border-radius: 14px; background: #e9e1d2;
  box-shadow: 0 8px 22px rgba(31, 36, 40, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(31, 36, 40, .18); }
.work-card.is-new { animation: work-in .45s ease both; }
@keyframes work-in { from { opacity: 0; transform: translateY(10px); } }

.work-card__link { position: relative; display: block; color: #fff; }
.work-card__img { display: block; width: 100%; height: auto; transition: transform .7s ease; }
.work-card:hover .work-card__img { transform: scale(1.05); }
.work-card__ph { display: block; aspect-ratio: 4 / 5; background: var(--mm-navy); }

/* Info appears on hover (always visible on touch screens) */
.work-card__link::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: linear-gradient(180deg, rgba(18, 51, 63, 0) 45%, rgba(18, 51, 63, .9) 100%);
}
.work-card__info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 4px;
  padding: 18px 20px; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
}
.work-card__link:hover::after, .work-card__link:focus-visible::after { opacity: 1; }
.work-card__link:hover .work-card__info, .work-card__link:focus-visible .work-card__info { opacity: 1; transform: none; }
.work-card__type { color: var(--mm-gold); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.work-card__title { color: #fff; font-family: var(--mm-font-heading); font-size: 1.2rem; font-weight: 700; line-height: 1.25; }

/* Play badge on cards with a video */
.work-card__play {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(251, 246, 236, .92); box-shadow: 0 4px 12px rgba(31, 36, 40, .2);
}
.work-card__play::before {
  content: ""; position: absolute; top: 13px; left: 17px; border-style: solid; border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--mm-navy);
}

.work__empty { margin: 0; padding: 48px 0; color: var(--mm-muted); text-align: center; }
.work__more-wrap { margin-top: 32px; text-align: center; }
.work__empty[hidden], .work__more-wrap[hidden] { display: none; }
.work__more:disabled { opacity: .6; cursor: progress; }

/* Tablet */
@media (max-width: 991px) {
  .work { padding: 38px 0 48px; }
  .work__grid { column-count: 2; }
}

/* Mobile: tabs scroll sideways, one column */
@media (max-width: 575px) {
  .work { padding: 32px 0 40px; }
  .work__grid { column-count: 1; }
  .work__filters { flex-wrap: nowrap; margin-inline: -20px; padding-inline: 20px; overflow-x: auto; scrollbar-width: none; }
  .work__filters::-webkit-scrollbar { display: none; }
  .work__more-wrap .btn-pill { width: 100%; }
}

@media (hover: none) {
  .work-card__link::after { opacity: 1; }
  .work-card__info { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .work-card, .work-card__img, .work-card__link::after, .work-card__info, .work__grid { transition: none; }
  .work-card.is-new { animation: none; }
}


/* ==========================================================================
   My Creations: viewer (lightbox and video player)
   ========================================================================== */
.cview {
  position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column;
  background: rgba(14, 16, 18, .95); opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.cview.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
body.cview-open { overflow: hidden; }

.cview__stage {
  position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center;
  padding: 64px 88px 12px;
}
.cview__stage::after {
  content: ""; position: absolute; width: 36px; height: 36px; border-radius: 50%; pointer-events: none;
  border: 3px solid rgba(255, 255, 255, .2); border-top-color: var(--mm-gold);
  opacity: 0; transition: opacity .2s ease; animation: cview-spin .8s linear infinite;
}
.cview__stage:not(.is-loaded)::after { opacity: 1; }
@keyframes cview-spin { to { transform: rotate(360deg); } }

.cview__img {
  display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  opacity: 0; transform: scale(.98); transition: opacity .3s ease, transform .3s ease;
}
.cview__stage.is-loaded .cview__img { opacity: 1; transform: none; }

.cview__video { display: block; width: min(100%, 1200px); max-height: 100%; border-radius: 8px; background: #000; }
.cview__frame {
  width: min(100%, calc((100vh - 220px) * 16 / 9)); aspect-ratio: 16 / 9;
  overflow: hidden; border-radius: 8px; background: #000;
}
.cview__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Caption bar */
.cview__bar {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 32px 22px; color: #fff;
}
.cview__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cview__type { color: var(--mm-gold); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cview__title { color: #fff; font-family: var(--mm-font-heading); font-size: 1.3rem; font-weight: 700; line-height: 1.25; }
.cview__actions { display: flex; flex: 0 0 auto; align-items: center; gap: 20px; }
.cview__count { color: rgba(255, 255, 255, .7); font-size: .9rem; }
.cview__meta { max-width: 760px; }
.cview__desc {
  margin: 8px 0 0; max-height: 110px; overflow-y: auto; padding-right: 8px;
  color: rgba(255, 255, 255, .82); font-size: .95rem; line-height: 1.65; white-space: pre-line;
}
.cview__desc[hidden] { display: none; }

/* Round buttons */
.cview__btn {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1.5px solid var(--mm-gold); color: #fff;
  transition: background .25s ease, color .25s ease;
}
.cview__btn[hidden] { display: none; }
.cview__btn svg { width: 22px; height: 22px; }
.cview__btn:hover, .cview__btn:focus-visible { background: var(--mm-gold); color: var(--mm-dark); }
.cview__close { top: 18px; right: 20px; }
.cview__prev { left: 20px; top: 45%; transform: translateY(-50%); }
.cview__next { right: 20px; top: 45%; transform: translateY(-50%); }

@media (max-width: 767px) {
  .cview__stage { padding: 64px 12px 8px; }
  .cview__frame { width: 100%; }
  .cview__bar { flex-direction: column; align-items: flex-start; gap: 12px; padding: 10px 16px 18px; }
  .cview__title { font-size: 1.1rem; }
  .cview__desc { max-height: 90px; font-size: .9rem; }
  .cview__actions { width: 100%; justify-content: space-between; }
  .cview__btn { width: 42px; height: 42px; }
  .cview__close { top: 12px; right: 12px; }
  .cview__prev, .cview__next { background: rgba(14, 16, 18, .65); }
  .cview__prev { left: 8px; }
  .cview__next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .cview, .cview__img { transition: none; }
  .cview__stage::after { animation: none; }
  .cview__desc { max-height: 90px; font-size: .9rem; }
}



/* ==========================================================================
   My Creations: showreel
   ========================================================================== */
.reel { position: relative; isolation: isolate; overflow: hidden; padding: 56px 0 60px; background: var(--mm-navy); color: #fff; }
.reel::before, .reel::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; border: 1.5px solid rgba(196, 146, 44, .3); border-radius: 50%;
}
.reel::before { top: -170px; right: -120px; width: 400px; height: 400px; }
.reel::after { bottom: -200px; left: -130px; width: 380px; height: 380px; border-color: rgba(255, 255, 255, .1); }

.reel__head { max-width: 640px; margin: 0 auto 28px; text-align: center; }
.reel__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px;
  color: var(--mm-gold); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.reel__eyebrow::before, .reel__eyebrow::after { content: ""; width: 28px; height: 1.5px; background: var(--mm-gold); }
.reel__title { margin: 0 0 8px; color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.15; }
.reel__text { margin: 0; color: rgba(255, 255, 255, .82); font-size: 1rem; line-height: 1.7; }

/* Player */
.reel__player {
  position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid rgba(196, 146, 44, .45); border-radius: 18px; background: #0d2630;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}
.reel__play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.reel__play--plain { background: linear-gradient(135deg, #1e4a5a, #12333f); }
.reel__poster { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.reel__play::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(18, 51, 63, .1) 0%, rgba(18, 51, 63, .55) 100%);
}
.reel__play:hover .reel__poster { transform: scale(1.04); }
.reel__play:focus-visible { outline: 3px solid var(--mm-gold); outline-offset: -3px; }

.reel__icon {
  position: absolute; top: 50%; left: 50%; z-index: 2; width: 88px; height: 88px; margin: -44px 0 0 -44px;
  border-radius: 50%; background: var(--mm-gold); box-shadow: 0 0 0 10px rgba(196, 146, 44, .25);
  transition: transform .3s ease, box-shadow .3s ease;
}
.reel__icon::before {
  content: ""; position: absolute; top: 30px; left: 36px; border-style: solid; border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--mm-navy);
}
.reel__play:hover .reel__icon { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(196, 146, 44, .22); }
.reel__label {
  position: absolute; left: 24px; bottom: 20px; z-index: 2; padding: 9px 18px; border-radius: 50px;
  background: rgba(251, 246, 236, .92); color: var(--mm-dark); font-size: .88rem; font-weight: 600; line-height: 1;
}
.reel__media { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }

.reel__caption {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  max-width: 1100px; margin: 18px auto 0;
}
.reel__caption-text { display: flex; flex-direction: column; gap: 2px; }
.reel__type { color: var(--mm-gold); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.reel__name { color: #fff; font-family: var(--mm-font-heading); font-size: 1.3rem; font-weight: 700; line-height: 1.25; }
.reel__link {
  padding: 11px 22px; border: 1.5px solid var(--mm-gold); border-radius: 50px; color: #fff;
  font-size: .92rem; font-weight: 500; line-height: 1; white-space: nowrap; transition: background .25s ease, color .25s ease;
}
.reel__link:hover, .reel__link:focus-visible { background: var(--mm-gold); color: var(--mm-dark); }

@media (max-width: 991px) { .reel { padding: 48px 0 52px; } }
@media (max-width: 575px) {
  .reel { padding: 38px 0 42px; }
  .reel__head { margin-bottom: 22px; }
  .reel__eyebrow::before, .reel__eyebrow::after { width: 18px; }
  .reel__player { border-radius: 12px; }
  .reel__icon { width: 64px; height: 64px; margin: -32px 0 0 -32px; box-shadow: 0 0 0 7px rgba(196, 146, 44, .25); }
  .reel__icon::before { top: 21px; left: 26px; border-width: 11px 0 11px 17px; }
  .reel__label { left: 14px; bottom: 12px; padding: 7px 14px; font-size: .8rem; }
  .reel__caption { margin-top: 14px; }
  .reel__link { width: 100%; text-align: center; }
}

/* ==========================================================================
   My Creations: spotlight project
   ========================================================================== */
.spot {
  position: relative; isolation: isolate; overflow: hidden; padding: 56px 0;
  background: radial-gradient(circle at 0% 100%, rgba(196, 146, 44, .16), transparent 34%), #f6efe0;
}
.spot__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }

.spot__media { position: relative; display: block; padding: 0 16px 16px 0; }
.spot__media::before {
  content: ""; position: absolute; top: 16px; right: 0; bottom: 0; left: 16px; z-index: 0;
  border: 2px solid var(--mm-gold); border-radius: 18px;
}
.spot__figure {
  position: relative; z-index: 1; margin: 0; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 18px;
  background: var(--mm-navy); box-shadow: 0 24px 50px rgba(31, 36, 40, .18);
}
.spot__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.spot__media:hover .spot__img { transform: scale(1.04); }
.spot__play {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(251, 246, 236, .92); box-shadow: 0 4px 12px rgba(31, 36, 40, .2);
}
.spot__play::before {
  content: ""; position: absolute; top: 14px; left: 19px; border-style: solid; border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--mm-navy);
}

.spot__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 10px;
  color: var(--mm-gold); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.spot__eyebrow::after { content: ""; width: 32px; height: 1.5px; background: var(--mm-gold); }
.spot__type {
  display: block; width: fit-content; margin-bottom: 10px; padding: 6px 14px; border: 1.5px solid var(--mm-gold); border-radius: 50px;
  color: var(--mm-dark); font-size: .8rem; font-weight: 600; line-height: 1;
}
.spot__title { margin: 0 0 12px; font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 700; line-height: 1.12; }
.spot__text { max-width: 480px; margin: 0 0 18px; color: var(--mm-dark); font-size: 1.02rem; line-height: 1.75; }

.spot__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin: 0 0 24px; padding: 0; }
.spot__fact { padding: 4px 18px; border-left: 1.5px solid var(--mm-gold); }
.spot__fact dt { margin: 0 0 2px; color: var(--mm-muted); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.spot__fact dd { margin: 0; color: var(--mm-dark); font-weight: 600; line-height: 1.4; }

.spot__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 991px) {
  .spot { padding: 48px 0; }
  .spot__grid { grid-template-columns: 1fr; gap: 32px; }
  .spot__media { max-width: 640px; }
}
@media (max-width: 575px) {
  .spot { padding: 38px 0; }
  .spot__actions .btn-pill { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .reel__poster, .reel__icon, .spot__img { transition: none; }
}


/* ==========================================================================
   Creation pages: project detail (single) and archives
   ========================================================================== */

/* Archive hero without a cover image: shrink to its content */
.page-hero--plain { min-height: 0; padding-top: calc(var(--mm-header-h) + 24px); padding-bottom: 36px; }
.work--archive { padding-top: 36px; }
.work__pagination { margin-top: 36px; }

/* ---- Project hero ---- */
.proj-hero { position: relative; isolation: isolate; overflow: hidden; padding: 28px 0 52px; background: var(--mm-cream); }
.proj-hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 52px; align-items: center; }
.proj-hero--solo .proj-hero__grid { grid-template-columns: minmax(0, 760px); }

.proj-hero .breadcrumb { margin-bottom: 18px; }
.proj-hero__type {
  display: block; width: fit-content; margin-bottom: 12px; padding: 7px 15px; border: 1.5px solid var(--mm-gold); border-radius: 50px;
  color: var(--mm-dark); font-size: .82rem; font-weight: 600; line-height: 1; transition: background .25s ease, border-color .25s ease, color .25s ease;
}
a.proj-hero__type:hover { background: var(--mm-navy); border-color: var(--mm-navy); color: #fff; }
.proj-hero__title { margin: 0 0 14px; font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 700; line-height: 1.08; }
.proj-hero__lede { max-width: 480px; margin: 0 0 20px; color: var(--mm-dark); font-size: 1.1rem; line-height: 1.7; }
.proj-hero__facts { max-width: 480px; margin-bottom: 26px; }
.proj-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.proj-hero__media { position: relative; padding: 0 16px 16px 0; }
.proj-hero__media::before {
  content: ""; position: absolute; top: 16px; right: 0; bottom: 0; left: 16px; z-index: 0;
  border: 2px solid var(--mm-gold); border-radius: 18px;
}
.proj-hero__cover {
  position: relative; z-index: 1; display: block; overflow: hidden; border-radius: 18px; background: #efe6d3;
  box-shadow: 0 24px 50px rgba(31, 36, 40, .18); cursor: zoom-in;
}
.proj-hero__img { display: block; width: 100%; height: auto; max-height: 76vh; object-fit: cover; transition: transform .8s ease; }
.proj-hero__cover:hover .proj-hero__img { transform: scale(1.03); }

/* ---- Story ---- */
.proj-body { padding: 8px 0 44px; background: var(--mm-cream); }
.proj-prose { max-width: 760px; margin: 0 auto; color: var(--mm-dark); font-size: 1.05rem; line-height: 1.85; }
.proj-prose > :first-child { margin-top: 0; }
.proj-prose h2 { margin: 1.6em 0 .5em; font-size: 1.8rem; font-weight: 700; }
.proj-prose h3 { margin: 1.4em 0 .4em; font-size: 1.35rem; font-weight: 700; }
.proj-prose img { height: auto; border-radius: 14px; }
.proj-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--mm-gold); font-family: var(--mm-font-heading); font-size: 1.3rem; font-style: italic; line-height: 1.5; }

/* ---- Video (reuses the showreel band) ---- */
.proj-video { padding: 48px 0 52px; }

/* ---- Gallery ---- */
.proj-gallery { padding: 44px 0 52px; background: var(--mm-cream); }
.proj-gallery__grid { column-count: 3; column-gap: 16px; }
.proj-gallery__item {
  display: block; margin-bottom: 16px; overflow: hidden; break-inside: avoid; border-radius: 14px;
  box-shadow: 0 8px 22px rgba(31, 36, 40, .08); cursor: zoom-in; transition: transform .3s ease, box-shadow .3s ease;
}
.proj-gallery__item:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(31, 36, 40, .18); }
.proj-gallery__img { display: block; width: 100%; height: auto; transition: transform .7s ease; }
.proj-gallery__item:hover .proj-gallery__img { transform: scale(1.05); }

/* ---- Previous / next ---- */
.proj-nav { padding: 0 0 56px; background: var(--mm-cream); }
.proj-nav__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 28px; border-top: 1px solid var(--mm-border); }
.proj-nav__link {
  display: flex; align-items: center; gap: 16px; padding: 14px; border: 1.5px solid rgba(196, 146, 44, .5); border-radius: 16px;
  background: #fffdf8; color: var(--mm-dark); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.proj-nav__link:hover { transform: translateY(-3px); border-color: var(--mm-gold); box-shadow: 0 14px 30px rgba(31, 36, 40, .12); color: var(--mm-dark); }
.proj-nav__link--next { flex-direction: row-reverse; grid-column: 2; text-align: right; }
.proj-nav__thumb { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.proj-nav__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.proj-nav__label { color: var(--mm-gold); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.proj-nav__title { font-family: var(--mm-font-heading); font-size: 1.15rem; font-weight: 700; line-height: 1.25; }

/* Tablet */
@media (max-width: 991px) {
  .proj-hero { padding: 24px 0 44px; }
  .proj-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .proj-hero__media { max-width: 640px; }
  .proj-gallery__grid { column-count: 2; }
}

/* Mobile */
@media (max-width: 575px) {
  .proj-hero { padding: 20px 0 36px; }
  .proj-hero__actions .btn-pill { width: 100%; }
  .proj-body { padding-bottom: 32px; }
  .proj-video { padding: 38px 0 42px; }
  .proj-gallery { padding: 36px 0 40px; }
  .proj-gallery__grid { column-count: 1; }
  .proj-nav { padding-bottom: 44px; }
  .proj-nav__grid { grid-template-columns: 1fr; gap: 14px; }
  .proj-nav__link--next { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .proj-hero__img, .proj-gallery__item, .proj-gallery__img, .proj-nav__link { transition: none; }
}