/*
Theme Name: FLOYD v13
Theme URI: https://floyd.kr
Author: FLOYD inc.
Description: Renewal v13 — the "FLOYD Renewal v11-1 (standalone)" design from Claude Design, implemented as a lightweight theme.
Version: 13.1.25
Requires at least: 6.1
Requires PHP: 5.6
Text Domain: floyd-v13
*/

/* ---------- 1. Tokens (v11-1 standalone) ---------- */
:root {
	--bg: #111113;
	--surface: #1C1C1E;
	--surface-2: #2A2A2D;
	--line: #333336;
	--text: #E5E5E5;
	--muted: #8E8E93;
	--muted-2: #B0B0B5;
	--hot: #FF7A2F;
	--hot-2: #FF9559;
	--panel: #0A0A0A;

	--font: "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;

	--gutter: clamp(20px, 5vw, 72px);
	--left: clamp(20px, 14vw, 240px);
	--band: clamp(72px, 11vh, 104px);
	--card-h: clamp(124px, 19vh, 150px);
	--card-b: clamp(96px, 17vh, 160px);
	--card-w: min(30vw, 420px);
	--title-top: clamp(84px, 13vh, 120px);
	--title-bottom: calc(var(--card-b) + var(--card-h) + 24px);

	--ease-out: cubic-bezier(.2, .8, .2, 1);
	--ease-track: cubic-bezier(.7, 0, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { background: #000; }
body {
	margin: 0;
	background: #000;
	color: var(--text);
	font-family: var(--font);
	-webkit-font-smoothing: antialiased;
	word-break: keep-all;
	overflow-wrap: break-word;
}
button, input, textarea, select { font-family: inherit; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--hot); }
:focus-visible { outline: 1px solid var(--hot); outline-offset: 3px; }
.fv-sp { flex: 1; }

/* ---------- 3. Root, split background, weather band, header ---------- */
.fv-root { position: relative; background: var(--bg); color: var(--text); }
.fv-split { position: absolute; top: 0; bottom: 0; left: 50%; right: 0; background: var(--surface); }

.fv-band {
	position: absolute; top: 0; left: 0; right: 0;
	height: var(--band); overflow: hidden;
	background: var(--surface); border-bottom: 1px solid rgba(229, 229, 229, .12);
}
.fv-wx-layer {
	position: absolute; inset: -3%;
	background-size: cover; background-position: 30% 70%;
	opacity: 0; transform: scale(1);
	transition: opacity 1400ms ease, transform 12s ease-out;
}
.fv-wx-layer.is-on { opacity: .7; transform: scale(1.03); }
.fv-wx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fv-band-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, .55) 0, rgba(10, 10, 10, .2) 40%, rgba(10, 10, 10, .3) 100%); }

