/*
Theme Name: MissVie Salon
Theme URI: https://missviebraids.com/
Author: MissVie Beauty LLC
Author URI: https://missviebraids.com/
Description: A quiet, editorial one-page theme for a braiding salon. Flat colours, a serif display face, large animated line icons, and very little copy. Styles, prices and gallery photos are editable from Appearance → MissVie Content; everything else from the Customizer. No page builder, no plugin dependencies.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: missvie-salon
Tags: one-column, custom-logo, custom-colors, custom-menu, featured-images, translation-ready, blog
*/

/* ==========================================================================
   Tokens — flat colours only, one restrained accent
   ========================================================================== */

:root {
	--mv-accent: #A9501F;

	--mv-ink: #171310;
	--mv-ink-80: #3A322B;
	--mv-muted: #776B60;
	--mv-paper: #FFFFFF;
	--mv-sand: #F6F2EC;
	--mv-sand-2: #EFE8DF;
	--mv-line: #E2D9CD;

	--mv-radius: 10px;
	--mv-radius-lg: 18px;
	--mv-pill: 999px;

	--mv-wrap: 1180px;
	--mv-gutter: 22px;
	--mv-section: clamp( 44px, 6vw, 78px );

	/* Overridden inline by the pairing chosen in the Customizer. */
	--mv-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--mv-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--mv-ease: cubic-bezier( .22, .61, .36, 1 );
	--mv-delay: 0ms;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

/* Several blocks below set an explicit display, which would otherwise win
   against the browser default for [hidden]. The toggles rely on it. */
[hidden] {
	display: none !important;
}

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

body {
	margin: 0;
	font-family: var( --mv-sans );
	font-size: 16px;
	line-height: 1.6;
	color: var( --mv-ink-80 );
	background: var( --mv-paper );
	-webkit-font-smoothing: antialiased;
}

body.mv-noscroll {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var( --mv-ink );
	text-decoration: none;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

p {
	margin: 0 0 1em;
}

:focus-visible {
	outline: 2px solid var( --mv-accent );
	outline-offset: 3px;
}

.mv-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var( --mv-ink );
	color: #fff;
	padding: 12px 20px;
}

.mv-skip:focus {
	left: 0;
}

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

/* ==========================================================================
   Type
   ========================================================================== */

.mv-display {
	margin: 0 0 .5em;
	font-family: var( --mv-serif );
	font-weight: 400;
	font-size: clamp( 40px, 6.4vw, 76px );
	/* Playfair has long ascenders and descenders; 1.02 made two-line headings
	   touch. */
	line-height: 1.06;
	letter-spacing: -.015em;
	color: var( --mv-ink );
	font-variation-settings: "SOFT" 0, "WONK" 0;
}

.mv-display em {
	display: block;
	font-style: italic;
	color: var( --mv-accent );
}

.mv-display--sm {
	font-size: clamp( 30px, 4vw, 46px );
	margin-bottom: .3em;
}

.mv-display--hero {
	font-size: clamp( 42px, 7vw, 86px );
	color: #fff;
	max-width: 15ch;
}

.mv-display--hero em {
	color: var( --mv-sand );
}

.mv-eyebrow {
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var( --mv-accent );
}

.mv-eyebrow--light {
	color: rgba( 255, 255, 255, .78 );
}

.mv-lede {
	font-size: clamp( 17px, 1.5vw, 19px );
	color: var( --mv-muted );
	max-width: 42ch;
}

.mv-lede--light {
	color: rgba( 255, 255, 255, .85 );
}

.mv-sub {
	margin: 0;
	font-size: 16px;
	color: var( --mv-muted );
}

.mv-head {
	margin-bottom: clamp( 34px, 5vw, 56px );
	max-width: 46ch;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.mv-wrap {
	width: 100%;
	max-width: var( --mv-wrap );
	margin-inline: auto;
	padding-inline: var( --mv-gutter );
}

.mv-section {
	padding-block: var( --mv-section );
}

.mv-icon {
	width: 1em;
	height: 1em;
	flex: none;
}

/* ==========================================================================
   Reveal + icon draw animation
   ========================================================================== */

.mv-js .mv-reveal {
	opacity: 0;
	transform: translateY( 20px );
	transition: opacity .7s var( --mv-ease ), transform .7s var( --mv-ease );
	transition-delay: var( --mv-delay );
}

.mv-js .mv-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.mv-bigicon {
	width: 100%;
	height: 100%;
}

.mv-js .mv-bigicon > * {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.2s var( --mv-ease );
	transition-delay: calc( var( --mv-delay ) + 160ms );
}

.mv-js .is-visible .mv-bigicon > * {
	stroke-dashoffset: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.mv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 15px 28px;
	border: 1px solid var( --mv-ink );
	border-radius: var( --mv-pill );
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .01em;
	transition: background-color .25s var( --mv-ease ), color .25s var( --mv-ease ), border-color .25s var( --mv-ease );
}

.mv-btn .mv-icon {
	font-size: 17px;
}

.mv-btn:hover,
.mv-btn:focus-visible {
	text-decoration: none;
}

.mv-btn--dark {
	background: var( --mv-ink );
	color: #fff;
}

.mv-btn--dark:hover,
.mv-btn--dark:focus-visible {
	background: var( --mv-accent );
	border-color: var( --mv-accent );
}

.mv-btn--line {
	background: transparent;
	color: var( --mv-ink );
	border-color: var( --mv-line );
}

.mv-btn--line:hover,
.mv-btn--line:focus-visible {
	border-color: var( --mv-ink );
}

/* On a photo. */
.mv-btn--light {
	background: #fff;
	border-color: #fff;
	color: var( --mv-ink );
}

.mv-btn--light:hover,
.mv-btn--light:focus-visible {
	background: var( --mv-accent );
	border-color: var( --mv-accent );
	color: #fff;
}

.mv-btn--ghost {
	background: transparent;
	border-color: rgba( 255, 255, 255, .55 );
	color: #fff;
}

.mv-btn--ghost:hover,
.mv-btn--ghost:focus-visible {
	background: rgba( 255, 255, 255, .14 );
	border-color: #fff;
}

.mv-btn--sm {
	padding: 10px 20px;
	font-size: 14px;
}

.mv-btnrow {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.mv-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var( --mv-paper );
	border-bottom: 1px solid transparent;
	transition: background-color .3s var( --mv-ease ), border-color .3s var( --mv-ease );
}

.mv-header.is-stuck {
	background: rgba( 255, 255, 255, .92 );
	backdrop-filter: saturate( 160% ) blur( 10px );
	border-bottom-color: var( --mv-line );
}

.mv-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 78px;
}

.mv-logo {
	flex: none;
}

.mv-logo img {
	width: auto;
	max-height: 52px;
}

.mv-logo__text {
	font-family: var( --mv-serif );
	font-size: 23px;
	color: var( --mv-ink );
}

.mv-nav {
	display: flex;
	gap: 28px;
	margin-inline: auto;
	font-size: 14.5px;
	font-weight: 500;
}

.mv-nav a {
	position: relative;
	color: var( --mv-ink-80 );
	padding-block: 4px;
}

.mv-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var( --mv-accent );
	transform: scaleX( 0 );
	transform-origin: left;
	transition: transform .3s var( --mv-ease );
}

