/*
 * MyConnectCard – front-end styles (mobile first).
 * Colors come from CSS custom properties set per site from the card editor.
 */

:root {
	--mcc-primary: #2b2e6d;
	--mcc-accent: #b28747;
	--mcc-paper: #faf9f5;
	--mcc-page: #efeee9;
}

.mcc,
.mcc-preview-note {
	--mcc-ink: #20213b;
	--mcc-muted: #5e5f6e;
	--mcc-line: #e1dfd7;
	--mcc-line-strong: #c4c3d2;
	--mcc-tint: #e6e0d4;
	--mcc-tint-strong: #dad2c2;
	--mcc-hover: #f0ede5;
	--mcc-primary-dark: #1e204e;
	--mcc-white: #ffffff;
	--mcc-serif: Georgia, "Times New Roman", Times, serif;
	--mcc-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
	.mcc,
	.mcc-preview-note {
		--mcc-line: color-mix(in srgb, var(--mcc-primary) 9%, var(--mcc-paper));
		--mcc-line-strong: color-mix(in srgb, var(--mcc-primary) 28%, var(--mcc-paper));
		--mcc-tint: color-mix(in srgb, var(--mcc-accent) 16%, var(--mcc-paper));
		--mcc-tint-strong: color-mix(in srgb, var(--mcc-accent) 28%, var(--mcc-paper));
		--mcc-hover: color-mix(in srgb, var(--mcc-accent) 8%, var(--mcc-paper));
		--mcc-primary-dark: color-mix(in srgb, var(--mcc-primary) 82%, black);
	}
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 28px;
	-webkit-text-size-adjust: 100%;
}

body.myconnect-card {
	margin: 0;
	background: var(--mcc-page);
	color: #20213b;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.mcc *,
.mcc *::before,
.mcc *::after {
	box-sizing: border-box;
}

/* The hidden attribute always wins over component display rules. */
.mcc [hidden] {
	display: none !important;
}

/* Zero-specificity resets (:where) so component rules always win. */
:where(.mcc) a {
	color: inherit;
	text-decoration: none;
}

.mcc a:focus-visible,
.mcc button:focus-visible,
.mcc iframe:focus-visible,
.mcc-skip:focus-visible,
.mcc-preview-note a:focus-visible {
	outline: 3px solid var(--mcc-accent);
	outline-offset: 4px;
}

:where(.mcc) img {
	max-width: 100%;
	height: auto;
}

/* Skip link */
.mcc-skip {
	position: absolute;
	left: 16px;
	top: -200px;
	z-index: 1000;
	padding: 14px 18px;
	background: #ffffff;
	color: #20213b;
	border-radius: 4px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
	font-weight: 700;
	text-decoration: none;
}

.mcc-skip:focus {
	top: 12px;
}

/* Preview banner (editors only) */
.mcc-preview-note {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	align-items: center;
	max-width: 1060px;
	margin: 0 auto;
	padding: 12px 16px;
	font-family: var(--mcc-sans);
	font-size: 13px;
	color: var(--mcc-ink);
}

.mcc-preview-note__badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 3px;
	background: var(--mcc-accent);
	color: var(--mcc-white);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.mcc-preview-note a {
	margin-left: auto;
	color: var(--mcc-primary);
	font-weight: 700;
	text-decoration: underline;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

/* Shell */
.mcc {
	max-width: 1060px;
	margin: 0 auto;
	background: var(--mcc-paper);
	color: var(--mcc-ink);
	font-family: var(--mcc-sans);
	overflow: hidden;
}

/* Header */
.mcc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--mcc-line);
}

.mcc-brand {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mcc-primary);
	text-decoration: none;
}

.mcc-logo {
	display: block;
	width: 124px;
	height: auto;
}

.mcc-brand--text {
	font-family: var(--mcc-serif);
	font-size: 20px;
	color: var(--mcc-primary);
}

.mcc-location {
	flex-shrink: 0;
	max-width: 45%;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.6px;
	line-height: 1.6;
	text-transform: uppercase;
	text-align: right;
	color: var(--mcc-ink);
}

/* Typography helpers */
.mcc-eyebrow {
	margin: 0 0 16px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--mcc-muted);
}

.mcc-eyebrow--dot {
	display: flex;
	align-items: flex-start;
	gap: 9px;
}

.mcc-eyebrow--dot::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	margin-top: 0.45em;
	border-radius: 50%;
	background: var(--mcc-accent);
}

.mcc-arrow {
	color: var(--mcc-accent);
	font-weight: 400;
}

/*
 * Hero. On phones the identity sits beside a compact portrait that is
 * still shown head to hands, so the name, the role and the first action
 * are on the first screen; the caption bar and the pitch follow at full
 * width. The (min-width: 48em) block turns this into the two-column
 * desktop composition.
 */
.mcc-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 44%;
	grid-template-columns: minmax(0, 1fr) clamp(140px, 44%, 250px);
	grid-template-areas:
		"identity portrait"
		"caption caption"
		"pitch pitch";
}

.mcc--no-portrait .mcc-hero {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		"identity"
		"pitch";
}

.mcc-identity {
	grid-area: identity;
	align-self: center;
	min-width: 0;
	padding: 22px 8px 22px 20px;
}

.mcc--no-portrait .mcc-identity {
	padding: 36px 20px 0;
}

.mcc-identity .mcc-eyebrow {
	margin-bottom: 12px;
	font-size: 10px;
	letter-spacing: 1.6px;
	line-height: 1.5;
}

.mcc-name {
	margin: 0 0 12px;
	font-family: var(--mcc-serif);
	font-weight: 400;
	font-size: 40px;
	font-size: clamp(34px, 11.2vw, 58px);
	line-height: 1.02;
	letter-spacing: -0.04em;
	color: var(--mcc-primary);
	overflow-wrap: anywhere;
}

.mcc--no-portrait .mcc-name {
	font-size: clamp(42px, 12.8vw, 61px);
}

