/*
Theme Name: Dev Marketing Flow 2026 v4
Theme URI: https://devmarketingflow.com
Author: Dev Marketing Flow
Description: Dark cinematic one-page landing theme for Dev Marketing Flow's done-for-you video production offer. Scroll-driven animations (GSAP + ScrollTrigger, Lenis smooth scroll), lightbox video samples and the free 60-second sample form, which saves requests in the admin and emails you.
Version: 4.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: dmf
*/

/* ---------- Fonts (local, OFL) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('assets/fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/archivo-black-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/plex-mono-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/plex-mono-500-latin.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
	color-scheme: dark;
	--dmf-accent: #F04E23;
	--dmf-bg: #0D0D0D;
	--dmf-bg2: #111111;
	--dmf-surface: #161616;
	--dmf-line: #262626;
	--dmf-line2: #353535;
	--dmf-text: #EDEDEA;
	--dmf-muted: #A6A6A0;
	--dmf-dim: #8A8A84;
	--dmf-head: 'Archivo Black', 'Arial Black', Impact, sans-serif;
	--dmf-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	--dmf-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
	--dmf-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--dmf-radius: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
	margin: 0; background: var(--dmf-bg); color: var(--dmf-text);
	font-family: var(--dmf-body); font-size: 17px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--dmf-text); text-decoration-color: var(--dmf-accent); text-underline-offset: 3px; }
a:hover { color: var(--dmf-accent); }
:focus-visible { outline: 2px solid var(--dmf-accent); outline-offset: 3px; }
::selection { background: var(--dmf-accent); color: #0D0D0D; }
p, h1, h2, h3, ul, ol { margin: 0; }
button { font: inherit; color: inherit; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.dmf-skip:focus { clip: auto; width: auto; height: auto; z-index: 200; top: 12px; left: 12px; padding: 10px 16px; background: var(--dmf-accent); color: #0D0D0D; }
.dmf-show-sm { display: none; }
.dmf-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.dmf-section { padding-top: 128px; padding-bottom: 128px; display: flex; flex-direction: column; gap: 56px; }
.dmf-accent { color: var(--dmf-accent); }

/* Film grain over everything (pure CSS, no image file). */
.dmf-grain {
	position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: dmfGrain 0.9s steps(4) infinite;
}
@keyframes dmfGrain {
	0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
	50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}

