/*
 * Marczell Klein design system: base, layout and components.
 * Load order: tokens.css, then this file. Uses only tokens from tokens.css; component-private variables start with --_.
 * Class prefix: mk-. No eyebrow labels, no gradients except the hero vignette, gold only for the one action.
 */

/* ===================================================================== 1. base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--mk-header-h) + var(--mk-space-2));
  background: var(--mk-ink);
}
body {
  margin: 0;
  font-family: var(--mk-font-sans);
  font-size: var(--mk-text-body);
  font-weight: var(--mk-weight-text);
  line-height: var(--mk-leading-body);
  letter-spacing: var(--mk-track-body);
  font-optical-sizing: auto;
  font-kerning: normal;
  font-feature-settings: "cv11", "ss01";  /* Inter: straight-sided one, open digits */
  color: var(--mk-ink);
  background: var(--mk-bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
:where(ul, ol)[role="list"] { list-style: none; padding: 0; }   /* zero specificity: a component's own padding always wins */
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
::selection { background: var(--mk-gold); color: var(--mk-ink); }
:focus-visible {
  outline: 2px solid var(--_focus, var(--mk-ink));
  outline-offset: 3px;
  border-radius: 4px;
}
.mk-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mk-skip {
  position: fixed; left: var(--mk-space-2); top: -100px; z-index: calc(var(--mk-z-sheet) + 1);
  padding: 12px 20px; border-radius: var(--mk-radius-pill);
  background: var(--mk-gold); color: var(--mk-ink); font-weight: var(--mk-weight-head); text-decoration: none;
}
.mk-skip:focus { top: var(--mk-space-2); }

/* ===================================================================== 2. themes (dark / light rhythm) */
.mk-theme-ink, .mk-theme-graphite {
  --_fg: var(--mk-white);
  --_fg-2: var(--mk-mist);
  --_line: var(--mk-line-on-dark);
  --_focus: var(--mk-gold);
  --_surface: var(--mk-graphite);
  color: var(--_fg);
}
.mk-theme-ink { background: var(--mk-ink); }
.mk-theme-graphite { background: var(--mk-graphite); --_surface: #262626; }
.mk-theme-bone, .mk-theme-white {
  --_fg: var(--mk-ink);
  --_fg-2: var(--mk-stone);
  --_line: var(--mk-line-on-light);
  --_focus: var(--mk-ink);
  --_surface: var(--mk-white);
  color: var(--_fg);
}
.mk-theme-bone { background: var(--mk-bone); }
.mk-theme-white { background: var(--mk-white); --_surface: var(--mk-bone); }

/* ===================================================================== 3. layout */
.mk-wrap {
  width: min(var(--mk-content), 100% - 2 * var(--mk-margin));
  margin-inline: auto;
}
.mk-wrap--narrow { width: min(800px, 100% - 2 * var(--mk-margin)); }
.mk-wrap--canvas { width: min(var(--mk-canvas), 100%); margin-inline: auto; }
.mk-section { padding-block: var(--mk-section); position: relative; }
.mk-section--sm { padding-block: var(--mk-section-sm); }
.mk-section--lg { padding-block: var(--mk-section-lg); }
.mk-section--flush-top { padding-top: 0; }
.mk-section--flush-bottom { padding-bottom: 0; }

.mk-grid {
  display: grid;
  grid-template-columns: repeat(var(--mk-cols), minmax(0, 1fr));
  column-gap: var(--mk-gutter);
  row-gap: var(--mk-space-6);
}
.mk-grid > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 900px) {
  .mk-span-3 { grid-column: auto / span 3; } .mk-span-4 { grid-column: auto / span 4; } .mk-span-5 { grid-column: auto / span 5; }
  .mk-span-6 { grid-column: auto / span 6; } .mk-span-7 { grid-column: auto / span 7; } .mk-span-8 { grid-column: auto / span 8; }
  .mk-span-9 { grid-column: auto / span 9; } .mk-span-10 { grid-column: auto / span 10; }
  .mk-start-1 { grid-column-start: 1; } .mk-start-2 { grid-column-start: 2; } .mk-start-3 { grid-column-start: 3; }
  .mk-start-4 { grid-column-start: 4; } .mk-start-5 { grid-column-start: 5; } .mk-start-6 { grid-column-start: 6; }
  .mk-start-7 { grid-column-start: 7; } .mk-start-8 { grid-column-start: 8; } .mk-start-9 { grid-column-start: 9; }
  .mk-self-center { align-self: center; } .mk-self-end { align-self: end; }
}
.mk-stack > * + * { margin-top: var(--_gap, var(--mk-space-3)); }
.mk-stack--lg { --_gap: var(--mk-space-4); }
.mk-stack--sm { --_gap: var(--mk-space-2); }
.mk-center { text-align: center; margin-inline: auto; }

/* ===================================================================== 4. typography */
.mk-display, .mk-h1, .mk-h2, .mk-h3, .mk-h4 {
  font-weight: var(--mk-weight-head);
  line-height: var(--mk-leading-head);
  letter-spacing: var(--mk-track-head);
  text-wrap: balance;
  color: var(--_fg, inherit);
}
.mk-display { font-size: var(--mk-text-display); letter-spacing: var(--mk-track-display); line-height: 1.0; }
.mk-h1 { font-size: var(--mk-text-h1); letter-spacing: var(--mk-track-display); }
.mk-h2 { font-size: var(--mk-text-h2); letter-spacing: var(--mk-track-display); }
.mk-h3 { font-size: var(--mk-text-h3); line-height: var(--mk-leading-tight); }
.mk-h4 { font-size: var(--mk-text-h4); line-height: var(--mk-leading-tight); letter-spacing: -0.015em; }
.mk-lead {
  font-size: var(--mk-text-lead);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--_fg-2, var(--mk-stone));
  max-width: 40ch;
  text-wrap: pretty;
}
.mk-lead--fg { color: var(--_fg, inherit); }
.mk-body, .mk-prose p { max-width: var(--mk-measure); text-wrap: pretty; }
.mk-prose > * + * { margin-top: 1em; }
.mk-muted { color: var(--_fg-2, var(--mk-stone)); }
.mk-small { font-size: var(--mk-text-small); line-height: 1.5; }
.mk-caption, .mk-legal { font-size: var(--mk-text-caption); line-height: 1.5; letter-spacing: 0; color: var(--_fg-2, var(--mk-stone)); }
/* The one editorial accent: 1-2 emotive words per page, pull quotes, Marczell's signature lines. */
.mk-accent {
  font-family: var(--mk-font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  font-size: 1.1em;
  line-height: 1;
}
.mk-gold-num { color: var(--mk-gold); }   /* the one number (dark sections only) */
.mk-rule { height: 1px; border: 0; margin: 0; background: var(--_line, var(--mk-line-on-light)); }
.mk-rule--gold { background: var(--mk-gold); width: 48px; height: 2px; }

/* ===================================================================== 5. buttons and links */
.mk-btn {
  --_h: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--_h); padding: 0 28px;
  border-radius: var(--mk-radius-pill); border: 1px solid transparent;
  font-size: 1.0625rem; font-weight: var(--mk-weight-head); letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--mk-dur-fast) ease, color var(--mk-dur-fast) ease, border-color var(--mk-dur-fast) ease, transform var(--mk-dur-fast) ease;
}
.mk-btn:active { transform: scale(0.985); }
/* Gold is reserved for the single action the page wants (Von Restorff). Ink text on gold 8.83:1; hover white on bronze 4.76:1. */
.mk-btn--primary { background: var(--mk-gold); color: var(--mk-ink); }
.mk-btn--primary:hover { background: var(--mk-bronze); color: var(--mk-white); }
.mk-btn--secondary { background: transparent; color: var(--_fg, var(--mk-ink)); border-color: currentColor; }
.mk-btn--secondary:hover { background: var(--_fg, var(--mk-ink)); color: var(--mk-ink); }
.mk-theme-bone .mk-btn--secondary:hover, .mk-theme-white .mk-btn--secondary:hover { color: var(--mk-white); }
.mk-btn--solid { background: var(--_fg, var(--mk-ink)); color: var(--mk-ink); }
.mk-theme-bone .mk-btn--solid, .mk-theme-white .mk-btn--solid { color: var(--mk-white); }
.mk-btn--solid:hover { opacity: 0.86; }
.mk-btn--sm { --_h: 40px; padding: 0 18px; font-size: 1rem; }
.mk-btn--sm::after { content: ""; position: absolute; inset: -4px; }   /* 48px hit area */
.mk-btn--block { width: 100%; }
@media (max-width: 599px) { .mk-btn--block-m { width: 100%; } }
.mk-actions { display: flex; flex-wrap: wrap; gap: var(--mk-space-2); align-items: center; }
.mk-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: var(--mk-tap);
  font-weight: var(--mk-weight-medium); text-decoration: none; color: var(--_fg, inherit);
}
.mk-link::after { content: "\2192"; transition: transform var(--mk-dur-fast) ease; }
.mk-link:hover { text-decoration: underline; }
.mk-link:hover::after { transform: translateX(3px); }

/* ===================================================================== 6. header + navigation (Jakob: 5 items + Book a call) */
.mk-header {
  --_fg: var(--mk-white); --_fg-2: var(--mk-mist); --_focus: var(--mk-gold);
  position: sticky; top: 0; z-index: var(--mk-z-header);
  height: var(--mk-header-h);
  background: rgba(10, 10, 10, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--mk-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mk-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--mk-space-3); }