.mcc-name__first {
	display: block;
}

.mcc-name__last {
	font-style: italic;
	color: var(--mcc-accent);
}

.mcc-name__last::after {
	content: ".";
}

.mcc-role {
	margin: 0 0 3px;
	font-size: 14px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.mcc-firm {
	margin: 0;
	font-size: 12.5px;
	color: var(--mcc-muted);
	overflow-wrap: anywhere;
}

.mcc-portrait {
	grid-area: portrait;
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 16px 12px 0;
	overflow: hidden;
	background: linear-gradient(100deg, var(--mcc-paper), var(--mcc-tint));
}

.mcc-halo {
	position: absolute;
	left: 50%;
	top: 28px;
	width: 84%;
	height: calc(clamp(140px, 44vw, 250px) * 0.84);
	transform: translateX(-50%);
	border-radius: 50%;
	background: var(--mcc-tint-strong);
	box-shadow: 0 0 0 11px var(--mcc-tint);
}

/* The portrait is never altered: it is only cut at a tall ratio with its
   top anchored, which shows a 1:2.1 photo from head to hands. */
.mcc-portrait .mcc-portrait__img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	max-width: none;
	height: calc((clamp(140px, 44vw, 250px) - 24px) * 1.8667);
	object-fit: cover;
	object-position: 50% 0;
}

@supports (aspect-ratio: 1 / 1) {
	/* Anchored from the bottom so the halo stays behind the head even when
	   a very long name makes the identity column taller than the portrait. */
	.mcc-halo {
		top: auto;
		bottom: calc(clamp(140px, 44vw, 250px) * 1.0267 - 57px);
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.mcc-portrait .mcc-portrait__img {
		height: auto;
		aspect-ratio: 450 / 840;
	}
}

.mcc-caption {
	grid-area: caption;
	margin: 0;
	padding: 12px 16px;
	background: var(--mcc-primary);
	color: var(--mcc-white);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 2.3px;
	line-height: 1.5;
	text-transform: uppercase;
	text-align: center;
}

.mcc-pitch {
	grid-area: pitch;
	min-width: 0;
	padding: 24px 20px 30px;
}

.mcc-lead {
	margin: 0 0 10px;
	font-family: var(--mcc-serif);
	font-size: 23px;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.mcc-summary {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--mcc-muted);
	overflow-wrap: anywhere;
}

.mcc-cta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
}

.mcc-pitch > .mcc-cta:first-child {
	margin-top: 0;
}

.mcc-primary,
.mcc-primary:visited,
.mcc-primary:hover,
.mcc-primary:focus {
	color: var(--mcc-white);
	text-decoration: none;
}

.mcc-primary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	min-height: 54px;
	padding: 14px 21px;
	border-radius: 3px;
	background: var(--mcc-primary);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	transition: background 0.2s;
}

.mcc-primary .mcc-arrow {
	color: var(--mcc-white);
	font-size: 22px;
	line-height: 1;
}

.mcc-primary:hover {
	background: var(--mcc-primary-dark);
}

.mcc-secondary,
.mcc-secondary:visited {
	color: var(--mcc-primary);
	text-decoration: none;
}

.mcc-secondary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	min-height: 50px;
	padding: 10px 14px 10px 21px;
	border: 1px solid var(--mcc-line-strong);
	border-radius: 3px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	transition: background 0.2s, border-color 0.2s;
}

.mcc-secondary:hover {
	background: var(--mcc-hover);
	border-color: var(--mcc-accent);
}

.mcc-secondary__meta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
	font-size: 12px;
	font-weight: 400;
	color: var(--mcc-muted);
	font-variant-numeric: tabular-nums;
}

.mcc-play-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1px solid var(--mcc-accent);
	border-radius: 50%;
	color: var(--mcc-accent);
}

.mcc-play-mark svg {
	display: block;
	width: 12px;
	height: 12px;
	margin-left: 1px;
}

/* Contact actions */
.mcc-contact {
	padding: 26px 20px 0;
	border-top: 1px solid var(--mcc-line);
}

.mcc-section-heading .mcc-eyebrow {
	margin-bottom: 10px;
}

.mcc-h2 {
	margin: 0 0 18px;
	font-family: var(--mcc-serif);
	font-weight: 400;
	font-size: 27px;
	line-height: 1.2;
	color: var(--mcc-primary);
	overflow-wrap: anywhere;
}

.mcc-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 1px solid var(--mcc-line);
	border-radius: 4px;
	overflow: hidden;
}

.mcc-action,
.mcc-action:visited {
	color: var(--mcc-ink);
	text-decoration: none;
}

/* Each tile draws its own right and bottom hairline; the outer ones are
   clipped by the frame, so any number of tiles lines up cleanly. */
.mcc-action {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 84px;
	padding: 14px 12px 14px 52px;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: 1px 0 0 var(--mcc-line), 0 1px 0 var(--mcc-line);
	font: inherit;
	text-align: left;
	cursor: pointer;
	touch-action: manipulation;
	transition: background 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.mcc-action:hover {
	background: var(--mcc-hover);
}

.mcc-action:focus-visible {
	outline-offset: -3px;
}

.mcc-action__icon {
	position: absolute;
	left: 15px;
	top: 50%;
	width: 24px;
	height: 24px;
	transform: translateY(-50%);
	color: var(--mcc-primary);
}

.mcc-action__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.mcc-action__label {
	margin-bottom: 3px;
	font-size: 14px;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.mcc-action__sub {
	font-size: 12px;
	line-height: 1.35;
	color: var(--mcc-muted);
	overflow-wrap: anywhere;
}

.mcc-share-status {
	min-height: 0;
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--mcc-muted);
	overflow-wrap: anywhere;
}

.mcc-share-status:empty {
	margin: 0;
}

.mcc-share-status code {
	font-family: inherit;
	user-select: all;
	-webkit-user-select: all;
}

/* Video: a local poster and a link until the visitor presses play. */
.mcc-video {
	padding: 30px 20px 0;
	scroll-margin-top: 20px;
}

.mcc-video__text {
	margin-bottom: 16px;
}

.mcc-video .mcc-eyebrow {
	margin-bottom: 10px;
}

.mcc-video .mcc-h2 {
	margin-bottom: 8px;
}

.mcc-video__caption {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--mcc-muted);
	overflow-wrap: anywhere;
}