.mv-nav a:hover,
.mv-nav a:focus-visible {
	color: var( --mv-ink );
	text-decoration: none;
}

.mv-nav a:hover::after,
.mv-nav a:focus-visible::after {
	transform: scaleX( 1 );
}

.mv-header__right {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
}

.mv-social {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Solid discs rather than bare glyphs — at this size a loose icon reads as an
   afterthought, and the fill keeps the three brand marks the same weight. */
.mv-social a {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var( --mv-ink );
	color: #fff;
	font-size: 26px;
	transition: background-color .25s var( --mv-ease ), color .25s var( --mv-ease ), transform .25s var( --mv-ease );
}

.mv-social a:hover,
.mv-social a:focus-visible {
	background: var( --mv-accent );
	color: #fff;
	transform: translateY( -2px );
}

/* ==========================================================================
   Hero
   ========================================================================== */

.mv-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	background: var( --mv-ink );
	min-height: clamp( 500px, 74vh, 660px );
	min-height: clamp( 500px, 74svh, 660px ); /* svh avoids the mobile URL-bar jump. */
	overflow: hidden;
}

.mv-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 28%;
	z-index: -2;
}

/* Flat scrim — enough contrast for white type without washing the photo out. */
.mv-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba( 20, 15, 12, .52 );
	z-index: -1;
}

