/* Cloud3 theme — main stylesheet
   Sections: tokens, base, type, buttons, header, hero, the edit, marquee, intro, journey, work,
   tools, ads, print, results, insights, cta, footer, plain pages, motion. */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-var.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
}
@font-face {
	font-family: "Cormorant";
	src: url("../fonts/cormorant-italic-500.woff2") format("woff2");
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

:root {
	--ink: #131210;
	--ink-2: #1e1c19;
	--ink-3: #2b2824;
	--paper: #f8f5ef;
	--stone: #ebe5da;
	--yellow: #e0c010;
	--yellow-deep: #c9a800;
	--muted: #7a7469;
	--line: rgba(19, 18, 16, 0.16);
	--line-light: rgba(255, 255, 255, 0.2);
	--gutter: clamp(20px, 5vw, 72px);
	--sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
	--ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: clamp(72px, 11vw, 168px); position: relative; }
.section--ink { background: var(--ink); color: #f3efe7; }
.section--stone { background: var(--stone); }
.section--yellow { background: var(--yellow); color: var(--ink); }

/* ---------- Type ---------- */

.label {
	font-size: 11px;
	font-weight: 600;
	font-stretch: 110%;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	line-height: 1.5;
}

/* A drawing-style dimension line: tick, label, long rule. */
.dim {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: clamp(24px, 3vw, 44px);
	font-size: 11px;
	font-weight: 600;
	font-stretch: 110%;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.dim::before, .dim::after {
	content: "";
	height: 9px;
	background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
	opacity: 0.45;
}
.dim::before { width: 36px; border-left: 1px solid currentColor; }
.dim::after { flex: 1; border-right: 1px solid currentColor; }

.display {
	font-size: clamp(2.3rem, 5.6vw, 5.6rem);
	font-weight: 800;
	font-stretch: 68%;
	line-height: 0.94;
	letter-spacing: -0.012em;
	text-transform: uppercase;
	max-width: 17ch;
	text-wrap: balance;
}
.display em, .cta__title em {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 500;
	font-stretch: 100%;
	text-transform: none;
	letter-spacing: -0.01em;
	font-size: 1.12em;
	line-height: 0.8;
	color: var(--yellow-deep);
}
.section--ink .display em, .section--ink .cta__title em { color: var(--yellow); }
.section--yellow .display em { color: var(--ink); }

.lede { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5; max-width: 46ch; margin-top: 28px; opacity: 0.86; }

.link {
	display: inline-block;
	font-weight: 600;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: 3px;
	transition: background-size 0.4s var(--ease);
}
.link::after { content: "\2192"; display: inline-block; margin-left: 0.4em; transition: transform 0.3s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link:hover::after { transform: translateX(5px); }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid transparent;
	font-size: 13px;
	font-weight: 700;
	font-stretch: 105%;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--solid { background: var(--yellow); color: var(--ink); }
.btn--solid:hover { background: #fff; }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.round {
	width: 54px; height: 54px; border-radius: 50%;
	border: 1px solid var(--line-light); background: transparent; color: inherit; font-size: 18px;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.round:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* ---------- Header ---------- */

.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	display: flex; align-items: center; gap: 32px;
	padding: 18px var(--gutter);
	color: #fff;
	transition: background-color 0.35s, padding 0.35s, transform 0.4s var(--ease);
}
.site-header.is-stuck { background: rgba(19, 18, 16, 0.94); padding-block: 12px; backdrop-filter: blur(8px); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__logo img { width: 122px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.site-nav__list a {
	font-size: 12px; font-weight: 600; font-stretch: 108%; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
	padding: 8px 0; position: relative;
}
.site-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--yellow);
	transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease);
}
.site-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav__call { display: none; }
.site-header__cta { min-height: 42px; padding: 0 20px; font-size: 12px; }
.burger { display: none; }

@media (max-width: 1080px) {
	.site-header__cta { display: none; }
	.burger {
		display: grid; place-items: center; margin-left: auto; width: 46px; height: 46px;
		background: none; border: 1px solid var(--line-light); border-radius: 50%; position: relative; z-index: 2;
	}
	.burger__bars, .burger__bars::before { display: block; width: 18px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
	.burger__bars { transform: translateY(-3px); }
	.burger__bars::before { content: ""; transform: translateY(6px); }
	.burger[aria-expanded="true"] .burger__bars { transform: rotate(45deg); }
	.burger[aria-expanded="true"] .burger__bars::before { transform: rotate(-90deg); }
	.site-nav {
		position: fixed; inset: 0; margin: 0; background: var(--ink);
		display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 96px var(--gutter) 48px;
		visibility: hidden; opacity: 0; transition: opacity 0.3s, visibility 0.3s;
	}
	.site-nav.is-open { visibility: visible; opacity: 1; }
	.site-nav__list { flex-direction: column; gap: 4px; }
	.site-nav__list a { font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 800; font-stretch: 68%; letter-spacing: 0; line-height: 1.05; }
	.site-nav__call { display: inline-block; color: var(--yellow); font-weight: 700; text-decoration: none; font-size: 1.2rem; }
	.site-header__logo { position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */

.hero {
	position: relative; overflow: hidden; isolation: isolate;
	height: 100svh; min-height: 640px; max-height: 1100px;
	display: flex; align-items: flex-end;
	background: var(--ink); color: #fff;
}
.hero__stage {
	position: absolute; left: 50%; top: 50%; z-index: 0;
	width: max(100%, calc(clamp(640px, 100svh, 1100px) * 1.5));
	aspect-ratio: 3 / 2;
	translate: calc(-50% + var(--px)) calc(-50% + var(--py));
	animation: hero-drift 26s ease-in-out infinite alternate;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.hero__img.is-on { visibility: visible; z-index: 1; }
/* The next room sweeps in from the right behind a slanted edge. */
.hero__img.is-in { visibility: visible; z-index: 2; animation: hero-wipe 1.5s cubic-bezier(0.76, 0, 0.18, 1) both; }
@keyframes hero-wipe {
	from { clip-path: polygon(100% 0, 120% 0, 120% 100%, 120% 100%); }
	to { clip-path: polygon(-20% 0, 120% 0, 120% 100%, 0 100%); }
}
.hero__shade {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(19, 18, 16, 0.62) 0, rgba(19, 18, 16, 0) 22%),
		linear-gradient(90deg, rgba(19, 18, 16, 0.9) 0, rgba(19, 18, 16, 0.62) 34%, rgba(19, 18, 16, 0) 62%),
		linear-gradient(0deg, rgba(19, 18, 16, 0.72) 0, rgba(19, 18, 16, 0) 42%);
}
@keyframes hero-drift { from { scale: 1.05; } to { scale: 1.12; } }

.hero__stage--pins { z-index: 3; pointer-events: none; }
.hero__shade { z-index: 2; }
.hero__stage--pins .pin { pointer-events: auto; }
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vh, 110px); pointer-events: none; }
.hero__content > * { pointer-events: auto; }
.hero__kicker { color: var(--yellow); margin-bottom: 22px; }
.hero__kicker span { color: #fff; opacity: 0.8; }
.hero__title {
	font-size: clamp(2.9rem, 5.8vw, 6.6rem);
	font-weight: 800; font-stretch: 66%; line-height: 0.86; letter-spacing: -0.012em; text-transform: uppercase;
	display: grid; justify-items: start;
}
.hero__line { display: block; }
.rotator {
	display: inline-grid; overflow: hidden;
	font-family: var(--serif); font-style: italic; font-weight: 500; font-stretch: 100%; text-transform: none;
	font-size: 1.2em; line-height: 0.9; letter-spacing: -0.015em; color: var(--yellow);
	padding: 0.02em 0.12em 0.14em 0; margin: -0.04em 0 -0.06em;
}
.rotator > span { grid-area: 1 / 1; }
.js .rotator > span { opacity: 0; transform: translateY(60%); transition: transform 0.7s var(--ease), opacity 0.5s; }
.js .rotator > span.is-on { opacity: 1; transform: none; }
.js .rotator > span.is-off { opacity: 0; transform: translateY(-60%); }
.hero__sub { max-width: 44ch; margin-top: 26px; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.5; opacity: 0.92; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__hint {
	position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(24px, 5vh, 56px);
	display: flex; align-items: center; gap: 10px;
	font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #fff;
}
.hero__hint span { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
/* Which room is showing, with a line that fills until the next one. */
.hero__rooms {
	position: absolute; z-index: 2; right: var(--gutter); bottom: calc(clamp(24px, 5vh, 56px) + 38px);
	display: flex; gap: 22px;
	font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6);
}
.hero__rooms li { position: relative; padding-bottom: 10px; min-width: 96px; transition: color 0.4s; }
.hero__rooms li::before, .hero__rooms li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.28); }
.hero__rooms li::after { background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.hero__rooms li.is-on { color: #fff; }
.hero__rooms li.is-on span { color: var(--yellow); }
.js .hero__rooms li.is-on::after { animation: hero-room 6s linear both; }
@keyframes hero-room { to { transform: scaleX(1); } }

/* Hotspots on the room */
.pins { position: absolute; inset: 0; }
.pin { position: absolute; left: var(--x); top: var(--y); transition: left 1.3s cubic-bezier(0.76, 0, 0.18, 1), top 1.3s cubic-bezier(0.76, 0, 0.18, 1); }
.pin__dot {
	position: relative; display: grid; place-items: center;
	width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
	border: 0; background: var(--yellow); color: var(--ink);
	font-size: 14px; font-weight: 800;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
	transition: transform 0.3s var(--ease), background-color 0.2s;
}
.pin__dot::before {
	content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid var(--yellow);
	animation: pin-pulse 2.6s ease-out infinite; animation-delay: var(--d);
}
.pin:hover .pin__dot, .pin.is-open .pin__dot { transform: scale(1.14); background: #fff; }
@keyframes pin-pulse { 0% { transform: scale(0.7); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.pin__card {
	position: absolute; left: 30px; top: 14px; z-index: 3; width: 290px;
	padding: 22px 22px 20px; background: var(--paper); color: var(--ink);
	font-size: 15px; line-height: 1.5;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
}
.pin--flip .pin__card { left: auto; right: 30px; }
.pin__card .label { color: var(--yellow-deep); margin-bottom: 10px; }
.pin__card .link { margin-top: 14px; font-size: 14px; }
.pin__stat { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; }
.pin:hover .pin__card, .pin:focus-within .pin__card, .pin.is-open .pin__card { opacity: 1; visibility: visible; transform: none; }
.pin:hover, .pin:focus-within, .pin.is-open { z-index: 4; }
.js .pin__dot { animation: pin-in 0.7s var(--ease) both; animation-delay: calc(var(--d) + 0.5s); }
@keyframes pin-in { from { opacity: 0; transform: scale(0.2); } }

@media (max-width: 900px) {
	.pins, .hero__hint, .hero__rooms { display: none; }
	.hero__shade {
		background:
			linear-gradient(180deg, rgba(19, 18, 16, 0.6) 0, rgba(19, 18, 16, 0) 24%),
			linear-gradient(0deg, rgba(19, 18, 16, 0.95) 0, rgba(19, 18, 16, 0.7) 45%, rgba(19, 18, 16, 0.1) 78%);
	}
}

/* Hero motion: opening curtain, sunlight, cursor depth, scroll zoom, drawn tags */
.hero { --px: 0px; --py: 0px; --hs: 0; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: 5; background: var(--ink); pointer-events: none;
	transform: scaleX(0); transform-origin: right;
}
.js .hero::before { animation: hero-curtain 1.15s cubic-bezier(0.76, 0, 0.18, 1) 0.1s both; }
@keyframes hero-curtain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: 1; background: var(--ink); pointer-events: none;
	opacity: calc(var(--hs) * 0.7);
}
.hero__img { transform: scale(calc(1 + var(--hs) * 0.14)); }
.js .hero:not(.is-rolling) .hero__img { animation: hero-settle 2.6s var(--ease) both; }
@keyframes hero-settle { from { transform: scale(1.22); filter: brightness(0.55) saturate(0.7); } }
.hero__sun {
	position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
	background: linear-gradient(104deg, rgba(255, 240, 200, 0) 38%, rgba(255, 236, 190, 0.26) 48%, rgba(255, 255, 255, 0.1) 53%, rgba(255, 240, 200, 0) 63%) 0 0 / 280% 100% no-repeat;
	animation: hero-sun 13s ease-in-out 2s infinite;
	opacity: 0;
}
@keyframes hero-sun {
	0% { background-position: 110% 0; opacity: 0; }
	12% { opacity: 1; }
	60% { opacity: 1; }
	72%, 100% { background-position: -10% 0; opacity: 0; }
}
.hero__stage--pins { translate: calc(-50% + var(--px) * 1.9) calc(-50% + var(--py) * 1.9); }
.pins, .hero__rooms { opacity: calc(1 - var(--hs) * 3); }
.hero__content { transform: translateY(calc(var(--hs) * -70px)); opacity: calc(1 - var(--hs) * 1.6); }

.js .hero__kicker, .js .hero__line, .js .rotator, .js .hero__sub, .js .hero__actions, .js .hero__hint, .js .hero__rooms {
	animation: hero-rise 1s var(--ease) both; animation-delay: calc(0.75s + var(--o, 0) * 0.11s);
}
.hero__title .hero__line:first-child { --o: 1; }
.rotator { --o: 2; }
.hero__title .hero__line:last-child { --o: 3; }
.hero__sub { --o: 4; }
.hero__actions { --o: 5; }
.hero__hint { --o: 9; }
.hero__rooms { --o: 8; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(46px); } }

.pin__tag {
	position: absolute; left: 30px; top: -8px; display: flex; align-items: center; gap: 10px;
	font-size: 10.5px; font-weight: 700; font-stretch: 110%; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap;
	color: #fff; text-shadow: 0 0 14px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.85);
	pointer-events: none; transition: opacity 0.25s;
}
.pin__tag::before { content: ""; width: 34px; height: 1px; background: var(--yellow); transform-origin: left; }
.pin--flip .pin__tag { left: auto; right: 30px; flex-direction: row-reverse; }
.pin--flip .pin__tag::before { transform-origin: right; }
.js .pin__tag { animation: tag-in 0.7s var(--ease) both; animation-delay: calc(var(--d) + 0.75s); }
.js .pin__tag::before { animation: tag-line 0.7s var(--ease) both; animation-delay: calc(var(--d) + 0.55s); }
@keyframes tag-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 -20px 0 0); } }
@keyframes tag-line { from { transform: scaleX(0); } }
.pin:hover .pin__tag, .pin:focus-within .pin__tag, .pin.is-open .pin__tag { opacity: 0; }
@media (max-width: 1180px) { .pin__tag { display: none; } }

/* ---------- The edit (how campaigns are honed, inside paid ads) ---------- */
/* Photos from one shoot tried against four formats. Markup: parts/edit.php. */

.hone {
	display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 90px); align-items: center;
	margin-top: clamp(64px, 9vw, 140px); padding-top: clamp(48px, 7vw, 110px); border-top: 1px solid var(--line-light);
}
.hone__label { color: var(--yellow); margin-bottom: 18px; }
.hone__title { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.hone__points { display: grid; gap: 18px; margin-top: 34px; max-width: 48ch; }
.hone__points li { padding-left: 18px; border-left: 2px solid var(--yellow); font-size: 15px; line-height: 1.5; color: rgba(243, 239, 231, 0.82); }
.hone__points strong { display: block; color: #fff; }

.edit { --H: clamp(360px, 35vw, 520px); --no: #ff6a5c; position: relative; min-width: 0; color: #fff; }

.edit__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.edit__title { color: var(--yellow); }
.edit__title span { color: #fff; opacity: 0.75; }
.edit__tabs { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 20px); }
.edit__tab {
	padding: 8px 0 7px; background: none; border: 0; border-bottom: 2px solid rgba(255, 255, 255, 0.22);
	color: rgba(255, 255, 255, 0.62); font-size: 11px; font-weight: 700; font-stretch: 108%; letter-spacing: 0.14em; text-transform: uppercase;
	transition: color 0.25s, border-color 0.25s;
}
.edit__tab:hover { color: #fff; }
.edit__tab.is-on { color: #fff; border-color: var(--yellow); }
.edit__pause {
	position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%;
	background: none; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff;
}
.edit__pause::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 10px; translate: -50% -50%;
	border-inline: 3px solid currentColor;
}
.edit__pause[aria-pressed="true"]::before {
	width: 0; height: 0; translate: -35% -50%;
	border-block: 6px solid transparent; border-left: 9px solid currentColor; border-right: 0;
}
.edit__pause:hover { border-color: var(--yellow); color: var(--yellow); }

.edit__brief { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 12px; font-size: 14px; line-height: 1.35; }
.edit__brief b { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 3px 7px 2px; }
.edit__brief span { font-weight: 700; }
.edit__brief em { font-family: var(--serif); font-size: 1.22em; opacity: 0.85; }

.edit__table { display: grid; grid-template-columns: minmax(0, 1fr) clamp(170px, 15vw, 220px); gap: 18px; align-items: center; margin-top: 16px; }
.edit__frames { position: relative; height: var(--H); }

/* One template per format; only the current one shows. */
.fmt {
	position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center;
	opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.fmt.is-on { opacity: 1; visibility: visible; }
.fmt p { margin: 0; }
.fmt i { font-style: normal; }
.edit__slot { position: relative; overflow: hidden; background: #cfc8bb; }
.edit__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s, transform 0.5s var(--ease), filter 0.5s; }
.edit__shot.is-out { opacity: 0; transform: translateY(9%) rotate(-3deg); filter: grayscale(1); }
.edit__shot--pop { animation: edit-pop 0.7s var(--ease) both; }
@keyframes edit-pop { from { opacity: 0; transform: scale(2.6); } }
.edit__ghost {
	inset: auto; z-index: 6; pointer-events: none; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
	transition: none;
}
.edit__ghost.is-flying { transition: left 0.8s var(--ease), top 0.8s var(--ease), width 0.8s var(--ease), height 0.8s var(--ease); }

/* Copy sits as grey bars until a photo is approved. */
.edit .copy {
	border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
	transition: color 0.5s 0.15s, background-color 0.5s 0.15s;
}
.edit:not(.is-won) .copy { color: transparent !important; background-color: rgba(140, 134, 124, 0.38) !important; }

/* Meta feed ad */
.ffd { width: min(100%, calc((var(--H) - 104px) * 0.8)); background: #fff; color: #1c1e21; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.ffd__head { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 10px; }
.ffd__head i, .fst__who i, .fsr__site i {
	display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%;
	background: var(--ink); color: var(--yellow); font-size: 9px; font-weight: 800; letter-spacing: 0.04em;
}
.ffd__head p { display: grid; font-size: 12px; line-height: 1.2; }
.ffd__head span { font-size: 10px; color: #65676b; }
.ffd__img { aspect-ratio: 4 / 5; }
.ffd__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; padding: 8px 10px; background: #f0f2f5; }
.ffd__foot p { display: grid; gap: 2px; justify-items: start; font-size: 13px; font-weight: 700; line-height: 1.2; }
.ffd__foot small { font-size: 9px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #65676b; }
.ffd__btn { flex: none; padding: 7px 10px; background: #e4e6eb; border-radius: 6px; font-size: 11px; font-weight: 700; }

/* Instagram story */
.fst { position: relative; height: 100%; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; color: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 5px #0a0a0a; }
.fst__img { position: absolute; inset: 0; }
.fst__img::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 74%, rgba(0, 0, 0, 0.4) 100%); }
.fst__top { position: absolute; z-index: 2; inset: 10px 10px auto; display: flex; gap: 3px; }
.fst__top i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.45); }
.fst__top i:first-child { background: #fff; }
.fst__who { position: absolute; z-index: 2; left: 10px; top: 20px; display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; }
.fst__who span { font-weight: 400; opacity: 0.8; }
.fst__line { position: absolute; z-index: 2; inset: 17% 14px auto; font-family: var(--serif); font-style: italic; font-size: clamp(20px, calc(var(--H) * 0.055), 28px); line-height: 1.12; text-align: center; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.fst__cta { position: absolute; z-index: 2; inset: auto 0 16px; text-align: center; font-size: 11px; font-weight: 700; }
.fst__cta .copy { display: inline-block; padding: 8px 14px; border-radius: 99px; background: #fff; color: var(--ink); }

/* Google search result */
.fsr { width: min(100%, 430px); display: grid; justify-items: center; gap: 12px; }
.fsr__src { width: min(66%, calc((var(--H) - 210px) * 1.5)); }
.fsr__src .edit__slot { aspect-ratio: 3 / 2; border-radius: 4px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.fsr__src p { margin-top: 10px; text-align: center; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); white-space: nowrap; }
.fsr__src span { color: var(--yellow); margin-inline: 4px; }
.fsr__card { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; align-items: start; padding: 14px; background: #fff; color: #202124; border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); font-family: Arial, sans-serif; }
.fsr__site { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.25; }
.fsr__site span { display: grid; }
.fsr__site small { font-size: 10.5px; color: #4d5156; }
.fsr__title { margin-top: 8px !important; font-size: 16px; line-height: 1.25; color: #1a0dab; }
.fsr__desc { margin-top: 5px !important; font-size: 12px; line-height: 1.45; color: #4d5156; }
.fsr__thumb { width: 84px; aspect-ratio: 1; border-radius: 8px; }

/* Website banner */
.fwb { container-type: inline-size; width: min(100%, 660px, calc((var(--H) - 84px) * 21 / 9)); background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.fwb__chrome { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; background: #e9e6e0; }
.fwb__chrome i { width: 7px; height: 7px; border-radius: 50%; background: #bdb7ab; }
.fwb__chrome span { margin-left: 8px; padding: 2px 10px; border-radius: 99px; background: #fff; color: #6b665d; font-size: 9px; }
.fwb__banner { position: relative; aspect-ratio: 21 / 9; color: #fff; }
.fwb__banner .edit__slot { position: absolute; inset: 0; }
.fwb__banner .edit__slot::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(19, 18, 16, 0.72) 0, rgba(19, 18, 16, 0.3) 46%, rgba(19, 18, 16, 0) 70%); }
.fwb__nav { position: absolute; z-index: 2; inset: 10px 14px auto; display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.fwb__nav b { margin-right: auto; }
.fwb__nav i { width: 26px; height: 2px; background: rgba(255, 255, 255, 0.8); }
.fwb__line { position: absolute; z-index: 2; left: 5%; top: 34%; width: 46%; font-family: var(--serif); font-size: clamp(15px, 4.7cqw, 30px); line-height: 1.05; }
.fwb__cta { position: absolute; z-index: 2; left: 5%; bottom: 12%; font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.fwb__cta .copy { display: inline-block; padding: 6px 11px; background: var(--yellow); color: var(--ink); }
.fwb__rest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 14px; }
.fwb__rest i { height: 34px; background: #eeeae3; }

/* Markers on the photo, notes beside it, and the verdict */
.edit__mark {
	position: absolute; z-index: 3; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
	display: grid; place-items: center; font-size: 13px; font-weight: 800; line-height: 1;
	box-shadow: 0 0 0 2px #fff, 0 4px 14px rgba(0, 0, 0, 0.45);
	animation: edit-mark 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}
.edit__mark::before, .edit__notes li::before { content: "\00d7"; }
.edit__mark.is-ok::before, .edit__notes li.is-ok::before { content: "\2713"; }
.edit__mark.is-no, .edit__notes li.is-no::before { background: var(--no); color: #fff; }
.edit__mark.is-ok, .edit__notes li.is-ok::before { background: var(--yellow); color: var(--ink); }
@keyframes edit-mark { from { opacity: 0; scale: 0.2; } }

.edit__notes { display: grid; gap: 8px; align-content: center; min-height: 150px; transition: opacity 0.4s; }
.edit__notes.is-out { opacity: 0; }
.edit__notes li {
	position: relative; padding: 11px 12px 11px 40px;
	background: rgba(255, 255, 255, 0.07); border-left: 2px solid var(--no);
	font-size: 13.5px; line-height: 1.36;
	animation: edit-note 0.55s var(--ease) both;
}
.edit__notes li.is-ok { border-color: var(--yellow); }
.edit__notes li::before {
	position: absolute; left: 11px; top: 11px; width: 19px; height: 19px; border-radius: 50%;
	display: grid; place-items: center; font-size: 12px; font-weight: 800; line-height: 1;
}
@keyframes edit-note { from { opacity: 0; transform: translateX(18px); } }

.edit__stamp {
	position: absolute; left: 50%; top: 50%; z-index: 5; translate: -50% -50%; rotate: -9deg; scale: 1.8;
	padding: 7px 18px 5px; border: 3px solid currentColor; background: rgba(19, 18, 16, 0.82);
	font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; font-stretch: 66%; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1;
	opacity: 0; pointer-events: none;
	transition: opacity 0.2s, scale 0.38s cubic-bezier(0.2, 1.5, 0.4, 1);
}
.edit__stamp.is-on { opacity: 1; scale: 1; }
.edit__stamp.is-no { color: var(--no); }
.edit__stamp.is-ok { color: var(--yellow); top: 5%; left: auto; right: 0; translate: none; rotate: 6deg; }
/* Keep the approval clear of each template's copy. */
[data-round="story"] .edit__stamp.is-ok { top: 42%; left: 0; right: auto; rotate: -6deg; }
[data-round="search"] .edit__stamp.is-ok { top: 1%; }
[data-round="search"] .edit__stamp.is-no { top: 30%; }
[data-round="web"] .edit__stamp.is-ok { top: 64%; right: 2%; rotate: -5deg; }

/* The contact strip the photos are drawn from */
.edit__strip { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.edit__strip .label { flex: none; opacity: 0.7; }
.edit__strip ol { display: flex; gap: 6px; flex: 1; min-width: 0; }
.edit__strip li { position: relative; flex: 0 1 46px; aspect-ratio: 1; opacity: 0.6; transition: opacity 0.3s, transform 0.4s var(--ease), outline-color 0.3s; outline: 2px solid transparent; outline-offset: 2px; }
.edit__strip img { width: 100%; height: 100%; object-fit: cover; }
.edit__strip li.is-live { opacity: 1; transform: translateY(-5px); outline-color: var(--yellow); }
.edit__strip li.is-ok { opacity: 1; outline-color: var(--yellow); }
.edit__strip li.is-no img { filter: grayscale(1); }
.edit__strip li.is-no::after, .edit__strip li.is-ok::after {
	content: "\00d7"; position: absolute; right: -4px; top: -4px; width: 15px; height: 15px; border-radius: 50%;
	display: grid; place-items: center; background: var(--no); color: #fff; font-size: 10px; font-weight: 800; line-height: 1;
}
.edit__strip li.is-ok::after { content: "\2713"; background: var(--yellow); color: var(--ink); }

@media (max-width: 1100px) {
	.hone { grid-template-columns: minmax(0, 1fr); }
	.edit { --H: clamp(340px, 60vw, 480px); }
	.edit__table { grid-template-columns: minmax(0, 1fr) 220px; }
}
@media (max-width: 700px) {
	.edit { --H: clamp(330px, 96vw, 430px); }
	.edit__title span { display: none; }
	.edit__bar { gap: 10px; }
	.edit__tabs { width: 100%; justify-content: space-between; gap: 8px; }
	.edit__tab { flex: 1; letter-spacing: 0.1em; }
	.edit__table { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.edit__notes { align-content: start; min-height: 196px; }
	.edit__strip .label { display: none; }
	.edit__strip ol { gap: 4px; justify-content: space-between; }
}

/* ---------- Marquee ---------- */

.marquee { background: var(--yellow); color: var(--ink); overflow: hidden; padding-block: 18px; }
.marquee__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 62s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-size: clamp(1.3rem, 2.4vw, 2.1rem); font-weight: 800; font-stretch: 68%; text-transform: uppercase; white-space: nowrap; }
.marquee em { font-family: var(--serif); font-style: italic; font-weight: 500; font-stretch: 100%; text-transform: none; font-size: 1.28em; letter-spacing: -0.01em; line-height: 0.8; }
.marquee i { width: 9px; height: 9px; background: currentColor; flex: none; rotate: 45deg; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */

.intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 110px); align-items: end; }
.intro__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; max-width: 760px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.facts li { padding: 22px 20px 0 0; display: grid; gap: 4px; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts li { align-content: start; }
.facts strong { font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 800; font-stretch: 66%; line-height: 1; }
.facts span { font-size: 14px; color: var(--muted); }
.facts strong span { font-size: inherit; color: inherit; }
.intro__clip { overflow: hidden; }
.intro__figure img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; scale: 1.12; }
.intro__figure figcaption { margin-top: 16px; color: var(--muted); }

@media (max-width: 900px) {
	.intro__grid { grid-template-columns: 1fr; }
	.intro__figure img { aspect-ratio: 3 / 2; }
}
@media (max-width: 620px) {
	.intro__cols { grid-template-columns: 1fr; gap: 16px; }
	.facts { grid-template-columns: 1fr; }
	.facts li, .facts li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); grid-template-columns: 110px 1fr; align-items: center; }
}

/* ---------- Rooms ---------- */

.rooms__head { margin-bottom: clamp(36px, 5vw, 72px); }
.rooms__head .display { max-width: 20ch; }
.rooms__panels { display: flex; gap: 6px; height: min(78vh, 740px); min-height: 480px; padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.room { position: relative; display: block; flex: 1; min-width: 0; overflow: hidden; color: inherit; text-decoration: none; transition: flex 0.8s var(--ease); }
.room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19, 18, 16, 0.86) 0, rgba(19, 18, 16, 0) 55%); }
.room__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 2.4vw, 36px); color: #fff; }
.room__text .label { color: var(--yellow); }
.room__text h3 { font-size: clamp(2rem, 4.4vw, 4.4rem); font-weight: 800; font-stretch: 66%; text-transform: uppercase; line-height: 0.95; }
.room__more { max-width: 44ch; margin-top: 12px; font-size: 16px; line-height: 1.5; }
.room__go { display: inline-block; margin-top: 16px; padding-bottom: 4px; border-bottom: 1px solid var(--yellow); color: var(--yellow); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.room__go::after { content: "\2192"; display: inline-block; margin-left: 0.5em; transition: transform 0.3s var(--ease); }
.room:hover .room__go::after, .room:focus-visible .room__go::after { transform: translateX(6px); }
@media (min-width: 821px) {
	.room__more { max-height: 0; opacity: 0; margin-top: 0; overflow: hidden; transition: max-height 0.8s var(--ease), opacity 0.5s, margin-top 0.8s var(--ease); }
	.rooms__panels:not(:hover):not(:focus-within) .room:first-child,
	.room:hover, .room:focus-visible { flex: 2.3; }
	.rooms__panels:not(:hover):not(:focus-within) .room:first-child .room__more,
	.room:hover .room__more, .room:focus-visible .room__more { max-height: 9em; opacity: 1; margin-top: 12px; }
	.room:hover img { transform: scale(1.04); }
}
@media (max-width: 820px) {
	.rooms__panels { flex-direction: column; height: auto; min-height: 0; }
	.room { flex: none; aspect-ratio: 4 / 3; }
}

.rooms__more { margin-top: 26px; color: var(--yellow); }
.tools__more { margin-top: 22px; }
.ads__more + .ads__more { margin-top: 14px; }

/* ---------- Other sectors ---------- */

.other { background: var(--stone); border-top: 1px solid var(--line); padding-block: clamp(36px, 5vw, 64px); }
.other__in { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 40px; align-items: center; }
.other__text { font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.4; max-width: 58ch; }
@media (max-width: 820px) { .other__in { grid-template-columns: 1fr; } }

/* ---------- Customer journey ---------- */

.journey { overflow: hidden; }
.journey .display { max-width: 19ch; }
.jy { --p: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(28px, 5vw, 90px); align-items: center; margin-top: clamp(44px, 6vw, 90px); }

.jy__copy { min-height: 30rem; display: grid; align-content: center; }
.jy__step { display: grid; gap: 14px; align-content: start; justify-items: start; margin-bottom: 40px; }
.js .jy__step { display: none; margin-bottom: 0; }
.js .jy__step.is-on { display: grid; animation: rise 0.6s var(--ease) both; }
.jy__n { font-size: clamp(5rem, 11vw, 10.5rem); font-weight: 800; font-stretch: 64%; line-height: 0.82; color: transparent; -webkit-text-stroke: 1.5px var(--ink); font-variant-numeric: tabular-nums; }
.jy__n small { font-size: 0.22em; font-stretch: 100%; letter-spacing: 0.1em; color: var(--muted); -webkit-text-stroke: 0; margin-left: 0.5em; }
.jy__when { color: var(--muted); margin-top: 8px; }
.jy__step h3 { font-size: clamp(1.9rem, 3.6vw, 3.4rem); font-weight: 800; font-stretch: 68%; line-height: 0.98; text-transform: uppercase; text-wrap: balance; }
.jy__text { font-size: 1.1rem; max-width: 44ch; color: #4a463f; }
.jy__part { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 10px 14px; background: var(--ink); color: #f3efe7; font-size: 14px; font-weight: 700; line-height: 1.3; }
.jy__part span { color: var(--yellow); }
.jy__ctrl { display: none; gap: 10px; margin-top: 30px; }
.js .jy__ctrl { display: flex; }
.jy__ctrl .round { width: 48px; height: 48px; border-color: var(--line); }
.jy__toggle i { display: block; width: 12px; height: 14px; margin: auto; border: solid currentColor; border-width: 0 4px; }
.jy.is-paused .jy__toggle i { width: 0; height: 0; border: 7px solid transparent; border-left: 12px solid currentColor; border-right: 0; transform: translateX(2px); }

.jy__device { position: relative; display: grid; justify-items: center; gap: 16px; }
.jy__device::before { content: ""; position: absolute; left: 50%; top: 53%; width: 128%; aspect-ratio: 1; border-radius: 50%; background: var(--stone); transform: translate(-50%, -50%); }
.jy__who { position: relative; display: flex; align-items: center; gap: 8px; }
.jy__who::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-deep); }
.jy__phone { position: relative; width: min(100%, 300px); aspect-ratio: 300 / 610; background: #fff; border: 10px solid #26231f; border-radius: 42px; overflow: hidden; box-shadow: 0 40px 80px rgba(19, 18, 16, 0.32); font-size: 12px; line-height: 1.4; color: #202124; }
.jy__phone::before { content: ""; position: absolute; z-index: 5; top: 9px; left: 50%; width: 66px; height: 16px; border-radius: 8px; background: #26231f; transform: translateX(-50%); }
.jy__screen { position: absolute; inset: 0; padding: 40px 14px 14px; background: #fff; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0.5s; }
.jy__screen.is-on { opacity: 1; visibility: visible; }
.jy__screen.is-on .jy-a { animation: rise 0.6s var(--ease) var(--d, 0s) both; }
.jy__screen.is-on .jy-pop { animation: jy-pop 0.5s var(--ease) var(--d, 0s) both; }
.jy__screen.is-on .jy-type { animation: jy-type 1s steps(22) var(--d, 0.3s) both; }
@keyframes jy-pop { from { opacity: 0; transform: scale(0.3); } }
@keyframes jy-type { from { clip-path: inset(0 100% 0 0); } }

.jy__rail { grid-column: 1 / -1; position: relative; display: none; grid-template-columns: repeat(8, 1fr); margin-top: clamp(20px, 3vw, 44px); }
.js .jy__rail { display: grid; }
.jy__rail::before, .jy__rail::after { content: ""; position: absolute; left: 6.25%; top: 9px; height: 2px; }
.jy__rail::before { right: 6.25%; background: #d5cec1; }
.jy__rail::after { width: calc(var(--p) * 87.5%); background: var(--ink); transition: width 0.8s var(--ease); }
.jy__rail button { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; width: 100%; padding: 0 4px 6px; background: none; border: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3; color: var(--muted); transition: color 0.3s; }
.jy__rail button i { position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid #d5cec1; transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.jy__rail button:hover { color: var(--ink); }
.jy__rail button:hover i { transform: scale(1.2); }
.jy__rail button.is-done i { background: var(--ink); border-color: var(--ink); }
.jy__rail button.is-on { color: var(--ink); }
.jy__rail button.is-on i { background: var(--yellow); border-color: var(--ink); }
.jy__rail button.is-on i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--yellow-deep); animation: pin-pulse 1.8s ease-out infinite; }
.jy.is-paused .jy__rail button.is-on i::after { display: none; }

/* Screen furniture shared by several scenes */
.jy-pill { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid #dadce0; border-radius: 18px; background: #fff; font-size: 13px; white-space: nowrap; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08); }
.jy-pill::before { content: ""; flex: none; width: 10px; height: 10px; border: 2px solid #7b7f86; border-radius: 50%; }
.jy-sk i { display: block; height: 8px; border-radius: 4px; background: #eceef1; margin-bottom: 7px; }
.jy-sk i:nth-child(1) { width: 40%; }
.jy-sk i:nth-child(2) { width: 85%; }
.jy-sk i:nth-child(3) { width: 65%; }
.jy-sk--row { padding: 14px 2px 0; }
.jy-sk--row i:nth-child(2) { height: 11px; background: #e1e5f4; }
.jy-hit { margin-top: 12px; padding: 11px 12px; border-radius: 10px; background: #fbf7df; outline: 2px solid var(--yellow); }
.jy-hit b { display: block; margin: 2px 0; font-size: 14px; line-height: 1.25; color: #1a0dab; }
.jy-hit small { display: block; font-size: 11px; color: #4d5156; }
.jy-hit--organic { background: #fff; outline: 0; border-left: 3px solid var(--yellow); border-radius: 0; padding-left: 10px; }
.jy-stars { color: #e7a700; letter-spacing: 1px; }

/* 1. Thinking */
.jy-think { display: grid; align-content: center; justify-items: center; gap: 12px; padding-top: 110px; background: var(--ink); color: #f3efe7; text-align: center; }
.jy-think__time { position: absolute; top: 46px; left: 0; right: 0; font-size: 46px; font-weight: 300; font-stretch: 80%; line-height: 1; }
.jy-think__time span { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #b8b1a5; }
.jy-think__bubble { width: 176px; height: 176px; border-radius: 50%; overflow: hidden; border: 3px solid var(--yellow); }
.jy-think__bubble img { width: 100%; height: 100%; object-fit: cover; }
.jy-think__dots { display: grid; justify-items: center; gap: 6px; }
.jy-think__dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); }
.jy-think__dots i + i { width: 8px; height: 8px; }
.jy-think__q { font-family: var(--serif); font-style: italic; font-size: 27px; line-height: 1.05; padding: 0 8px; }

/* 2. Feed */
.jy-feed { padding: 34px 0 0; background: #f0f2f5; }
.jy-feed__in { display: grid; gap: 8px; transform: translateY(-158px); }
.jy__screen.is-on .jy-feed__in { animation: jy-scroll 1.5s var(--ease) 0.5s both; }
@keyframes jy-scroll { from { transform: translateY(0); } }
.jy-post { background: #fff; padding: 12px; }
.jy-post__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; line-height: 1.2; }
.jy-post__head b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #dfe3e8; }
.jy-post__head .jy-sk { flex: 1; }
.jy-post__head .jy-sk i:last-child { margin: 0; width: 30%; }
.jy-post__head small { display: block; font-size: 10px; font-weight: 400; color: #65676b; }
.jy-post__ph { height: 120px; margin-top: 8px; border-radius: 4px; background: #e4e6eb; }
.jy-post--ad { padding: 12px 0 0; }
.jy-post--ad .jy-post__head, .jy-post--ad > p { padding: 0 12px; }
.jy-post--ad > p { margin-bottom: 8px; }
.jy-post--ad .jy-post__head b { background: var(--ink) url("../img/logo-yellow.png") center / 70% no-repeat; }
.jy-post__img { position: relative; }
.jy-post__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.jy-heart { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: 0; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35)); }
.jy__screen.is-on .jy-heart { animation: jy-like 1.5s var(--ease) 2.6s both; }
@keyframes jy-like { 0% { opacity: 0; transform: scale(0.3); } 25%, 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.3); } }
.jy-post__cta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; background: #f0f2f5; font-size: 11.5px; font-weight: 700; line-height: 1.3; }
.jy-post__cta small { display: block; font-size: 9px; font-weight: 400; text-transform: uppercase; color: #65676b; }
.jy-post__cta span { flex: none; padding: 7px 10px; border-radius: 5px; background: var(--yellow); }

/* 3. Local search */
.jy-map {
	position: relative; height: 150px; margin-top: 12px; border-radius: 10px; overflow: hidden;
	background:
		linear-gradient(115deg, transparent 46%, #fff 46% 50%, transparent 50%),
		linear-gradient(20deg, transparent 58%, #fff 58% 61%, transparent 61%),
		linear-gradient(82deg, transparent 26%, #fff 26% 28%, transparent 28%),
		#e2e9dc;
}
.jy-map i { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: #9aa0a6; }
.jy-map i.is-you { width: 26px; height: 26px; background: var(--yellow); border: 3px solid var(--ink); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); }

/* 4. AI assistant */
.jy-ai { display: flex; flex-direction: column; gap: 10px; background: #f7f7f8; }
.jy-ai__bar { padding-bottom: 8px; border-bottom: 1px solid #e3e3e6; text-align: center; font-weight: 700; }
.jy-msg { max-width: 90%; padding: 10px 12px; border-radius: 14px; font-size: 12.5px; }
.jy-msg p + p, .jy-msg .jy-sk { margin-top: 8px; }
.jy-msg--me { align-self: flex-end; background: #26231f; color: #fff; border-bottom-right-radius: 4px; }
.jy-msg--ai { background: #fff; border: 1px solid #e3e3e6; border-bottom-left-radius: 4px; }
.jy-msg--ai b { background: linear-gradient(var(--yellow), var(--yellow)) 0 92% / 100% 42% no-repeat; }
.jy-wait { position: relative; }
.jy-dots { position: absolute; left: 12px; top: 12px; display: flex; gap: 5px; opacity: 0; }
.jy-dots i { width: 7px; height: 7px; border-radius: 50%; background: #9aa0a6; animation: blink 0.9s infinite; }
.jy-dots i:nth-child(2) { animation-delay: 0.15s; }
.jy-dots i:nth-child(3) { animation-delay: 0.3s; }
.jy__screen.is-on .jy-dots { animation: jy-dots 2s both; }
@keyframes jy-dots { 0%, 45% { opacity: 0; } 55%, 92% { opacity: 1; } 100% { opacity: 0; } }
.jy-ai__in { margin-top: auto; color: #8a8f98; }
.jy-ai__in::before { display: none; }

/* 6. Website and tools */
.jy-site { padding: 30px 0 0; background: var(--paper); }
.jy-site__bar { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; font-stretch: 70%; letter-spacing: 0.04em; text-transform: uppercase; }
.jy-site__bar i { width: 18px; height: 10px; border: solid var(--yellow); border-width: 2px 0; }
.jy-site__hero { width: 100%; height: 120px; object-fit: cover; }
.jy-site__card { position: relative; margin: -28px 12px 0; padding: 14px; background: var(--ink); color: #f3efe7; box-shadow: 0 16px 30px rgba(19, 18, 16, 0.3); }
.jy-site__card .label { font-size: 9px; color: var(--yellow); margin-bottom: 10px; }
.jy-seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-light); font-size: 10.5px; font-weight: 600; text-align: center; }
.jy-seg span { padding: 7px 0; }
.jy-seg span + span { border-left: 1px solid var(--line-light); }
.jy-seg .is-on { background: var(--yellow); color: var(--ink); }
.jy-site__lbl { margin-top: 12px; font-size: 9px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #b8b1a5; }
.jy-range { position: relative; height: 2px; margin: 14px 0 18px; background: var(--line-light); }
.jy-range i { position: absolute; left: 62%; top: -8px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--yellow); }
.jy__screen.is-on .jy-range i { animation: jy-slide 1.2s var(--ease) 0.8s both; }
@keyframes jy-slide { from { left: 16%; } }
.jy-price { margin-top: 4px; font-size: 25px; font-weight: 800; font-stretch: 66%; line-height: 1; color: var(--yellow); }
.jy-btn { display: block; margin-top: 14px; padding: 11px 8px; background: var(--yellow); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; }
.jy__screen.is-on .jy-btn { animation: jy-press 0.45s 3s; }
@keyframes jy-press { 50% { transform: scale(0.93); background: #fff; } }
.jy-toast { position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 10px 12px; border-radius: 8px; background: #5fd08a; color: var(--ink); font-weight: 700; line-height: 1.3; box-shadow: 0 10px 24px rgba(19, 18, 16, 0.25); }

/* 7. Lead and design visit */
.jy-lead { display: grid; align-content: start; gap: 10px; padding-top: 54px; background: linear-gradient(#35302a, #131210); color: #f3efe7; }
.jy-note { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.13); }
.jy-note .label { margin-bottom: 4px; font-size: 9px; color: var(--yellow); }
.jy-note b { display: block; font-size: 15px; }
.jy-score { display: inline-block; padding: 1px 8px; border-radius: 10px; background: #ff7a59; color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.jy-cal { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #fff; color: var(--ink); }
.jy-cal b { font-size: 14px; }
.jy-cal__day { width: 46px; padding-bottom: 6px; border-radius: 8px; overflow: hidden; background: var(--stone); font-size: 20px; font-weight: 800; line-height: 1; text-align: center; }
.jy-cal__day span { display: block; margin-bottom: 5px; padding: 3px 0; background: var(--yellow); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; }
.jy-ok { padding: 10px 12px; border-radius: 14px; background: #5fd08a; color: var(--ink); font-weight: 700; line-height: 1.3; }

/* 8. Order */
.jy-order { padding: 0; color: #fff; }
.jy-order img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jy__screen.is-on.jy-order img { animation: hero-drift 6s ease-out both; }
.jy-order::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(19, 18, 16, 0.9)); }
.jy-order__in { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 26px; display: grid; gap: 10px; justify-items: start; }
.jy-order b { font-size: 34px; font-weight: 800; font-stretch: 66%; line-height: 0.92; text-transform: uppercase; }
.jy-stamp { position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--yellow); }
.jy-stamp::before { content: ""; position: absolute; left: 21px; top: 15px; width: 16px; height: 26px; border: solid var(--ink); border-width: 0 5px 5px 0; rotate: 45deg; }

@media (max-width: 900px) {
	.jy { grid-template-columns: 1fr; gap: 20px; }
	.jy__rail { order: -2; margin: 0 0 4px; }
	.jy__rail span { display: none; }
	.jy__rail button { padding: 0 0 12px; }
	.jy__device { order: -1; gap: 12px; }
	.jy__phone { zoom: 0.8; }
	.jy__copy { min-height: 0; align-content: start; }
	.js .jy__steps { min-height: 15.5rem; }
	.js .jy__n { display: none; }
	.jy__when { margin-top: 0; }
	.jy__ctrl { margin-top: 14px; }
	.jy__device::before { width: 100%; }
}

/* ---------- Work ---------- */

.work { overflow: hidden; }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px, 5vw, 72px); }
.work__head > div:first-child { flex: 1; }
.work__nav { display: flex; gap: 10px; }
.work__track {
	display: flex; gap: clamp(18px, 2.4vw, 36px);
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
	scroll-padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
	cursor: grab;
}
.work__track::-webkit-scrollbar { display: none; }
.work__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.work__track.is-dragging .site { pointer-events: none; }
.site { flex: none; width: min(80vw, 640px); scroll-snap-align: start; user-select: none; }
.site__frame { border-radius: 10px; overflow: hidden; background: var(--ink-3); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.site__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #2f2c28; }
.site__bar i { width: 9px; height: 9px; border-radius: 50%; background: #55504a; }
.site__bar span { margin-left: 12px; font-size: 11px; letter-spacing: 0.04em; color: #a59e92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site__view { position: relative; aspect-ratio: 10 / 7; overflow: hidden; }
.site__view img {
	position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none;
	transition: top 1.2s var(--ease), transform 1.2s var(--ease);
}
@media (hover: hover) {
	.site:hover .site__view img { top: 100%; transform: translateY(-100%); transition-duration: 7s; transition-timing-function: linear; }
}
.site__meta { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding-top: 20px; }
.site__meta h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1.05; }
.site__meta p { color: #a59e92; font-size: 15px; }
.site__meta .label { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--yellow); font-size: 11px; text-align: right; }
.work__hint { margin-top: 40px; color: #8d867a; }
@media (max-width: 620px) {
	.work__nav { display: none; }
	.site__meta { grid-template-columns: 1fr; }
	.site__meta .label { grid-column: 1; grid-row: auto; text-align: left; margin-top: 6px; }
}

/* ---------- Tools ---------- */

.tools__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.acc { margin-top: 44px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
	display: flex; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none;
	font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1.1;
	transition: color 0.2s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--yellow-deep); }
.acc__n { font-size: 11px; font-weight: 600; font-stretch: 110%; letter-spacing: 0.2em; color: var(--muted); width: 28px; }
.acc summary i { margin-left: auto; width: 14px; height: 14px; position: relative; flex: none; }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
.acc summary i::after { transform: rotate(90deg); }
.acc details[open] summary i::after { transform: rotate(0); }
.acc details p { padding: 0 34px 24px 48px; max-width: 58ch; color: #4a463f; }

.est { position: sticky; top: 96px; background: var(--ink); color: #f3efe7; padding: clamp(24px, 3vw, 40px); box-shadow: 0 40px 80px rgba(19, 18, 16, 0.28); }
.est__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--line-light); }
.est__top .label { color: var(--yellow); }
.est__live { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #b8b1a5; }
.est__live i { width: 8px; height: 8px; border-radius: 50%; background: #5fd08a; animation: blink 1.8s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.est__field { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.est__field legend, .est__field label { display: flex; justify-content: space-between; width: 100%; padding: 0; margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #b8b1a5; }
.est__field output { color: var(--yellow); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-light); }
.seg button { min-height: 48px; background: none; border: 0; font-size: 14px; font-weight: 600; transition: background-color 0.2s, color 0.2s; }
.seg button + button { border-left: 1px solid var(--line-light); }
.seg button:hover { background: rgba(255, 255, 255, 0.07); }
.seg button.is-on { background: var(--yellow); color: var(--ink); }
.est input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; }
.est input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--line-light); }
.est input[type="range"]::-moz-range-track { height: 2px; background: var(--line-light); }
.est input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -12px; border-radius: 50%; background: var(--yellow); border: 0; cursor: grab; }
.est input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 0; cursor: grab; }
.est__result { padding: 22px 0 24px; border-top: 1px solid var(--line-light); }
.est__result .label { color: #b8b1a5; }
.est__price { margin-top: 6px; font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 800; font-stretch: 66%; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.est__price small { font-family: var(--serif); font-style: italic; font-weight: 500; font-stretch: 100%; font-size: 0.6em; color: #f3efe7; padding: 0 0.1em; }
.est__send { width: 100%; }
.est__note { margin-top: 14px; font-size: 13px; line-height: 1.45; color: #9a9387; transition: color 0.3s; }
.est__note.is-lit { color: var(--yellow); }

/* Tool demos: one card, six panels */
.demo { min-height: 640px; scroll-margin-top: 96px; }
.demo__panel[hidden], .demo [hidden] { display: none; }
.demo__panel { animation: rise 0.5s var(--ease) both; }
.demo__lead { font-size: 1.15rem; line-height: 1.4; margin-bottom: 26px; }
.demo__sub { color: #b8b1a5; margin: 4px 0 12px; }
.demo__input {
	width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-light); border-radius: 0;
	background: transparent; color: #f3efe7; font: inherit; font-size: 16px;
}
.demo__input:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
select.demo__input { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e0c010' stroke-width='2'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 36px; }
select.demo__input option { color: #131210; }
.seg--2 { grid-template-columns: 1fr 1fr; }
.est__result--row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.est__send[disabled] { background: #5fd08a; color: var(--ink); cursor: default; }
.acc__try { display: none; }
@media (max-width: 900px) {
	.acc__try { display: inline-block; margin-left: 6px; font-weight: 700; color: var(--ink); text-decoration-color: var(--yellow-deep); text-underline-offset: 3px; }
	.demo { min-height: 0; }
}

.mw__plan { border: 1px solid var(--line-light); margin-bottom: 22px; background: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 20px, linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 20px 100%; }
.mw__plan svg { display: block; width: 100%; height: auto; }
.demo .est__field { margin-bottom: 20px; }

.vault__view { position: relative; margin: 18px 0 20px; }
.vault__view img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.vault__mark {
	position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
	font-size: clamp(0.9rem, 1.6vw, 1.25rem); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5); transform: rotate(-14deg); pointer-events: none;
}
.vault__quote { margin: 0 0 20px; }
.vault__quote div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-light); }
.vault__quote dt { color: #b8b1a5; }
.vault__quote dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.vault__quote .is-total dt, .vault__quote .is-total dd { color: var(--yellow); font-size: 1.15rem; font-weight: 800; }
.vault__quote dd.is-hot { color: #ff7a59; }
.vault__quote dd.is-warm { color: var(--yellow); }
.vault__quote dd.is-cool { color: #8ec5ff; }
.vault__mood { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; aspect-ratio: 16 / 10; }
.vault__mood img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.vault__mood img:first-child { grid-row: 1 / 3; }
.vault__mood img:last-child { grid-column: 2 / 5; }

.dc__done .label { color: #b8b1a5; }
.dc__big { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; font-stretch: 66%; line-height: 1.05; color: var(--yellow); margin: 6px 0 24px; }

.as__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.as__row .btn { min-height: 48px; padding: 0 20px; }
.tix { display: grid; margin-bottom: 18px; border-top: 1px solid var(--line-light); }
.tix li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.tix li.is-new { animation: rise 0.5s var(--ease) both; }
.tix__what b { color: #b8b1a5; font-weight: 600; margin-right: 6px; }
.tix__st { flex: none; min-height: 30px; padding: 0 12px; border: 1px solid currentColor; border-radius: 15px; background: none; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; transition: color 0.3s, background-color 0.3s; }
.tix__st[data-st="0"] { color: #ff7a59; }
.tix__st[data-st="1"] { color: #8ec5ff; }
.tix__st[data-st="2"] { color: var(--yellow); }
.tix__st[data-st="3"] { color: var(--ink); background: #5fd08a; border-color: #5fd08a; cursor: default; }

.dash__period { margin-bottom: 20px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.dash__kpis li { padding: 14px 12px; border: 1px solid var(--line-light); }
.dash__kpis strong { display: block; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; font-stretch: 66%; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.dash__kpis span { font-size: 12px; color: #b8b1a5; }
.dash__bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-bottom: 22px; }
.dash__bars span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.dash__bars i { width: 100%; min-height: 3px; background: #4a453e; transition: height 0.6s var(--ease); }
.dash__bars i.is-now { background: var(--yellow); }
.dash__bars b { font-size: 10px; font-weight: 600; color: #8d867a; }
.dash__feed { display: grid; margin-bottom: 16px; border-top: 1px solid var(--line-light); }
.dash__feed li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line-light); font-size: 14px; line-height: 1.35; }
.dash__feed span { font-size: 11px; color: #8d867a; }
.dash__feed li.is-live { animation: rise 0.5s var(--ease) both; }
.dash__feed li.is-live span { color: #5fd08a; }

@media (max-width: 900px) {
	.tools__grid { grid-template-columns: 1fr; }
	.est { position: static; }
}

/* ---------- Paid ads ---------- */

.ads__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 72px); }
.tabs { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-light); }
.tabs button { min-height: 52px; padding: 0 26px; background: none; border: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.tabs button.is-on { background: var(--yellow); color: var(--ink); }
.ads__panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.ads__panel[hidden] { display: none; }
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.steps li { counter-increment: step; position: relative; padding: 26px 0 26px 76px; border-bottom: 1px solid var(--line-light); color: #c9c2b6; }
.steps li::before { content: "0" counter(step); position: absolute; left: 0; top: 20px; font-size: 2.6rem; font-weight: 800; font-stretch: 66%; line-height: 1; color: var(--yellow); }
.steps strong { display: block; color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.ads__panel.is-on .steps li, .ads__panel.is-on .mock { animation: rise 0.7s var(--ease) both; }
.ads__panel.is-on .steps li:nth-child(2) { animation-delay: 0.08s; }
.ads__panel.is-on .steps li:nth-child(3) { animation-delay: 0.16s; }
.ads__panel.is-on .mock { animation-delay: 0.12s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.ads__more { margin-top: 48px; color: var(--yellow); }

.mock { position: relative; background: #fff; color: #202124; border-radius: 14px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); font-size: 14px; line-height: 1.45; }
.mock__tag { position: absolute; right: 16px; top: -12px; background: var(--yellow); color: var(--ink); padding: 5px 10px; font-size: 10px; }
.mock__search { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 20px; border: 1px solid #dadce0; border-radius: 26px; font-size: 16px; color: #202124; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.mock__search svg { color: #7b7f86; flex: none; }
.mock__search span::after { content: ""; display: inline-block; width: 1px; height: 1.1em; margin-left: 2px; background: #202124; vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
.mock__result { padding: 22px 4px 0; }
.mock__result--ad { margin-top: 20px; padding: 18px; border-radius: 10px; background: #fbf7df; outline: 2px solid var(--yellow); }
.mock__spons { font-weight: 700; font-size: 12px; color: #202124; }
.mock__url { font-size: 12px; color: #4d5156; }
.mock__title { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #1a0dab; margin: 4px 0; line-height: 1.25; }
.mock__desc { color: #4d5156; }
.mock__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; color: #1a0dab; font-size: 13px; }
.mock__result--dim i { display: block; height: 10px; border-radius: 5px; background: #eceef1; margin-bottom: 9px; }
.mock__result--dim i:nth-child(1) { width: 34%; }
.mock__result--dim i:nth-child(2) { width: 72%; height: 14px; background: #e1e5f4; }
.mock__result--dim i:nth-child(3) { width: 90%; }

.mock--meta { position: relative; background: none; box-shadow: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.mock__device { position: relative; width: min(100%, 360px); }
.mock--meta .mock__tag { right: -8px; top: 20px; z-index: 4; }
.mock__phone { background: #fff; border: 10px solid #26231f; border-radius: 38px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); padding: 22px 0 10px; }
.mock__post-head { display: flex; align-items: center; gap: 10px; padding: 0 14px 10px; font-weight: 700; }
.mock__post-head b { width: 38px; height: 38px; border-radius: 50%; background: var(--ink) url("../img/logo-yellow.png") center / 70% no-repeat; }
.mock__post-head .mock__spons { font-weight: 400; color: #65676b; }
.mock__post-text { padding: 0 14px 12px; }

/* Who the ad is shown to: loose chips around the phone */
.aud { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.aud li { padding: 9px 14px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.25; }
.aud li span { display: block; font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 1200px) {
	.aud { display: block; margin: 0; }
	.aud li { position: absolute; z-index: 3; max-width: 180px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5); animation: bob 4.5s ease-in-out infinite alternate; }
	.aud li:nth-child(1) { left: 0; top: 15%; }
	.aud li:nth-child(2) { right: 0; top: 42%; animation-delay: -1.5s; }
	.aud li:nth-child(3) { left: 0; bottom: 33%; animation-delay: -3s; }
	.aud li::after { content: ""; position: absolute; top: 50%; width: 34px; height: 1px; background: var(--yellow); }
	.aud li:nth-child(odd)::after { left: 100%; }
	.aud li:nth-child(even)::after { right: 100%; }
}
@keyframes bob { to { translate: 0 -12px; } }

/* Carousel inside the ad */
.reel { position: relative; overflow: hidden; padding-bottom: 12px; }
.reel__track { --at: 0; display: flex; gap: 8px; width: 100%; margin-left: 11%; transform: translateX(calc(var(--at) * -1 * (78% + 8px))); transition: transform 0.8s var(--ease); }
.reel__card { flex: 0 0 78%; margin: 0; border: 1px solid #dddfe2; border-radius: 8px; overflow: hidden; opacity: 0.5; cursor: pointer; transition: opacity 0.6s; }
.reel__card.is-on { opacity: 1; }
.reel__img { overflow: hidden; }
.reel__img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: scale 3.4s ease-out; }
.reel__card.is-on .reel__img img { scale: 1.12; }
.reel__card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; background: #f0f2f5; font-size: 12px; color: #65676b; line-height: 1.3; }
.reel__card figcaption b { display: block; font-size: 15px; color: #202124; }
.reel__card figcaption span { flex: none; padding: 8px 12px; border-radius: 6px; background: #e4e6eb; color: #202124; font-size: 13px; font-weight: 700; }
.reel__card.is-on figcaption span { background: var(--yellow); animation: nudge 2.4s 1s infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: scale(1.1); } 90% { transform: scale(0.96); } }
.reel__hearts { position: absolute; inset: 0; pointer-events: none; }
.reel__hearts i, .mock__react i, .jy-heart {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f0284a' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.reel__hearts i { position: absolute; bottom: 34%; width: 26px; height: 26px; margin-left: -13px; animation: heart-up 1.9s ease-out forwards; }
@keyframes heart-up {
	0% { opacity: 0; transform: translateY(0) scale(0.3); }
	15% { opacity: 1; transform: translateY(-16px) scale(1.1); }
	100% { opacity: 0; transform: translateY(-190px) scale(1.25) rotate(var(--r, 0deg)); }
}
.mock__react { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-top: 1px solid #e4e6eb; color: #65676b; font-size: 13px; }
.mock__react span:first-child { display: flex; align-items: center; gap: 6px; }
.mock__react i { width: 18px; height: 18px; }
.mock__react b { color: #202124; font-variant-numeric: tabular-nums; }
.mock__comment { margin: 0 14px 8px; padding: 8px 12px; border-radius: 14px; background: #f0f2f5; font-size: 13px; line-height: 1.35; }
.mock__comment b { display: block; font-size: 12px; }
.mock__comment--reply { margin-left: 40px; }
.ads__panel.is-on .mock__comment { animation: rise 0.6s var(--ease) 2.6s both; }
.ads__panel.is-on .mock__comment--reply { animation-delay: 5s; }
@media (max-width: 900px) { .ads__panel { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Two-column sections: text beside a graphic ---------- */

.duo { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.duo--flip { grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); }
.duo--flip .duo__text { order: 2; }
.duo__art { min-width: 0; }
.pts { display: grid; gap: 18px; margin-top: 36px; max-width: 50ch; }
.pts li { padding-left: 18px; border-left: 2px solid var(--yellow-deep); font-size: 15.5px; line-height: 1.5; }
.pts strong { display: block; }
.section--ink .pts li { border-color: var(--yellow); color: rgba(243, 239, 231, 0.82); }
.section--ink .pts strong { color: #fff; }

@media (max-width: 1000px) {
	.duo, .duo--flip { grid-template-columns: minmax(0, 1fr); }
	.duo--flip .duo__text { order: 0; }
}

/* ---------- Every screen (inside Selected work) ---------- */
/* Markup: parts/screens.php. One mock page in a frame whose width is animated;
   the page reflows with container queries, so what you see is real. */

.screens { margin-top: clamp(64px, 9vw, 140px); padding-top: clamp(48px, 7vw, 110px); border-top: 1px solid var(--line-light); }
.sub__label { color: var(--yellow); margin-bottom: 18px; }
.sub__title { font-size: clamp(2rem, 3.5vw, 3.5rem); }

.scr__stage { display: flex; justify-content: center; align-items: stretch; height: clamp(300px, 30vw, 400px); }
.scr__frame {
	width: max(76%, 270px); max-width: 100%; display: flex; flex-direction: column;
	background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
	animation: scr-size 16s cubic-bezier(0.76, 0, 0.18, 1) infinite;
}
@keyframes scr-size {
	0%, 19% { width: max(26%, 118px); }
	25%, 44% { width: max(50%, 190px); }
	50%, 69% { width: max(76%, 270px); }
	75%, 94% { width: 100%; }
	100% { width: max(26%, 118px); }
}
.scr__bar { flex: none; display: flex; align-items: center; gap: 4px; height: 18px; padding: 0 8px; background: #e9e6e0; }
.scr__bar i { width: 5px; height: 5px; border-radius: 50%; background: #bdb7ab; }
.scr__page { container-type: inline-size; flex: 1; min-height: 0; overflow: hidden; color: var(--ink); }
.scr__page i, .scr__page u, .scr__page em, .scr__page b { display: block; font-style: normal; text-decoration: none; }

.scr__nav { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.scr__nav b { width: 46px; height: 9px; background: var(--ink); margin-right: auto; }
.scr__nav span { display: none; width: 24px; height: 3px; background: #b9b2a6; }
.scr__nav em { width: 16px; height: 10px; border-block: 2px solid var(--ink); }

.scr__hero { display: grid; background: var(--stone); }
.scr__hero img { width: 100%; height: 110px; object-fit: cover; }
.scr__hero div { display: grid; gap: 7px; align-content: center; padding: 12px; }
.scr__hero i { height: 11px; width: 88%; background: var(--ink); }
.scr__hero i + i { width: 60%; }
.scr__hero u { width: 62px; height: 18px; margin-top: 4px; background: var(--yellow); }

.scr__cards { display: grid; gap: 8px; padding: 12px; }
.scr__cards i { aspect-ratio: 4 / 3; background: #eeeae3; }

@container (min-width: 180px) {
	.scr__cards { grid-template-columns: repeat(2, 1fr); }
}
@container (min-width: 260px) {
	.scr__nav span { display: block; }
	.scr__nav em { display: none; }
	.scr__hero { grid-template-columns: 1fr 1.25fr; }
	.scr__hero img { order: 2; height: 150px; }
	.scr__hero i { height: 13px; }
}
@container (min-width: 400px) {
	.scr__cards { grid-template-columns: repeat(3, 1fr); }
	.scr__hero img { height: 170px; }
	.scr__hero div { padding: 20px; }
}
@container (min-width: 560px) {
	.scr__cards { grid-template-columns: repeat(4, 1fr); }
	.scr__hero img { height: 190px; }
	.scr__hero i { height: 16px; }
}

.scr__sizes { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.scr__sizes li {
	padding-bottom: 8px; border-bottom: 2px solid rgba(255, 255, 255, 0.22);
	font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
	animation: scr-on 16s linear infinite; animation-delay: calc(var(--i) * 4s);
}
@keyframes scr-on {
	0%, 22% { color: #fff; border-color: var(--yellow); }
	25%, 100% { color: rgba(255, 255, 255, 0.55); border-color: rgba(255, 255, 255, 0.22); }
}

/* ---------- Local search (Google Business Profile) ---------- */
/* Markup: parts/local.php. The listing's place is --r (0 = top), set by local-ai.js. */

.gbp { --row: 78px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 230px); align-items: end; }
.gbp__results { background: #fff; color: #202124; border-radius: 14px; padding: 16px; box-shadow: 0 30px 70px rgba(19, 18, 16, 0.22); font-family: Arial, sans-serif; }
.gbp__search { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border: 1px solid #dadce0; border-radius: 22px; font-size: 14px; }
.gbp__search svg { color: #7b7f86; flex: none; }
.gbp__map { position: relative; margin-top: 12px; border-radius: 10px; overflow: hidden; aspect-ratio: 400 / 170; }
.gbp__map svg { display: block; width: 100%; height: 100%; }

/* Map pins: a teardrop, with the letter kept upright */
.gbp__pin {
	position: absolute; width: 20px; height: 20px; margin: -20px 0 0 -10px;
	border-radius: 50% 50% 50% 0; rotate: -45deg; background: #9aa0a6; border: 2px solid #fff;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25); font-style: normal;
}
.gbp__pin--a { left: 22%; top: 46%; }
.gbp__pin--b { left: 84%; top: 78%; }
.gbp__pin--you {
	left: 60%; top: 58%; z-index: 1; width: 30px; height: 30px; margin: -30px 0 0 -15px;
	background: var(--yellow); border-color: var(--ink); display: grid; place-items: center;
	transition: scale 0.6s cubic-bezier(0.2, 1.5, 0.4, 1); transform-origin: 0 100%; scale: 0.8;
}
.gbp__pin--you b { rotate: 45deg; font: 800 13px/1 var(--sans); color: var(--ink); }
.gbp.is-top .gbp__pin--you, .gbp:not(.is-live) .gbp__pin--you { scale: 1.2; }
.gbp__pin--you::after {
	content: ""; position: absolute; left: -2px; bottom: -2px; width: 12px; height: 12px; margin: 0 0 -6px -6px; border-radius: 50%;
	border: 2px solid var(--yellow-deep); opacity: 0;
}
.gbp.is-top .gbp__pin--you::after { animation: gbp-pulse 1.8s ease-out infinite; }
@keyframes gbp-pulse { 0% { scale: 0.6; opacity: 1; } 100% { scale: 5; opacity: 0; } }

/* The three results: each row slides to its place */
.gbp__list { position: relative; height: calc(var(--row) * 3); margin-top: 6px; }
.gbp__row {
	position: absolute; inset: 0 0 auto; height: var(--row); display: flex; align-items: center; gap: 12px; padding: 0 6px;
	border-bottom: 1px solid #ebedf0;
	transform: translateY(calc(var(--r) * var(--row))); transition: transform 0.9s cubic-bezier(0.76, 0, 0.18, 1), background-color 0.5s;
}
.gbp__row > b { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e8eaed; color: #5f6368; font: 700 12px/1 Arial, sans-serif; }
.gbp__row > div { flex: 1; min-width: 0; display: grid; gap: 7px; }
.gbp__row > div > i { height: 8px; border-radius: 4px; background: #e8eaed; width: 58%; }
.gbp__row > div > i:nth-child(2) { width: 36%; }
.gbp__row > div > i:nth-child(3) { width: 46%; }
.gbp__row--you { z-index: 1; background: #fffbe0; border-radius: 8px; border-bottom-color: transparent; }
.gbp__row--you > b { background: var(--yellow); color: var(--ink); }
.gbp__row--you > div { gap: 2px; }
.gbp__name { font-size: 15px; font-weight: 700; color: #1a0dab; }
.gbp__stars { font-size: 12.5px; color: #5f6368; }
.gbp__stars i { font-style: normal; color: #f5b400; letter-spacing: 1px; }
.gbp__meta { font-size: 12px; color: #5f6368; }
.gbp__meta em { font-style: normal; color: #188038; }
.gbp__cta { flex: none; margin-right: 30px; padding: 7px 12px; border: 1px solid #dadce0; border-radius: 99px; font-size: 12px; font-weight: 700; color: #1a73e8; }

/* The work that moves it: strength ring and the weekly jobs */
.gbp__side { position: relative; z-index: 2; margin: 0 0 26px -34px; padding: 22px 20px 18px; background: var(--ink); color: #fff; box-shadow: 0 30px 70px rgba(19, 18, 16, 0.35); }
.gbp__ring { position: relative; width: 80px; height: 80px; margin-bottom: 12px; }
.gbp__ring svg { rotate: -90deg; }
.gbp__ring circle { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 7; }
.gbp__ring circle + circle { stroke: var(--yellow); stroke-linecap: round; stroke-dasharray: 213.63; transition: stroke-dashoffset 0.9s var(--ease); }
.gbp__ring p { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 800; }
.gbp__ring p span { font-size: 22px; font-stretch: 80%; }
.gbp__ring p { display: flex; align-items: baseline; justify-content: center; padding-top: 26px; gap: 1px; }
.gbp__side .label { color: var(--yellow); }
.gbp__jobs { display: grid; gap: 11px; margin-top: 16px; }
.gbp__jobs li { position: relative; padding-left: 28px; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, 0.5); transition: color 0.4s; }
.gbp__jobs li::before {
	content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.35); transition: background-color 0.3s, border-color 0.3s;
}
.gbp__jobs li::after {
	content: ""; position: absolute; left: 6px; top: 3.5px; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0;
	rotate: 45deg; scale: 0; transition: scale 0.35s cubic-bezier(0.2, 1.6, 0.4, 1) 0.1s;
}
.gbp__jobs li.is-done { color: #fff; }
.gbp__jobs li.is-done::before { background: var(--yellow); border-color: var(--yellow); }
.gbp__jobs li.is-done::after { scale: 1; }
.gbp__note, .aiq__note { margin-top: 16px; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.45; }

@media (max-width: 620px) {
	.gbp { --row: 74px; grid-template-columns: minmax(0, 1fr); }
	.gbp__side { margin: -14px 12px 0; display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 18px; align-items: center; }
	.gbp__ring { grid-row: span 2; margin: 0; }
	.gbp__jobs { margin-top: 8px; }
	.gbp__note { grid-column: 1 / -1; }
	.gbp__cta { display: none; }
}

/* ---------- Built for AI ---------- */
/* Markup: parts/ai.php. Signals on the left feed the assistant's answer on the right. */

.aiq { --gap: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--gap); align-items: center; }
.aiq__in .label { color: var(--yellow); margin-bottom: 14px; }
.aiq__signals { display: grid; gap: 10px; }
.aiq__signals li {
	position: relative; display: grid; gap: 2px; padding: 11px 14px;
	border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04);
	transition: border-color 0.4s, background-color 0.4s, opacity 0.4s;
}
.aiq__signals strong { font-size: 14px; color: #fff; }
.aiq__signals span { font-size: 12px; line-height: 1.35; color: rgba(243, 239, 231, 0.66); }
.aiq.is-live .aiq__signals li:not(.is-on) { opacity: 0.4; }
.aiq__signals li.is-on { border-color: var(--yellow); background: rgba(224, 192, 16, 0.08); }
/* The wire from each signal to the assistant, with a spark that travels along it */
.aiq__signals li::before, .aiq__signals li::after { content: ""; position: absolute; left: 100%; top: 50%; pointer-events: none; }
.aiq__signals li::before { width: var(--gap); height: 1px; background: rgba(255, 255, 255, 0.16); transform-origin: left; transition: background-color 0.4s; }
.aiq__signals li.is-on::before { background: var(--yellow); }
.aiq__signals li::after { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); opacity: 0; }
.aiq.is-live .aiq__signals li.is-on::after { animation: aiq-spark 0.6s ease-in both; }
@keyframes aiq-spark { 0% { opacity: 1; translate: 0 0; } 90% { opacity: 1; } 100% { opacity: 0; translate: var(--gap) 0; } }

.aiq__chat { position: relative; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 18px 18px 16px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); min-height: 330px; }
.aiq__bar { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.aiq__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow-deep); box-shadow: 0 0 0 4px rgba(224, 192, 16, 0.25); }
.aiq__q { display: flex; justify-content: flex-end; margin-top: 16px; }
.aiq__q > span { max-width: 86%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: #fff; font-size: 14.5px; line-height: 1.4; min-height: 1.4em; }
.aiq__a { position: relative; margin-top: 14px; font-size: 15px; line-height: 1.55; }
/* The highlight waits for the name to be written. */
.aiq.is-live mark:not(:has(.w.is-in)) { background: none; }
.aiq__a mark { background: linear-gradient(transparent 58%, var(--yellow) 58%); color: inherit; font-weight: 700; }
.aiq .w { transition: opacity 0.35s; }
.aiq.is-live .w { opacity: 0; }
.aiq.is-live .w.is-in { opacity: 1; }
.aiq__think { position: absolute; left: 0; top: 8px; display: flex; gap: 5px; opacity: 0; transition: opacity 0.3s; }
.aiq__think.is-on { opacity: 1; }
.aiq__think i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: aiq-dot 1s ease-in-out infinite; }
.aiq__think i:nth-child(2) { animation-delay: 0.15s; }
.aiq__think i:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiq-dot { 0%, 100% { opacity: 0.25; translate: 0 0; } 40% { opacity: 1; translate: 0 -3px; } }
.aiq__src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; transition: opacity 0.5s, transform 0.5s var(--ease); }
.aiq__src span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; font-size: 11.5px; font-weight: 600; }
.aiq__src span::before { content: "\2197"; margin-right: 5px; color: var(--yellow-deep); }
.aiq.is-live .aiq__src:not(.is-in) { opacity: 0; transform: translateY(8px); }

@media (max-width: 620px) {
	.aiq { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.aiq__signals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.aiq__signals li:last-child { grid-column: 1 / -1; }
	.aiq__signals span { display: none; }
	.aiq__signals li::before, .aiq__signals li::after { display: none; }
}

/* ---------- Print ---------- */

.print { overflow: hidden; }
.print__head .display { max-width: 15ch; }
.fan { position: relative; height: 390px; margin-top: clamp(40px, 5vw, 80px); }
.fan__item {
	--n: calc(var(--i) - 2);
	position: absolute; left: 50%; top: 60px;
	transform: translateX(calc(-50% + var(--n) * min(14.5vw, 196px))) rotate(calc(var(--n) * 5deg)) translateY(calc(var(--n) * var(--n) * 7px));
	transform-origin: 50% 140%;
	box-shadow: 0 22px 50px rgba(19, 18, 16, 0.3);
	transition: transform 0.5s var(--ease), box-shadow 0.4s;
}
.fan__item img { height: 230px; width: auto; max-width: none; }
.fan__item:hover, .fan__item:focus-visible {
	z-index: 5;
	transform: translateX(calc(-50% + var(--n) * min(14.5vw, 196px))) rotate(0deg) translateY(-34px) scale(1.08);
	box-shadow: 0 40px 80px rgba(19, 18, 16, 0.42);
}
@media (max-width: 900px) {
	.fan { height: auto; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 30px; scrollbar-width: none; }
	.fan__item, .fan__item:hover { position: static; transform: none; flex: none; scroll-snap-align: start; }
	.fan__item img { height: 210px; }
}

/* ---------- Results ---------- */

.results__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.results__grid li { padding: 28px 24px 0 0; }
.results__grid li + li { padding-left: 28px; border-left: 1px solid var(--ink); }
.results__grid strong { display: block; font-size: clamp(4rem, 11vw, 10.5rem); font-weight: 800; font-stretch: 64%; line-height: 0.9; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.results__grid span { font-weight: 600; }
.results__src { margin-top: 26px; font-size: 13px; line-height: 1.5; }
.work__more { margin-top: 22px; color: var(--yellow); }
.results__grid strong span { font-weight: inherit; }
.quote { margin-top: clamp(56px, 8vw, 110px); max-width: 980px; }
.quote blockquote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 22px; }
@media (max-width: 760px) {
	.results__grid { grid-template-columns: 1fr; }
	.results__grid li, .results__grid li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--ink); }
}

/* ---------- Insights / cards ---------- */

.insights__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.insights__head > div { flex: 1; min-width: 280px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.card { display: grid; gap: 12px; align-content: start; text-decoration: none; }
.card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); margin-bottom: 8px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card .label { color: var(--muted); }
.card__title { font-size: clamp(1.3rem, 1.9vw, 1.7rem); font-weight: 800; font-stretch: 70%; line-height: 1.08; text-transform: uppercase; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 3px no-repeat; transition: background-size 0.5s var(--ease); padding-bottom: 6px; justify-self: start; }
.card:hover .card__title { background-size: 100% 3px; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Cards, article cards (homepage, Insights index, under each article) ---------- */

.card--post .card__text { display: grid; gap: 10px; align-content: start; }
.card__sum { font-size: 15px; line-height: 1.5; opacity: 0.8; }
.card__read { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card[hidden] { display: none; }
.card--lead { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-bottom: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.card--lead .card__img { margin: 0; aspect-ratio: 16 / 10; }
.card--lead .card__title { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 0.98; }
.card--lead .card__sum { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }

@media (max-width: 1000px) {
	.card--lead { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- CTA ---------- */

.cta__title { font-size: clamp(3.2rem, 12vw, 12.5rem); font-weight: 800; font-stretch: 64%; line-height: 0.84; letter-spacing: -0.02em; text-transform: uppercase; }
.cta__title em { display: block; font-size: 1.02em; line-height: 0.95; padding-bottom: 0.14em; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 44px; }
.cta__phone { font-size: clamp(2rem, 5vw, 4.2rem); font-weight: 800; font-stretch: 66%; color: var(--yellow); text-decoration: none; line-height: 1; }
.cta__phone:hover { color: #fff; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #c9c2b6; border-top: 1px solid var(--line-light); overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 6vw, 88px); }
.site-footer .label { color: #8d867a; margin-bottom: 16px; }
.site-footer__big { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; font-stretch: 66%; color: #fff; text-decoration: none; line-height: 1.1; margin-bottom: 12px; }
.site-footer__links { display: grid; gap: 8px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover, .site-footer__big:hover { color: var(--yellow); }
.site-footer__mark { padding-inline: var(--gutter); }
.site-footer__mark img { width: 100%; opacity: 0.95; }
.site-footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 28px; font-size: 13px; color: #8d867a; }
@media (max-width: 820px) {
	.site-footer__top { grid-template-columns: 1fr 1fr; }
}

/* ---------- Plain pages and posts (until redesigned) ---------- */

.plain { position: relative; padding: clamp(130px, 16vw, 200px) 0 clamp(72px, 10vw, 140px); }
.plain::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 84px; background: var(--ink); }
.plain__title { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; font-stretch: 68%; line-height: 0.95; text-transform: uppercase; margin: 10px 0 36px; text-wrap: balance; }
.plain__image { width: 100%; margin-bottom: 36px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-weight: 800; font-stretch: 72%; line-height: 1.1; margin-top: 1.8em; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.45rem; }
.prose ul, .prose ol { padding-left: 1.2em; list-style: revert; }
.prose a { color: inherit; text-decoration-color: var(--yellow-deep); text-underline-offset: 3px; }
.plain .cards { grid-template-columns: repeat(2, 1fr); }
.nav-links { display: flex; gap: 14px; margin-top: 48px; }
.site-footer__col .link + .link { margin-left: 22px; }
.plain__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }

/* ---------- Motion ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="wipe"] { opacity: 1; transform: none; }
.js [data-reveal="wipe"] .intro__clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.js [data-reveal="wipe"].is-in .intro__clip { clip-path: inset(0); }
.js .dim[data-reveal]::after { transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease) 0.15s; }
.js .dim[data-reveal].is-in::after { transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
	.js [data-reveal], .js [data-reveal="wipe"] .intro__clip { opacity: 1; transform: none; clip-path: none; }
	.js .rotator > span { transform: none; }
}