.mcc-video__frame {
	position: relative;
	height: 0;
	padding-top: 56.25%;
	border-radius: 4px;
	overflow: hidden;
	background: var(--mcc-primary-dark);
}

@supports (aspect-ratio: 16 / 9) {
	.mcc-video__frame {
		height: auto;
		padding-top: 0;
		aspect-ratio: 16 / 9;
	}
}

/* Gold tab: the same accent as the name, marking the frame as a feature. */
.mcc-video__frame::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	z-index: 3;
	width: 64px;
	height: 3px;
	background: var(--mcc-accent);
	pointer-events: none;
}

.mcc-video__frame.is-playing::after {
	display: none;
}

.mcc-video__play,
.mcc-video__play:visited {
	color: var(--mcc-white);
}

.mcc-video__play[hidden] {
	display: none;
}

.mcc-video__play {
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	text-align: left;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	background: var(--mcc-primary);
	touch-action: manipulation;
}

.mcc-video__play:focus-visible {
	outline-offset: -5px;
}

.mcc-video .mcc-video__poster {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.mcc-video__play::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(20, 21, 48, 0) 45%, rgba(20, 21, 48, 0.55) 100%);
}

/* No poster chosen: a quiet halo, echoing the portrait, on the brand color. */
.mcc-video__play--blank::before {
	background:
		radial-gradient(circle at 50% 50%, rgba(250, 249, 245, 0.16) 0, rgba(250, 249, 245, 0.16) 21%, rgba(250, 249, 245, 0.07) 21.4%, rgba(250, 249, 245, 0.07) 31%, rgba(250, 249, 245, 0) 31.4%);
}

/* The play control sits in the lower left corner so it never covers the
   person on the poster. */
.mcc-video__button {
	position: absolute;
	left: 14px;
	bottom: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--mcc-paper);
	color: var(--mcc-primary);
	box-shadow: 0 0 0 1px var(--mcc-accent), 0 0 0 6px rgba(250, 249, 245, 0.22), 0 6px 18px rgba(0, 0, 0, 0.3);
	transition: transform 0.2s;
}

.mcc-video__button svg {
	display: block;
	width: 20px;
	height: 20px;
	margin-left: 2px;
}

.mcc-video__cue {
	position: absolute;
	left: 80px;
	bottom: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	height: 52px;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.mcc-video__play:hover .mcc-video__button,
.mcc-video__play:focus-visible .mcc-video__button {
	transform: scale(1.06);
}

.mcc-video__duration {
	position: absolute;
	right: 14px;
	bottom: 26px;
	z-index: 2;
	padding: 4px 8px;
	border-radius: 3px;
	background: rgba(20, 21, 48, 0.78);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.4px;
	line-height: 1.3;
	font-variant-numeric: tabular-nums;
}

.mcc-video__frame iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Office and online details */
.mcc-more {
	padding: 0 20px;
}

.mcc-details {
	display: grid;
	grid-template-columns: 1fr;
	gap: 26px;
	margin-top: 30px;
	padding-bottom: 26px;
}

.mcc-details .mcc-eyebrow {
	margin-bottom: 14px;
}

.mcc-online {
	padding-top: 26px;
	border-top: 1px solid var(--mcc-line);
}

.mcc-online:only-child {
	padding-top: 0;
	border-top: 0;
}

.mcc-h3 {
	margin: 0 0 12px;
	font-family: var(--mcc-serif);
	font-weight: 400;
	font-size: 23px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.mcc-address__lines {
	font-style: normal;
	font-size: 15px;
	line-height: 1.8;
	color: var(--mcc-muted);
	overflow-wrap: anywhere;
}

.mcc-text-link,
.mcc-text-link:visited {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	min-height: 44px;
	padding: 4px 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--mcc-primary);
	text-decoration: none;
}

.mcc-site-link,
.mcc-site-link:visited {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-family: var(--mcc-serif);
	font-size: 23px;
	line-height: 1.2;
	color: var(--mcc-ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.mcc-site-link .mcc-arrow {
	font-family: var(--mcc-sans);
	font-size: 22px;
}

.mcc-email {
	margin: 10px 0 16px;
	font-size: 15px;
	color: var(--mcc-muted);
	overflow-wrap: anywhere;
}

.mcc-email a,
.mcc-email a:visited {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mcc-muted);
	text-decoration: none;
}

.mcc-email a:hover,
.mcc-site-link:hover,
.mcc-text-link:hover,
.mcc-social__link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mcc-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 14px;
}

.mcc-social__link,
.mcc-social__link:visited {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 13px;
	font-weight: 700;
	color: var(--mcc-ink);
	text-decoration: none;
}

.mcc-social__link .mcc-arrow {
	padding-left: 4px;
}

.mcc-qr {
	margin: 22px 0 0;
}

.mcc-qr img {
	display: block;
	width: 140px;
	height: 140px;
	padding: 8px;
	border: 1px solid var(--mcc-line);
	border-radius: 4px;
	background: var(--mcc-white);
}

.mcc-qr figcaption {
	margin-top: 8px;
	font-size: 12px;
	color: var(--mcc-muted);
}

/* Footer */
.mcc-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 20px;
	padding: 20px 0 24px;
	border-top: 1px solid var(--mcc-line);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--mcc-muted);
}