.mv-hero__inner {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: clamp( 32px, 5vw, 56px );
	width: 100%;
	padding-block: clamp( 100px, 14vw, 140px ) clamp( 26px, 3vw, 40px );
}

.mv-hero__text .mv-btnrow {
	margin-top: 30px;
}

/* -- Stats ----------------------------------------------------------- */

.mv-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 14px clamp( 28px, 6vw, 72px );
	list-style: none;
	margin: 0;
	padding: clamp( 20px, 3vw, 28px ) 0 0;
	border-top: 1px solid rgba( 255, 255, 255, .22 );
}

.mv-stats li {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.mv-stats strong {
	font-family: var( --mv-serif );
	font-weight: 400;
	font-size: clamp( 26px, 3.2vw, 38px );
	line-height: 1;
	color: #fff;
}

.mv-stats span {
	font-size: 13.5px;
	letter-spacing: .02em;
	color: rgba( 255, 255, 255, .72 );
}

/* ==========================================================================
   Why
   ========================================================================== */

/* A tight strip rather than a full-height section — it sits right under the
   hero and should not cost a whole screen of scrolling. */
.mv-why {
	padding-block: clamp( 30px, 4vw, 48px );
	border-bottom: 1px solid var( --mv-line );
}

.mv-why__grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: clamp( 20px, 3vw, 44px );
	list-style: none;
	margin: 0;
	padding: 0;
}

.mv-why__item {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 16px;
}

.mv-why__item h2 {
	margin: 0 0 2px;
	font-family: var( --mv-serif );
	font-weight: 400;
	font-size: 20px;
	line-height: 1.2;
	color: var( --mv-ink );
}

.mv-why__item p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.45;
	color: var( --mv-muted );
}

.mv-why__icon {
	display: block;
	grid-row: span 2;
	width: 58px;
	height: 58px;
	color: var( --mv-accent );
	transition: transform .45s var( --mv-ease );
}

.mv-why__item:hover .mv-why__icon {
	transform: translateY( -6px ) rotate( -4deg );
}

/* ==========================================================================
   Services
   ========================================================================== */

.mv-services {
	background: var( --mv-sand );
}

.mv-catgrid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 10px;
}

.mv-cat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 62px;
	padding: 14px 16px 14px 24px;
	border: 1px solid var( --mv-line );
	border-radius: var( --mv-pill );
	background: var( --mv-paper );
	color: var( --mv-ink );
	font-size: 14.5px;
	font-weight: 600;
	text-align: left;
	transition: background-color .25s var( --mv-ease ), color .25s var( --mv-ease ), border-color .25s var( --mv-ease );
}

.mv-cat__arrow {
	font-size: 15px;
	opacity: .35;
	transition: transform .25s var( --mv-ease ), opacity .25s var( --mv-ease );
}

.mv-cat:hover,
.mv-cat:focus-visible {
	background: var( --mv-ink );
	border-color: var( --mv-ink );
	color: #fff;
}

.mv-cat:hover .mv-cat__arrow,
.mv-cat:focus-visible .mv-cat__arrow {
	opacity: 1;
	transform: translateX( 4px );
}

/* -- Step 2 ---------------------------------------------------------- */

.mv-styles__head {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 26px;
}

.mv-back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 20px 10px 15px;
	border: 1px solid var( --mv-line );
	border-radius: var( --mv-pill );
	background: var( --mv-paper );
	color: var( --mv-ink );
	font-size: 13.5px;
	font-weight: 600;
	transition: border-color .25s var( --mv-ease );
}