/* ---------- Type ---------- */
.dmf-file {
	font-family: var(--dmf-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
	text-transform: uppercase; color: var(--dmf-muted); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center;
}
.dmf-file span { color: var(--dmf-accent); }
.dmf-file span::after { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--dmf-line2); vertical-align: middle; margin-left: 14px; }
.dmf-h1 {
	font-family: var(--dmf-head); font-weight: 400; font-size: clamp(40px, 4.9vw, 72px);
	line-height: 0.98; letter-spacing: -0.03em; text-transform: uppercase; max-width: 24ch;
}
.dmf-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.dmf-line > span { display: inline-block; }
.dmf-h2 {
	font-family: var(--dmf-head); font-weight: 400; font-size: clamp(32px, 4.2vw, 60px);
	line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; max-width: 18ch;
}
.dmf-h2--xl { font-size: clamp(38px, 5.4vw, 78px); max-width: 14ch; }
.dmf-h3 { font-family: var(--dmf-body); font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.dmf-lead { font-size: 19px; color: var(--dmf-muted); max-width: 640px; text-wrap: pretty; }
.dmf-small, .dmf-note { font-size: 14px; color: var(--dmf-dim); }
.dmf-note { font-family: var(--dmf-mono); font-size: 12.5px; letter-spacing: 0.02em; max-width: 760px; }
.dmf-intro { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Buttons ---------- */
.dmf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	background: var(--dmf-accent); color: #0D0D0D; text-decoration: none; border: 0; cursor: pointer;
	font-family: var(--dmf-mono); font-weight: 500; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase;
	padding: 14px 22px; min-height: 48px; border-radius: var(--dmf-radius);
	position: relative; overflow: hidden; isolation: isolate;
	transition: color 0.3s var(--dmf-ease), box-shadow 0.3s var(--dmf-ease);
}
.dmf-btn::before {
	content: ''; position: absolute; inset: 0; z-index: -1; background: var(--dmf-text);
	transform: translateY(101%); transition: transform 0.45s var(--dmf-ease);
}
.dmf-btn:hover { color: #0D0D0D; box-shadow: 0 14px 40px -14px var(--dmf-accent); }
.dmf-btn:hover::before { transform: translateY(0); }
.dmf-btn__arrow { transition: transform 0.3s var(--dmf-ease); }
.dmf-btn:hover .dmf-btn__arrow { transform: translateX(4px); }
.dmf-btn--lg { font-size: 16px; padding: 18px 28px; min-height: 58px; }
.dmf-btn--sm { font-size: 13px; padding: 10px 16px; min-height: 44px; white-space: nowrap; }
.dmf-btn--block { width: 100%; }
.dmf-btn--ghost { background: transparent; color: var(--dmf-text); box-shadow: inset 0 0 0 1px var(--dmf-line2); }
.dmf-btn--ghost:hover { color: #0D0D0D; box-shadow: inset 0 0 0 1px var(--dmf-text); }

/* ---------- Ticker ---------- */
.dmf-ticker { background: var(--dmf-accent); color: #0D0D0D; overflow: hidden; white-space: nowrap; font-family: var(--dmf-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.dmf-ticker__track { display: inline-flex; animation: dmfTicker 38s linear infinite; }
.dmf-ticker__group { display: inline-flex; align-items: center; padding: 9px 0; }
.dmf-ticker__group span { padding: 0 18px; }
.dmf-ticker__group i { width: 6px; height: 6px; background: #0D0D0D; display: inline-block; }
@keyframes dmfTicker { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.dmf-header {
	position: sticky; top: 0; z-index: 80; border-bottom: 1px solid transparent;
	transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.dmf-header.is-scrolled { background: rgba(13, 13, 13, 0.82); border-bottom-color: var(--dmf-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.dmf-header .dmf-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.dmf-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dmf-text); }
.dmf-logo__mark {
	width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
	font-family: var(--dmf-head); font-size: 22px; line-height: 1; color: var(--dmf-text);
	background: var(--dmf-surface); border: 1px solid var(--dmf-line2); border-radius: var(--dmf-radius);
	box-shadow: inset 0 -3px 0 var(--dmf-accent);
}
.dmf-logo__name { font-family: var(--dmf-head); font-size: 16px; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; }
.dmf-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--dmf-accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Hero ---------- */
.dmf-hero { position: relative; padding: 72px 0 56px; min-height: calc(100vh - 110px); display: flex; flex-direction: column; justify-content: center; }
.dmf-hero::before {
	content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
	background:
		radial-gradient(60% 50% at 78% 40%, rgba(240, 78, 35, 0.13), transparent 70%),
		linear-gradient(var(--dmf-line) 1px, transparent 1px) 0 0 / 100% 120px;
	-webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
	mask-image: linear-gradient(to bottom, #000 40%, transparent);
	opacity: 0.32;
}
.dmf-hero__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px 64px; align-items: center; }
.dmf-hero__head { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 28px; }
.dmf-hero__copy { display: flex; flex-direction: column; gap: 32px; padding-bottom: 8px; }
.dmf-hero__sub { font-size: 19px; color: var(--dmf-muted); max-width: 560px; text-wrap: pretty; }
.dmf-hero__cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.dmf-hero__cta .dmf-small { max-width: 420px; }
.dmf-scroll {
	align-self: center; margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 10px;
	font-family: var(--dmf-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dmf-dim); text-decoration: none;
}
.dmf-scroll i { width: 1px; height: 44px; background: linear-gradient(var(--dmf-accent), transparent); animation: dmfDrip 2s var(--dmf-ease) infinite; transform-origin: top; }
@keyframes dmfDrip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Player frame */
.dmf-player {
	position: relative; aspect-ratio: 16 / 9; width: 100%; background: #050505;
	border: 1px solid var(--dmf-line2); border-radius: var(--dmf-radius); overflow: hidden;
	box-shadow: 0 40px 120px -40px rgba(240, 78, 35, 0.35), 0 30px 60px -30px #000;
}
.dmf-player__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.dmf-player > .dmf-vid { position: absolute; inset: 0; }
.dmf-corner { position: absolute; width: 18px; height: 18px; border-color: var(--dmf-text); border-style: solid; border-width: 0; opacity: 0.7; pointer-events: none; z-index: 3; }
.dmf-corner--tl { top: 14px; left: 14px; border-top-width: 1.5px; border-left-width: 1.5px; }
.dmf-corner--tr { top: 14px; right: 14px; border-top-width: 1.5px; border-right-width: 1.5px; }
.dmf-corner--bl { bottom: 14px; left: 14px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.dmf-corner--br { bottom: 14px; right: 14px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.dmf-rec, .dmf-player__tag {
	position: absolute; z-index: 3; pointer-events: none; font-family: var(--dmf-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dmf-text);
}
.dmf-rec { top: 22px; left: 42px; display: flex; align-items: center; gap: 8px; }
.dmf-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--dmf-accent); animation: dmfBlink 1.2s steps(2) infinite; }
.dmf-player__tag { bottom: 22px; right: 42px; color: var(--dmf-muted); }
@keyframes dmfBlink { 50% { opacity: 0; } }

/* Video buttons (cards and hero) */
.dmf-vid {
	position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px;
	width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; overflow: hidden; color: var(--dmf-muted); text-decoration: none;
}
.dmf-vid img, .dmf-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--dmf-ease), opacity 0.5s ease, filter 0.5s ease; }
.dmf-vid img { filter: grayscale(0.55) contrast(1.05) brightness(0.8); }
.dmf-vid video { opacity: 0; }
.dmf-vid.is-previewing video { opacity: 1; }
.dmf-vid:hover img, .dmf-vid:focus-visible img { transform: scale(1.06); filter: grayscale(0) contrast(1.05) brightness(0.95); }
.dmf-vid__ph { font-family: var(--dmf-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dmf-dim); position: relative; padding: 0 16px; text-align: center; }
.dmf-play {
	position: relative; z-index: 2; width: 68px; height: 68px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; color: #0D0D0D; background: var(--dmf-text);
	transition: transform 0.4s var(--dmf-ease), background 0.3s ease;
}
.dmf-play::after { content: ''; position: absolute; inset: 0; border-radius: 50%; animation: dmfRing 2.8s ease-out 1s infinite; }
.dmf-play svg { margin-left: 3px; }
.dmf-vid:hover .dmf-play, .dmf-vid:focus-visible .dmf-play { transform: scale(1.12); background: var(--dmf-accent); }
@keyframes dmfRing { 0% { box-shadow: 0 0 0 0 rgba(237, 237, 234, 0.4); } 80%, 100% { box-shadow: 0 0 0 22px rgba(237, 237, 234, 0); } }

/* ---------- Stats ---------- */
.dmf-stats { border-top: 1px solid var(--dmf-line); border-bottom: 1px solid var(--dmf-line); background: var(--dmf-bg2); }
.dmf-stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dmf-stat { padding: 40px 28px 36px; border-left: 1px solid var(--dmf-line); display: flex; flex-direction: column; gap: 10px; }
.dmf-stat:first-child { border-left: 0; padding-left: 0; }
.dmf-stat__num { font-family: var(--dmf-head); font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dmf-stat__num small { font-family: var(--dmf-mono); font-size: 0.32em; letter-spacing: 0.04em; color: var(--dmf-accent); margin-left: 6px; text-transform: uppercase; }
.dmf-stat__label { font-family: var(--dmf-mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dmf-muted); }

/* ---------- Samples ---------- */
.dmf-samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.dmf-sample { display: flex; flex-direction: column; gap: 12px; }
.dmf-sample:nth-child(even) { margin-top: 80px; }
.dmf-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--dmf-surface); border: 1px solid var(--dmf-line); border-radius: var(--dmf-radius); overflow: hidden; }
.dmf-thumb__n { position: absolute; top: 14px; left: 16px; z-index: 3; font-family: var(--dmf-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--dmf-text); background: rgba(13, 13, 13, 0.7); padding: 3px 8px; border-radius: 2px; pointer-events: none; }
.dmf-sample__kicker { font-family: var(--dmf-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dmf-accent); margin-top: 8px; }
.dmf-sample__title { font-family: var(--dmf-body); font-weight: 600; font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; }

/* ---------- Problem ---------- */
.dmf-pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--dmf-line); }
.dmf-pain { padding: 36px 32px 8px 0; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--dmf-line); }
.dmf-pain + .dmf-pain { padding-left: 32px; }
.dmf-pain:last-child { border-right: 0; }
.dmf-pain__n { font-family: var(--dmf-head); font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--dmf-line2); }
.dmf-pain p { color: var(--dmf-muted); }
.dmf-redact { position: relative; display: inline; background: linear-gradient(var(--dmf-text), var(--dmf-text)) no-repeat 100% 50% / 0% 100%; }
.js .dmf-redact { background-size: 100% 100%; color: transparent; transition: background-size 0.8s var(--dmf-ease) 0.1s, color 0s 0.5s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.js .is-in .dmf-redact { background-size: 0% 100%; color: var(--dmf-text); }

/* ---------- Pipeline ---------- */
.dmf-pipeline { background: var(--dmf-bg2); border-top: 1px solid var(--dmf-line); border-bottom: 1px solid var(--dmf-line); }
.dmf-pipeline__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; padding-top: 128px; padding-bottom: 128px; }
.dmf-pipeline__intro { display: flex; flex-direction: column; gap: 20px; align-self: start; position: sticky; top: 140px; }
.dmf-pipeline__count { font-family: var(--dmf-mono); font-size: 14px; letter-spacing: 0.1em; color: var(--dmf-dim); margin-top: 16px; }
.dmf-pipeline__count span { color: var(--dmf-accent); font-size: 40px; font-family: var(--dmf-head); letter-spacing: -0.02em; margin-right: 6px; }
.dmf-steps-v-wrap { position: relative; padding-left: 40px; }
.dmf-steps-v__rail { position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--dmf-line2); }
.dmf-steps-v__rail span { position: absolute; inset: 0; background: var(--dmf-accent); transform-origin: top; transform: scaleY(0); }
.dmf-steps-v { list-style: none; padding: 0; display: flex; flex-direction: column; }
.dmf-step-v { position: relative; display: flex; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--dmf-line); opacity: 0.38; transition: opacity 0.5s ease; }
.dmf-step-v:first-child { padding-top: 0; }
.dmf-step-v::before { content: ''; position: absolute; left: -38px; top: 42px; width: 11px; height: 11px; border-radius: 50%; background: var(--dmf-bg2); border: 1.5px solid var(--dmf-line2); transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; }
.dmf-step-v:first-child::before { top: 8px; }
.dmf-step-v.is-active { opacity: 1; }
.dmf-step-v.is-active::before { background: var(--dmf-accent); border-color: var(--dmf-accent); box-shadow: 0 0 0 6px rgba(240, 78, 35, 0.18); }
.no-js .dmf-step-v, .dmf-step-v.is-static { opacity: 1; }
.dmf-step-v__n { font-family: var(--dmf-mono); font-size: 14px; color: var(--dmf-accent); min-width: 28px; padding-top: 4px; }
.dmf-step-v__body { display: flex; flex-direction: column; gap: 6px; }
.dmf-step-v__body strong { font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.dmf-step-v__body span { color: var(--dmf-muted); }

/* ---------- Comparison ---------- */
.dmf-table-wrap { overflow-x: auto; border: 1px solid var(--dmf-line); border-radius: var(--dmf-radius); }
.dmf-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 16px; }
.dmf-table th, .dmf-table td { text-align: left; padding: 22px 24px; border-bottom: 1px solid var(--dmf-line); vertical-align: top; }
.dmf-table tbody tr:last-child th, .dmf-table tbody tr:last-child td { border-bottom: 0; }
.dmf-table thead th { font-family: var(--dmf-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dmf-dim); }
.dmf-table tbody th { font-weight: 600; width: 30%; }
.dmf-table td { color: var(--dmf-muted); }
.dmf-table .dmf-table__us { background: rgba(240, 78, 35, 0.07); color: var(--dmf-text); font-weight: 500; }
.dmf-table thead .dmf-table__us { color: var(--dmf-accent); }
.dmf-table td .dmf-ico { display: inline-flex; vertical-align: -3px; margin-right: 10px; }
.dmf-ico--no { color: var(--dmf-dim); }
.dmf-ico--yes { color: var(--dmf-accent); }
.dmf-table tbody tr { transition: background 0.25s ease; }
.dmf-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

