/* =========================================================
   Round 5. Loads last, after mlp-live.css.
   Buttons as pills, the sticky bar with the pages, the home
   newsletter, clickable experience cards, the experience page,
   Say hello, the confirmation, and the open About layout.
   ========================================================= */

/* -------------------- every button is a pill --------------------
   Transparent with a navy outline; on hover it fills navy (the
   colour of the old "Stay Close" button) and the words turn white. */

.mlp-btn,
.mlp-btn-primary,
.mlp-btn-outline {
	border-radius: 999px;
	border: 1.5px solid var(--mlp-navy, #1B2A6B);
	background: transparent;
	color: var(--mlp-navy, #1B2A6B);
	font-family: var(--mlp-font-body);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.25;
	padding: 14px 30px;
}

.mlp-btn:hover,
.mlp-btn:focus-visible,
.mlp-btn-primary:hover,
.mlp-btn-primary:focus-visible,
.mlp-btn-outline:hover,
.mlp-btn-outline:focus-visible {
	background: var(--mlp-navy, #1B2A6B);
	border-color: var(--mlp-navy, #1B2A6B);
	color: #fff;
}

.mlp-btn:focus-visible { outline: 2px solid var(--mlp-navy, #1B2A6B); outline-offset: 3px; }

.mlp-btn-lg { padding: 16px 42px; font-size: 13px; }

.mlp-btn[disabled],
.mlp-btn[disabled]:hover {
	background: transparent;
	color: var(--mlp-navy, #1B2A6B);
	opacity: 0.5;
	cursor: not-allowed;
}

/* -------------------- the sticky bar: logo left, pages right -------------------- */

.az-stickybar { padding: 0; justify-content: stretch; }

.az-stickybar-inner {
	position: relative;
	width: 100%;
	max-width: var(--mlp-page-max, 1240px);
	margin: 0 auto;
	padding: 11px var(--mlp-pad, 64px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.az-stickybar .az-stickybar-logo { display: block; flex: 0 0 auto; }
.az-stickybar .az-stickybar-logo img { width: clamp(150px, 13vw, 188px); height: auto; }

.az-stickybar-nav { display: flex; align-items: center; gap: 38px; }

.az-stickybar-nav a {
	position: relative;
	font-family: var(--mlp-font-body);
	font-size: 14px;
	font-weight: 500;
	color: var(--mlp-ink);
	padding-bottom: 4px;
	transition: color 0.18s ease;
}

.az-stickybar-nav a:hover { color: var(--mlp-cobalt); }
.az-stickybar-nav a.is-current { color: var(--mlp-cobalt); font-weight: 600; }
.az-stickybar-nav a.is-current::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--mlp-cobalt);
	border-radius: 2px;
}

.az-stickybar .az-stickybar-toggle { display: none; }

@media (max-width: 760px) {
	.az-stickybar-inner { padding: 8px 16px; }
	.az-stickybar .az-stickybar-logo img { width: 148px; }
	.az-stickybar .az-stickybar-toggle { display: inline-flex; }

	.az-stickybar-nav {
		position: absolute;
		top: calc(100% + 6px);
		left: 12px;
		right: 12px;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--mlp-white, #fff);
		border: 1px solid var(--mlp-rule);
		border-radius: 10px;
		padding: 6px;
		box-shadow: 0 12px 30px rgba(30, 27, 22, 0.12);
	}
	.az-stickybar-nav:not(.is-open) { display: none; }
	.az-stickybar-nav a { padding: 13px 14px; }
	.az-stickybar-nav a.is-current::after { display: none; }
}

/* -------------------- home: the newsletter --------------------
   "Stay close", an underlined field, a round navy button. */

.mlp-newsletter-form.mlp-nl { max-width: 470px; }

.mlp-nl .mlp-nl-row {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mlp-nl .mlp-nl-label {
	flex: 0 0 auto;
	font-family: var(--mlp-font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--mlp-navy, #1B2A6B);
	white-space: nowrap;
	cursor: pointer;
}

.mlp-nl .mlp-nl-input {
	flex: 1 1 0;
	width: 0; /* no intrinsic width, so the row can never push the hero wider than the screen */
	min-width: 0;
	border: 0;
	border-bottom: 1.5px solid rgba(30, 27, 22, 0.32);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-family: var(--mlp-font-body);
	font-size: 15px;
	color: var(--mlp-ink);
	padding: 10px 2px 9px;
	outline: none;
	transition: border-color 0.2s ease;
}

.mlp-nl .mlp-nl-input:focus { border-bottom-color: var(--mlp-navy, #1B2A6B); }
.mlp-nl .mlp-nl-input::placeholder { color: #8A8478; }

.mlp-nl .mlp-nl-submit {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--mlp-navy, #1B2A6B);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.mlp-nl .mlp-nl-submit svg { display: block; transition: transform 0.2s ease; }
.mlp-nl .mlp-nl-submit:hover,
.mlp-nl .mlp-nl-submit:focus-visible { background: var(--mlp-navy-dark, #142055); }
.mlp-nl .mlp-nl-submit:hover svg { transform: translateX(2px); }
.mlp-nl .mlp-nl-submit:focus-visible { outline: 2px solid var(--mlp-navy, #1B2A6B); outline-offset: 3px; }

.mlp-nl .mlp-newsletter-message { margin: 10px 2px 0; text-align: left; }

@media (max-width: 640px) {
	.mlp-newsletter-form.mlp-nl { max-width: 100%; margin-left: auto; margin-right: auto; }
	.mlp-nl .mlp-nl-row { gap: 12px; }
	.mlp-nl .mlp-nl-label { font-size: 11px; letter-spacing: 0.16em; }
	.mlp-nl .mlp-nl-input { font-size: 16px; padding: 9px 2px 8px; } /* 16px: no zoom on focus */
	.mlp-nl .mlp-nl-submit { width: 44px; height: 44px; padding: 0; }
	.mlp-nl .mlp-newsletter-message { text-align: center; }
}

/* -------------------- Experiences: the whole card is the link -------------------- */

.mlp-event-card.is-clickable {
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mlp-event-card.is-clickable:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(30, 27, 22, 0.12);
}

.mlp-event-card.is-clickable .mlp-event-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
}

.mlp-event-card.is-clickable .mlp-event-title a:focus-visible { outline: none; }
.mlp-event-card.is-clickable:focus-within { outline: 2px solid var(--mlp-navy, #1B2A6B); outline-offset: 3px; }

.mlp-event-card.is-clickable:hover .mlp-btn {
	background: var(--mlp-navy, #1B2A6B);
	border-color: var(--mlp-navy, #1B2A6B);
	color: #fff;
}

.mlp-event-card.is-clickable:hover .mlp-event-title { color: var(--mlp-cobalt); }

/* Banners are 16:9; the category tag sits on the banner, bottom left. */
.mlp-event-media { aspect-ratio: 16 / 9; }

/* The date and time, then the place on the next line. */
.mlp-event-card .mlp-event-meta { line-height: 1.7; }

/* -------------------- the experience page -------------------- */

/* Round bullets in the colour of the headings. */
.mlp-story li::before {
	left: 4px;
	top: calc(0.87em - 3.5px);
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mlp-cobalt, #12388F);
}

/* The ticket table's column heads in Poppins. */
.mlp-ticket-table th {
	font-family: var(--mlp-font-body);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: var(--mlp-muted);
}

/* Location in the story, styled like the one under the title. */
.mlp-story .mlp-story-where {
	font-family: var(--mlp-font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mlp-cobalt);
	margin: 2px 0 18px;
}

.mlp-story .mlp-story-where a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--mlp-cobalt);
	text-decoration: none;
}

.mlp-story .mlp-story-where a span {
	border-bottom: 1px solid rgba(18, 56, 143, 0.35);
	padding-bottom: 2px;
	transition: border-color 0.18s ease;
}

.mlp-story .mlp-story-where a:hover span,
.mlp-story .mlp-story-where a:focus-visible span { border-bottom-color: var(--mlp-cobalt); }

.mlp-slide video { background: #111; }

@media (max-width: 760px) {
	.mlp-story .mlp-story-where { font-size: 12px; letter-spacing: 0.1em; }
}

/* -------------------- Say hello -------------------- */

.mlp-contact-2 .mlp-page-title.mlp-hello-title {
	font-size: clamp(28px, 2.7vw, 40px);
	line-height: 1.2;
	max-width: 24ch;
	margin: 0 0 18px;
}

.mlp-contact-2 .mlp-hello-sub {
	font-family: var(--mlp-font-display);
	font-style: italic;
	font-size: clamp(22px, 2vw, 29px);
	line-height: 1.25;
	color: var(--mlp-cobalt);
	margin: 0;
}

.mlp-contact-2 .mlp-form-card h2.mlp-hello-form-title {
	max-width: none;
	white-space: nowrap;
	font-size: clamp(19px, 2.3vw, 34px);
}

@media (max-width: 760px) {
	.mlp-contact-2 .mlp-page-title.mlp-hello-title { font-size: clamp(25px, 7vw, 32px); line-height: 1.22; }
	.mlp-contact-2 .mlp-hello-sub { font-size: 21px; }
	.mlp-contact-2 .mlp-form-card h2.mlp-hello-form-title { font-size: clamp(18px, 5.6vw, 26px); }
	.mlp-contact-2 .mlp-field input,
	.mlp-contact-2 .mlp-field select,
	.mlp-contact-2 .mlp-field textarea { font-size: 16px; }
}

/* -------------------- the confirmation -------------------- */

.mlp-confirm-card .mlp-confirm-thanks {
	font-family: var(--mlp-font-display);
	font-style: italic;
	font-size: 21px;
	line-height: 1.35;
	color: var(--mlp-cobalt);
	margin: 6px 0 22px;
}

/* -------------------- About Zainab --------------------
   "So, who am I really?" sits 10px lower in both layouts. */

@media (min-width: 1261px) {
	.mlp-az2:not(.az-is-flat) .p-heading { top: calc(2.812vw + 10px); }
}
@media (max-width: 1260px) {
	.mlp-az2:not(.az-is-flat) .az-stage > .p-heading { margin-top: 10px; }
}

/* The open layout: no torn sheets, just the page paper. Each section
   is words and photographs side by side with the same gap between them
   everywhere, the photographs leaning towards the words. */

.mlp-az2.az-is-flat .az-flow {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(36px, 3.2vw, 52px) 40px 70px; /* clear of the collage's torn bottom edge */
}

.mlp-az2.az-is-flat .az-flow-heading { margin: 0 0 clamp(18px, 2.6vw, 36px); }

.mlp-az2.az-is-flat .az-row {
	display: grid;
	column-gap: clamp(32px, 4vw, 56px);
	align-items: center;
	padding: clamp(18px, 2.4vw, 34px) 0;
}

.mlp-az2.az-is-flat .az-row.is-media-right { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "text media"; }
.mlp-az2.az-is-flat .az-row.is-media-left  { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); grid-template-areas: "media text"; }
.mlp-az2.az-is-flat .az-row.is-media-right.has-label { grid-template-areas: "label media" "text media"; }
.mlp-az2.az-is-flat .az-row.is-media-left.has-label  { grid-template-areas: "media label" "media text"; }

.mlp-az2.az-is-flat .az-row > .az-label {
	grid-area: label;
	align-self: end;
	width: min(100%, 440px);
	max-width: none;
	margin: 0 0 clamp(12px, 1.4vw, 20px);
}

.mlp-az2.az-is-flat .az-row.has-label > .az-text { align-self: start; }
.mlp-az2.az-is-flat .az-row > .az-text { grid-area: text; margin: 0; }
.mlp-az2.az-is-flat .az-row > .az-row-media { grid-area: media; }
.mlp-az2.az-is-flat .az-row.is-media-right > .az-row-media { justify-self: start; }
.mlp-az2.az-is-flat .az-row.is-media-left > .az-row-media { justify-self: end; }

.mlp-az2.az-is-flat .az-row-media .az-polaroid {
	display: block;
	width: min(100%, 330px);
	max-width: none;
	height: auto;
	margin: 0;
	filter: drop-shadow(0 8px 16px rgba(40, 32, 20, 0.2));
}

.mlp-az2.az-is-flat .az-pair { display: flex; flex-direction: column; width: min(100%, 400px); }
.mlp-az2.az-is-flat .az-pair .az-polaroid:first-child { width: 66%; align-self: flex-start; }
.mlp-az2.az-is-flat .az-pair .az-polaroid:last-child  { width: 78%; align-self: flex-end; margin-top: -16%; }

.mlp-az2.az-is-flat .az-text p:not(.az-eyebrow) { font-size: 16px; line-height: 1.72; }
.mlp-az2.az-is-flat .az-eyebrow { font-size: 15px; letter-spacing: 0.22em; margin: 0 0 12px; }

@media (max-width: 1260px) {
	.mlp-az2.az-is-flat .az-flow { margin-top: 0; padding-top: 34px; }
}

@media (max-width: 900px) {
	.mlp-az2.az-is-flat .az-flow { padding: 30px 20px 48px; }
	.mlp-az2.az-is-flat .az-row,
	.mlp-az2.az-is-flat .az-row.has-label {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		padding: 12px 0 24px;
	}
	.mlp-az2.az-is-flat .az-row > .az-label { order: 1; align-self: center; width: min(86%, 420px); margin: 0 auto 18px; }
	.mlp-az2.az-is-flat .az-row > .az-row-media { order: 2; align-self: center; margin: 0 0 22px; }
	.mlp-az2.az-is-flat .az-row > .az-text { order: 3; }
	.mlp-az2.az-is-flat .az-row-media .az-polaroid { width: min(64vw, 340px); }
	.mlp-az2.az-is-flat .az-pair { width: min(80vw, 400px); }
	.mlp-az2.az-is-flat .az-pair .az-polaroid:first-child,
	.mlp-az2.az-is-flat .az-pair .az-polaroid:last-child { width: auto; }
	.mlp-az2.az-is-flat .az-pair .az-polaroid:first-child { width: 70%; }
	.mlp-az2.az-is-flat .az-pair .az-polaroid:last-child { width: 80%; }
}

/* -------------------- booking & Support Our Work flow --------------------
   The payment, summary and confirmation cards sit on the page paper
   with a hairline, the same as the experience page and Say hello. */

.mlp-pay-card,
.mlp-pay-summary {
	background: transparent;
	border: 1px solid rgba(30, 27, 22, 0.12);
	box-shadow: none;
}

.mlp-steps li { background: transparent; }

/* ==================== Round 6 ==================== */

/* -------------------- home: two pills above Stay Close -------------------- */

.mlp-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 14px;
	margin: 4px 0 clamp(16px, 3vh, 26px);
}

.mlp-hero-ctas .mlp-btn { padding: 14px 30px; }

@media (max-width: 1024px) {
	.mlp-hero-ctas { justify-content: center; }
}

@media (max-width: 420px) {
	.mlp-hero-ctas { gap: 10px 8px; }
	.mlp-hero-ctas .mlp-btn { padding: 12px 15px; font-size: 11px; letter-spacing: 0.08em; }
}

/* -------------------- the experience page -------------------- */

.mlp-event-when { letter-spacing: 0.06em; }

.mlp-event-ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 14px;
}

@media (max-width: 640px) {
	.mlp-event-ctas .mlp-btn { flex: 1 1 100%; padding-left: 18px; padding-right: 18px; }
}

/* Videos in the slider: a play button in the middle, like About Zainab. */
.mlp-slide-video { position: relative; width: 100%; height: 100%; }

.mlp-video-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: clamp(58px, 6vw, 88px);
	height: clamp(58px, 6vw, 88px);
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	filter: drop-shadow(0 6px 18px rgba(20, 16, 10, 0.3));
	transition: transform 0.18s ease, opacity 0.18s ease;
}

.mlp-video-play svg { display: block; width: 100%; height: 100%; }
.mlp-slide-video:hover .mlp-video-play { transform: translate(-50%, -50%) scale(1.06); }
.mlp-slide-video.is-playing .mlp-video-play { opacity: 0; pointer-events: none; }

/* On phones the slider is swiped; no arrows over the pictures. */
@media (max-width: 760px) {
	.mlp-slider-arrow { display: none; }
}

/* -------------------- booking -------------------- */

.mlp-lede.mlp-lede-line,
.mlp-lede.mlp-lede-wide { max-width: none; }

.mlp-pick-meta {
	font-family: var(--mlp-font-body);
	font-size: 12px;
	letter-spacing: 0.04em;
}

.mlp-pay-summary .mlp-sum-edit-btn {
	margin-top: 4px;
	padding: 11px 26px;
	font-size: 11.5px;
}

/* ==================== Round 7 ==================== */

/* Say Hello: the studio address under the map. */
.mlp-contact-2 .mlp-map-address {
	padding: 20px 16px 8px;
}

.mlp-contact-2 .mlp-map-address-title {
	font-family: var(--mlp-font-display);
	font-weight: 400;
	font-size: clamp(22px, 1.9vw, 28px);
	line-height: 1.2;
	color: var(--mlp-cobalt, #12388F);
	margin: 0 0 10px;
}

.mlp-contact-2 .mlp-map-address address {
	font-family: var(--mlp-font-body);
	font-style: normal;
	font-size: 15px;
	line-height: 1.75;
	color: var(--mlp-body);
	margin: 0 0 14px;
}

.mlp-contact-2 .mlp-map-address .mlp-event-where {
	font-size: 12px;
	margin: 0;
}

/* ==================== Round 8 ==================== */

.mlp-contact-2 .mlp-map-address address strong { font-weight: 600; color: var(--mlp-ink, #1E1B16); }

/* Confirmation: a quiet note telling people where the email may have landed. */
.mlp-lede-note {
	font-family: var(--mlp-font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.6;
	color: var(--mlp-navy, #1B2A6B);
	margin: 14px 0 0;
	max-width: 46ch;
}

/* Home: no yellow line under the headline, so the headline carries the gap itself. */
.mlp-hero-content .mlp-headline { margin-bottom: clamp(14px, 3.4vh, 30px); }
@media (max-width: 640px) {
	.mlp-hero-content .mlp-headline { margin-bottom: 22px; }
}

/* Home: Explore Experiences / About Zainab fill brand yellow on hover. */
.mlp-hero-ctas .mlp-btn:hover,
.mlp-hero-ctas .mlp-btn:focus-visible {
	background: #F4D54E;
	border-color: #F4D54E;
	color: var(--mlp-navy, #1B2A6B);
}

/* Stay Close: a yellow button with a dark blue arrow. */
.mlp-nl .mlp-nl-submit {
	background: #F4D54E;
	color: var(--mlp-navy, #1B2A6B);
}
.mlp-nl .mlp-nl-submit:hover,
.mlp-nl .mlp-nl-submit:focus-visible { background: #EBC63A; }

/* Experiences cards: date and location in brand dark blue. */
.mlp-event-card .mlp-event-meta { color: var(--mlp-navy, #1B2A6B); }