.fv-head {
	position: absolute; top: 0; left: 0; right: 0; z-index: 20;
	height: var(--band); padding: 0 var(--gutter);
	display: flex; align-items: center; gap: 20px;
}
.fv-brand { display: flex; align-items: center; gap: 10px; }
.fv-brand img { display: block; width: 28px; height: 24px; object-fit: contain; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
.fv-brand span { font-weight: 800; font-size: 20px; letter-spacing: .16em; color: var(--hot); }
.fv-brand:hover { color: inherit; }

.fv-wx {
	display: flex; align-items: center; gap: 14px;
	height: 44px; padding: 0 16px;
	border-left: 1px solid rgba(229, 229, 229, .18); border-right: 1px solid rgba(229, 229, 229, .18);
}
.fv-wx-temp { font-weight: 200; font-size: 30px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fv-wx-txt { display: flex; flex-direction: column; gap: 3px; }
.fv-wx-place { font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.fv-wx-meta { font-weight: 600; font-size: 10px; letter-spacing: .14em; color: var(--muted-2); }

.fv-lang { display: flex; gap: 2px; font-weight: 600; font-size: 12px; letter-spacing: .1em; }
.fv-lang a { display: flex; align-items: center; height: 32px; padding: 0 10px; color: var(--muted); }
.fv-lang a[aria-current] { color: var(--text); }

.fv-burger {
	width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
	display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px;
}
.fv-burger span { display: block; height: 3px; background: var(--text); }
.fv-burger span:nth-child(1), .fv-burger span:nth-child(3) { width: 36px; }
.fv-burger span:nth-child(2) { width: 28px; }
.fv-burger span:nth-child(4) { width: 18px; }

/* ---------- 4. Without JS: slides stacked ---------- */
.fv-arrow, .fv-card, .fv-dots, .fv-split { display: none; }
html:not(.js) .fv-band, html:not(.js) .fv-head { position: fixed; z-index: 20; }
html:not(.js) .fv-band { z-index: 19; }
html:not(.js) .fv-slide { position: relative; padding: calc(var(--band) + 40px) 20px 40px; border-bottom: 1px solid var(--line); }
html:not(.js) .fv-stage { position: relative; height: 50vw; margin-top: 24px; }
html:not(.js) .fv-grid { display: none; }
html:not(.js) .fv-actions { display: none; }
.fv-more > summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 12px; letter-spacing: .14em; }
.fv-more .fv-d-title { display: none; }

/* ---------- 5. Deck ---------- */
html.js, html.js body { height: 100%; overflow: hidden; overscroll-behavior-x: none; } /* pull down still refreshes; a sideways swipe never turns into the browser's back / forward */
.js .fv-root {
	position: fixed; left: 0; right: 0; bottom: 0; top: var(--wp-admin--admin-bar--height, 0px);
	min-height: 520px; overflow: hidden; overflow: clip; /* clip: focus and #anchors must never scroll the deck */
	/* pinch zoom stays the browser's; swipes left/right change slides (floyd.js, touch events) */
	touch-action: manipulation; user-select: none;
}
.js .fv-split { display: block; }
.js .fv-more { display: none; }

.js .fv-track {
	position: absolute; inset: 0;
	display: flex;
	transform: translateX(calc(var(--i, 0) * -100%));
	transition: transform 820ms var(--ease-track);
}
.js .fv-slide { position: relative; flex: none; width: 100%; height: 100%; }

/* Title column */
.fv-title { display: flex; flex-direction: column; gap: 14px; }
.js .fv-title {
	position: absolute; left: var(--left); top: var(--title-top); bottom: var(--title-bottom); z-index: 3;
	max-width: 26vw;
	justify-content: flex-end;
	opacity: 0; transform: translateX(calc(var(--dir, 1) * 60px));
	transition: opacity 600ms ease 280ms, transform 800ms var(--ease-out) 280ms;
}
.fv-kicker { margin: 0; font-weight: 600; font-size: 12px; letter-spacing: .16em; color: var(--muted); }
/* task · maturity kickers, long titles and value notes: wrap before the image frame (stage centre − 36% of stage width) */
@media (min-width: 760px) {
	.js .fv-slide--product .fv-kicker, .js .fv-slide--list .fv-kicker,
	.js .fv-slide--product .fv-value, .js .fv-slide--list .fv-value,
	.js .fv-slide--product .fv-h, .js .fv-slide--list .fv-h {
		max-width: calc(50vw - .36 * min(100vw - 2 * var(--card-w) - 48px, 56vh, 560px) - var(--left) - 24px);
	}
}
/* Every slide's text starts where the cover's text starts: floyd.js measures the cover column and sets --text-top (desktop only). */
@media (min-width: 760px) {
	.js .fv-slide--product .fv-title, .js .fv-slide--list .fv-title {
		top: var(--text-top, var(--title-top));
		justify-content: flex-start;
	}
}
.fv-h { margin: 0; font-weight: 700; font-size: clamp(28px, min(4.4vw, 6.4vh), 68px); line-height: 1.12; letter-spacing: -.03em; }
.fv-h > span { display: block; }
/* Product / list slides: title column one step (≈25%) larger than the standalone design (2026-11-11); the cover is unchanged */
.fv-slide--product .fv-title, .fv-slide--list .fv-title { gap: 18px; }
.fv-slide--product .fv-kicker, .fv-slide--list .fv-kicker { font-size: 15px; }
.fv-slide .fv-h { font-size: clamp(35px, min(5.5vw, 8vh), 85px); }
.fv-cta {
	display: inline-flex; align-items: center; height: 50px; padding: 0 25px;
	border: 0; border-radius: 3px; background: var(--hot); color: #000;
	font-weight: 700; font-size: 15px; letter-spacing: .14em; cursor: pointer;
}
.fv-cta:hover { background: var(--hot-2); color: #000; }
.fv-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fv-manual {
	display: inline-flex; align-items: center; height: 50px; padding: 0 22px;
	border: 1px solid rgba(255, 255, 255, .55); border-radius: 3px; color: #FFF;
	font-weight: 600; font-size: 15px; letter-spacing: .04em; white-space: nowrap;
	transition: border-color .2s ease, color .2s ease;
}
.fv-manual:hover { border-color: var(--hot); color: var(--hot); }
.fv-docs { display: flex; flex-wrap: wrap; gap: 10px; flex-basis: 100%; }
.fv-docs .fv-manual { height: 40px; padding: 0 16px; font-size: 13px; }
.fv-out { display: inline-block; width: .66em; height: .66em; margin-left: .45em; vertical-align: .05em; flex: none; }
.fv-value { margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fv-value .fv-num { font-weight: 800; font-size: 28px; letter-spacing: -.02em; color: var(--hot); }
.fv-value > span:last-child { font-size: 16px; color: var(--muted); }

/* Stage: orange ring + image frame / list panel */
.js .fv-stage {
	position: absolute; left: 50%; top: 50%;
	width: min(calc(100vw - 2 * var(--card-w) - 48px), 56vh, 560px);
	height: min(30vw, 46vh, 460px);
	transform: translate(-50%, -50%);
}
.fv-ring {
	position: absolute; left: 4%; top: -6%; width: 62%; aspect-ratio: 1;
	border: clamp(8px, 1.1vw, 16px) solid var(--hot); border-radius: 50%;
	opacity: 0; transform: scale(.7) rotate(calc(var(--dir, 1) * 40deg));
	transition: opacity 600ms ease 200ms, transform 900ms var(--ease-out) 200ms;
}
.fv-frame-wrap {
	position: absolute; left: 14%; right: 0; top: 18%; bottom: 0;
	opacity: 0; transform: translateX(calc(var(--dir, 1) * 120px));
	transition: opacity 700ms ease 120ms, transform 900ms var(--ease-out) 120ms;
}
/* Wide frame for one slide (site.json "wide": true, e.g. a long diagram). Desktop only:
   starts where the normal frame starts (stage centre − 36 % of stage width), runs to the next arrow,
   top aligned with the title text (--text-top), bottom above the prev / next cards, and keeps the image ratio (--ratio).
   site.json "large": true (ROVI-Inspection, a 4:3 screen recording) uses the same frame on desktop only; phones keep the normal 4:3 window. */
@media (min-width: 760px) {
	.js .fv-slide--wide .fv-stage, .js .fv-slide--large .fv-stage {
		left: calc(50vw - .36 * min(100vw - 2 * var(--card-w) - 48px, 56vh, 560px));
		right: calc(var(--gutter) + 64px);
		top: var(--text-top, var(--title-top)); bottom: var(--title-bottom);
		width: auto; height: auto; transform: none;
		container-type: size;
	}
	.fv-slide--wide .fv-frame-wrap, .js .fv-slide--large .fv-frame-wrap {
		right: auto; bottom: auto; left: 0; top: 0;
		width: min(100cqw, 100cqh * (var(--ratio, 2 / 1)));
		aspect-ratio: var(--ratio, 2 / 1);
	}
}
html:not(.js) .fv-ring, html:not(.js) .fv-frame-wrap, html:not(.js) .fv-title { opacity: 1; transform: none; }
.is-on .fv-title, .is-on .fv-ring, .is-on .fv-frame-wrap { opacity: 1; transform: none; }

.fv-frame { position: absolute; inset: 0; background: var(--frame, var(--panel)); box-shadow: 0 40px 70px rgba(0, 0, 0, .6); overflow: hidden; }
.fv-frame--bare { background: transparent; box-shadow: none; }
.fv-frame--svg > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; } /* site.json "svg" — inline animated diagram */ /* site.json "frame": "transparent" — the page background shows through the image */
.fv-img {
	position: absolute; top: var(--inset, 0%); left: var(--inset, 0%);
	width: calc(100% - 2 * var(--inset, 0%)); height: calc(100% - 2 * var(--inset, 0%));
	object-fit: var(--fit, cover); object-position: var(--pos, 50% 50%);
	display: block;
}
video.fv-img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; } /* no "save video" on long-press (13.1.19) */

.fv-panel {
	position: absolute; inset: 0; margin: 0; list-style: none;
	background: var(--panel); box-shadow: 0 40px 70px rgba(0, 0, 0, .6);
	padding: clamp(16px, 2vw, 28px);
	display: flex; flex-direction: column; justify-content: center;
}
.fv-panel li {
	display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: baseline;
	padding: clamp(8px, 1.4vh, 14px) 0; border-top: 1px solid var(--line);
}
.fv-panel b { font-weight: 800; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -.03em; color: var(--text); }
.fv-panel .is-hot b { color: var(--hot); }
.fv-panel span { font-size: clamp(13px, 1.1vw, 15px); font-weight: 600; line-height: 1.4; }

/* Cover: title column + 4×2 product grid */
/* Region: right half, between the weather band and the prev / next cards. Tiles are as large as both the
   width (--cols) and the height (--rows) allow; render.php sets --cols / --rows (site.json "coverColumns"). */
.fv-grid {
	position: absolute; z-index: 2;
	left: 54vw; right: calc(var(--gutter) + 64px);
	top: calc(var(--band) + 24px); bottom: calc(var(--card-b) + var(--card-h) + 16px);
	--gap: 8px;
	--tile: min(
		(46vw - var(--gutter) - 64px - (var(--cols, 6) - 1) * var(--gap)) / var(--cols, 6),
		(100vh - var(--band) - 40px - var(--card-b) - var(--card-h) - (var(--rows, 3) - 1) * var(--gap)) / var(--rows, 3) * 4 / 3
	);
	display: grid; grid-template-columns: repeat(var(--cols, 6), var(--tile)); gap: var(--gap);
	justify-content: center; align-content: center;
	opacity: 0; transition: opacity 600ms ease;
	pointer-events: none;
}
.fv-thumb--lead { grid-column-start: var(--start, auto); }
.is-on .fv-grid { opacity: 1; }
.fv-thumb {
	position: relative; display: block;
	border: 1px solid var(--line); aspect-ratio: 4 / 3; overflow: hidden;
	background: var(--panel);
	--fit: cover; --inset: 0%;
}
.fv-thumb-no {
	position: absolute; left: 4px; top: 4px; padding: 1px 4px;
	background: rgba(10, 10, 10, .82); color: var(--text);
	font-weight: 700; font-size: 9px; letter-spacing: .06em; white-space: nowrap;
}
.js .fv-cover-col {
	max-width: min(560px, 42vw);
	justify-content: safe center; gap: 18px;
}
.fv-h--cover { margin: 0; font-weight: 100; font-size: clamp(40px, min(7vw, 9vh), 110px); line-height: 1; letter-spacing: .08em; color: #FFF; }
.fv-hero { margin: 0; font-weight: 300; font-size: clamp(18px, min(2.4vw, 4.4vh), 34px); line-height: 1.3; letter-spacing: -.02em; color: #FFF; }
.fv-hero span { display: block; }
.fv-cover-lead { margin: 0; max-width: 40ch; font-size: 15px; line-height: 1.7; color: var(--muted-2); }
.fv-slogan { margin: 0; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fv-slogan b { font-weight: 700; color: var(--muted-2); }
.fv-btn-outline {
	display: inline-flex; align-items: center; height: 40px; padding: 0 20px;
	border: 1px solid rgba(255, 255, 255, .6); border-radius: 0; background: transparent; color: #FFF;
	font-weight: 600; font-size: 12px; letter-spacing: .14em; white-space: nowrap; cursor: pointer;
	transition: background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.fv-btn-outline:hover { background: var(--hot); border-color: var(--hot); color: #000; box-shadow: 0 0 24px rgba(255, 122, 47, .45); }

/* Arrows + prev / next */
.js .fv-arrow {
	display: block; position: absolute; top: 50%; z-index: 10; transform: translateY(-50%);
	width: 48px; height: 48px; border: 0; background: transparent; color: var(--text);
	font-size: 30px; line-height: 1; cursor: pointer;
}
.js .fv-arrow:hover { color: var(--hot); }
.fv-arrow--next { right: var(--gutter); }
.fv-arrow--prev { left: clamp(8px, 2vw, 28px); }
.fv-root[data-first] .fv-arrow--prev { color: var(--line); }

.js .fv-card {
	display: flex; align-items: center; gap: 20px;
	position: absolute; bottom: var(--card-b); z-index: 5;
	width: var(--card-w); height: var(--card-h); overflow: hidden;
	border: 0; background: transparent; color: var(--text); text-align: left; cursor: pointer;
}
.fv-card--prev { left: 0; padding: 20px clamp(16px, 2vw, 28px) 20px var(--left); }
.fv-card--next { right: 0; padding: 20px var(--gutter) 20px clamp(16px, 2vw, 28px); }
.fv-card-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.fv-card-k { font-weight: 600; font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.fv-card--prev .fv-card-k { color: var(--muted-2); }
.fv-card-n { font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.fv-card-go {
	flex: none; width: 44px; height: 44px; border: 1.5px solid var(--muted); border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.fv-card-go span { width: 0; height: 0; margin-left: 3px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid var(--hot); }

/* Position bar: bars + the orange triangle on the current slide */
.js .fv-dots {
	display: flex; align-items: center; gap: 8px;
	position: absolute; left: 50%; bottom: clamp(20px, 5vh, 48px); z-index: 6;
	transform: translateX(-50%);
	touch-action: none; cursor: grab; user-select: none;
}
.fv-dots.is-scrub { cursor: grabbing; }
/* copyright, on every slide: centred under the slide bars */
.fv-foot { padding: 24px 20px; text-align: center; font-weight: 500; font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.js .fv-foot {
	position: absolute; left: 0; right: 0; z-index: 6; padding: 0;
	bottom: max(4px, calc(clamp(20px, 5vh, 48px) - 20px));
	pointer-events: none;
}
.fv-dot {
	width: 30px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: width 400ms ease;
}
.fv-dot-bar { display: block; width: 26px; height: 3px; background: var(--line); transition: background 400ms ease; }
.fv-dot.is-past .fv-dot-bar { background: var(--muted); }
.fv-dot-tri { display: none; width: 24px; height: auto; color: var(--hot); filter: drop-shadow(0 0 6px rgba(255, 122, 47, .6)); }
.fv-dot[aria-current="true"] { width: 28px; }
.fv-dot[aria-current="true"] .fv-dot-bar { display: none; }
.fv-dot[aria-current="true"] .fv-dot-tri { display: block; }
.fv-counter { margin-left: 10px; font-weight: 600; font-size: 12px; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- 6. Menu ---------- */
.fv-menu {
	position: absolute; inset: 0; z-index: 30;
	background: rgba(0, 0, 0, .95);
	padding: clamp(88px, 13vh, 120px) var(--gutter) 40px var(--left);
	overflow-y: auto; overscroll-behavior: contain;
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(24px, 5vw, 80px); align-content: safe center; /* taller than the screen: starts at the top and scrolls */
}
html:not(.js) .fv-menu { position: fixed; }
.fv-menu a {
	display: grid; grid-template-columns: 44px minmax(40%, 1fr) minmax(0, auto); gap: 14px; align-items: baseline; /* the name keeps room; a long (English) tier wraps */
	padding: clamp(10px, 1.8vh, 18px) 0; border-top: 1px solid var(--line); color: var(--text);
}
.fv-menu a:hover, .fv-menu a[aria-current="true"] { color: var(--hot); }
.fv-menu-no { font-weight: 800; font-size: 14px; color: var(--muted); }
.fv-menu a[aria-current="true"] .fv-menu-no { color: var(--hot); }
.fv-menu-name { font-weight: 700; font-size: clamp(20px, min(2.4vw, 4vh), 32px); line-height: 1.1; letter-spacing: -.03em; }
.fv-menu-tier { font-weight: 600; font-size: 11px; letter-spacing: .14em; line-height: 1.5; color: var(--muted); text-align: right; }
@media (min-width: 1100px) {
	.fv-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 7. Detail drawer ---------- */
.fv-scrim { position: absolute; inset: 0; z-index: 40; background: rgba(0, 0, 0, .55); animation: fv-fade 300ms ease both; }
.fv-drawer {
	position: absolute; top: 0; right: 0; bottom: 0; z-index: 41;
	width: min(640px, 52vw);
	background: var(--surface); border-left: 1px solid var(--line);
	overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
	overscroll-behavior: contain;
	user-select: text;
	animation: fv-slide-in 520ms var(--ease-out) both;
}
.fv-drawer:focus { outline: none; }
.fv-drawer-bar {
	position: sticky; top: 0; z-index: 2;
	height: 72px; padding: 0 clamp(20px, 3vw, 40px);
	display: flex; align-items: center; gap: 16px;
	background: var(--surface); border-bottom: 1px solid var(--line);
}
.fv-drawer-no { font-weight: 800; font-size: 24px; letter-spacing: -.03em; color: var(--hot); }
.fv-drawer-tier { font-weight: 600; font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.fv-sq { width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 16px; cursor: pointer; }
.fv-sq:hover { border-color: var(--muted); }
.fv-sq--fill { border: 0; background: var(--surface-2); }
.fv-sq--fill:hover { background: var(--line); }
.fv-drawer-body { padding: clamp(24px, 4vh, 44px) clamp(20px, 3vw, 40px) 56px; }

.fv-detail { display: flex; flex-direction: column; gap: 24px; }
.fv-d-title { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; font-size: clamp(34px, 3.6vw, 54px); }
.fv-d-title span { display: block; }
.fv-d-tag { margin: 0; font-weight: 600; font-size: 18px; line-height: 1.5; letter-spacing: -.02em; }
.fv-d-aim { margin: 0; font-size: 15px; line-height: 1.75; color: var(--muted-2); }
.fv-d-value {
	display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: baseline;
	padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.fv-d-value .fv-num { font-weight: 800; font-size: clamp(32px, 3.2vw, 48px); line-height: 1; letter-spacing: -.04em; color: var(--hot); }
.fv-d-value > span:last-child { font-size: 14px; line-height: 1.6; color: var(--muted); }
.fv-group { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.fv-label { margin: 0; font-weight: 600; font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.fv-flow { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fv-flow li { position: relative; padding: 9px 12px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.fv-flow li:last-child { border-color: var(--hot); }
.fv-flow li:not(:last-child) { margin-right: 22px; }
.fv-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -24px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 400; }
.fv-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fv-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.6; }
.fv-list li::before { content: "—"; color: var(--hot); flex: none; }
.fv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fv-table th, .fv-table td { padding: 9px 12px 9px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: baseline; line-height: 1.5; }
.fv-table th { width: 34%; font-weight: 600; color: var(--muted-2); }
.fv-table-note { padding-right: 0 !important; text-align: right !important; font-weight: 600; font-size: 11px; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.fv-table .is-hot td { color: var(--hot); }
.fv-ask {
	display: flex; align-items: center; justify-content: center;
	margin-top: 8px; height: 48px; border: 0; border-radius: 3px;
	background: var(--hot); color: #000; font-weight: 700; font-size: 13px; letter-spacing: .1em; cursor: pointer;
}
.fv-ask:hover { background: var(--hot-2); color: #000; }
.fv-ask--line { background: transparent; border: 1px solid rgba(255, 255, 255, .4); color: #FFF; }
.fv-ask--line:hover { background: transparent; border-color: var(--hot); color: var(--hot); }

/* Contact Form 7 */
.fv-form .wpcf7-form p { margin: 0 0 16px; font-size: 13px; color: var(--muted-2); }
.fv-form input[type="text"], .fv-form input[type="email"], .fv-form input[type="tel"], .fv-form input[type="url"], .fv-form textarea {
	width: 100%; margin-top: 4px; padding: 10px 12px;
	background: var(--panel); border: 1px solid var(--line); border-radius: 3px;
	color: var(--text); font-size: 15px; line-height: 1.6;
}
.fv-form textarea { min-height: 140px; resize: vertical; }
.fv-form input:focus, .fv-form textarea:focus { outline: none; border-color: var(--hot); }
.fv-form input[type="submit"] {
	height: 48px; padding: 0 24px; border: 0; border-radius: 3px;
	background: var(--hot); color: #000; cursor: pointer;
	font-weight: 700; font-size: 13px; letter-spacing: .1em;
}
.fv-form input[type="submit"]:hover { background: var(--hot-2); }
/* file field (CF7 [file]): floyd.js wraps it in .fv-file; the real input lies invisibly over the box, so a tap opens the picker */
.fv-file {
	position: relative; display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 10px 12px;
	background: var(--panel); border: 1px dashed var(--line); border-radius: 3px; cursor: pointer;
}
.fv-file input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fv-file-btn {
	flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
	border: 1px solid var(--muted); border-radius: 3px; color: var(--text);
	font-weight: 700; font-size: 12px; letter-spacing: .08em;
}
.fv-file-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.fv-file:hover .fv-file-btn, .fv-file:focus-within .fv-file-btn { border-color: var(--hot); color: var(--hot); }
.fv-file:focus-within { border-color: var(--hot); }
.fv-file.has-file { border-style: solid; }
.fv-file.has-file .fv-file-name { color: var(--text); }
.fv-form .fv-form-note { font-size: 12px; line-height: 1.6; color: var(--muted); }
.fv-form .wpcf7-response-output { margin: 16px 0 0 !important; padding: 12px !important; border: 1px solid var(--line) !important; color: var(--text); }

@keyframes fv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fv-slide-in { from { transform: translateX(100%); } to { transform: none; } }

.fv-root.is-instant, .fv-root.is-instant * { transition: none !important; }

/* ---------- 8. Short screens (height < 680px) ---------- */
@media (max-height: 679px) and (min-width: 760px) {
	.fv-value { display: none; }
	.fv-cover-lead, .fv-slogan { display: none; }
	.js .fv-cover-col { gap: 12px; }
}

/* ---------- 9. Narrow screens (width < 760px) ---------- */
@media (max-width: 759px) {
	:root {
		--title-top: 96px;
		--card-b: 84px;
	}
	.fv-wx { display: none; }
	.js .fv-title { bottom: auto; max-width: calc(100% - 40px); }
	.js .fv-stage { top: 56%; width: 78vw; height: 34vh; }
	.js .fv-arrow--prev, .js .fv-card--prev { display: none; }
	.js .fv-card--next { width: 100%; }
	/* the card box is taller than what it shows; only its text and play button take taps,
	   so on short phones the empty top of the box no longer swallows the cover's DISCOVER button */
	.js .fv-card { pointer-events: none; }
	.js .fv-card-txt, .js .fv-card-go { pointer-events: auto; }
	.fv-grid { left: 20px; right: 20px; top: 96px; bottom: auto; gap: 6px; grid-template-columns: repeat(var(--cols-m, 6), minmax(0, 1fr)); justify-content: stretch; align-content: start; }
	.fv-thumb--lead { grid-column-start: auto; } /* phone: always three full rows */
	.fv-thumb-no { display: none; } /* tiles are ~50px wide on a phone */
	.js .fv-cover-col { top: calc(96px + 36vw); max-width: calc(100% - 40px); }
	.fv-cover-lead { display: none; }
	.fv-drawer { width: 100%; }
	/* menu: the tier goes under the name (an English tier is as wide as the screen) */
	.fv-menu { padding-top: calc(var(--band) + 16px); }
	.fv-menu a { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 10px; }
	.fv-menu-tier { grid-column: 2; text-align: left; }
	/* 12 bars + counter must fit a 360px phone */
	.js .fv-dots { gap: 3px; }
	.fv-dot { width: 18px; }
	.fv-dot-bar { width: 14px; }
	.fv-dot[aria-current="true"] { width: 22px; }
	.fv-dot-tri { width: 18px; }

	/* Product / list slides follow the cover: the picture on top where the cover's video grid starts (96px, full
	   stage width, up to 4:3 or the wide image's own ratio), the text right below it (2026-11-13).
	   When the screen is short the picture gives way first; the title column is compacted to leave it room. */
	.js .fv-slide--product, .js .fv-slide--list {
		display: flex; flex-direction: column;
		padding: 96px 20px calc(var(--card-b) + var(--card-h) - 30px);
	}
	.js .fv-slide--product .fv-title, .js .fv-slide--list .fv-title {
		position: relative; left: auto; top: auto; bottom: auto; flex: none;
		max-width: none; gap: 10px; justify-content: flex-start;
		margin: 18px 0 0 calc(var(--left) - 20px);
	}
	.fv-slide--product .fv-h > span, .fv-slide--list .fv-h > span { display: inline; }
	.fv-slide--product .fv-h > span + span, .fv-slide--list .fv-h > span + span { margin-left: .25em; }
	.fv-slide .fv-h { font-size: clamp(30px, 9vw, 38px); }
	.fv-slide--product .fv-cta, .fv-slide--list .fv-cta { height: 40px; padding: 0 20px; font-size: 13px; }
	.fv-slide--product .fv-manual { height: 40px; padding: 0 16px; font-size: 13px; }
	.fv-slide--product .fv-value { gap: 2px 10px; }
	.fv-slide--product .fv-value .fv-num { font-size: 24px; }
	.fv-slide--product .fv-value > span:last-child { font-size: 14px; }
	.js .fv-slide--product .fv-stage, .js .fv-slide--list .fv-stage {
		order: -1; position: relative; left: auto; top: auto; transform: none;
		flex: 0 1 calc((100vw - 40px) * .75); min-height: 120px;
		width: auto; height: auto; margin: 0;
		container-type: size;
	}
	/* the frame fills the stage at up to 4:3, centred; the ring only on list slides, behind the panel */
	.js .fv-slide--product .fv-frame-wrap, .js .fv-slide--wide .fv-frame-wrap {
		left: 0; right: 0; top: 0; bottom: auto; margin: 0 auto;
		width: min(100cqw, 100cqh * 4 / 3); height: min(100cqh, 100cqw * .75);
	}
	/* wide diagram (ROVI-3D, AI Toolbox VLA): the same 4:3 window as the videos, the diagram at the window's height
	   panning left -> right -> left (it is ~3:1, at full width it would be too small to read); restarts on entering the slide */
	.js .fv-slide--wide .fv-frame--svg > svg, .js .fv-slide--wide .fv-frame > .fv-img {
		inset: auto; top: 0; left: 0; width: auto; height: 100%; aspect-ratio: var(--ratio, 2 / 1);
	}
	.js .fv-slide--wide.is-on .fv-frame--svg > svg, .js .fv-slide--wide.is-on .fv-frame > .fv-img { animation: fv-pan 12s ease-in-out 600ms infinite alternate both; }
	.js .fv-slide--list .fv-ring { width: min(56cqw, 92cqh); left: 0; top: 0; }
	.js .fv-slide--list .fv-frame-wrap { left: 10%; top: 10%; }
	.js .fv-slide--list .fv-panel { padding: 12px 16px; }
	.js .fv-slide--list .fv-panel li { padding: 6px 0; gap: 12px; }
	.js .fv-slide--list .fv-panel b { font-size: 16px; }
}
@keyframes fv-pan { 0%, 10% { left: 0; transform: none; } 90%, 100% { left: 100%; transform: translateX(-100%); } }
/* short phones (browser bars leave ~640-700px): tighter cover column and title columns */
@media (max-width: 759px) and (max-height: 720px) {
	.js .fv-cover-col { gap: 10px; }
	.js .fv-slide--product .fv-title, .js .fv-slide--list .fv-title { gap: 8px; margin-top: 14px; }
}

/* ---------- 10. Fallback pages (index.php) ---------- */
.fv-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.fv-head--page { position: sticky; background: var(--surface); border-bottom: 1px solid var(--line); }
.fv-page-main { flex: 1; width: min(860px, 100% - 40px); margin: 0 auto; padding: 96px 0 64px; display: flex; flex-direction: column; gap: 24px; }
.fv-h--page { margin-bottom: 24px; }
.fv-article-body { color: var(--muted-2); line-height: 1.75; }
.fv-article-body a { text-decoration: underline; text-underline-offset: 4px; }
.fv-page-foot { padding: 24px 20px; border-top: 1px solid var(--line); font-weight: 600; font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.fv-page .fv-lead { margin: 0; }
.fv-page .fv-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 3px; background: var(--hot); color: #000; font-weight: 700; font-size: 12px; letter-spacing: .14em; }

/* ---------- 11. Intro: the FLOYD logo animation (Logo/Main.dc.html), centred, played once on arrival ---------- */
/* floyd.js shows it only when the address has no #slide, fades it out at 92 % of the cycle (where the design fades the word) and moves to #floyd. */
.fv-intro {
	position: absolute; inset: 0; z-index: 60;
	display: flex; align-items: center; justify-content: center;
	background: #0A0A0A; color: #F2F2F2;
	--cycle: 9s;
	transition: opacity 600ms ease;
	cursor: pointer;
}
.fv-intro.is-out { opacity: 0; pointer-events: none; }
.fv-root.is-intro .is-on .fv-title { opacity: 0; transform: translateX(calc(var(--dir, 1) * 60px)); }
.fv-root.is-intro .is-on .fv-grid { opacity: 0; }
.fl-word { display: flex; align-items: baseline; font-family: var(--font); font-weight: 800; font-size: min(160px, 24vw, 32vh); line-height: 1; letter-spacing: -.02em; }
.fl-slot { position: relative; display: inline-block; height: 1em; }
.fl-net { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.fl-gate { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; justify-content: center; opacity: 0; animation: fl-gate var(--cycle) linear 1 both; }
.fl-solid { opacity: 0; animation: fl-solid var(--cycle) linear 1 both; animation-delay: var(--o); }
.fl-node { opacity: 0; transform-box: fill-box; transform-origin: center; animation: fl-node var(--cycle) ease-in-out 1 both; animation-delay: var(--d); }
.fl-edge { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; animation: fl-edge var(--cycle) ease-in-out 1 both; animation-delay: var(--d); }
.fl-ring { opacity: 0; transform-box: fill-box; transform-origin: center; animation: fl-ring var(--cycle) ease-out 1 both; animation-delay: var(--d); }
@keyframes fl-node {
	0%, 10% { opacity: 0; transform: scale(.2); fill: #6b6b6b; }
	14% { opacity: 1; transform: scale(1.35); fill: #9a9a9a; }
	17% { transform: scale(1); fill: #6b6b6b; }
	28% { fill: #6b6b6b; }
	32% { fill: #ffffff; }
	36% { fill: #6b6b6b; }
	44% { opacity: 1; fill: #ffffff; }
	49% { opacity: 0; transform: scale(1); }
	100% { opacity: 0; }
}
@keyframes fl-edge {
	0%, 11% { stroke-dashoffset: 1; opacity: 0; stroke: #4a4a4a; }
	12% { opacity: 1; }
	20% { stroke-dashoffset: 0; stroke: #4a4a4a; }
	29% { stroke: #4a4a4a; }
	33% { stroke: #cfcfcf; }
	37% { stroke: #4a4a4a; }
	44% { opacity: 1; stroke-dashoffset: 0; stroke: #9a9a9a; }
	49% { opacity: 0; stroke-dashoffset: 0; }
	100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes fl-ring {
	0%, 30% { opacity: 0; transform: scale(.4); }
	32% { opacity: .7; transform: scale(.6); }
	40% { opacity: 0; transform: scale(2.2); }
	100% { opacity: 0; }
}
@keyframes fl-solid {
	0%, 46% { opacity: 0; }
	51%, 100% { opacity: 1; }
}
@keyframes fl-gate {
	0%, 40% { opacity: 0; }
	42%, 92% { opacity: 1; }
	96%, 100% { opacity: 0; }
}

/* ---------- 12. Low screens (height < 520px, e.g. a phone held sideways): the page scrolls up / down ---------- */
/* The deck keeps its minimum height (520px; on a narrow phone layout more, its cover column sits below the video grid)
   and the document scrolls to show what does not fit. Overlays stay on the screen. Swipes left / right still change slides. */
@media (max-height: 519px) {
	html.js, html.js body { height: auto; overflow-x: hidden; overflow-y: auto; }
	.js .fv-root { position: absolute; bottom: auto; height: max(100vh, 520px); }
	.js .fv-menu, .js .fv-scrim, .js .fv-drawer, .fv-intro { position: fixed; }
}
@media (max-height: 519px) and (max-width: 759px) {
	.js .fv-root { height: max(100vh, calc(560px + 36vw)); }
}
/* narrow phone held sideways: the wide diagrams (ROVI-3D, AI Toolbox VLA) are shown whole at full width, no panning */
@media (max-width: 759px) and (orientation: landscape) {
	.js .fv-slide--wide .fv-stage { flex-basis: calc((100vw - 40px) / (var(--ratio, 2 / 1))); min-height: 0; }
	.js .fv-slide--wide .fv-frame-wrap { width: 100cqw; height: auto; aspect-ratio: var(--ratio, 2 / 1); }
	.js .fv-slide--wide .fv-frame--svg > svg, .js .fv-slide--wide .fv-frame > .fv-img,
	.js .fv-slide--wide.is-on .fv-frame--svg > svg, .js .fv-slide--wide.is-on .fv-frame > .fv-img {
		inset: 0; width: 100%; height: 100%; aspect-ratio: auto; animation: none;
	}
}
/* wider phone held sideways (desktop layout, height < 520px): the wide diagrams on top across the page between the
   arrows, whole, the text below; the page grows for it and scrolls (section 12) */
@media (max-height: 519px) and (min-width: 760px) {
	.js .fv-slide--wide {
		display: flex; flex-direction: column;
		padding: calc(var(--band) + 12px) calc(var(--gutter) + 64px) 0;
	}
	.js .fv-slide--wide .fv-stage {
		order: -1; position: relative; inset: auto; transform: none; container-type: normal;
		flex: none; width: 100%; height: auto; aspect-ratio: var(--ratio, 2 / 1);
	}
	.js .fv-slide--wide .fv-frame-wrap { inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
	.js .fv-slide--wide .fv-title {
		position: relative; inset: auto; flex: none; margin-top: 16px; max-width: none; justify-content: flex-start;
	}
	.js .fv-slide--wide .fv-kicker, .js .fv-slide--wide .fv-value, .js .fv-slide--wide .fv-h { max-width: none; }
	.fv-slide--wide .fv-h > span { display: inline; }
	.fv-slide--wide .fv-h > span + span { margin-left: .25em; }
	/* the deck grows by the diagram (~3:1) so the text clears the prev / next cards */
	.js .fv-root:has(.fv-slide--wide.is-on) {
		height: max(100vh, calc(var(--band) + 12px + (100vw - 2 * (var(--gutter) + 64px)) / 3.1 + 210px + var(--card-b) + var(--card-h)));
	}
}