.mv-back .mv-icon {
	font-size: 15px;
	transition: transform .25s var( --mv-ease );
}

.mv-back:hover {
	border-color: var( --mv-ink );
}

.mv-back:hover .mv-icon {
	transform: translateX( -3px );
}

.mv-styles__title {
	margin: 0;
	font-family: var( --mv-serif );
	font-weight: 400;
	font-size: clamp( 22px, 2.6vw, 30px );
	color: var( --mv-ink );
}

.mv-stylegrid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 215px, 1fr ) );
	gap: 18px;
}

.mv-style {
	display: flex;
	flex-direction: column;
	background: var( --mv-paper );
	border: 1px solid var( --mv-line );
	border-radius: var( --mv-radius );
	overflow: hidden;
	color: var( --mv-ink );
	transition: border-color .25s var( --mv-ease ), transform .25s var( --mv-ease );
}

.mv-style:hover,
.mv-style:focus-visible {
	border-color: var( --mv-ink );
	text-decoration: none;
	transform: translateY( -3px );
}

.mv-style__media {
	overflow: hidden;
	background: var( --mv-sand-2 );
}

.mv-style__img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform .5s var( --mv-ease );
}

.mv-style:hover .mv-style__img {
	transform: scale( 1.05 );
}

.mv-style__body {
	padding: 16px 16px 18px;
}

.mv-style__name {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var( --mv-ink );
}

.mv-style__meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding-top: 10px;
	border-top: 1px solid var( --mv-line );
}

.mv-style__time {
	font-size: 13px;
	color: var( --mv-muted );
}

.mv-style__price {
	font-family: var( --mv-serif );
	font-size: 20px;
	color: var( --mv-accent );
}

.mv-empty {
	grid-column: 1 / -1;
	padding: 40px 0;
	color: var( --mv-muted );
}

/* -- Pricing note ---------------------------------------------------- */

.mv-note {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: clamp( 36px, 5vw, 56px );
	padding: 20px 24px;
	border: 1px solid var( --mv-line );
	border-left: 3px solid var( --mv-accent );
	border-radius: var( --mv-radius );
	background: var( --mv-paper );
}

.mv-note .mv-icon {
	font-size: 22px;
	color: var( --mv-accent );
}

.mv-note p {
	margin: 0;
}

.mv-note strong {
	display: block;
	font-size: 15px;
	color: var( --mv-ink );
}

.mv-note span {
	display: block;
	font-size: 14px;
	color: var( --mv-muted );
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.mv-gallery {
	background: var( --mv-paper );
}

/* One swipeable row instead of four stacked ones. The last tile is cut off at
   the edge on purpose — that is the hint that it scrolls. */
.mv-galgrid {
	display: flex;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0 0 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: thin;
	scrollbar-color: var( --mv-line ) transparent;
}

.mv-galgrid::-webkit-scrollbar {
	height: 6px;
}

.mv-galgrid::-webkit-scrollbar-track {
	background: var( --mv-sand-2 );
	border-radius: 3px;
}

.mv-galgrid::-webkit-scrollbar-thumb {
	background: var( --mv-line );
	border-radius: 3px;
}

.mv-galitem {
	flex: 0 0 clamp( 190px, 22vw, 260px );
	scroll-snap-align: start;
}

.mv-galbtn {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: var( --mv-radius );
	overflow: hidden;
	background: var( --mv-sand-2 );
}

.mv-galbtn img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform .55s var( --mv-ease );
}

/* Flat scrim behind the caption, so it stays readable on any photo. */
.mv-galbtn::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba( 20, 15, 12, .5 );
	opacity: 0;
	transition: opacity .3s var( --mv-ease );
}

.mv-galbtn:hover img,
.mv-galbtn:focus-visible img {
	transform: scale( 1.06 );
}

.mv-galbtn:hover::after,
.mv-galbtn:focus-visible::after {
	opacity: 1;
}

.mv-galitem__cap {
	position: absolute;
	z-index: 1;
	left: 18px;
	right: 18px;
	bottom: 16px;
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	color: #fff;
	opacity: 0;
	transform: translateY( 8px );
	transition: opacity .3s var( --mv-ease ), transform .3s var( --mv-ease );
}