.mk-logo { display: inline-flex; align-items: center; min-height: var(--mk-tap); text-decoration: none; }
.mk-logo img { height: 15px; width: auto; }
@media (min-width: 900px) { .mk-logo img { height: 17px; } }
.mk-nav { display: none; }
.mk-nav ul { display: flex; gap: clamp(20px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.mk-nav a {
  display: inline-flex; align-items: center; min-height: var(--mk-tap);
  font-size: var(--mk-text-small); font-weight: var(--mk-weight-medium); letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.82); text-decoration: none;
}
.mk-nav a:hover, .mk-nav a[aria-current="page"] { color: var(--mk-white); }
.mk-header__cta { display: none; }
.mk-menu-btn {
  width: var(--mk-tap); height: var(--mk-tap); margin-right: -12px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; color: var(--mk-white);
}
.mk-menu-btn span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform var(--mk-dur-fast) ease; }
.mk-menu-btn span + span { margin-top: 6px; }
.mk-menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.mk-menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 960px) {
  .mk-nav { display: block; }
  .mk-header__cta { display: inline-flex; }
  .mk-menu-btn { display: none; }
}
.mk-sheet {
  position: fixed; inset: var(--mk-header-h) 0 0; z-index: var(--mk-z-sheet);
  background: var(--mk-ink); color: var(--mk-white);
  padding: var(--mk-space-4) var(--mk-margin) calc(var(--mk-space-4) + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  --_fg: var(--mk-white); --_focus: var(--mk-gold);
}
.mk-sheet[hidden] { display: none; }
.mk-sheet ul { list-style: none; margin: 0; padding: 0; }
.mk-sheet li + li { border-top: 1px solid var(--mk-line-on-dark); }
.mk-sheet a.mk-sheet__link {
  display: flex; align-items: center; min-height: 64px;
  font-size: var(--mk-step-3); font-weight: var(--mk-weight-head); letter-spacing: var(--mk-track-display); text-decoration: none;
}
@media (min-width: 960px) { .mk-sheet { display: none !important; } }
html.mk-sheet-open { overflow: hidden; }

/* ===================================================================== 7. media (image tiles, art direction, placeholders) */
.mk-media {
  display: block; position: relative; overflow: hidden; background: var(--mk-graphite);
  aspect-ratio: var(--_ar, auto);
  border-radius: var(--_r, 0);
}
.mk-media > picture, .mk-media > picture > img, .mk-media > img, .mk-media > video {
  width: 100%; height: 100%;
}
.mk-media img, .mk-media video { object-fit: cover; object-position: var(--_pos, 50% 50%); }
@media (max-width: 899px) {
  .mk-media { aspect-ratio: var(--_ar-m, var(--_ar, auto)); }   /* a phone crop may have its own shape */
  .mk-media img, .mk-media video { object-position: var(--_pos-m, var(--_pos, 50% 50%)); }
}
.mk-media--r { --_r: var(--mk-radius-m); }
.mk-media--rl { --_r: var(--mk-radius-l); }
.mk-media figcaption, .mk-figcap { margin-top: var(--mk-space-2); font-size: var(--mk-text-caption); color: var(--_fg-2, var(--mk-stone)); }
.mk-tile { display: block; text-decoration: none; color: inherit; }
.mk-tile .mk-media img { transition: transform 900ms var(--mk-ease); }
.mk-tile:hover .mk-media img { transform: scale(1.03); }
/* A photograph we still need: labeled, calm, never a broken image. Listed in image-manifest.json (status: placeholder). */
.mk-ph {
  position: absolute; inset: 0; display: grid; place-items: center; padding: var(--mk-space-4);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035) 25%, transparent 25%) 0 0 / 14px 14px,
    var(--mk-graphite);
  color: var(--mk-mist); text-align: center;
}
.mk-ph__label { max-width: 34ch; font-size: var(--mk-text-caption); line-height: 1.45; letter-spacing: 0; }
.mk-ph__label strong { display: block; margin-bottom: 6px; color: var(--mk-white); font-weight: var(--mk-weight-medium); font-size: var(--mk-text-small); }

/* ===================================================================== 8. heroes (six compositions; no two pages in a hub share one) */
.mk-hero { position: relative; isolation: isolate; overflow: hidden; }
.mk-hero__content { position: relative; z-index: 2; }
.mk-hero__title { max-width: 14ch; }
.mk-hero__sub { margin-top: var(--mk-space-3); }
.mk-hero .mk-actions { margin-top: var(--mk-space-4); }
/* full-bleed photograph with a single subtle vignette (the only gradient in the system) */
.mk-hero--bleed {
  min-height: min(calc(100svh - var(--mk-header-h)), 920px);
  display: grid; align-items: end;
  background: var(--mk-ink); color: var(--mk-white);
  --_fg: var(--mk-white); --_fg-2: rgba(255,255,255,0.78); --_focus: var(--mk-gold);
}
.mk-hero--bleed .mk-hero__bg { position: absolute; inset: 0; z-index: 0; }
.mk-hero__bg .mk-media { width: 100%; height: 100%; aspect-ratio: auto; }
.mk-hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 30% 100%, rgba(10,10,10,0.78) 0%, rgba(10,10,10,0.35) 45%, rgba(10,10,10,0) 75%);
}
.mk-hero--bleed .mk-hero__content { padding-block: var(--mk-space-12) var(--mk-section-sm); }
/* photo heroes: a shade that rises from the bottom (and, on wide screens, from the left) under the type, so white text
   stays readable whatever the photograph does; --_scrim scales it per page (measured with tools/v2/bleed-contrast.mjs) */
.mk-hero--bleed:not(.mk-hero--offer) { --_scrim: 1; }
.mk-hero--bleed:not(.mk-hero--offer) .mk-hero__bg::after {
  background: linear-gradient(to top,
    rgb(10 10 10 / calc(0.86 * var(--_scrim))) 0%, rgb(10 10 10 / calc(0.74 * var(--_scrim))) 42%,
    rgb(10 10 10 / calc(0.42 * var(--_scrim))) 68%, rgb(10 10 10 / 0) 92%);
}
@media (min-width: 900px) {
  .mk-hero--bleed:not(.mk-hero--offer) .mk-hero__bg::after {
    background:
      linear-gradient(to right, rgb(10 10 10 / calc(0.62 * var(--_scrim))) 0%, rgb(10 10 10 / calc(0.46 * var(--_scrim))) 38%, rgb(10 10 10 / calc(0.12 * var(--_scrim))) 62%, rgb(10 10 10 / 0) 78%),
      linear-gradient(to top, rgb(10 10 10 / calc(0.8 * var(--_scrim))) 0%, rgb(10 10 10 / calc(0.55 * var(--_scrim))) 45%, rgb(10 10 10 / calc(0.2 * var(--_scrim))) 72%, rgb(10 10 10 / 0) 92%);
  }
}
/* film: the loop fills the whole hero behind the type at --mk-film-opacity over ink, and one soft scrim sits behind
   the words only, so the picture reads at the edges and the type passes contrast in the middle */