/* ---------- Steps (how to start) ---------- */
.dmf-band { background: var(--dmf-bg2); border-top: 1px solid var(--dmf-line); border-bottom: 1px solid var(--dmf-line); }
.dmf-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; }
.dmf-steps::before { content: ''; position: absolute; left: 0; right: 0; top: 36px; height: 1px; background: linear-gradient(90deg, var(--dmf-accent), var(--dmf-line2) 70%); transform-origin: 0 50%; transform: scaleX(var(--dmf-line-p, 1)); }
.dmf-steps li { display: flex; flex-direction: column; gap: 14px; position: relative; }
.dmf-steps__n {
	width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
	font-family: var(--dmf-head); font-size: 30px; background: var(--dmf-bg2); border: 1px solid var(--dmf-line2); position: relative; margin-bottom: 10px;
}
.dmf-steps li:first-child .dmf-steps__n { background: var(--dmf-accent); color: #0D0D0D; border-color: var(--dmf-accent); }
.dmf-steps p { color: var(--dmf-muted); }

/* ---------- Spotlight cards (guarantees, pricing) ---------- */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::before {
	content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
	background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 78, 35, 0.12), transparent 60%);
}
[data-spot]:hover::before { opacity: 1; }
.dmf-guarantees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--dmf-line); border: 1px solid var(--dmf-line); border-radius: var(--dmf-radius); overflow: hidden; }
.dmf-card { background: var(--dmf-bg); padding: 32px; display: flex; flex-direction: column; gap: 12px; transition: background 0.3s ease; }
.dmf-card__title { display: flex; align-items: center; gap: 12px; color: var(--dmf-accent); }
.dmf-card__title strong { color: var(--dmf-text); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.dmf-card p { color: var(--dmf-muted); font-size: 16px; }
.dmf-draw { stroke-dasharray: 14; stroke-dashoffset: 0; transition: stroke-dashoffset 0.6s var(--dmf-ease) 0.2s; }
.js [data-reveal]:not(.is-in) .dmf-draw { stroke-dashoffset: 14; }

/* ---------- Pricing ---------- */
.dmf-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.dmf-price { background: var(--dmf-bg); border: 1px solid var(--dmf-line); border-radius: var(--dmf-radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 22px; transition: border-color 0.3s ease, transform 0.4s var(--dmf-ease); }
.dmf-price:hover { border-color: var(--dmf-line2); transform: translateY(-4px); }
.dmf-price h3 { font-family: var(--dmf-mono); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dmf-muted); }
.dmf-price__amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.dmf-price__big { font-family: var(--dmf-head); font-size: 56px; line-height: 1; letter-spacing: -0.03em; }
.dmf-price__per { color: var(--dmf-dim); font-size: 15px; }
.dmf-price__was { color: var(--dmf-dim); font-size: 22px; text-decoration-color: var(--dmf-accent); text-decoration-thickness: 2px; }
.dmf-price ul { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--dmf-muted); }
.dmf-price li { padding-left: 22px; position: relative; }
.dmf-price li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 10px; height: 1px; background: var(--dmf-accent); }
.dmf-price .dmf-btn, .dmf-price__foot { margin-top: auto; }
.dmf-price__foot { font-size: 14px; color: var(--dmf-dim); }
.dmf-price--featured { border-color: var(--dmf-accent); background: linear-gradient(180deg, rgba(240, 78, 35, 0.08), var(--dmf-bg) 55%); box-shadow: 0 30px 80px -40px rgba(240, 78, 35, 0.45); }
.dmf-price--featured:hover { border-color: var(--dmf-accent); }
.dmf-spots { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dmf-spots__dots { display: flex; gap: 6px; }
.dmf-spots__dots i { width: 22px; height: 6px; background: var(--dmf-accent); border-radius: 1px; }
.dmf-spots__dots i.is-taken { background: var(--dmf-line2); }
.dmf-badge { font-family: var(--dmf-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dmf-accent); }
.dmf-addons { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; color: var(--dmf-muted); border-top: 1px solid var(--dmf-line); padding-top: 28px; }
.dmf-addons__label { font-family: var(--dmf-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dmf-text); padding-top: 2px; }

/* ---------- Founder ---------- */
.dmf-founder { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; align-items: center; }
.dmf-founder__photo { aspect-ratio: 4 / 5; background: var(--dmf-surface); border: 1px solid var(--dmf-line); border-radius: var(--dmf-radius); overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--dmf-mono); font-size: 12px; color: var(--dmf-dim); }
.dmf-founder__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter 0.8s ease, transform 1.2s var(--dmf-ease); }
.dmf-founder__photo:hover img { filter: grayscale(0) contrast(1.02); transform: scale(1.03); }
.dmf-founder__text { display: flex; flex-direction: column; gap: 24px; }
.dmf-quote { font-family: var(--dmf-body); font-weight: 600; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.3; letter-spacing: -0.015em; text-wrap: pretty; }
.dmf-quote .w { display: inline-block; }
.dmf-founder__name { font-family: var(--dmf-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dmf-muted); }
.dmf-founder__meta { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--dmf-line); padding-top: 20px; }
.dmf-now { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--dmf-text); font-size: 16px; }
.dmf-now i { width: 8px; height: 8px; border-radius: 50%; background: var(--dmf-accent); animation: dmfBlink 1.2s steps(2) infinite; }
.dmf-now span { font-family: var(--dmf-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dmf-muted); }
.dmf-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.dmf-copy { font-family: var(--dmf-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; background: transparent; border: 1px solid var(--dmf-line2); color: var(--dmf-text); padding: 8px 12px; min-height: 36px; border-radius: var(--dmf-radius); cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease; }
.dmf-copy:hover, .dmf-copy.is-done { border-color: var(--dmf-accent); color: var(--dmf-accent); }

/* ---------- FAQ ---------- */
.dmf-faq { max-width: 960px; }
.dmf-faq__list { border-top: 1px solid var(--dmf-line); }
.dmf-faq details { border-bottom: 1px solid var(--dmf-line); }
.dmf-faq summary {
	cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center;
	padding: 26px 0; min-height: 44px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; transition: color 0.2s ease;
}
.dmf-faq summary::-webkit-details-marker { display: none; }
.dmf-faq summary:hover { color: var(--dmf-accent); }
.dmf-faq summary svg { flex: 0 0 auto; color: var(--dmf-accent); transition: transform 0.35s var(--dmf-ease); }
.dmf-faq details[open] summary svg { transform: rotate(45deg); }
.dmf-faq__a { overflow: hidden; }
.dmf-faq__a p { color: var(--dmf-muted); padding-bottom: 26px; max-width: 760px; }

/* ---------- Final CTA / form ---------- */
.dmf-final { position: relative; overflow: hidden; }
.dmf-final::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 60% at 20% 60%, rgba(240, 78, 35, 0.12), transparent 70%); }
.dmf-final__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; flex-direction: unset; }
.dmf-final__copy { display: flex; flex-direction: column; gap: 24px; }
.dmf-ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.dmf-ticks li { display: flex; gap: 12px; align-items: center; }
.dmf-ticks svg { color: var(--dmf-accent); }
.dmf-formbox { background: var(--dmf-surface); border: 1px solid var(--dmf-line2); border-radius: var(--dmf-radius); padding: 36px; box-shadow: 0 40px 100px -50px #000; }
.dmf-form { display: flex; flex-direction: column; gap: 22px; }
.dmf-form__head { display: flex; justify-content: space-between; font-family: var(--dmf-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dmf-dim); border-bottom: 1px solid var(--dmf-line); padding-bottom: 16px; }
.dmf-form__head span:first-child { color: var(--dmf-accent); }
.dmf-field { display: flex; flex-direction: column; gap: 8px; }
.dmf-field label { font-family: var(--dmf-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dmf-muted); }
.dmf-field input {
	font: inherit; font-size: 17px; color: var(--dmf-text); background: var(--dmf-bg); padding: 15px 16px; min-height: 54px;
	border: 1px solid var(--dmf-line2); border-radius: var(--dmf-radius); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dmf-field input::placeholder { color: #6E6E69; }
.dmf-field input:focus { outline: none; border-color: var(--dmf-accent); box-shadow: 0 0 0 4px rgba(240, 78, 35, 0.18); }
.dmf-field:focus-within label { color: var(--dmf-accent); }
.dmf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dmf-privacy { font-size: 13px; color: var(--dmf-dim); }
.dmf-error { background: rgba(240, 78, 35, 0.12); border: 1px solid var(--dmf-accent); color: var(--dmf-text); padding: 12px 14px; border-radius: var(--dmf-radius); font-size: 15px; }
.dmf-success { display: flex; flex-direction: column; gap: 14px; padding: 16px 0; color: var(--dmf-accent); }
.dmf-success h3 { font-family: var(--dmf-head); font-weight: 400; font-size: 32px; color: var(--dmf-text); }
.dmf-success p { color: var(--dmf-muted); }
.dmf-pop { animation: dmfPop 0.5s var(--dmf-ease) both; }
@keyframes dmfPop { 0% { opacity: 0; transform: scale(0.6); } 70% { transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }

/* ---------- Footer ---------- */
.dmf-footer { border-top: 1px solid var(--dmf-line); padding: 72px 0 40px; overflow: hidden; }
.dmf-footer__word {
	font-family: var(--dmf-head); text-transform: uppercase; font-size: clamp(34px, 6.9vw, 100px); line-height: 0.9; letter-spacing: -0.04em;
	color: transparent; -webkit-text-stroke: 1px var(--dmf-line2); white-space: nowrap; margin-bottom: 48px; user-select: none;
}
.dmf-footer__row { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; font-size: 14px; color: var(--dmf-dim); }
.dmf-footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.dmf-footer a { color: var(--dmf-muted); }
.dmf-footer a:hover { color: var(--dmf-accent); }

/* Sticky mobile CTA */
.dmf-stickycta {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 85; display: none; align-items: center; justify-content: center;
	min-height: 54px; background: var(--dmf-accent); color: #0D0D0D; text-decoration: none; border-radius: var(--dmf-radius);
	font-family: var(--dmf-mono); font-weight: 500; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase;
	box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8); transform: translateY(140%); transition: transform 0.45s var(--dmf-ease);
}
.dmf-stickycta.is-on { transform: none; }
.dmf-stickycta:hover { color: #0D0D0D; }

/* ---------- Lightbox ---------- */
.dmf-lightbox { width: min(1100px, 94vw); max-width: none; padding: 0; border: 1px solid var(--dmf-line2); border-radius: var(--dmf-radius); background: #000; color: var(--dmf-text); }
.dmf-lightbox::backdrop { background: rgba(5, 5, 5, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dmf-lightbox[open] { animation: dmfZoom 0.4s var(--dmf-ease); }
@keyframes dmfZoom { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.dmf-lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--dmf-line); }
.dmf-lightbox__title { font-family: var(--dmf-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dmf-muted); }
.dmf-lightbox__close { background: transparent; border: 1px solid var(--dmf-line2); color: var(--dmf-text); border-radius: var(--dmf-radius); min-height: 40px; padding: 6px 14px; cursor: pointer; font-family: var(--dmf-mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.dmf-lightbox__close:hover { border-color: var(--dmf-accent); color: var(--dmf-accent); }
.dmf-lightbox__frame { aspect-ratio: 16 / 9; }
.dmf-lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Legal / other pages ---------- */
.dmf-content { padding-top: 96px; padding-bottom: 96px; max-width: 800px; }
.dmf-content h1 { font-family: var(--dmf-head); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 32px; text-transform: uppercase; }
.dmf-content h2 { font-size: 24px; font-weight: 700; line-height: 1.25; margin: 44px 0 12px; }
.dmf-content p { margin-bottom: 1em; color: var(--dmf-muted); }
.dmf-content ul { padding-left: 20px; margin: 0 0 1em; color: var(--dmf-muted); }
.dmf-content li { margin-bottom: 6px; }
.dmf-content mark { background: rgba(240, 78, 35, 0.2); color: var(--dmf-text); padding: 0 4px; }
.dmf-content .dmf-updated { color: var(--dmf-dim); font-size: 15px; font-family: var(--dmf-mono); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.dmf-hero__grid { grid-template-columns: 1fr; gap: 48px; }
	.dmf-hero { min-height: 0; }
	.dmf-pipeline__grid { grid-template-columns: 1fr; gap: 48px; }
	.dmf-pipeline__intro { position: static; }
	.dmf-guarantees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dmf-prices { grid-template-columns: 1fr; max-width: 560px; }
	.dmf-final__grid { grid-template-columns: 1fr; }
	.dmf-founder { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.dmf-wrap { padding: 0 20px; }
	.dmf-section, .dmf-pipeline__grid { padding-top: 88px; padding-bottom: 88px; gap: 40px; }
	.dmf-hero { padding: 48px 0 40px; }
	.dmf-hide-sm { display: none; }
	.dmf-show-sm { display: inline; }
	.dmf-logo__mark { width: 30px; height: 30px; font-size: 19px; }
	.dmf-btn--lg { font-size: 14px; padding: 16px 18px; width: 100%; }
	.dmf-table-wrap { overflow: visible; border: 0; }
	.dmf-table { min-width: 0; }
	.dmf-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.dmf-table, .dmf-table tbody, .dmf-table tr, .dmf-table th, .dmf-table td { display: block; width: 100%; }
	.dmf-table tbody tr { border: 1px solid var(--dmf-line); border-radius: var(--dmf-radius); margin-bottom: 12px; overflow: hidden; }
	.dmf-table tbody th { width: 100%; padding: 16px 18px 6px; border: 0; }
	.dmf-table td { padding: 10px 18px 14px; border: 0; }
	.dmf-table td::before { content: attr(data-label); display: block; font-family: var(--dmf-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dmf-dim); margin-bottom: 4px; }
	.dmf-table td.dmf-table__us::before { color: var(--dmf-accent); }
	.dmf-logo__name { font-size: 14px; }
	.dmf-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dmf-stat { padding: 28px 16px; border-left: 0; border-top: 1px solid var(--dmf-line); }
	.dmf-stat:nth-child(-n+2) { border-top: 0; }
	.dmf-stat:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--dmf-line); }
	.dmf-samples { grid-template-columns: 1fr; gap: 40px; }
	.dmf-sample:nth-child(even) { margin-top: 0; }
	.dmf-pains { grid-template-columns: 1fr; }
	.dmf-pain, .dmf-pain + .dmf-pain { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--dmf-line); }
	.dmf-steps { grid-template-columns: 1fr; gap: 32px; }
	.dmf-steps::before { display: none; }
	.dmf-guarantees { grid-template-columns: 1fr; }
	.dmf-founder { grid-template-columns: 1fr; }
	.dmf-founder__photo { max-width: 240px; }
	.dmf-formbox { padding: 24px 20px; }
	.dmf-stickycta { display: flex; }
	.dmf-scroll { display: none; }
	.dmf-rec { left: 36px; top: 18px; }
	.dmf-player__tag { display: none; }
	.dmf-play { width: 56px; height: 56px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
	.dmf-grain { display: none; }
	.dmf-ticker__track { animation: none; }
	.dmf-step-v { opacity: 1; }
}