.mv-galbtn:hover .mv-galitem__cap,
.mv-galbtn:focus-visible .mv-galitem__cap {
	opacity: 1;
	transform: none;
}

/* -- Lightbox -------------------------------------------------------- */

.mv-lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 26px;
	background: rgba( 12, 9, 7, .95 );
}

.mv-lightbox__figure {
	margin: 0;
	max-width: min( 860px, 100% );
	text-align: center;
}

.mv-lightbox__figure img {
	max-height: 76vh;
	width: auto;
	margin-inline: auto;
	border-radius: var( --mv-radius );
}

.mv-lightbox__figure figcaption {
	margin-top: 16px;
	font-size: 14.5px;
	letter-spacing: .02em;
	color: #fff;
}

.mv-lightbox__close,
.mv-lightbox__nav {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba( 255, 255, 255, .25 );
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font-size: 21px;
	flex: none;
	transition: background-color .25s var( --mv-ease ), border-color .25s var( --mv-ease );
}

.mv-lightbox__close:hover,
.mv-lightbox__nav:hover {
	background: var( --mv-accent );
	border-color: var( --mv-accent );
}

.mv-lightbox__close {
	position: absolute;
	top: 22px;
	right: 22px;
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.mv-reviews {
	background: var( --mv-sand );
}

.mv-reviews__embed {
	min-height: 60px;
}

/* ==========================================================================
   Visit
   ========================================================================== */

.mv-visit__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp( 28px, 4vw, 60px );
	align-items: center;
}

/* The map lives here now, instead of being its own full-width band. */
.mv-visit__map {
	margin: 0;
	border-radius: var( --mv-radius-lg );
	overflow: hidden;
	border: 1px solid var( --mv-line );
}

.mv-visit__map iframe {
	display: block;
	width: 100%;
	height: clamp( 320px, 42vw, 430px );
	border: 0;
	filter: grayscale( 1 ) contrast( .95 );
	transition: filter .4s var( --mv-ease );
}

.mv-visit__map:hover iframe {
	filter: none;
}

.mv-detail {
	list-style: none;
	margin: 24px 0 28px;
	padding: 0;
}

.mv-detail li {
	display: flex;
	gap: 14px;
	padding: 16px 0;
	border-top: 1px solid var( --mv-line );
}

.mv-detail li:last-child {
	border-bottom: 1px solid var( --mv-line );
}

.mv-detail .mv-icon {
	font-size: 20px;
	color: var( --mv-accent );
	margin-top: 2px;
}

.mv-detail strong {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var( --mv-ink );
	margin-bottom: 3px;
}

.mv-detail span {
	font-size: 15px;
	color: var( --mv-muted );
}

/* ==========================================================================
   Footer
   ========================================================================== */

.mv-footer {
	background: var( --mv-sand-2 );
	color: var( --mv-muted );
}

.mv-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: clamp( 40px, 5vw, 60px );
}

.mv-footer__brand h2 {
	margin: 0 0 6px;
	font-family: var( --mv-serif );
	font-weight: 400;
	font-size: 26px;
	color: var( --mv-ink );
}

.mv-footer__brand p {
	margin: 0;
	font-size: 14.5px;
}

.mv-social--footer a {
	background: var( --mv-ink );
	color: #fff;
}

.mv-social--footer a:hover,
.mv-social--footer a:focus-visible {
	background: var( --mv-accent );
	color: #fff;
}

.mv-footer__bar {
	border-top: 1px solid var( --mv-line );
	padding-block: 18px;
	font-size: 13px;
}

.mv-footer__bar p {
	margin: 0;
}

/* -- Mobile call bar -------------------------------------------------- */

.mv-callbar {
	display: none;
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: calc( 14px + env( safe-area-inset-bottom ) );
	z-index: 95;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 15px;
	border-radius: var( --mv-pill );
	background: var( --mv-ink );
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 8px 24px rgba( 20, 15, 12, .28 );
}