.mk-hero--film {
  --mk-film-opacity: 0.8;
  --_scrim: 1;   /* a page with brighter footage raises this (home: 1.2); measured with tools/v2/hero-contrast.mjs */
  min-height: min(calc(100svh - var(--mk-header-h)), 920px);
  display: grid; place-items: center; text-align: center;
  background: var(--mk-ink); color: var(--mk-white);
  --_fg: var(--mk-white); --_fg-2: rgba(255,255,255,0.88); --_line: var(--mk-line-on-dark); --_focus: var(--mk-gold);
}
@media (max-width: 899px) { .mk-hero--film { min-height: calc(100svh - var(--mk-header-h)); } }
.mk-hero--film .mk-hero__bg { position: absolute; inset: 0; z-index: 0; opacity: var(--mk-film-opacity); }
.mk-hero--film .mk-hero__bg::after { content: none; }
.mk-hero--film::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 50% 46% at 50% 50%, rgb(10 10 10 / calc(0.5 * var(--_scrim))) 0%, rgb(10 10 10 / calc(0.4 * var(--_scrim))) 50%, rgb(10 10 10 / calc(0.14 * var(--_scrim))) 85%, rgb(10 10 10 / calc(0.05 * var(--_scrim))) 100%);
}
@media (max-width: 899px) {
  .mk-hero--film::after { background: radial-gradient(ellipse 80% 42% at 50% 50%, rgb(10 10 10 / calc(0.54 * var(--_scrim))) 0%, rgb(10 10 10 / calc(0.44 * var(--_scrim))) 55%, rgb(10 10 10 / calc(0.18 * var(--_scrim))) 90%, rgb(10 10 10 / calc(0.08 * var(--_scrim))) 100%); }
}
.mk-hero--film .mk-hero__content { padding-block: var(--mk-space-10); }
.mk-hero--film .mk-hero__title { margin-inline: auto; max-width: 12ch; }
.mk-hero--film .mk-lead { margin-inline: auto; max-width: 42ch; }
.mk-hero--film .mk-actions { justify-content: center; }
.mk-hero--film .mk-btn--secondary { background: rgba(10,10,10,0.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mk-hero--film .mk-btn--secondary:hover { background: var(--mk-white); color: var(--mk-ink); }
/* split 7/5 */
.mk-hero--split { padding-block: var(--mk-space-8) var(--mk-section-sm); }
.mk-hero--split .mk-hero__media .mk-media { --_ar: 4 / 5; --_r: var(--mk-radius-l); }
@media (min-width: 900px) { .mk-hero--split .mk-hero__media .mk-media { --_ar: 5 / 6; } }
/* centered type-only over texture */
.mk-hero--type { padding-block: var(--mk-section-lg); text-align: center; }
.mk-hero--type .mk-hero__title { margin-inline: auto; max-width: 16ch; }
.mk-hero--type .mk-lead { margin-inline: auto; }
.mk-hero--type .mk-actions { justify-content: center; }
.mk-texture {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* portrait offset: a tall portrait set off the grid edge, type on the left */
.mk-hero--portrait { padding-block: var(--mk-space-8) 0; }
.mk-hero--portrait .mk-hero__media .mk-media { --_ar: 4 / 5; }
@media (min-width: 900px) {
  .mk-hero--portrait { padding-block: 0; min-height: min(calc(100svh - var(--mk-header-h)), 900px); display: grid; align-items: center; }
  .mk-hero--portrait .mk-hero__media { position: absolute; right: 0; top: 0; bottom: 0; width: min(46%, 760px); }
  .mk-hero--portrait .mk-hero__media .mk-media { height: 100%; --_ar: auto; }
  .mk-hero--portrait .mk-hero__content { padding-block: var(--mk-space-12); }
}
/* venue panorama: title lockup above a 21:9 place image */
.mk-hero--pano { padding-block: var(--mk-space-8) var(--mk-section-sm); }   /* the panorama floats in its section, never flush against the next one */
.mk-hero--pano .mk-hero__media { margin-top: var(--mk-space-6); }
.mk-hero--pano .mk-hero__media .mk-media { --_ar: 4 / 3; }
@media (min-width: 900px) { .mk-hero--pano .mk-hero__media .mk-media { --_ar: 21 / 9; } }
/* film: muted inline loop over its poster; visible pause control (WCAG 2.2.2) */
.mk-film video { opacity: 0; transition: opacity 600ms ease; }
.mk-film.is-playing video { opacity: 1; }
.mk-film__poster { position: absolute; inset: 0; }
.mk-film__toggle {
  position: absolute; z-index: 3; right: var(--mk-margin); bottom: var(--mk-margin);
  width: var(--mk-tap); height: var(--mk-tap); border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(10,10,10,0.5); border: 1px solid rgba(255,255,255,0.35); color: var(--mk-white);
}
.mk-film__toggle[hidden] { display: none; }

/* ===================================================================== 9. section header (no eyebrow) */
.mk-head { display: grid; gap: var(--mk-space-3); margin-bottom: var(--mk-space-8); }
.mk-head--center { text-align: center; justify-items: center; }
.mk-head .mk-lead { max-width: 46ch; }
@media (min-width: 900px) {
  .mk-head--split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--mk-gutter); align-items: end; }
  .mk-head--split > :first-child { grid-column: 1 / span 7; }
  .mk-head--split > :last-child { grid-column: 8 / span 5; }
}

/* ===================================================================== 10. facts lockup (date + city, format, entry) */
.mk-facts { display: grid; gap: var(--mk-space-3) var(--mk-gutter); grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--_line); padding-top: var(--mk-space-3); }
@media (min-width: 900px) { .mk-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mk-facts dt { font-size: var(--mk-text-caption); color: var(--_fg-2); margin-bottom: 4px; }
.mk-facts dd { font-size: var(--mk-text-h4); font-weight: var(--mk-weight-head); letter-spacing: -0.015em; line-height: 1.2; }
.mk-facts dd small { display: block; margin-top: 4px; font-size: var(--mk-text-small); font-weight: var(--mk-weight-text); color: var(--_fg-2); letter-spacing: var(--mk-track-body); }

/* ===================================================================== 11. scroll story (sticky media + steps) */
.mk-story { display: grid; gap: var(--mk-space-8); }
.mk-story__step { display: grid; gap: var(--mk-space-3); }
.mk-story__text { display: grid; gap: var(--mk-space-3); }
.mk-story__step .mk-media { --_ar: 1 / 1; --_r: var(--mk-radius-m); }
.mk-story__frame { display: none; }
@media (min-width: 900px) {
  .mk-story { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--mk-gutter); gap: 0 var(--mk-gutter); }
  /* the frame is as tall as its 6 columns are wide; pinned at the middle of the screen so the picture sits beside the step being read */
  .mk-story { --_frame: calc((min(var(--mk-content), 100vw - 2 * var(--mk-margin)) - var(--mk-gutter)) / 2); }
  .mk-story__frame { display: block; grid-column: 1 / span 6; grid-row: 1 / span 10; position: sticky; top: max(calc(var(--mk-header-h) + 24px), calc(50vh + var(--mk-header-h) / 2 - var(--_frame) / 2)); aspect-ratio: 1 / 1; max-height: calc(100vh - var(--mk-header-h) - 12vh); align-self: start; }
  .mk-story__frame .mk-media { position: absolute; inset: 0; --_r: var(--mk-radius-l); opacity: 0; transition: opacity 700ms var(--mk-ease); }
  .mk-story__frame .mk-media.is-active { opacity: 1; }
  .mk-story__step { grid-column: 8 / span 5; min-height: min(78vh, 760px); align-content: center; padding-block: var(--mk-space-8); }
  .mk-story__step .mk-media { display: none; }
}
.mk-story__num { font-size: var(--mk-text-caption); color: var(--_fg-2); font-variant-numeric: tabular-nums; }

/* ===================================================================== 12. rail (day-by-day, horizontal story) */
.mk-rail { position: relative; }
.mk-rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 420px); gap: var(--mk-gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px var(--mk-margin) var(--mk-space-3); margin-inline: calc(-1 * var(--mk-margin)); scroll-padding-inline: var(--mk-margin);
  scrollbar-width: none; list-style: none; margin-block: 0;
}
.mk-rail__track::-webkit-scrollbar { display: none; }
@media (min-width: 1240px) { .mk-rail__track { margin-inline: calc((var(--mk-content) - 100vw) / 2); padding-inline: calc((100vw - var(--mk-content)) / 2); scroll-padding-inline: calc((100vw - var(--mk-content)) / 2); } }
.mk-rail__item { scroll-snap-align: start; background: var(--_surface); border-radius: var(--mk-radius-m); padding: var(--mk-space-4); display: grid; align-content: start; gap: var(--mk-space-2); min-height: 360px; }
.mk-rail__item .mk-media { --_ar: 16 / 10; --_r: var(--mk-radius-s); margin: calc(-1 * var(--mk-space-2)) calc(-1 * var(--mk-space-2)) var(--mk-space-1); }
.mk-rail__day { font-size: var(--mk-text-caption); color: var(--_fg-2); font-variant-numeric: tabular-nums; }
.mk-rail__nav { display: none; gap: var(--mk-space-1); justify-content: flex-end; margin-bottom: var(--mk-space-3); }
@media (min-width: 900px) { .mk-rail__nav { display: flex; } }
.mk-rail__btn { width: var(--mk-tap); height: var(--mk-tap); border-radius: 50%; border: 1px solid var(--_line); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--_fg); }
.mk-rail__btn:disabled { opacity: 0.35; cursor: default; }

/* ===================================================================== 13. checklists, inclusions */
.mk-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--mk-space-2); }
.mk-checks li { position: relative; padding-left: 32px; }
.mk-checks li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 16px; height: 9px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: 0.85;
}
.mk-theme-ink .mk-checks li::before, .mk-theme-graphite .mk-checks li::before { color: var(--mk-gold); opacity: 1; }
.mk-cols-2 { columns: 2 280px; column-gap: var(--mk-gutter); }

/* ===================================================================== 14. cards, doors, compare table */
.mk-card { background: var(--_surface); border-radius: var(--mk-radius-m); padding: var(--mk-space-4); }
.mk-card--line { background: transparent; border: 1px solid var(--_line); }
.mk-doors { display: grid; gap: var(--mk-gutter); }
@media (min-width: 900px) { .mk-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-door { display: grid; gap: var(--mk-space-3); color: inherit; text-decoration: none; }
.mk-door .mk-media { --_ar: 4 / 5; --_r: var(--mk-radius-l); }
@media (max-width: 899px) { .mk-door .mk-media { --_ar: 5 / 4; } }
.mk-door__label { display: grid; gap: 4px; }
.mk-door__label .mk-h3 { display: inline-flex; align-items: baseline; gap: 10px; }
.mk-door__label .mk-h3::after { content: "\2192"; font-size: 0.7em; font-weight: var(--mk-weight-text); color: var(--_fg-2); transition: transform var(--mk-dur-fast) ease; }
.mk-door:hover .mk-h3::after { transform: translateX(4px); }
.mk-door__label span:last-child { color: var(--_fg-2); font-size: var(--mk-text-small); }
.mk-door img { transition: transform 900ms var(--mk-ease); }
.mk-door:hover img { transform: scale(1.03); }
.mk-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--mk-radius-m); border: 1px solid var(--_line); }
.mk-compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: var(--mk-text-small); }
.mk-compare th, .mk-compare td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--_line); }
.mk-compare thead th { font-size: var(--mk-text-h4); font-weight: var(--mk-weight-head); letter-spacing: -0.015em; }
.mk-compare tbody th { font-weight: var(--mk-weight-medium); color: var(--_fg-2); width: 22%; }
.mk-compare tr:last-child td, .mk-compare tr:last-child th { border-bottom: 0; }
@media (max-width: 699px) {
  /* phones: each row becomes a card; each cell shows its column heading (data-label, added by the build) */
  .mk-compare-wrap { overflow: visible; border: 0; border-radius: 0; }
  .mk-compare { min-width: 0; }
  .mk-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mk-compare, .mk-compare tbody, .mk-compare tr, .mk-compare th, .mk-compare td { display: block; }
  .mk-compare tbody tr { padding: var(--mk-space-3); border: 1px solid var(--_line); border-radius: var(--mk-radius-m); background: var(--_surface); }
  .mk-compare tbody tr + tr { margin-top: var(--mk-space-2); }
  .mk-compare tbody th { width: auto; padding: 0 0 var(--mk-space-1); border: 0; color: var(--_fg); font-size: var(--mk-text-h4); font-weight: var(--mk-weight-head); }
  .mk-compare td { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--mk-space-2); padding: 10px 0; border-bottom: 1px solid var(--_line); }
  .mk-compare tr td:last-child { border-bottom: 0; padding-bottom: 0; }
  .mk-compare td::before { content: attr(data-label); color: var(--_fg-2); font-size: var(--mk-text-caption); line-height: 1.5; }
}