.mcc-footer__names {
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.mcc-footer b {
	padding: 0 6px;
	font-weight: 400;
	color: var(--mcc-tint-strong);
}

.mcc-footer__top,
.mcc-footer__top:visited {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 4px;
	font-size: 11px;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	color: var(--mcc-ink);
	text-decoration: none;
}

/* Tablet and desktop */
@media (min-width: 48em) {
	.mcc {
		margin: 32px auto 50px;
		border: 1px solid var(--mcc-line);
		border-radius: 5px;
	}

	.mcc-preview-note {
		padding: 14px 28px;
	}

	.mcc-header {
		padding: 28px 54px;
	}

	.mcc-logo {
		width: 158px;
	}

	.mcc-location {
		font-size: 10px;
		letter-spacing: 1.8px;
	}

	.mcc-hero {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		grid-template-areas:
			"identity portrait"
			"pitch portrait";
		min-height: 575px;
	}

	.mcc--no-portrait .mcc-hero {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
		grid-template-areas:
			"identity"
			"pitch";
		min-height: 0;
	}

	.mcc-identity {
		align-self: start;
		padding: 62px 40px 0 54px;
	}

	.mcc--no-portrait .mcc-identity {
		max-width: 680px;
		padding: 40px 40px 0 54px;
	}

	.mcc-identity .mcc-eyebrow {
		margin-bottom: 22px;
		font-size: 10px;
		letter-spacing: 2px;
	}

	.mcc-name,
	.mcc--no-portrait .mcc-name {
		margin-bottom: 23px;
		font-size: 88px;
		line-height: 0.97;
		letter-spacing: -0.045em;
	}

	.mcc-firm {
		font-size: 12px;
	}

	.mcc-portrait {
		display: block;
		align-self: stretch;
		padding: 0;
		background: linear-gradient(135deg, var(--mcc-paper), var(--mcc-tint));
	}

	.mcc-halo {
		top: 63px;
		bottom: auto;
		width: 440px;
		height: 440px;
		aspect-ratio: auto;
		box-shadow: 0 0 0 24px var(--mcc-tint);
	}

	.mcc-portrait .mcc-portrait__img {
		position: absolute;
		left: 0;
		right: 0;
		top: 35px;
		height: calc(100% - 35px);
		aspect-ratio: auto;
	}

	.mcc-caption {
		grid-area: portrait;
		align-self: end;
		position: relative;
		z-index: 2;
		padding: 17px 25px;
	}

	.mcc-pitch {
		padding: 0 40px 56px 54px;
	}

	.mcc--no-portrait .mcc-pitch {
		max-width: 680px;
	}

	.mcc-pitch > :first-child,
	.mcc-pitch > .mcc-cta:first-child {
		margin-top: 30px;
	}

	.mcc-summary {
		max-width: 340px;
		font-size: 14px;
		line-height: 1.7;
	}

	.mcc-cta {
		align-items: flex-start;
		gap: 12px;
		margin-top: 26px;
	}

	.mcc-primary,
	.mcc-secondary {
		width: 235px;
		max-width: 100%;
		min-height: 50px;
		font-size: 13px;
	}

	.mcc-contact {
		padding: 46px 54px 0;
		border-top: 0;
	}

	.mcc-section-heading {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 25px;
	}

	.mcc-section-heading .mcc-eyebrow,
	.mcc-h2 {
		margin: 0;
	}

	.mcc-h2 {
		font-size: 30px;
	}

	/* One row of equal tiles, however many are shown (the share tile is
	   absent without JavaScript), so a tile never wraps onto a row of its own. */
	.mcc-actions {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
	}

	.mcc-action {
		min-height: 155px;
		padding: 24px;
		justify-content: flex-start;
	}

	.mcc-action__icon {
		position: static;
		width: 26px;
		height: 26px;
		margin-bottom: 22px;
		transform: none;
	}

	.mcc-action__label {
		margin-bottom: 8px;
	}

	.mcc-video {
		display: grid;
		grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.5fr);
		gap: 45px;
		align-items: center;
		padding: 46px 54px 0;
	}

	.mcc-video__text {
		margin-bottom: 0;
	}

	.mcc-video .mcc-eyebrow {
		margin-bottom: 16px;
	}

	.mcc-video .mcc-h2 {
		margin-bottom: 12px;
	}

	.mcc-video__button {
		left: 20px;
		bottom: 18px;
		width: 60px;
		height: 60px;
	}

	.mcc-video__button svg {
		width: 22px;
		height: 22px;
	}

	.mcc-video__cue {
		left: 96px;
		bottom: 18px;
		height: 60px;
		font-size: 14px;
	}

	.mcc-video__duration {
		right: 20px;
		bottom: 36px;
	}

	.mcc-more {
		padding: 0 54px;
	}

	.mcc-details {
		grid-template-columns: 1fr 1.1fr;
		gap: 45px;
		margin-top: 46px;
		padding-bottom: 40px;
	}

	.mcc-details__block:only-child {
		grid-column: 1 / -1;
	}

	.mcc-online {
		padding-top: 0;
		border-top: 0;
	}

	.mcc-address__lines {
		font-size: 14px;
	}

	.mcc-text-link {
		font-size: 12px;
	}

	.mcc-email {
		font-size: 14px;
	}

	.mcc-social {
		justify-content: flex-start;
		gap: 0 18px;
	}

	.mcc-social__link {
		font-size: 11px;
	}

	.mcc-footer {
		margin: 0 54px;
		padding: 24px 0;
	}

	.mcc-footer b {
		padding: 0 9px;
	}
}

/* ==========================================================================
   1.2.0 art direction: a navy hero that carries the firm's identity, an
   English / Español switch in the header, and stronger contact tiles.
   Loaded after the base rules above, mobile first, then desktop.
   ========================================================================== */