.mv-callbar:hover,
.mv-callbar:focus-visible {
	text-decoration: none;
}

/* ==========================================================================
   Inner pages (blog / 404 fallback)
   ========================================================================== */

.mv-wrap--narrow {
	max-width: 720px;
}

.mv-entry {
	padding-bottom: 36px;
	margin-bottom: 36px;
	border-bottom: 1px solid var( --mv-line );
}

.mv-entry:last-of-type {
	border-bottom: 0;
}

.mv-entry__title {
	font-family: var( --mv-serif );
	font-weight: 400;
	font-size: clamp( 26px, 3.6vw, 40px );
	line-height: 1.1;
	color: var( --mv-ink );
}

.mv-entry__media {
	margin: 0 0 20px;
}

.mv-entry__media img {
	border-radius: var( --mv-radius );
}

.mv-page .pagination {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.mv-comments {
	margin-top: 48px;
}

.mv-comments__title {
	font-family: var( --mv-serif );
	font-weight: 400;
}

.mv-comments__list {
	list-style: none;
	padding: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media ( max-width: 1024px ) {
	.mv-nav {
		display: none;
	}

	.mv-catgrid {
		grid-template-columns: repeat( 3, 1fr );
	}
}

@media ( max-width: 860px ) {
	.mv-visit__grid {
		grid-template-columns: 1fr;
	}

	.mv-why__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.mv-why__icon {
		width: 46px;
		height: 46px;
	}

	.mv-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media ( max-width: 640px ) {
	:root {
		--mv-gutter: 18px;
	}

	/* On a narrow screen a left rag looks accidental, so the copy is centred
	   and every width cap is centred with it. */
	.mv-hero__text,
	.mv-head,
	.mv-visit__text {
		text-align: center;
	}

	.mv-hero__text .mv-display--hero,
	.mv-hero__text .mv-lede,
	.mv-head,
	.mv-visit__text .mv-lede {
		margin-inline: auto;
	}

	.mv-hero__text .mv-btnrow {
		justify-content: center;
	}

	.mv-stats,
	.mv-stats li {
		justify-content: center;
	}

	.mv-why__item {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		gap: 10px;
	}

	.mv-why__icon {
		grid-row: auto;
	}

	.mv-detail li {
		text-align: left;
	}

	.mv-footer__inner,
	.mv-footer__brand,
	.mv-footer__bar {
		text-align: center;
		align-items: center;
	}

	.mv-hero {
		min-height: clamp( 480px, 80vh, 620px );
		min-height: clamp( 480px, 80svh, 620px );
	}

	.mv-hero__bg {
		object-position: center 22%;
	}

	.mv-display--hero {
		max-width: none;
	}

	.mv-header__inner {
		min-height: 66px;
		gap: 12px;
	}

	.mv-logo img {
		max-height: 42px;
	}

	.mv-header__cta {
		display: none;
	}

	.mv-header__right {
		gap: 2px;
	}

	.mv-catgrid {
		grid-template-columns: repeat( 2, 1fr );
	}

	.mv-cat {
		min-height: 58px;
		padding: 12px 14px;
		font-size: 13.5px;
	}

	.mv-galitem {
		flex-basis: 62vw;
	}

	.mv-stylegrid {
		grid-template-columns: repeat( 2, 1fr );
		gap: 10px;
	}

	.mv-styles__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.mv-btnrow .mv-btn {
		flex: 1 1 100%;
	}

	.mv-stats {
		gap: 18px 32px;
	}

	.mv-callbar {
		display: flex;
	}

	.mv-footer__bar {
		padding-bottom: 74px;
	}

	.mv-lightbox {
		padding: 14px;
	}

	.mv-lightbox__nav {
		position: absolute;
		bottom: 20px;
	}

	.mv-lightbox__nav--prev {
		left: 22px;
	}

	.mv-lightbox__nav--next {
		right: 22px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	html {
		scroll-behavior: auto;
	}

	.mv-js .mv-reveal {
		opacity: 1;
		transform: none;
	}

	.mv-js .mv-bigicon > * {
		stroke-dashoffset: 0;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