/* ===================================================================== 15. testimonials + proof wall (with typicality disclosure) */
.mk-quote { display: grid; gap: var(--mk-space-3); }
.mk-quote blockquote p {
  font-family: var(--mk-font-serif); font-style: italic; font-weight: 400;
  font-size: var(--mk-text-h3); line-height: 1.22; letter-spacing: -0.005em; text-wrap: balance;
}
.mk-quote figcaption { font-size: var(--mk-text-small); color: var(--_fg-2); }
.mk-quote figcaption strong { display: block; color: var(--_fg); font-weight: var(--mk-weight-head); }
/* one statement on its own band: centered, display-sized serif */
.mk-quote--statement { justify-items: center; text-align: center; gap: var(--mk-space-4); }
.mk-quote--statement blockquote p { font-size: var(--mk-text-h2); line-height: 1.12; max-width: 24ch; margin-inline: auto; }
.mk-proof {
  display: grid; gap: var(--mk-gutter); grid-auto-flow: column; grid-auto-columns: 74%;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  margin-inline: calc(-1 * var(--mk-margin)); padding-inline: var(--mk-margin); scroll-padding-inline: var(--mk-margin);
}
.mk-proof::-webkit-scrollbar { display: none; }
.mk-proof > * { scroll-snap-align: start; }
@media (min-width: 900px) {
  .mk-proof { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.mk-proof__item { display: grid; gap: 10px; align-content: start; }
.mk-proof__btn { position: relative; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--mk-radius-m); overflow: hidden; text-align: left; }
.mk-proof__btn .mk-media { --_ar: 4 / 5; }
.mk-proof__play {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px;
  border-radius: var(--mk-radius-pill); background: rgba(10,10,10,0.6); color: var(--mk-white);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: var(--mk-text-small); font-weight: var(--mk-weight-medium);
}
.mk-proof__play::before { content: ""; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 4px; }
.mk-proof__name { font-weight: var(--mk-weight-head); }
.mk-proof video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--mk-radius-m); background: var(--mk-ink); }
.mk-disclosure {
  margin-top: var(--mk-space-4); padding-top: var(--mk-space-2); border-top: 1px solid var(--_line);
  font-size: var(--mk-text-caption); line-height: 1.5; color: var(--_fg-2); max-width: 80ch;
}

/* press strip: real wordmarks, one tone, optically balanced (each logo carries its own --h) */
.mk-press { padding-block: var(--mk-space-6); }
.mk-press__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--mk-space-3) var(--mk-space-6); }
.mk-press__label { font-size: var(--mk-text-caption); color: var(--_fg-2); white-space: nowrap; }
.mk-press__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--mk-space-3) clamp(28px, 4vw, 56px); margin: 0; }
.mk-press__logos img { display: block; height: var(--h, 22px); width: auto; filter: brightness(0); opacity: 0.55; }
.mk-theme-ink .mk-press__logos img, .mk-theme-graphite .mk-press__logos img { filter: brightness(0) invert(1); opacity: 0.62; }
@media (max-width: 599px) { .mk-press__logos img { height: calc(var(--h, 22px) * 0.82); } }

/* "Watch the film": play mark + quiet duration inside a pill button */
.mk-btn--play::before { content: ""; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: -2px; }
.mk-btn__meta { font-weight: var(--mk-weight-text); opacity: 0.72; font-variant-numeric: tabular-nums; }

/* the full film in a modal dialog; the third-party player only loads when someone asks for it */
.mk-dialog { width: min(1200px, 100vw - 2 * var(--mk-margin)); max-width: none; max-height: none; padding: 0; border: 0; overflow: visible; background: transparent; color: var(--mk-white); --_focus: var(--mk-gold); }
.mk-dialog::backdrop { background: rgba(10, 10, 10, 0.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mk-dialog__frame { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--mk-radius-l); overflow: hidden; background: #000; }
.mk-dialog__frame > .voomly-embed { width: 100%; height: 100%; }
.mk-dialog__close {
  position: absolute; right: 0; bottom: calc(100% + 12px);
  width: var(--mk-tap); height: var(--mk-tap); border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(10, 10, 10, 0.5); color: var(--mk-white);
}
.mk-dialog__close:hover { background: var(--mk-white); color: var(--mk-ink); }

/* featured event + four event doors (a swipe row on phones) */
.mk-feature { row-gap: var(--mk-space-6); }
@media (min-width: 900px) { .mk-doors--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--mk-space-8); } }
@media (min-width: 1200px) { .mk-doors--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .mk-doors--4 {
    grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--mk-margin)); padding-inline: var(--mk-margin); scroll-padding-inline: var(--mk-margin);
  }
  .mk-doors--4::-webkit-scrollbar { display: none; }
  .mk-doors--4 > * { scroll-snap-align: start; }
  .mk-doors--4 .mk-media { --_ar: 4 / 5; }
}
.mk-door__label .mk-door__desc { color: var(--_fg-2); font-size: var(--mk-text-small); line-height: 1.5; }
.mk-door__label span.mk-door__meta { margin-top: 4px; color: var(--_fg); font-size: var(--mk-text-caption); font-variant-numeric: tabular-nums; }

/* upcoming dates, from the daily events feed */
.mk-dates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--_line); }
.mk-dates > li { display: grid; gap: 4px var(--mk-gutter); align-items: baseline; padding-block: var(--mk-space-3); border-bottom: 1px solid var(--_line); }
@media (min-width: 760px) {
  /* fixed outer columns, so every row's title starts on the same line whatever the action says */
  .mk-dates > li { grid-template-columns: minmax(180px, 3fr) minmax(0, 6fr) minmax(170px, 2fr); padding-block: var(--mk-space-4); }
  .mk-dates > li > :last-child { justify-self: end; }
}
.mk-dates time { font-weight: var(--mk-weight-head); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.mk-dates .mk-h4 + p { margin-top: 2px; }
.mk-dates .mk-link { white-space: nowrap; }

/* program marks: hub tiles set in type (the program's signature word, large, in the serif), so a hub needs no photograph per tile */
.mk-marks { display: grid; gap: var(--mk-gutter); }
@media (min-width: 700px) { .mk-marks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .mk-marks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-mark {
  display: grid; grid-template-rows: auto 1fr auto; gap: var(--mk-space-4); min-height: 340px; padding: var(--mk-space-4);
  border-radius: var(--mk-radius-l); background: var(--_surface); border: 1px solid var(--_line); color: inherit; text-decoration: none;
  transition: border-color var(--mk-dur-fast) ease, transform var(--mk-dur-fast) ease;
}
a.mk-mark:hover { border-color: var(--mk-gold); }
.mk-mark__word { font-family: var(--mk-font-serif); font-style: italic; font-weight: 400; font-size: clamp(56px, 4.6vw + 24px, 92px); line-height: 0.95; letter-spacing: -0.01em; color: var(--_fg); }
.mk-mark__body { display: grid; gap: 6px; align-content: end; }
.mk-mark__name { font-size: var(--mk-text-h4); font-weight: var(--mk-weight-head); letter-spacing: -0.015em; line-height: 1.2; color: var(--_fg); }
.mk-mark__desc { color: var(--_fg-2); font-size: var(--mk-text-small); line-height: 1.5; }
.mk-mark__meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--mk-space-2); padding-top: var(--mk-space-2); border-top: 1px solid var(--_line); font-size: var(--mk-text-small); font-variant-numeric: tabular-nums; color: var(--_fg); }
.mk-mark__meta span:last-child { color: var(--_fg-2); }