.mcc {
	--mcc-on-dark: #faf9f5;
	--mcc-on-dark-soft: rgba(250, 249, 245, 0.84);
	--mcc-on-dark-muted: rgba(250, 249, 245, 0.74);
	--mcc-gold-light: #dcc496;
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
	.mcc {
		--mcc-on-dark: var(--mcc-paper);
		--mcc-gold-light: color-mix(in srgb, var(--mcc-accent) 55%, #ffffff);
	}
}

/* Header: brand on the left; location and language on the right. */
.mcc-header__meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	min-width: 0;
}

.mcc-header__meta .mcc-location {
	max-width: none;
}

.mcc-lang {
	display: inline-flex;
	flex: none;
	padding: 2px;
	border: 1px solid var(--mcc-line-strong);
	border-radius: 999px;
	background: var(--mcc-paper);
}

.mcc-lang__link,
.mcc-lang__link:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	color: var(--mcc-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s, color 0.2s;
}

.mcc-lang__link:hover {
	background: var(--mcc-hover);
}

.mcc-lang__link[aria-current="true"] {
	background: var(--mcc-primary);
	color: var(--mcc-on-dark);
	cursor: default;
}

.mcc-lang__link:focus-visible {
	outline-offset: 2px;
}

/* Hero on the firm's navy. */
.mcc-hero {
	position: relative;
	background: var(--mcc-primary);
	color: var(--mcc-on-dark);
}

.mcc-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--mcc-accent);
	z-index: 3;
}

.mcc-hero .mcc-eyebrow {
	color: var(--mcc-gold-light);
}

.mcc-hero .mcc-eyebrow--dot::before {
	background: var(--mcc-accent);
	box-shadow: 0 0 0 3px rgba(178, 135, 71, 0.25);
}

.mcc-hero .mcc-name {
	color: var(--mcc-on-dark);
}

.mcc-hero .mcc-name__last {
	color: var(--mcc-gold-light);
}

.mcc-hero .mcc-role {
	color: var(--mcc-on-dark);
	font-weight: 600;
}

.mcc-hero .mcc-firm {
	color: var(--mcc-on-dark-muted);
	letter-spacing: 0.3px;
}

.mcc-hero .mcc-portrait {
	background: radial-gradient(120% 90% at 50% 30%, rgba(250, 249, 245, 0.10), rgba(250, 249, 245, 0) 70%);
}

.mcc-hero .mcc-halo {
	background: radial-gradient(circle at 50% 40%, rgba(220, 196, 150, 0.34), rgba(220, 196, 150, 0.12) 70%);
	box-shadow: 0 0 0 1px rgba(220, 196, 150, 0.55), 0 0 0 11px rgba(250, 249, 245, 0.05);
}

/* The bilingual signature line: gold on deep navy, inside the hero. */
.mcc-hero .mcc-caption {
	position: relative;
	z-index: 2;
	background: var(--mcc-primary-dark);
	color: var(--mcc-gold-light);
	box-shadow: inset 0 1px 0 rgba(220, 196, 150, 0.45);
	font-size: 10px;
	letter-spacing: 2.6px;
	padding: 14px 16px 12px;
}

.mcc-hero .mcc-lead {
	margin-bottom: 14px;
	color: var(--mcc-on-dark);
	font-size: 27px;
	line-height: 1.18;
	letter-spacing: -0.01em;
}

.mcc-hero .mcc-summary {
	color: var(--mcc-on-dark-soft);
}

.mcc-hero .mcc-primary,
.mcc-hero .mcc-primary:visited,
.mcc-hero .mcc-primary:hover,
.mcc-hero .mcc-primary:focus {
	color: var(--mcc-primary);
}

.mcc-hero .mcc-primary {
	background: var(--mcc-paper);
	box-shadow: 0 10px 24px rgba(10, 11, 30, 0.28);
}

.mcc-hero .mcc-primary .mcc-arrow {
	color: var(--mcc-accent);
}

.mcc-hero .mcc-primary:hover {
	background: #ffffff;
}

.mcc-hero .mcc-secondary,
.mcc-hero .mcc-secondary:visited {
	color: var(--mcc-on-dark);
}

.mcc-hero .mcc-secondary {
	border-color: rgba(250, 249, 245, 0.42);
}

.mcc-hero .mcc-secondary:hover {
	background: rgba(250, 249, 245, 0.08);
	border-color: var(--mcc-gold-light);
}

.mcc-hero .mcc-secondary__meta {
	color: var(--mcc-on-dark-muted);
}

.mcc-hero .mcc-play-mark {
	border-color: var(--mcc-gold-light);
	color: var(--mcc-gold-light);
}

.mcc-hero a:focus-visible {
	outline-color: var(--mcc-gold-light);
}

/* Contact: a bolder heading and icons set in gold rings. */
.mcc-contact {
	border-top: 0;
	padding-top: 32px;
}

.mcc-contact .mcc-h2 {
	font-size: 32px;
	letter-spacing: -0.02em;
}

.mcc-action__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	left: 12px;
	border-radius: 50%;
	background: var(--mcc-tint);
	box-shadow: inset 0 0 0 1px var(--mcc-tint-strong);
}

.mcc-action__icon svg {
	width: 18px;
	height: 18px;
}

.mcc-action {
	padding-left: 56px;
}

.mcc-action:hover .mcc-action__icon {
	background: var(--mcc-accent);
	color: var(--mcc-on-dark);
}

/* Video: a framed poster. */
.mcc-video__frame {
	box-shadow: 0 18px 40px rgba(20, 21, 48, 0.18);
}

.mcc-video .mcc-h2 {
	font-size: 30px;
	letter-spacing: -0.02em;
}

/* Phones: the location moves out of the crowded header (it stays in the
   hero eyebrow and the address); the switch keeps both full names. */
