/*
Theme Name: MyMovieTransfer Studio
Description: Portable native-block theme for Debenham Media Group.
Version: 0.7.6
Text Domain: mmt-studio
*/

:root {
	--mmt-ink: #142723;
	--mmt-paper: #f7f4ec;
	--mmt-muted: #46554e;
	--mmt-gold: #e8b86b;
	--mmt-green: #2f9e3a;
	--mmt-line: #d0cec2;
	--mmt-gutter: clamp(1.15rem, 4vw, 3.5rem);
	--mmt-serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { text-underline-offset: .2em; }
a:focus-visible, button:focus-visible {
	outline: 3px solid #aa581e;
	outline-offset: 4px;
}
.mmt-header { background: #fff; border-bottom: 1px solid var(--mmt-line); }
.mmt-shell {
	width: min(100% - 2 * var(--mmt-gutter), 1232px);
	margin-inline: auto;
}
.mmt-header .mmt-shell {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem 2rem;
	min-height: 76px;
	padding-block: .7rem;
}
.mmt-brand {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	gap: .7rem;
	color: var(--mmt-ink);
	text-decoration: none;
}
/* Wordmark font: Inter ExtraBold, only the letters in "MyMovieTransfer.com" (assets/fonts/README.md). */
@font-face {
	font-family: "MMT Wordmark";
	src: url("assets/fonts/inter-wordmark-800.woff") format("woff");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}
/* Film-to-digital emblem, redrawn from the studio's original animated logo (tools/make_emblem.py). */
.mmt-emblem { display: block; height: 56px; width: auto; }
.mmt-wordmark {
	font-family: "MMT Wordmark", system-ui, sans-serif;
	font-size: clamp(1.45rem, 2.3vw, 2.2rem);
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1;
	white-space: nowrap;
}
.mmt-dotcom { color: var(--mmt-green); }
.mmt-header .mmt-shell { flex-wrap: wrap; }
.mmt-header nav { display: flex; gap: .35rem 1rem; flex-wrap: wrap; align-items: center; justify-content: flex-end; margin-left: auto; }
.mmt-header nav a { display: inline-block; padding: .5rem .2rem; color: var(--mmt-ink); font-weight: 650; text-decoration: none; }
.mmt-header nav a:hover { text-decoration: underline; }
.mmt-header nav .mmt-nav-order { padding-inline: .8rem; background: var(--mmt-ink); color: white; border-radius: .25rem; }
.mmt-home, .mmt-body, .mmt-footer { margin-block-start: 0 !important; }
.mmt-home, .mmt-body { padding-inline: var(--mmt-gutter); }
.mmt-body { padding-block: clamp(2.8rem, 7vw, 5rem); }
.mmt-body .wp-block-post-content > .alignwide { max-width: 900px; }
.mmt-body .wp-block-post-content > :is(.wp-block-image, .mmt-photo-grid).alignwide { max-width: 1160px; }
.wp-block-image > a[href*="/mmt-studio/assets/"] { display: inline-block; cursor: zoom-in; }
/* A picture shown at its true pixel size, never enlarged. It steps out of the 730px text column,
   centred on it, and only shrinks to fit narrow screens (the column itself is the limit, so a
   wide-layout class alone is not enough). */
.mmt-body .wp-block-post-content > .wp-block-image.mmt-native {
	max-width: none;
	width: min(1000px, calc(100vw - 1.5rem));
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}
.mmt-body .wp-block-image.mmt-native img { width: 100%; max-width: 1000px; }
.mmt-page-title, .mmt-hero h1 {
	font-family: var(--mmt-serif);
	font-weight: 400;
	font-size: clamp(2.55rem, 6vw, 5.8rem);
	letter-spacing: -.065em;
	line-height: .99;
	text-wrap: balance;
}
.mmt-page-title { margin-block: 0 2rem; }
.mmt-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 6rem);
	padding-block: clamp(2.8rem, 6.5vw, 6.2rem);
}
.mmt-hero h1 { margin-block: .55rem 1.25rem; }
.mmt-hero p { max-width: 38ch; }
.mmt-hero .mmt-intro, .mmt-lead { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--mmt-muted); }
.mmt-kicker {
	font-size: .83rem;
	color: var(--mmt-muted);
	font-weight: 750;
	letter-spacing: .13em;
	text-transform: uppercase;
}
.mmt-hero .wp-block-image { margin: 0; }
.mmt-hero .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1.18;
	object-fit: cover;
	border-radius: .3rem;
}
.mmt-hero figcaption { text-align: left; color: var(--mmt-muted); font-size: .88rem; }
.mmt-band {
	margin-block: 0 !important;
	padding: clamp(2rem, 5vw, 4rem) var(--mmt-gutter);
	margin-inline: calc(-1 * var(--mmt-gutter)) !important;
	background: var(--mmt-ink);
	color: white;
}
.mmt-band a { color: #fff1d9; }
.mmt-band h2, .mmt-body h2, .mmt-home h2, .mmt-footer h2 {
	font-family: var(--mmt-serif);
	font-weight: 400;
	font-size: clamp(1.7rem, 3.5vw, 3rem);
	letter-spacing: -.04em;
	line-height: 1.15;
	margin-block-start: 0;
}
/* The rule above zeroes the top margin for bands; in ordinary page text a
   heading needs clear space above it, or it sits against the line before. */
.mmt-body .wp-block-post-content > h2:not(:first-child) { margin-block-start: 2.6rem; }
.mmt-band .wp-block-column p, .mmt-steps .wp-block-column p { margin-block-start: .35rem; }
/* Contact page: the two phone numbers, large and easy to tap. */
.mmt-contact-phones {
	font-size: clamp(1.3rem, 3vw, 1.6rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -.01em;
}
.mmt-home .mmt-steps { padding-block: clamp(2.2rem, 5vw, 4rem); }
.mmt-action .wp-block-button__link {
	background: var(--mmt-gold);
	color: var(--mmt-ink);
	font-weight: 750;
	border-radius: .25rem;
	padding: .7rem 1rem;
}
.mmt-action.is-style-outline .wp-block-button__link { background: transparent; }
.mmt-action .wp-block-button__link:hover { text-decoration: underline; }
.mmt-note {
	padding: .9rem 1.2rem;
	border-left: 3px solid #aa581e;
	background: #f0e8d8;
}
.mmt-pricing table { border-collapse: collapse; background: white; }
.mmt-pricing table :is(th,td) { border: 1px solid var(--mmt-line); padding: clamp(.48rem, 2vw, 1rem); }
.mmt-pricing thead { background: var(--mmt-ink); color: white; }
.mmt-form-list { margin-bottom: 2rem; }
.mmt-form-list li { margin-bottom: .6rem; }
.mmt-footer { padding: 2rem var(--mmt-gutter); border-top: 1px solid var(--mmt-line); background: white; }
.mmt-footer :is(p,h2) { margin-block: .25rem; }
.mmt-footer a { color: var(--mmt-ink); }
@media (max-width: 760px) {
	.mmt-header .mmt-shell { flex-direction: column; align-items: flex-start; gap: .25rem; }
	.mmt-header nav { gap: .2rem .65rem; }
	.mmt-header nav a { font-size: .94rem; }
	.mmt-emblem { height: 40px; }
	.mmt-header nav { justify-content: flex-start; margin-left: 0; }
	.mmt-hero { grid-template-columns: 1fr; gap: 1.7rem; }
	.mmt-hero .wp-block-image img { aspect-ratio: 1.45; }
}
@media print {
	.mmt-header, .mmt-footer, .mmt-action { display: none; }
	.mmt-body { padding: 0; }
}
.mmt-contents {
	border: 1px solid var(--mmt-line);
	border-radius: .25rem;
	background: #fff;
	padding: .95rem 1.25rem;
	margin-block: 1.6rem 2.2rem;
}
.mmt-contents > p { margin-block: 0 .35rem; }
.mmt-contents > ul { margin-block: 0; padding-inline-start: 1.35rem; }
.mmt-contents li { margin-block: .22rem; }
.mmt-body :target { scroll-margin-top: 1rem; }

.mmt-studio-feature {
	padding-block: clamp(2.3rem, 5vw, 4.4rem);
	border-bottom: 1px solid var(--mmt-line);
}
.mmt-photo-grid {
	gap: clamp(.85rem, 2.8vw, 1.65rem);
	margin-block: 1.8rem 2.3rem !important;
}
.mmt-photo-grid figure { margin-block: 0; }
.mmt-photo-grid img, .mmt-body .wp-block-image img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: .25rem;
}
.mmt-photo-grid figcaption, .mmt-body .wp-block-image figcaption {
	margin-top: .55rem;
	color: var(--mmt-muted);
	font-size: .9rem;
	line-height: 1.45;
	text-align: left;
}

.mmt-home .mmt-band { max-width: none !important; }
.mmt-home :where(a:not(.wp-block-button__link)) { color: #284d3e; }
.mmt-family-hero h1 {
	font-size: clamp(2.65rem, 5.3vw, 5.35rem);
}
.mmt-family-hero .wp-block-image img {
	aspect-ratio: auto;
	object-fit: contain;
}
.mmt-family-hero .mmt-audience-link {
	max-width: 44ch;
	margin-block-start: 1.25rem;
	color: var(--mmt-muted);
	font-size: .95rem;
}
.mmt-family-hero .mmt-intro { max-width: 44ch; }
.mmt-family-callout {
	padding: clamp(1.15rem, 3vw, 1.75rem);
	border-radius: .3rem;
	border: 1px solid var(--mmt-line);
	background: white;
	margin-block: 1.8rem 2.3rem !important;
}
.mmt-family-callout > :last-child { margin-block-end: 0; }
@media (max-width: 760px) {
	.mmt-family-hero h1 { text-wrap: wrap; }
}

/* Phone bar: the toll-free number is on every page (CLAUDE.md). */
.mmt-topbar { background: var(--mmt-ink); color: #fff; font-size: .9rem; }
.mmt-topbar .mmt-shell {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: .25rem 1rem;
	flex-wrap: wrap;
	padding-block: .4rem;
}
.mmt-topbar .mmt-phone { color: var(--mmt-gold); font-weight: 750; font-size: 1.05rem; text-decoration: none; }
.mmt-topbar .mmt-phone:hover { text-decoration: underline; }

/* Price cards: synced patterns holding every price. */
.mmt-price-card {
	margin-block: 1.4rem 1.8rem !important;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	background: #fff;
	border: 1px solid var(--mmt-line);
	border-radius: .3rem;
}
.mmt-price-card h3 { margin-block: 0 .8rem; font-family: var(--mmt-serif); font-weight: 400; font-size: 1.45rem; }
.mmt-price-card .wp-block-table { margin: 0; }
.mmt-price-card table { width: 100%; }
.mmt-price-card td:not(:first-child) { font-weight: 650; }
.mmt-price-card > p { margin-block: .8rem 0; font-size: .95rem; color: var(--mmt-muted); }
.mmt-pricing figcaption { text-align: left; font-size: .88rem; color: var(--mmt-muted); }
.mmt-compare { overflow-x: auto; }
.mmt-compare table { min-width: 640px; font-size: .92rem; }

/* Client quotes. */
.mmt-quotes { padding-block: clamp(2rem, 5vw, 3.5rem); }
.mmt-quotes .wp-block-quote {
	margin: 0 0 1.4rem;
	padding: .2rem 0 .2rem 1.2rem;
	border-left: 3px solid var(--mmt-gold);
	font-family: var(--mmt-serif);
	font-size: 1.12rem;
}
.mmt-quotes .wp-block-quote p { margin: 0 0 .35rem; }
.mmt-quotes cite { font-family: system-ui, sans-serif; font-style: normal; font-size: .9rem; color: var(--mmt-muted); }
.mmt-home .mmt-quotes { columns: 2 22rem; column-gap: 2.5rem; }
.mmt-home .mmt-quotes > h2 { column-span: all; }
.mmt-home .mmt-quotes .wp-block-quote { break-inside: avoid; }
.mmt-home .mmt-quotes > p:last-child { column-span: all; }
@media (max-width: 600px) {
	.mmt-topbar span { display: none; }
	.mmt-topbar .mmt-shell { justify-content: center; }
}

/* Review pages and question lists. */
.mmt-pager { font-size: .95rem; padding: .6rem 0; border-block: 1px solid var(--mmt-line); }
.mmt-pager strong { color: var(--mmt-ink); }
.mmt-review-list .wp-block-quote { font-size: 1.05rem; }
.mmt-faq h3, .mmt-defs h3 { margin-block: 2rem .5rem; font-size: 1.2rem; }
.mmt-faq h3 + p, .mmt-defs h3 + p { margin-block-start: 0; }

/* Lettered emblem: footer and About page. */
.mmt-footer-inner { display: grid; grid-template-columns: auto 1fr; gap: .4rem 2rem; align-items: center; }
.mmt-footer-emblem { grid-row: span 4; width: 320px; height: auto; display: block; }
.mmt-emblem-feature img { width: 100%; max-width: 640px; height: auto; display: block; margin-inline: auto; }
.mmt-emblem-feature figcaption { text-align: center; }
@media (max-width: 760px) {
	.mmt-footer-inner { grid-template-columns: 1fr; }
	.mmt-footer-emblem { grid-row: auto; width: 220px; }
}

/* Safety net: never stretch a photo. If a declared shape is ever wrong, show the
   whole picture with empty margins instead of distorting it. */
.mmt-body .wp-block-image img, .mmt-home .wp-block-image img, .mmt-photo-grid img { object-fit: contain; }

/* Small photos beside the text: on phones, stop wrapping and centre them, so
   the text isn't squeezed into a thin column. */
.mmt-body .wp-block-post-content .wp-block-image.alignright { margin-block-end: .6rem; }
@media (max-width: 600px) {
	.mmt-body .wp-block-post-content .wp-block-image.alignright {
		float: none;
		margin-inline: auto !important;
	}
}