/* voice cards: a client's words first, their video one tap away (the button becomes the player) */
.mk-voices { display: grid; gap: var(--mk-gutter); }
@media (min-width: 760px) { .mk-voices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .mk-voices:not(.mk-voices--2) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }   /* --2 keeps two wide columns (an even count reads cleaner) */
.mk-voice { display: grid; grid-template-rows: 1fr auto; gap: var(--mk-space-4); margin: 0; padding: var(--mk-space-4); border-radius: var(--mk-radius-l); background: var(--_surface); border: 1px solid var(--_line); }
.mk-voice blockquote p { font-family: var(--mk-font-serif); font-style: italic; font-weight: 400; font-size: var(--mk-text-h4); line-height: 1.3; letter-spacing: -0.005em; color: var(--_fg); text-wrap: pretty; }
.mk-voice figcaption { display: grid; gap: var(--mk-space-2); font-size: var(--mk-text-small); color: var(--_fg-2); }
.mk-voice figcaption strong { display: block; color: var(--_fg); font-weight: var(--mk-weight-head); }
.mk-voice__play {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: var(--mk-tap); padding: 0 18px 0 14px; cursor: pointer;
  border-radius: var(--mk-radius-pill); border: 1px solid var(--_line); background: transparent; color: var(--_fg); font-weight: var(--mk-weight-medium);
}
.mk-voice__play::before { content: ""; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.mk-voice__play:hover { border-color: var(--_fg); }
.mk-voice__time { color: var(--_fg-2); font-variant-numeric: tabular-nums; font-weight: var(--mk-weight-text); }
.mk-voice video { width: 100%; max-height: 72vh; border-radius: var(--mk-radius-m); background: #000; }

/* legal documents: plain, readable long-form text (the wording is legal's, verbatim) */
.mk-legal-doc { font-size: var(--mk-text-small); line-height: 1.7; color: var(--_fg); }
.mk-legal-doc > * + * { margin-top: 1em; }
.mk-legal-doc .mk-lead { font-size: var(--mk-text-lead); line-height: 1.5; max-width: none; }
.mk-legal-doc h2 { margin-top: var(--mk-space-6); padding-top: var(--mk-space-3); border-top: 1px solid var(--_line); }
.mk-legal-doc ul { padding-left: 1.2em; display: grid; gap: 0.5em; }
.mk-legal-doc a { text-decoration: underline; }
.mk-callout { padding: var(--mk-space-3); border-radius: var(--mk-radius-m); background: var(--_surface); border: 1px solid var(--_line); }

/* journal: topic filter, note cards (rendered by mk-ds.php from published posts), pager */
.mk-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--mk-space-6); }
.mk-topics a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--mk-radius-pill);
  border: 1px solid var(--_line); color: var(--_fg-2); font-size: var(--mk-text-small); text-decoration: none;
}
.mk-topics a:hover { color: var(--_fg); border-color: var(--_fg); }
.mk-topics a[aria-current="page"] { background: var(--_fg); border-color: var(--_fg); color: var(--mk-white); }
.mk-theme-ink .mk-topics a[aria-current="page"], .mk-theme-graphite .mk-topics a[aria-current="page"] { color: var(--mk-ink); }
.mk-note { margin: 0; height: 100%; }
.mk-note a {
  display: grid; align-content: start; gap: 10px; height: 100%; padding: var(--mk-space-4);
  border-radius: var(--mk-radius-l); background: var(--_surface); border: 1px solid var(--_line); color: inherit; text-decoration: none;
  transition: border-color var(--mk-dur-fast) ease;
}
.mk-note a:hover { border-color: var(--mk-gold); }
.mk-note__meta { font-size: var(--mk-text-caption); color: var(--_fg-2); font-variant-numeric: tabular-nums; }
.mk-note__title { font-size: var(--mk-text-h4); font-weight: var(--mk-weight-head); letter-spacing: -0.015em; line-height: 1.25; text-wrap: balance; color: var(--_fg); }
.mk-note__dek { font-size: var(--mk-text-small); line-height: 1.5; color: var(--_fg-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mk-note--lead { margin-bottom: var(--mk-gutter); }
.mk-note--lead a { padding: clamp(24px, 4vw, 56px); gap: var(--mk-space-3); }
.mk-note--lead .mk-note__title { font-size: var(--mk-text-h2); letter-spacing: var(--mk-track-display); line-height: 1.08; max-width: 22ch; }
.mk-note--lead .mk-note__dek { font-size: var(--mk-text-lead); line-height: 1.4; -webkit-line-clamp: unset; max-width: 52ch; }
.mk-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--mk-gutter); }
@media (min-width: 760px) { .mk-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .mk-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-pager { display: flex; justify-content: space-between; align-items: center; gap: var(--mk-space-2); margin-top: var(--mk-space-6); font-size: var(--mk-text-small); }
.mk-pager__where { color: var(--_fg-2); font-variant-numeric: tabular-nums; }
.mk-link--back::after { content: none; }
.mk-link--back::before { content: "\2190"; margin-right: 6px; }

/* journal article: one readable column */
.mk-article-hero { padding-top: clamp(48px, 7vh, 96px); }
.mk-article__meta { font-size: var(--mk-text-small); color: var(--_fg-2); margin-bottom: var(--mk-space-3); font-variant-numeric: tabular-nums; }
.mk-article__meta a { color: var(--_fg); }
.mk-article__title { max-width: 22ch; }
.mk-article__dek { margin-top: var(--mk-space-3); max-width: 48ch; }
.mk-article { font-size: var(--mk-text-body); line-height: 1.7; color: var(--_fg); max-width: 68ch; }
.mk-article > * + * { margin-top: 1.1em; }
.mk-article h2 { margin-top: 2em; font-size: var(--mk-text-h3); font-weight: var(--mk-weight-head); letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.mk-article h3, .mk-article h4, .mk-article h5 { margin-top: 1.6em; font-size: var(--mk-text-h4); font-weight: var(--mk-weight-head); letter-spacing: -0.015em; line-height: 1.3; }
.mk-article h2 + *, .mk-article h3 + *, .mk-article h4 + * { margin-top: 0.6em; }
.mk-article ul, .mk-article ol { padding-left: 1.25em; display: grid; gap: 0.5em; }
.mk-article li::marker { color: var(--_fg-2); }
.mk-article a { text-decoration: underline; text-underline-offset: 0.18em; }
.mk-article strong { font-weight: var(--mk-weight-head); }
.mk-article blockquote { margin: 1.6em 0; padding-left: 1em; border-left: 2px solid var(--mk-gold); font-family: var(--mk-font-serif); font-style: italic; font-size: var(--mk-text-h4); line-height: 1.35; }
.mk-article table { width: 100%; border-collapse: collapse; font-size: var(--mk-text-small); display: block; overflow-x: auto; }
.mk-article th, .mk-article td { padding: 10px 12px; border-bottom: 1px solid var(--_line); text-align: left; vertical-align: top; }
.mk-article img { border-radius: var(--mk-radius-m); }
.mk-article hr { border: 0; height: 1px; background: var(--_line); margin: 2em 0; }
.mk-article__byline { margin-top: var(--mk-space-8); padding-top: var(--mk-space-3); border-top: 1px solid var(--_line); font-size: var(--mk-text-small); color: var(--_fg-2); max-width: 68ch; }
.mk-article__byline strong { color: var(--_fg); }
.mk-article-disclosure { margin-top: var(--mk-space-3); display: grid; gap: 0.8em; font-size: var(--mk-text-caption); line-height: 1.6; color: var(--_fg-2); }
.mk-article-disclosure strong { color: var(--_fg); }
.mk-notes--related { margin-top: var(--mk-space-2); }

/* attendee reel: one film of many voices, shown as a grid of its faces with a single play control */
.mk-reel { margin: 0; }
.mk-reel__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--mk-radius-l); overflow: hidden; text-align: left; color: var(--mk-white); }
.mk-reel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: var(--mk-ink); }
.mk-reel__grid .mk-media { --_ar: 1 / 1; }
@media (min-width: 900px) { .mk-reel__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mk-reel__grid .mk-media { --_ar: 16 / 9; } }
.mk-reel__grid img { transition: transform 900ms var(--mk-ease); }
.mk-reel__btn:hover .mk-reel__grid img { transform: scale(1.03); }
.mk-reel__play {
  position: absolute; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; min-height: var(--mk-tap); padding: 0 20px 0 16px;
  border-radius: var(--mk-radius-pill); background: rgba(10,10,10,0.68); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: var(--mk-step-1); font-weight: var(--mk-weight-head); letter-spacing: -0.01em;
}
.mk-reel__play::before { content: ""; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.mk-reel__time { font-weight: var(--mk-weight-text); color: var(--mk-mist); font-variant-numeric: tabular-nums; }
.mk-reel video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--mk-radius-l); background: #000; }
.mk-reel__quote { margin-top: var(--mk-space-8); justify-items: center; text-align: center; }
.mk-reel__quote blockquote p { max-width: 30ch; margin-inline: auto; }
.mk-reel__quote ~ .mk-disclosure { margin-inline: auto; text-align: center; }

/* ===================================================================== 16. FAQ accordion (progressive disclosure) */
.mk-faq { border-top: 1px solid var(--_line); }
.mk-faq details { border-bottom: 1px solid var(--_line); }
.mk-faq summary {
  list-style: none; cursor: pointer; min-height: 64px; padding: 18px 48px 18px 0; position: relative;
  display: flex; align-items: center; font-size: var(--mk-text-h4); font-weight: var(--mk-weight-head); letter-spacing: -0.015em; line-height: 1.3;
}
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after, .mk-faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: currentColor;
  transition: transform var(--mk-dur-fast) ease;
}
.mk-faq summary::before { transform: rotate(90deg); }
.mk-faq details[open] summary::before { transform: rotate(0deg); }
.mk-faq details > div { padding: 0 0 var(--mk-space-3); color: var(--_fg-2); max-width: var(--mk-measure); }
.mk-faq details > div > * + * { margin-top: 0.8em; }

/* ===================================================================== 17. offer, ticket tiers, price */
.mk-price { display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.mk-price__amount { font-size: var(--mk-text-h1); font-weight: var(--mk-weight-head); letter-spacing: var(--mk-track-display); line-height: 1; }
.mk-price__note { color: var(--_fg-2); font-size: var(--mk-text-small); }
.mk-tiers { display: grid; gap: var(--mk-gutter); }
@media (min-width: 900px) { .mk-tiers { grid-template-columns: repeat(var(--_n, 3), minmax(0, 1fr)); align-items: stretch; } }
.mk-tier { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--mk-space-3); padding: var(--mk-space-4); border-radius: var(--mk-radius-m); background: var(--_surface); border: 1px solid var(--_line); }
.mk-tier--featured { border-color: var(--mk-gold); box-shadow: inset 0 3px 0 var(--mk-gold); }
.mk-tier__name { font-size: var(--mk-text-h4); font-weight: var(--mk-weight-head); letter-spacing: -0.015em; }
.mk-offer { display: grid; gap: var(--mk-space-4); padding: clamp(24px, 4vw, 48px); border-radius: var(--mk-radius-l); background: var(--_surface); border: 1px solid var(--_line); }

/* ===================================================================== 18. sticky CTA bar (mobile first; Fitts) */
.mk-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--mk-z-sticky);
  padding: 12px var(--mk-margin) calc(12px + env(safe-area-inset-bottom));
  background: rgba(10,10,10,0.88); color: var(--mk-white);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between; gap: var(--mk-space-2);
  transform: translateY(110%); transition: transform 360ms var(--mk-ease);
  --_fg: var(--mk-white); --_fg-2: var(--mk-mist); --_focus: var(--mk-gold);
}
.mk-sticky.is-visible { transform: translateY(0); }
.mk-sticky__text { display: grid; line-height: 1.3; min-width: 0; }
.mk-sticky__text strong { font-size: var(--mk-text-small); font-weight: var(--mk-weight-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-sticky__text span { font-size: var(--mk-text-caption); color: var(--mk-mist); }
.mk-sticky .mk-btn { flex-shrink: 0; }
@media (min-width: 900px) {
  .mk-sticky--mobile { display: none; }
  .mk-sticky {
    top: var(--mk-header-h); bottom: auto; min-height: 56px;
    padding: 8px max(var(--mk-margin), (100% - var(--mk-content)) / 2);
    border-top: 0; border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-100%); visibility: hidden;
    transition: transform 360ms var(--mk-ease), visibility 0s linear 360ms;
  }
  .mk-sticky.is-visible { visibility: visible; transition: transform 360ms var(--mk-ease), visibility 0s; }
  .mk-sticky__text { display: flex; align-items: baseline; gap: var(--mk-space-2); }
  .mk-sticky__text strong { font-size: var(--mk-step-1); }
}

/* ===================================================================== 19. form wrapper (GHL embeds: designed around, never bare) */
.mk-form { display: grid; gap: var(--mk-space-8); }
@media (min-width: 900px) { .mk-form { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--mk-gutter); } .mk-form__aside { grid-column: 1 / span 5; } .mk-form__frame { grid-column: 7 / span 6; } }
.mk-form__frame { background: var(--mk-white); color: var(--mk-ink); border-radius: var(--mk-radius-l); padding: clamp(16px, 3vw, 32px); min-height: 720px; box-shadow: var(--mk-shadow); }
.mk-form__frame iframe { width: 100%; min-height: 680px; border: 0; display: block; }
.mk-form__frame:not(:has(iframe)) { display: grid; place-items: center; min-height: 360px; text-align: center; color: var(--mk-stone); }   /* until the form is embedded */
.mk-form__frame--handoff { min-height: 0; align-content: center; justify-items: center; gap: var(--mk-space-3); padding: clamp(32px, 5vw, 64px); color: var(--mk-ink); }
.mk-form__frame--handoff .mk-body { max-width: 34ch; }
.mk-steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--mk-space-3); counter-reset: s; }
.mk-steps-list li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: var(--mk-space-2); }
.mk-steps-list li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--_line); display: grid; place-items: center; font-size: var(--mk-text-caption); font-variant-numeric: tabular-nums; }