@media (max-width: 37.49em) {
	.mcc-header__meta .mcc-location {
		display: none;
	}

	.mcc-header {
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.mcc-lang__link {
		padding: 0 12px;
		font-size: 13px;
	}
}

/* Large phones and small tablets: keep the pitch at a readable measure. */
@media (min-width: 37.5em) and (max-width: 47.99em) {
	.mcc-hero .mcc-pitch > * {
		max-width: 520px;
	}
}

@media (min-width: 48em) {
	.mcc-header__meta {
		gap: 26px;
	}

	.mcc-hero::before {
		left: 54px;
		right: auto;
		width: 96px;
	}

	.mcc-hero .mcc-portrait {
		background: radial-gradient(85% 70% at 55% 42%, rgba(250, 249, 245, 0.12), rgba(250, 249, 245, 0) 72%);
	}

	.mcc-hero .mcc-halo {
		box-shadow: 0 0 0 1px rgba(220, 196, 150, 0.6), 0 0 0 26px rgba(250, 249, 245, 0.045), 0 0 0 27px rgba(220, 196, 150, 0.22);
	}

	.mcc-hero .mcc-caption {
		font-size: 11px;
		letter-spacing: 3px;
		padding: 19px 25px 17px;
	}

	.mcc-hero .mcc-lead {
		max-width: 400px;
		font-size: 34px;
		line-height: 1.12;
	}

	.mcc-hero .mcc-summary {
		max-width: 400px;
		font-size: 15px;
	}

	.mcc-hero .mcc-primary,
	.mcc-hero .mcc-secondary {
		width: 270px;
	}

	.mcc-contact {
		padding-top: 58px;
	}

	.mcc-contact .mcc-h2 {
		font-size: 44px;
	}

	.mcc-action {
		padding: 26px 24px;
	}

	.mcc-action__icon {
		width: 42px;
		height: 42px;
		margin-bottom: 20px;
	}

	.mcc-action__icon svg {
		width: 20px;
		height: 20px;
	}

	.mcc-action__label {
		font-size: 15px;
	}

	.mcc-video .mcc-h2 {
		font-size: 38px;
	}
}

/* Very narrow phones: icons move above their labels so text keeps its width. */
@media (max-width: 23em) {
	.mcc-identity {
		padding-left: 16px;
	}

	.mcc-pitch,
	.mcc-contact,
	.mcc-video,
	.mcc-more {
		padding-left: 16px;
		padding-right: 16px;
	}

	.mcc-header {
		padding-left: 16px;
		padding-right: 16px;
	}

	.mcc-action {
		justify-content: flex-start;
		padding: 12px 10px 12px 12px;
	}

	.mcc-action__icon {
		position: static;
		margin-bottom: 8px;
		transform: none;
	}

	.mcc-location {
		max-width: 110px;
		font-size: 8px;
		letter-spacing: 1px;
	}

	.mcc-footer {
		align-items: flex-start;
		margin-left: 16px;
		margin-right: 16px;
		font-size: 8px;
		letter-spacing: 0.5px;
	}
}

/* Accessibility and print */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.mcc *,
	.mcc *::before,
	.mcc *::after {
		transition: none !important;
		animation: none !important;
	}

	.mcc-video__play:hover .mcc-video__button,
	.mcc-video__play:focus-visible .mcc-video__button {
		transform: none;
	}
}

@media (forced-colors: active) {
	.mcc-primary,
	.mcc-secondary,
	.mcc-actions,
	.mcc-action,
	.mcc-video__frame,
	.mcc-video__button {
		border: 1px solid CanvasText;
	}

	.mcc-action {
		box-shadow: none;
	}
}

@media print {
	body.myconnect-card {
		background: #fff;
	}

	.mcc {
		margin: 0;
		border: 0;
	}

	.mcc-share,
	.mcc-share-status,
	.mcc-secondary,
	.mcc-video__frame,
	.mcc-preview-note,
	.mcc-skip,
	.mcc-footer__top,
	#wpadminbar {
		display: none !important;
	}
}

/* ==========================================================================
   Shared modules (1.4.0): credential, Text / message actions, video-led
   hero, quote, biography, network feeds, press, testimonials, team and
   partners, sponsored placements. Neutral by design; skins restyle them.
   Every module is absent from the markup until it has content.
   ========================================================================== */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mcc-credential {
	margin: 8px 0 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	opacity: 0.86;
}

.mcc-module,
.mcc-quote {
	padding: 34px 20px 0;
}

.mcc-module__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 18px;
}

.mcc-module__head .mcc-h2 {
	margin-bottom: 0;
}

.mcc-module__head .mcc-eyebrow {
	margin-bottom: 10px;
}

.mcc-module .mcc-text-link,
.mcc-module__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--mcc-primary);
	font-size: 14px;
	font-weight: 700;
}

.mcc-module__source {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--mcc-muted);
}

/* Quote */
.mcc-quote__figure {
	margin: 0;
	padding: 4px 0 4px 18px;
	border-left: 3px solid var(--mcc-accent);
}

.mcc-quote__text {
	margin: 0;
}

.mcc-quote__text p {
	margin: 0;
	font-family: var(--mcc-serif);
	font-size: 22px;
	line-height: 1.35;
	color: var(--mcc-primary);
}

.mcc-quote__by {
	margin-top: 10px;
	font-size: 13px;
	color: var(--mcc-muted);
}

/* Biography */
.mcc-about__text {
	max-width: 66ch;
	font-size: 16px;
	line-height: 1.7;
}

.mcc-about__text p {
	margin: 0 0 14px;
}

.mcc-more-text summary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mcc-primary);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.mcc-more-text summary::-webkit-details-marker {
	display: none;
}

.mcc-more-text summary::after {
	content: "+";
	margin-left: 8px;
	color: var(--mcc-accent);
}

.mcc-more-text[open] summary {
	display: none;
}

/* Tiles: network feeds and press */
.mcc-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mcc-tiles--wide {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.mcc-tile__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--mcc-line);
	border-radius: 4px;
	overflow: hidden;
	background: var(--mcc-paper);
	transition: border-color 0.2s, transform 0.2s;
}

.mcc-tile__link:hover {
	border-color: var(--mcc-line-strong);
}

.mcc-tile__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--mcc-tint);
	overflow: hidden;
}

.mcc-tile__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mcc-tile__play {
	position: absolute;
	left: 12px;
	bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--mcc-paper);
	color: var(--mcc-primary);
}

.mcc-tile__play svg {
	width: 15px;
	height: 15px;
	margin-left: 2px;
}

.mcc-tile__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px 18px;
}

.mcc-tile__meta {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--mcc-muted);
}

.mcc-tile__title {
	font-family: var(--mcc-serif);
	font-size: 18px;
	line-height: 1.3;
	color: var(--mcc-ink);
}

.mcc-tile__desc {
	font-size: 14px;
	line-height: 1.55;
	color: var(--mcc-muted);
}

/* Testimonials */
.mcc-testimonials__list {
	display: grid;
	gap: 18px;
}

.mcc-testimonial {
	margin: 0;
	padding: 22px 22px 20px;
	border-radius: 4px;
	background: var(--mcc-hover);
}

.mcc-testimonial__text {
	margin: 0 0 14px;
}

.mcc-testimonial__text p {
	margin: 0;
	font-family: var(--mcc-serif);
	font-size: 19px;
	line-height: 1.5;
}

.mcc-testimonial__by {
	font-size: 13px;
	color: var(--mcc-muted);
}

.mcc-testimonial__by strong {
	color: var(--mcc-ink);
}

/* Team and partners */
.mcc-people__group + .mcc-people__group {
	margin-top: 30px;
}

.mcc-people__sub {
	margin: -8px 0 16px;
	font-size: 14px;
	color: var(--mcc-muted);
}

.mcc-people__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mcc-person__link {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 84px;
	padding: 12px;
	border: 1px solid var(--mcc-line);
	border-radius: 4px;
}

a.mcc-person__link:hover {
	background: var(--mcc-hover);
}

.mcc-person__photo {
	flex: none;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--mcc-tint);
}

.mcc-person__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mcc-person__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.mcc-person__name {
	font-weight: 700;
	color: var(--mcc-ink);
}

.mcc-person__role,
.mcc-person__org {
	font-size: 13px;
	color: var(--mcc-muted);
}

/* Sponsored placements: always labelled, fixed position near the end. */
.mcc-sponsors__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mcc-sponsor__label {
	margin: 0 0 8px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--mcc-muted);
}

.mcc-sponsor__link {
	display: block;
	border: 1px solid var(--mcc-line);
	border-radius: 4px;
	overflow: hidden;
}

.mcc-sponsor__img {
	display: block;
	width: 100%;
	height: auto;
}

.mcc-sponsor__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 14px;
}

.mcc-sponsor__brand {
	font-weight: 700;
}

.mcc-sponsor__tagline {
	font-size: 13px;
	color: var(--mcc-muted);
}

/* Video-led hero (classic skin fallback; skins refine it). */
.mcc--video-led .mcc-hero-video {
	grid-column: 1 / -1;
	padding: 0 20px 20px;
}

.mcc-hero-video__text {
	margin-top: 14px;
}

.mcc-hero-video__title {
	margin: 0 0 6px;
	font-size: 15px;
}