/* ===================================================================== 20. footer */
.mk-footer { background: var(--mk-ink); color: var(--mk-white); --_fg: var(--mk-white); --_fg-2: var(--mk-mist); --_line: var(--mk-line-on-dark); --_focus: var(--mk-gold); padding-block: var(--mk-space-12) var(--mk-space-6); }
.mk-footer__top { display: grid; gap: var(--mk-space-6); }
@media (max-width: 899px) { .mk-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--mk-gutter); } .mk-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 900px) { .mk-footer__top { grid-template-columns: 4fr repeat(4, 2fr); gap: var(--mk-gutter); } }
.mk-footer h2 { font-size: var(--mk-text-caption); font-weight: var(--mk-weight-medium); color: var(--mk-mist); letter-spacing: 0; margin-bottom: var(--mk-space-1); }
.mk-footer ul { list-style: none; padding: 0; margin: 0; }
.mk-footer li a { display: inline-flex; align-items: center; min-height: 40px; font-size: var(--mk-text-small); text-decoration: none; color: rgba(255,255,255,0.86); }
.mk-footer li a:hover { color: var(--mk-white); text-decoration: underline; }
.mk-footer__brand img { height: 16px; width: auto; }
.mk-footer__brand p { margin-top: var(--mk-space-2); color: var(--mk-mist); font-size: var(--mk-text-small); max-width: 34ch; }
.mk-footer__legal { margin-top: var(--mk-space-8); padding-top: var(--mk-space-3); border-top: 1px solid var(--mk-line-on-dark); display: grid; gap: var(--mk-space-2); font-size: var(--mk-text-caption); color: var(--mk-mist); }
.mk-footer__legal p { max-width: 110ch; }
.mk-footer__row { display: flex; flex-wrap: wrap; gap: var(--mk-space-1) var(--mk-space-3); align-items: center; }
.mk-footer__row a { color: var(--mk-mist); min-height: 40px; display: inline-flex; align-items: center; }

/* ===================================================================== 21. motion (quiet; off under reduced motion) */
html.js [data-reveal] { opacity: 0; transform: translateY(var(--mk-rise)); transition: opacity var(--mk-dur) var(--mk-ease), transform var(--mk-dur) var(--mk-ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="2"] { transition-delay: 90ms; }
html.js [data-reveal="3"] { transition-delay: 180ms; }
.mk-hero__bg img.mk-scale-in { animation: mk-scale-in 1600ms var(--mk-ease) both; }
@keyframes mk-scale-in { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .mk-hero__bg img.mk-scale-in { animation: none; }
  .mk-tile:hover .mk-media img, .mk-door:hover img { transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ===================================================================== 22. page-level components (proof set) */
/* film layer inside a hero background */
.mk-film { position: absolute; inset: 0; }
.mk-film picture, .mk-film img, .mk-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-film video { z-index: 1; }

/* offer hero (funnel): photograph bleeds off the right edge, type on ink */
.mk-hero--offer { min-height: 0; align-items: stretch; }
.mk-hero--offer .mk-hero__bg { position: relative; inset: auto; height: 62svh; min-height: 360px; }
.mk-hero--offer .mk-hero__bg::after { background: linear-gradient(to top, var(--mk-ink) 0%, rgba(10,10,10,0) 45%); }
.mk-hero--offer .mk-hero__content { padding-block: var(--mk-space-4) var(--mk-section-sm); }
@media (min-width: 900px) {
  .mk-hero--offer { min-height: min(calc(100svh - var(--mk-header-h)), 860px); align-items: center; }
  .mk-hero--offer .mk-hero__bg { position: absolute; inset: 0 0 0 auto; width: min(50%, 780px); height: auto; }
  .mk-hero--offer .mk-hero__bg::after { background: linear-gradient(to right, var(--mk-ink) 0%, rgba(10,10,10,0) 38%); }
  .mk-hero--offer .mk-hero__content { padding-block: var(--mk-space-12); }
  .mk-hero--offer .mk-hero__content > * { max-width: 520px; }
}

/* event: the two days */
.mk-days { display: grid; gap: var(--mk-space-8) var(--mk-gutter); }
@media (min-width: 900px) { .mk-days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mk-day { display: grid; gap: var(--mk-space-3); align-content: start; }
.mk-day__n { display: block; font-size: var(--mk-text-small); font-weight: var(--mk-weight-medium); color: var(--_fg-2); letter-spacing: var(--mk-track-body); margin-bottom: 6px; }
.mk-day__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--mk-space-2); border-top: 1px solid var(--_line); padding-top: var(--mk-space-3); }
.mk-day__list li { color: var(--_fg-2); }
.mk-day__list strong { color: var(--_fg); font-weight: var(--mk-weight-head); }
@media (min-width: 900px) { .mk-proof--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-proof__item blockquote p { color: var(--_fg); text-wrap: pretty; }
.mk-facts--stack { grid-template-columns: 1fr 1fr; }

/* program: what's inside (three components, image-led), the ordered sequence */
.mk-trio { display: grid; gap: var(--mk-space-6) var(--mk-gutter); }
@media (min-width: 900px) { .mk-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-trio__item { display: grid; gap: var(--mk-space-2); align-content: start; }
.mk-trio__item .mk-media { margin-bottom: var(--mk-space-1); }
.mk-sequence { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--_line); }
.mk-sequence li { display: grid; grid-template-columns: 56px 1fr; gap: var(--mk-space-2); padding-block: var(--mk-space-4); border-bottom: 1px solid var(--_line); }
.mk-sequence__n { font-size: var(--mk-text-h3); font-weight: var(--mk-weight-head); letter-spacing: var(--mk-track-display); line-height: 1; color: var(--_fg-2); font-variant-numeric: tabular-nums; }
.mk-sequence h3 + p { margin-top: 8px; }

/* coaching: cadence, fit, steps */
.mk-cadence { display: grid; gap: 0; border-top: 1px solid var(--_line); }
.mk-cadence > div { display: grid; gap: 6px var(--mk-gutter); padding-block: var(--mk-space-4); border-bottom: 1px solid var(--_line); }
@media (min-width: 600px) { .mk-cadence > div { grid-template-columns: 9rem 1fr; } }
.mk-cadence dt { font-size: var(--mk-text-small); color: var(--_fg-2); padding-top: 3px; }
.mk-cadence dd { color: var(--_fg-2); }
.mk-cadence dd strong { display: block; color: var(--_fg); font-size: var(--mk-text-h4); font-weight: var(--mk-weight-head); letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 6px; }
.mk-fit { display: grid; gap: var(--mk-space-8) var(--mk-gutter); }
@media (min-width: 900px) { .mk-fit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mk-fit h3 { margin-bottom: var(--mk-space-3); }
.mk-crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--mk-space-2); }
.mk-crosses li { position: relative; padding-left: 32px; color: var(--_fg-2); }
.mk-crosses li::before, .mk-crosses li::after { content: ""; position: absolute; left: 3px; top: 0.72em; width: 15px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.mk-crosses li::after { transform: rotate(-45deg); }
.mk-steps-row { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--mk-space-6) var(--mk-gutter); counter-reset: none; }
@media (min-width: 900px) { .mk-steps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-steps-row li { display: grid; gap: var(--mk-space-1); align-content: start; border-top: 1px solid var(--_line); padding-top: var(--mk-space-3); }
.mk-steps-row__n { font-size: var(--mk-text-small); color: var(--_fg-2); font-variant-numeric: tabular-nums; }
.mk-steps-list li > div { display: grid; gap: 2px; }

/* partnership: the editorial index, inline lists, badges */
.mk-index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--_line); }
.mk-index > li { display: grid; gap: var(--mk-space-2) var(--mk-gutter); padding-block: var(--mk-space-6); border-bottom: 1px solid var(--_line); }
@media (min-width: 900px) {
  .mk-index > li { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .mk-index__n { grid-column: 1 / span 1; }
  .mk-index > li > h3 { grid-column: 2 / span 5; }
  .mk-index__body { grid-column: 8 / span 5; }
}
.mk-index__n { font-size: var(--mk-text-small); color: var(--mk-gold); font-variant-numeric: tabular-nums; padding-top: 6px; }
.mk-index__body { display: grid; gap: var(--mk-space-2); }
.mk-index__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: var(--mk-text-small); color: var(--_fg-2); }
.mk-index__list li::before { content: "\2014\00a0"; color: var(--_fg-2); }
.mk-badge { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 3px 10px; border-radius: var(--mk-radius-pill); border: 1px solid var(--_line); font-size: var(--mk-text-caption); font-weight: var(--mk-weight-medium); letter-spacing: 0; color: var(--_fg-2); }
.mk-inline-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mk-inline-list li { padding: 6px 14px; border-radius: var(--mk-radius-pill); border: 1px solid var(--_line); font-size: var(--mk-text-small); }

/* funnel: statements, header */
.mk-statements { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--_line); }
.mk-statements li { padding-block: var(--mk-space-3); border-bottom: 1px solid var(--_line); font-size: var(--mk-text-h4); line-height: 1.35; letter-spacing: -0.015em; }
.mk-header--funnel .mk-header__secure { color: rgba(255,255,255,0.86); font-size: var(--mk-text-small); }
.mk-header--funnel .mk-header__secure::after { content: none; }
.mk-header--funnel .mk-header__secure::before {
  content: ""; width: 12px; height: 14px; margin-right: 2px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M3 6V4a3 3 0 0 1 6 0v2' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3Crect x='1' y='6' width='10' height='8' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M3 6V4a3 3 0 0 1 6 0v2' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3Crect x='1' y='6' width='10' height='8' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mk-footer--funnel { padding-block: var(--mk-space-6); }
.mk-footer--funnel .mk-footer__legal { margin-top: 0; }

/* partnership: the video library (rails of featured videos, the full index behind "See all") and video case studies */
.mk-dialog__frame > iframe { width: 100%; height: 100%; border: 0; display: block; }
/* the application page: the form first on phones; on wide screens the steps stay in view beside the long form */
.mk-steps-list a { color: var(--_fg); text-decoration: underline; text-underline-offset: 3px; }
.mk-form__frame--apply { padding: clamp(8px, 1.5vw, 16px); }
@media (max-width: 899px) { .mk-form--apply .mk-form__frame { order: -1; } }
@media (min-width: 900px) { .mk-form--apply .mk-form__aside { position: sticky; top: calc(var(--mk-header-h) + var(--mk-space-4)); align-self: start; } }
.mk-rail--video .mk-rail__track { grid-auto-columns: min(78vw, 360px); padding-bottom: var(--mk-space-1); }
.mk-rail--video .mk-rail__item { background: none; padding: 0; min-height: 0; border-radius: 0; gap: var(--mk-space-1); }
.mk-vcard__link { display: grid; gap: var(--mk-space-2); color: inherit; text-decoration: none; border-radius: var(--mk-radius-m); }
.mk-rail--video .mk-vcard__media, .mk-vcard__media { position: relative; margin: 0; --_ar: 16 / 9; --_r: var(--mk-radius-m); }
.mk-vcard__media img { transition: transform 900ms var(--mk-ease); }
.mk-vcard__link:hover .mk-vcard__media img { transform: scale(1.03); }
.mk-vcard__play {
  position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 10, 10, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--mk-white);
  transition: background var(--mk-dur-fast) var(--mk-ease), color var(--mk-dur-fast) var(--mk-ease);
}
.mk-vcard__play::before { content: ""; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.mk-vcard__link:hover .mk-vcard__play { background: var(--mk-white); color: var(--mk-ink); }
/* the Library's split hero leads with one video, in its own 16:9 frame */
.mk-hero--lead .mk-hero__media .mk-media, .mk-hero--lead .mk-hero__media .mk-vcard__media { --_ar: 16 / 9; --_r: var(--mk-radius-l); }
@media (min-width: 900px) { .mk-hero--lead .mk-hero__media .mk-media { --_ar: 16 / 9; } }
.mk-hero--lead .mk-hero__media .mk-h4 { margin-top: -4px; }
.mk-vcard__kicker { font-size: var(--mk-text-caption); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mk-gold); margin-top: var(--mk-space-1); }
.mk-vcard__play--lg { width: 64px; height: 64px; left: 20px; bottom: 20px; }
.mk-vcard__play--lg::before { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; margin-left: 5px; }
.mk-vcard__title { font-size: var(--mk-text-body); line-height: 1.35; font-weight: var(--mk-weight-medium); letter-spacing: -0.005em; text-wrap: pretty; }
.mk-vcard__meta { font-size: var(--mk-text-caption); color: var(--_fg-2); font-variant-numeric: tabular-nums; }
.mk-shelf + .mk-shelf { margin-top: var(--mk-space-12); }
.mk-shelf__head { display: grid; gap: var(--mk-space-1); margin-bottom: var(--mk-space-3); }
@media (min-width: 900px) { .mk-shelf__head { padding-right: 128px; } }   /* room for the rail's prev / next buttons */
.mk-shelf__head p { color: var(--_fg-2); max-width: 56ch; }
.mk-shelf .mk-rail__nav { margin-bottom: 0; }
.mk-shelf__head + .mk-rail .mk-rail__nav { position: absolute; right: 0; bottom: calc(100% + var(--mk-space-3)); }
/* "See all": the whole library as a quiet, image-free index */
.mk-all > summary { list-style: none; cursor: pointer; }
.mk-all > summary::-webkit-details-marker { display: none; }
.mk-all > summary .mk-all__less, .mk-all[open] > summary .mk-all__more { display: none; }
.mk-all[open] > summary .mk-all__less { display: inline; }
.mk-all__body { margin-top: var(--mk-space-8); }
.mk-vindex { display: grid; gap: var(--mk-space-8) var(--mk-gutter); }
@media (min-width: 1000px) { .mk-vindex { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-vlist h3 { padding-bottom: var(--mk-space-2); border-bottom: 1px solid var(--_line); }
.mk-vlist__count { font-size: var(--mk-text-caption); color: var(--_fg-2); font-variant-numeric: tabular-nums; margin-left: 6px; font-weight: var(--mk-weight-text); }
.mk-vlist ol { list-style: none; padding: 0; margin: 0; }
.mk-vlist li { border-bottom: 1px solid var(--_line); }
.mk-vlist__link { display: grid; grid-template-columns: 1fr auto; gap: var(--mk-space-2); align-items: baseline; padding-block: 12px; color: inherit; text-decoration: none; font-size: var(--mk-text-small); line-height: 1.4; }
.mk-vlist__link:hover .mk-vlist__title { text-decoration: underline; text-underline-offset: 3px; }
.mk-vlist__meta { color: var(--_fg-2); font-size: var(--mk-text-caption); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* case studies: filmed sessions as cards (two or three across), each with a factual line and, where needed, a content note */
.mk-cases { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--mk-space-8) var(--mk-gutter); }
@media (min-width: 900px) { .mk-cases--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mk-cases--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-case { display: grid; align-content: start; gap: var(--mk-space-1); }
.mk-case__link { display: grid; gap: var(--mk-space-2); color: inherit; text-decoration: none; border-radius: var(--mk-radius-m); }
.mk-case__media { position: relative; --_ar: 16 / 9; --_r: var(--mk-radius-m); }
.mk-case__media img { transition: transform 900ms var(--mk-ease); }
.mk-case__link:hover .mk-case__media img { transform: scale(1.03); }
.mk-case__link:hover .mk-vcard__play { background: var(--mk-white); color: var(--mk-ink); }
.mk-case__title { text-wrap: balance; }
.mk-case__line { color: var(--_fg-2); max-width: 52ch; }
.mk-case__meta { font-size: var(--mk-text-caption); color: var(--_fg-2); font-variant-numeric: tabular-nums; margin-top: 2px; }
.mk-case__note { display: block; margin-top: 4px; }

/* funnel checkout: the shared mkf-checkout.js popup (partials/checkout.html, DOM contract in site/funnel/CONTRACT.md),
   drawn in the design system. The script only toggles hidden / aria-hidden and a few state classes (mkf-busy, disabled,
   mkf-invalid, mkf-flash, mkf-express--single / --locked); every look is here. Full-screen sheet on phones. */
html.mkf-popup-open { overflow: hidden; }
.mk-co { position: fixed; inset: 0; z-index: 200; overflow-y: auto; overscroll-behavior: contain; padding: clamp(16px, 5vh, 56px) var(--mk-margin); background: rgba(10, 10, 10, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mk-co[hidden], .mk-co__sheet[hidden] { display: none; }
.mk-co__sheet {
  --_fg: var(--mk-ink); --_fg-2: var(--mk-stone); --_line: var(--mk-line-on-light); --_focus: var(--mk-ink);
  position: relative; max-width: 560px; margin: 0 auto; padding: clamp(20px, 4vw, 40px); border-radius: var(--mk-radius-l);
  background: var(--mk-white); color: var(--mk-ink); box-shadow: var(--mk-shadow);
}
.mk-co__sheet:focus { outline: none; }
@media (max-width: 599px) { .mk-co { padding: 0; } .mk-co__sheet { min-height: 100%; max-width: none; border-radius: 0; padding: 20px 16px 32px; } }
.mk-co__head { display: flex; align-items: center; justify-content: space-between; gap: var(--mk-space-2); margin-bottom: var(--mk-space-3); }
.mk-co__close { flex: none; width: var(--mk-tap); height: var(--mk-tap); border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--mk-line-on-light); background: transparent; color: var(--mk-ink); cursor: pointer; }
.mk-co__close:hover { background: var(--mk-ink); color: var(--mk-white); }
.mk-co__form { display: grid; gap: var(--mk-space-4); }
.mk-co__group { display: grid; gap: var(--mk-space-2); min-width: 0; margin: 0; padding: 0; border: 0; }
.mk-co__legend { padding: 0; margin-bottom: var(--mk-space-1); font-size: var(--mk-text-caption); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mk-stone); }
.mk-co__field { display: grid; gap: 6px; min-width: 0; }
.mk-co__field > label, .mk-co__label { font-size: var(--mk-text-small); font-weight: var(--mk-weight-medium); }
.mk-co__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mk-space-2); }
.mk-co input[type="text"], .mk-co input[type="email"], .mk-co input[type="tel"], .mk-co select {
  display: block; width: 100%; height: 48px; margin: 0; padding: 0 14px; border: 1px solid rgb(205, 205, 200); border-radius: 8px;
  background: var(--mk-white); color: var(--mk-ink); font: inherit; font-size: 16px;   /* 16px: iOS doesn't zoom into the field */
}
.mk-co select { appearance: none; -webkit-appearance: none; padding-right: 36px; background: var(--mk-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A0A0A' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.mk-co input:focus, .mk-co select:focus { border-color: var(--mk-ink); outline: 1px solid var(--mk-ink); outline-offset: 0; }
.mk-co .mkf-invalid { border-color: #B3261E; outline-color: #B3261E; }
.mk-co .iti { display: block; width: 100%; }
/* card fields: Collect.js fills each div with an iframe (styled through window.MKF_THEME); until then, the same look */
.mk-co__card:empty { display: block; box-sizing: border-box; height: 48px; padding: 0 14px; border: 1px solid rgb(205, 205, 200); border-radius: 8px; background: var(--mk-white); color: var(--mk-stone); font-size: 16px; line-height: 46px; white-space: nowrap; overflow: hidden; cursor: text; }
.mk-co__card:empty::before { content: attr(data-placeholder); }
.mk-co__card > iframe { display: block; width: 100%; border: 0; }
/* the order */
.mk-co__item { display: grid; grid-template-columns: 1fr auto; gap: var(--mk-space-2); align-items: baseline; padding: 14px 16px; border: 1px solid var(--mk-line-on-light); border-radius: 12px; }
.mk-co__item label { display: grid; gap: 2px; }
.mk-co__item label span, .mk-co__bump label > span { font-size: var(--mk-text-small); color: var(--mk-stone); }
.mk-co__amount { font-weight: var(--mk-weight-medium); font-variant-numeric: tabular-nums; }
.mk-co__bump { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid rgba(201, 169, 106, 0.6); border-radius: 12px; background: var(--mk-bone); }
.mk-co__bump input, .mk-co__terms input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--mk-ink); cursor: pointer; }
.mk-co__bump label { display: grid; gap: 4px; cursor: pointer; }
.mk-co__bump strong span { margin-left: 4px; font-variant-numeric: tabular-nums; }
.mk-co__sum { display: grid; gap: 6px; margin: var(--mk-space-1) 0 0; font-size: var(--mk-text-small); }
.mk-co__sum > div { display: flex; justify-content: space-between; gap: var(--mk-space-2); }
.mk-co__sum > div[hidden] { display: none; }
.mk-co__sum dt { color: var(--mk-stone); }
.mk-co__sum dd { margin: 0; font-variant-numeric: tabular-nums; }
.mk-co__total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--mk-line-on-light); font-size: var(--mk-text-body); }
.mk-co__total dt, .mk-co__total dd { color: var(--mk-ink); font-weight: var(--mk-weight-head); }
/* express wallets: the live rules (Shopify-style row, 44px, Google Pay's inset border cropped away) */
.mkf-express[hidden] { display: none !important; }
.mkf-express-buttons { position: relative; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; }
.mkf-wallet { flex: 1 1 0; min-width: 0; height: 44px; border-radius: 5px; overflow: hidden; background: #000; }
.mkf-wallet[hidden] { display: none; }
.mkf-wallet > iframe, .mkf-wallet > apple-pay-button { display: block; box-sizing: border-box; width: 100% !important; min-width: 0 !important; max-width: none !important; height: 44px !important; margin: 0; border: 0; }
.mkf-wallet > apple-pay-button { --apple-pay-button-width: 100%; --apple-pay-button-height: 44px; --apple-pay-button-border-radius: 5px; --apple-pay-button-padding: 0px; --apple-pay-button-box-sizing: border-box; }
.mkf-wallet.mkf-wallet-googlepay > iframe { width: calc(100% / 1.173333 + 2.5px) !important; height: 40px !important; transform: translate(-1.466667px, -1.466667px) scale(1.173333); transform-origin: 0 0; }
.mkf-express-gate { position: absolute; inset: 0; z-index: 5; background: transparent; cursor: pointer; border-radius: 5px; }
.mkf-express-gate[hidden] { display: none; }
.mk-co__or { display: flex; align-items: center; gap: 12px; margin: var(--mk-space-3) 0 var(--mk-space-1); font-size: var(--mk-text-caption); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mk-stone); }
.mk-co__or::before, .mk-co__or::after { content: ""; flex: 1; height: 1px; background: var(--mk-line-on-light); }
/* terms, pay, errors */
.mk-co__terms { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 0 -6px; padding: 6px; border-radius: 8px; font-size: var(--mk-text-small); transition: background-color 300ms var(--mk-ease); }
.mk-co__terms label { cursor: pointer; }
.mk-co__terms a { text-decoration: underline; text-underline-offset: 3px; }
.mk-co__terms.mkf-flash { background: rgba(201, 169, 106, 0.28); }
.mk-co__submit { position: relative; min-height: 52px; }
.mk-co__submit.disabled { opacity: 0.7; }   /* still clickable (it shows what is missing): label stays above 4.5:1 */
.mk-co__submit .mkf-spinner { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: mk-spin 800ms linear infinite; }
.mk-co__submit .mkf-spinner[hidden] { display: none; }
.mk-co__form.mkf-busy { pointer-events: none; }
.mk-co__form.mkf-busy .mk-co__submit-text { visibility: hidden; }
.mk-co__form.mkf-busy .mkf-spinner { display: block; }
@keyframes mk-spin { to { transform: rotate(360deg); } }
.mk-co__error { color: #B3261E; font-size: var(--mk-text-small); text-align: center; }
.mk-co__error[hidden] { display: none; }
.mk-co__error a { text-decoration: underline; }
.mk-co__small { font-size: var(--mk-text-caption); color: var(--mk-stone); text-align: center; text-wrap: pretty; }
/* funnel offer pages (mkf-offer.js: one-click YES, No links, the wallet confirm panel) and the confirmation */
.mk-offer-bar { margin: 0; padding: 12px var(--mk-margin); background: var(--mk-gold); color: var(--mk-ink); text-align: center; font-size: var(--mk-text-small); font-weight: var(--mk-weight-medium); }
.mk-offer__step { margin-bottom: var(--mk-space-2); font-size: var(--mk-text-caption); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mk-gold); }
.mk-theme-bone .mk-offer__step, .mk-theme-white .mk-offer__step, .mk-offer-panel .mk-offer__step { color: var(--mk-stone); }
.mk-offer__film { --_ar: 16 / 9; background: #000; }
.mk-offer__film video { width: 100%; height: 100%; object-fit: cover; }
.mk-offer__actions { display: grid; gap: var(--mk-space-2); justify-items: center; max-width: 480px; margin: var(--mk-space-6) auto 0; }
.mk-offer__yes { position: relative; min-height: 56px; }
.mk-offer__yes .mkf-spinner { display: none; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: mk-spin 800ms linear infinite; }
.mk-offer__yes.mkf-busy { pointer-events: none; }
.mk-offer__yes.mkf-busy .mkf-spinner { display: block; }
.mk-offer__yes.mkf-busy .mk-offer__yes-text { visibility: hidden; }
.mk-offer__error { color: #B3261E; font-size: var(--mk-text-small); text-align: center; }
.mk-theme-ink .mk-offer__error { color: #F2B8B5; }
.mk-offer__error[hidden] { display: none; }
.mk-offer__error a { text-decoration: underline; }
.mk-offer__no { display: inline-flex; align-items: center; min-height: var(--mk-tap); padding-inline: var(--mk-space-1); color: var(--_fg-2, var(--mk-stone)); font-size: var(--mk-text-small); text-decoration: underline; text-underline-offset: 3px; }
.mk-offer__no:hover { color: var(--_fg, var(--mk-ink)); }
.mk-offer__modules { columns: 2 260px; column-gap: var(--mk-gutter); font-size: var(--mk-text-body); }
.mk-offer__modules li { break-inside: avoid; padding-block: 6px; }
html.mkf-panel-open { overflow: hidden; }
.mk-offer-panel { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--mk-margin); background: rgba(10, 10, 10, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mk-offer-panel[hidden] { display: none; }
.mk-offer-panel__card { --_fg: var(--mk-ink); --_fg-2: var(--mk-stone); position: relative; width: min(420px, 100%); padding: clamp(24px, 4vw, 40px); border-radius: var(--mk-radius-l); background: var(--mk-white); color: var(--mk-ink); text-align: center; display: grid; gap: var(--mk-space-2); justify-items: center; }
.mk-offer-panel.mkf-busy .mk-offer-panel__card { pointer-events: none; opacity: 0.8; }
.mk-offer-panel__close { position: absolute; top: 12px; right: 12px; width: var(--mk-tap); height: var(--mk-tap); border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--mk-line-on-light); background: transparent; color: var(--mk-ink); cursor: pointer; }
.mk-offer-panel__price { font-size: var(--mk-text-h3); font-weight: var(--mk-weight-head); font-variant-numeric: tabular-nums; }
.mk-offer-panel__wallet { width: 100%; min-height: 44px; border-radius: 5px; overflow: hidden; }
.mk-offer-panel__wallet > iframe, .mk-offer-panel__wallet > apple-pay-button { display: block; width: 100% !important; height: 44px !important; border: 0; }
.mk-offer-panel__wallet > apple-pay-button { --apple-pay-button-width: 100%; --apple-pay-button-height: 44px; --apple-pay-button-border-radius: 5px; }
.mk-order { width: 100%; margin-top: var(--mk-space-3); border-collapse: collapse; font-size: var(--mk-text-body); }
.mk-order th, .mk-order td { padding: 12px 0; text-align: left; border-bottom: 1px solid var(--_line); }
.mk-order thead th { font-size: var(--mk-text-caption); font-weight: var(--mk-weight-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--_fg-2); }
.mk-order .mk-order__qty { width: 4em; text-align: center; }
.mk-order .mk-order__amt { width: 7em; text-align: right; font-variant-numeric: tabular-nums; }
.mk-order tfoot th, .mk-order tfoot td { border-bottom: 0; font-weight: var(--mk-weight-head); }
#mkf-calendar { display: block; min-height: 640px; margin-top: var(--mk-space-3); }
.mk-order tfoot:has(#mkf-order-total:empty) { display: none; }   /* a direct visit, or before the order loads: no bare "$" */
.mk-media > .mk-film__toggle { right: 16px; bottom: 16px; }   /* a loop inside a section figure: its pause button sits in the frame */