@media (min-width: 48em) {
	.mcc-module,
	.mcc-quote {
		padding: 46px 54px 0;
	}

	.mcc-quote__text p {
		font-size: 28px;
	}

	.mcc-testimonials__list {
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	}

	.mcc--video-led .mcc-hero-video {
		display: block;
		padding: 0 54px 34px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mcc-tile__link {
		transition: none;
	}
}

@media print {
	.mcc-sponsors,
	.mcc-tile__play {
		display: none;
	}
}

/* ==========================================================================
   1.7.0 shared modules: story chapters, video gallery, platform links,
   generated QR, dock buttons. Phone first; layouts arrange them further.
   ========================================================================== */

.mcc-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Chapters */
.mcc-chapters {
	display: block;
}

.mcc-chapter {
	scroll-margin-top: 64px;
	padding: 44px 20px;
	border-top: 1px solid var(--mcc-line);
	background: var(--mcc-paper);
	color: var(--mcc-ink);
}

.mcc-chapter--plain {
	background: var(--mcc-white, #ffffff);
}

.mcc-chapter--dark {
	--mcc-chapter-ink: var(--mcc-paper);
	background: var(--mcc-primary);
	color: var(--mcc-paper);
	border-top-color: transparent;
}

.mcc-chapter--accent {
	background: var(--mcc-tone-accent, var(--mcc-tint));
	color: var(--mcc-tone-accent-ink, var(--mcc-ink));
	border-top-color: transparent;
}

.mcc-chapter__inner {
	position: relative;
	display: grid;
	gap: 22px;
	max-width: 1040px;
	margin: 0 auto;
}

.mcc-chapter__media {
	min-width: 0;
}

.mcc-chapter .mcc-video,
.mcc-gallery__stage.mcc-video {
	display: block;
	padding: 0;
}

.mcc-chapter__figure {
	margin: 0;
}

.mcc-chapter__figlink {
	display: block;
	border-radius: 4px;
	overflow: hidden;
}

.mcc-chapter__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.mcc-chapter__text {
	min-width: 0;
	max-width: 68ch;
}

.mcc-chapter__title {
	margin-bottom: 18px;
	font-size: clamp(30px, 8.4vw, 46px);
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.mcc-chapter--dark .mcc-chapter__title,
.mcc-chapter--dark .mcc-eyebrow {
	color: var(--mcc-paper);
}

.mcc-chapter--dark .mcc-eyebrow,
.mcc-chapter--accent .mcc-eyebrow {
	opacity: 0.86;
}

.mcc-chapter--accent .mcc-chapter__title {
	color: inherit;
}

.mcc-chapter__title--eyebrow {
	margin: 0 0 18px;
	font-family: var(--mcc-sans);
	font-size: 11px;
	line-height: 1.5;
	letter-spacing: 2px;
}

.mcc-prose p {
	margin: 0 0 1.05em;
	font-size: 17px;
	line-height: 1.72;
	overflow-wrap: break-word;
}

.mcc-prose p:last-child {
	margin-bottom: 0;
}

.mcc-prose a {
	color: inherit;
	text-decoration-color: var(--mcc-accent);
	text-underline-offset: 3px;
}

.mcc-prose--lede p:first-child {
	font-family: var(--mcc-serif);
	font-size: clamp(21px, 5.6vw, 26px);
	line-height: 1.5;
}

.mcc-panels {
	margin-top: 8px;
	border-top: 1px solid var(--mcc-line-strong);
}

.mcc-chapter--dark .mcc-panels,
.mcc-chapter--dark .mcc-panel {
	border-color: rgba(255, 255, 255, 0.22);
}

.mcc-panel {
	border-bottom: 1px solid var(--mcc-line-strong);
}

.mcc-panel__title {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 60px;
	padding: 16px 44px 16px 0;
	font-family: var(--mcc-serif);
	font-size: 22px;
	line-height: 1.3;
	cursor: pointer;
	list-style: none;
}

.mcc-panel__title::-webkit-details-marker {
	display: none;
}

.mcc-panel__title::after {
	content: "+";
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--mcc-sans);
	font-size: 24px;
	font-weight: 300;
	color: var(--mcc-accent);
}

.mcc-panel[open] > .mcc-panel__title::after {
	content: "\2212";
}

.mcc-panel__body {
	padding: 0 0 22px;
}

.mcc-chapter__cta {
	margin: 26px 0 0;
}

.mcc-chapter__cta .mcc-primary {
	display: inline-flex;
	width: auto;
	min-width: 200px;
}

.mcc-chapter--dark .mcc-chapter__cta .mcc-primary,
.mcc-chapter--dark .mcc-chapter__cta .mcc-primary:visited {
	background: var(--mcc-paper);
	color: var(--mcc-primary);
}

/* Gallery */
.mcc-gallery {
	scroll-margin-top: 64px;
	padding: 44px 20px;
	border-top: 1px solid var(--mcc-line);
}

.mcc-gallery__head,
.mcc-gallery__stage,
.mcc-gallery__now,
.mcc-gallery__list {
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
}

.mcc-gallery__intro {
	margin: 0 0 8px;
	line-height: 1.6;
	color: var(--mcc-muted);
}

.mcc-gallery__now {
	margin-top: 12px;
	margin-bottom: 14px;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--mcc-muted);
}

.mcc-gallery__list {
	display: grid;
	gap: 8px;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}

.mcc-gallery__item {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	width: 100%;
	min-height: 72px;
	padding: 8px;
	border: 1px solid var(--mcc-line);
	border-radius: 8px;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.mcc-gallery__item[hidden] {
	display: none;
}

.mcc-gallery__item[aria-pressed="true"] {
	border-color: var(--mcc-accent);
	box-shadow: inset 3px 0 0 var(--mcc-accent);
}

.mcc-gallery__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 4px;
	overflow: hidden;
	background: var(--mcc-tint);
}

.mcc-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mcc-gallery__num {
	position: absolute;
	left: 6px;
	top: 6px;
	min-width: 22px;
	padding: 1px 6px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.6);
	color: #ffffff;
	font-size: 11px;
	text-align: center;
}

.mcc-gallery__meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.mcc-gallery__title {
	font-family: var(--mcc-serif);
	font-size: 19px;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.mcc-gallery__time {
	font-size: 12px;
	color: var(--mcc-muted);
}

.mcc-gallery__noscript {
	display: grid;
	gap: 14px;
	margin-top: 14px;
}

/* Platform links */
.mcc-links {
	padding: 30px 20px;
	border-top: 1px solid var(--mcc-line);
}

.mcc-links__title {
	max-width: 1040px;
	margin: 0 auto 14px;
}

.mcc-links__list {
	display: grid;
	gap: 0;
	max-width: 1040px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--mcc-line);
}

.mcc-links__link {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-height: 60px;
	padding: 12px 36px 12px 0;
	border-bottom: 1px solid var(--mcc-line);
	color: inherit;
	text-decoration: none;
}

.mcc-links__name {
	font-family: var(--mcc-serif);
	font-size: 20px;
	line-height: 1.25;
	color: var(--mcc-primary);
}

.mcc-links__sub {
	font-size: 13px;
	color: var(--mcc-muted);
}

.mcc-links__link .mcc-arrow {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
}

/* Generated QR */
.mcc-qr--generated svg {
	display: block;
	width: 140px;
	height: 140px;
}

.mcc-qr__downloads {
	margin: 8px 0 0;
	font-size: 13px;
}

/* Dock: buttons look like its links. */
button.mcc-dock__item {
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

button.mcc-dock__item[hidden] {
	display: none;
}

@media (min-width: 48em) {
	.mcc-chapter,
	.mcc-gallery {
		padding: 72px 40px;
	}

	.mcc-links {
		padding: 40px;
	}

	.mcc-links__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 32px;
	}

	.mcc-chapter__inner {
		gap: 40px;
	}

	.mcc-chapter--media-start .mcc-chapter__inner,
	.mcc-chapter--media-end .mcc-chapter__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
	}

	.mcc-chapter--media-end .mcc-chapter__media {
		order: 2;
	}

	.mcc-gallery__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64em) {
	.mcc-gallery__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.mcc-gallery__item {
		grid-template-columns: 1fr;
		align-items: start;
	}
}

@media print {
	.mcc-panel__body {
		display: block;
	}
	.mcc-gallery__list,
	.mcc-gallery__now {
		display: none;
	}
}

/* Gallery entry without a cover image: a quiet play mark. */
.mcc-gallery__thumb:not(:has(img))::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0;
	height: 0;
	margin: -10px 0 0 -6px;
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent var(--mcc-accent);
}
