/* Asif Mahmud portfolio: Home page. Plain CSS, no framework. */

:root {
	--bg: #0f0b14;
	--surface: #191321;
	--surface-2: #2a2136;
	--card: #140d18;
	--line: #362b44;
	--text: #faf4ee;
	--muted: #b3a8ba;
	--soft: #e0d6e6;
	--accent: #ff7a3d;
	--accent-soft: #ffb88c;
	--accent-tint: rgba(255, 122, 61, 0.16);
	--accent-line: #5a3320;
	--ink: #140d18;
	--green: #34d399;
	--radius: 24px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px; top: -60px;
	z-index: 200;
	padding: 10px 16px;
	border-radius: 10px;
	background: var(--accent);
	color: var(--ink);
	font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 52px;
	padding: 0 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	font: 600 16px/1 var(--font);
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { height: 48px; padding: 0 24px; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 17px; }
.btn--primary { background: var(--accent); color: var(--ink); box-shadow: 0 8px 24px rgba(255, 122, 61, 0.28); }
.btn--primary:hover { background: #ff8c57; }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--accent-soft); background: rgba(255, 184, 140, 0.06); }
.btn--dark { background: var(--ink); color: var(--text); }
.btn--dark:hover { background: #000; }
.btn--outline-dark { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--outline-dark:hover { background: rgba(20, 13, 24, 0.08); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(15, 11, 20, 0.82);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 88px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	border-radius: 12px;
	background: var(--accent);
	color: var(--ink);
	font-weight: 700;
	font-size: 16px;
}
.brand__name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

.primary-nav { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 24px; }
.primary-nav__list { display: flex; gap: 40px; margin-inline: auto; }
.primary-nav__list a { color: var(--muted); font-weight: 500; transition: color 0.15s; }
.primary-nav__list a:hover,
.primary-nav__list a[aria-current="page"] { color: var(--text); }
.primary-nav__list a[aria-current="page"] { font-weight: 600; }
.primary-nav .btn { margin-left: auto; }
.primary-nav__list { margin-left: auto; margin-right: auto; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
	content: "";
	position: absolute;
	right: -160px; top: -120px;
	width: 900px; height: 900px;
	background: radial-gradient(closest-side, rgba(255, 122, 61, 0.30), rgba(255, 122, 61, 0.08) 55%, transparent 75%);
	pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 40px; align-items: center; }

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 40px;
	padding: 0 20px 0 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	font-size: 14px;
	font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }

.hero__title {
	margin-top: 28px;
	max-width: 680px;
	font-size: clamp(38px, 5vw, 56px);
	line-height: 1.145;
	font-weight: 700;
	letter-spacing: -0.035em;
}
.hero__text { margin-top: 28px; max-width: 560px; font-size: 18px; line-height: 30px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.hero__title { text-wrap: wrap; }
@media (min-width: 1101px) { .hero__title { width: 680px; max-width: none; } }

.hero__stats {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	gap: 0 56px;
	max-width: 560px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}
.hero__stats dt { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.01em; }
.hero__stats dd { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* hero art (560 x 640 design size). The portrait is the shared .about-portrait__frame card (About page styles below). */
.hero__art { position: relative; width: 560px; height: 640px; }


.float {
	position: absolute; z-index: 2;
	transform: translate(calc(var(--hx, 0) * var(--d, 20) * 1px), calc(var(--hy, 0) * var(--d, 20) * 1px)) rotate(var(--rot, 0deg));
	animation: bob 7s ease-in-out infinite;
}
.float--code {
	left: 30px; top: 60px;
	display: grid; place-items: center;
	width: 60px; height: 60px;
	border-radius: 18px;
	background: var(--accent);
	color: var(--ink);
	font-weight: 700; font-size: 20px;
	--rot: -12deg; --d: 22;
	box-shadow: 0 12px 30px rgba(255, 122, 61, 0.35);
	animation-delay: -1s;
}
.float--pill {
	display: inline-flex; align-items: center; gap: 12px;
	height: 46px;
	padding: 0 22px 0 20px;
	border: 1px solid var(--line);
	border-radius: 23px;
	background: rgba(25, 19, 33, 0.92);
	font-size: 15px; font-weight: 500;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.float--pill i { width: 12px; height: 12px; border-radius: 50%; background: var(--dot); }
.float--wp { left: 6px; top: 250px; --d: 30; animation-delay: -3s; }
.float--el { left: 30px; top: 400px; --d: 36; animation-delay: -5s; }
.float--woo { left: 372px; top: 318px; --d: 32; animation-delay: -2s; }

.float--speed {
	left: 348px; top: 470px;
	display: flex; align-items: center; gap: 12px;
	width: 192px; height: 84px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: rgba(20, 13, 24, 0.9);
	--rot: 4deg; --d: 42;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
	animation-delay: -4s;
}
.float--speed svg { flex: none; }
.float--speed b { position: absolute; left: 16px; width: 56px; text-align: center; font-size: 20px; line-height: 1; font-weight: 700; }
.float--speed span { display: grid; gap: 2px; }
.float--speed small { font-size: 11px; color: var(--muted); }
.float--speed strong { font-size: 13px; font-weight: 600; }

.float--badge { left: 410px; top: 20px; --d: 26; animation-duration: 9s; }
.badge-text { transform-origin: 70px 70px; animation: spin 26s linear infinite; }

.float--rating {
	left: 40px; top: 530px;
	display: flex; align-items: center; gap: 16px;
	width: 238px; height: 70px;
	padding: 0 16px;
	border-radius: 18px;
	background: rgba(250, 244, 238, 0.96);
	color: var(--ink);
	--rot: -4deg; --d: 48;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
	animation-delay: -6s;
}
.float--rating b { font-size: 30px; line-height: 1; font-weight: 700; }
.float--rating > span { display: grid; gap: 2px; }
.stars { color: var(--accent); font-size: 14px; letter-spacing: 1px; line-height: 17px; }
.float--rating small { font-size: 11px; color: #6b5d73; white-space: nowrap; }

@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Tools ---------- */
.tools__inner {
	display: flex; align-items: center; gap: 0;
	min-height: 140px;
	border-block: 1px solid var(--line);
}
.tools__label { width: 280px; flex: none; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tools__list { display: flex; flex-wrap: wrap; gap: 14px 52px; font-size: 22px; font-weight: 700; color: var(--soft); }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section--band { background: var(--surface); border-block: 1px solid var(--line); }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-soft); }
.section-title { margin-top: 14px; font-size: 42px; line-height: 50px; font-weight: 700; letter-spacing: -0.03em; }
.section-title--md { max-width: 600px; }
.section-title, .hero__title, .cta h2 { text-wrap: balance; }
.muted { color: var(--muted); font-size: 15px; }

.section-head { margin-bottom: 56px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-start; gap: 64px; }
.section-head--split .section-title { max-width: 640px; }
.section-head__text { max-width: 520px; padding-top: 18px; font-size: 17px; line-height: 28px; color: var(--muted); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head--end .muted { padding-bottom: 8px; }

.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

.link-arrow { font-size: 15px; font-weight: 600; color: var(--accent-soft); transition: color 0.15s; }
.link-arrow:hover { color: var(--text); }

/* Services */
.service { display: flex; flex-direction: column; padding: 28px; transition: border-color 0.2s ease; }
.service:hover { border-color: var(--accent-line); }
.icon-tile {
	display: grid; place-items: center;
	width: 56px; height: 56px;
	border: 1px solid var(--accent-line);
	border-radius: 16px;
	background: var(--accent-tint);
	color: var(--accent-soft);
	font-size: 20px; font-weight: 700;
}
.service h3 { margin-top: 28px; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.service p { margin: 14px 0 28px; font-size: 15px; line-height: 24px; color: var(--muted); }
.service .link-arrow { margin-top: auto; }

/* Projects */
.project {
	position: relative;
	display: flex; flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--card);
	transition: border-color 0.2s ease;
}
.project:hover { border-color: var(--accent-line); }
.project__thumb {
	position: relative;
	display: grid; place-items: center;
	height: 148px;
	overflow: hidden;
	background: linear-gradient(145deg, var(--c1), var(--c2));
}
.project__thumb::after {
	content: "";
	position: absolute;
	right: -50px; top: -60px;
	width: 170px; height: 170px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.09);
}
.project__chrome { position: absolute; left: 14px; top: 12px; display: flex; align-items: center; gap: 6px; z-index: 1; }
.project__chrome i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
.project__chrome span { margin-left: 8px; padding: 3px 10px; border-radius: 11px; background: rgba(255, 255, 255, 0.14); font-size: 10.5px; color: rgba(255, 255, 255, 0.85); }
.project__initials { font-size: 44px; font-weight: 700; letter-spacing: 0.05em; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25); }
.project__body { display: grid; gap: 2px; padding: 18px 22px 20px; }
.project__title { font-size: 17px; line-height: 24px; font-weight: 600; }
.project__sub { font-size: 12.5px; color: var(--muted); }
.project__link { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--accent-soft); }
.project__link::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */

.project--cta {
	justify-content: space-between;
	padding: 28px;
	border: 0;
	background: linear-gradient(135deg, #ff803a, #ffc44d);
	color: var(--ink);
}
.project--cta h3 { font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -0.02em; }
.project--cta p { margin-top: 12px; font-size: 14px; line-height: 21px; color: rgba(20, 13, 24, 0.82); }
.project--cta .btn { align-self: flex-start; height: 44px; padding: 0 22px; font-size: 14px; }

/* Edit yourself */
.edit { display: grid; grid-template-columns: minmax(0, 1fr) 620px; gap: 80px; align-items: center; }
.edit__lead { margin-top: 28px; max-width: 500px; font-size: 17px; line-height: 28px; color: var(--muted); }
.checklist { display: grid; gap: 16px; margin-top: 32px; }
.checklist li { position: relative; padding-left: 40px; font-size: 16px; font-weight: 500; }
.checklist li::before {
	content: "✓";
	position: absolute; left: 0; top: -2px;
	display: grid; place-items: center;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: var(--accent-tint);
	color: var(--accent-soft);
	font-size: 12px; font-weight: 700;
}

.mock { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; background: var(--surface-2); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; }
.mock__bar i:nth-child(1) { background: #ff6b6b; }
.mock__bar i:nth-child(2) { background: #ffd166; }
.mock__bar i:nth-child(3) { background: #4ade80; }
.mock__bar span { margin: 0 auto; min-width: 300px; padding: 3px 0; border-radius: 12px; background: var(--bg); text-align: center; font-size: 12px; color: var(--muted); transform: translateX(-30px); }
.mock__body { padding: 40px 40px 108px; }
.mock__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-soft); }
.mock__title { margin: 12px -10px 0; padding: 10px; border: 2px dashed var(--accent); border-radius: 8px; background: rgba(255, 122, 61, 0.1); font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: -0.02em; }
.mock__text { margin-top: 18px; font-size: 15px; line-height: 24px; color: var(--muted); }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.mock__cards div { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.mock__cards i { display: block; width: 28px; height: 28px; margin-bottom: 16px; border-radius: 8px; background: var(--accent); }
.mock__cards b { display: block; height: 8px; margin-top: 8px; border-radius: 4px; background: var(--line); }
.mock__cards b:last-child { width: 70%; }
.mock__toolbar {
	position: absolute; left: 50%; bottom: 28px;
	display: flex; align-items: center; gap: 18px;
	padding: 8px 22px 8px 10px;
	border: 1.5px solid var(--accent);
	border-radius: 28px;
	background: var(--bg);
	font-size: 14px;
	transform: translateX(-50%);
	white-space: nowrap;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}
.mock__btn { padding: 9px 20px; border-radius: 20px; background: var(--accent); color: var(--ink); font-weight: 600; }
.mock__saved { color: #6ee7b7; font-weight: 500; }
.mock__link { color: var(--muted); }

/* Process */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; counter-reset: step; }
.step { position: relative; }
.step__num {
	position: relative;
	display: grid; place-items: center;
	width: 64px; height: 64px;
	border: 2px solid var(--accent-line);
	border-radius: 50%;
	background: var(--surface);
	color: var(--accent-soft);
	font-size: 18px; font-weight: 700;
}
.step__num--on { border-color: var(--accent); background: var(--accent); color: var(--ink); }

/* Progress line between steps: gray track + orange fill that grows when .is-linked is set (JS). */
.step:not(:last-child)::before,
.step:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 64px; top: 31px;
	width: calc(100% - 40px);
	height: 2px;
}
.step:not(:last-child)::before { background: var(--line); }
.step:not(:last-child)::after {
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.step.is-linked:not(:last-child)::after { transform: scaleX(1); }

.step__num { transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease; }
.step.is-active .step__num { border-color: var(--accent); background: var(--accent); color: var(--ink); animation: step-pop 0.5s ease; }
@keyframes step-pop { 50% { transform: scale(1.12); box-shadow: 0 0 0 10px rgba(255, 122, 61, 0.16); } }
.step h3 { margin-top: 28px; font-size: 22px; line-height: 28px; font-weight: 600; }
.step p { margin-top: 10px; max-width: 258px; font-size: 15px; line-height: 24px; color: var(--muted); }

/* Reviews */
.review { display: flex; flex-direction: column; padding: 32px; background: var(--bg); }
.review__mark { height: 56px; font-size: 76px; line-height: 1; font-weight: 700; color: var(--accent); }
.review blockquote { margin-top: 8px; font-size: 17px; line-height: 27px; }
.review figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 32px; }
.review figcaption > span:last-child { display: grid; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--accent-soft); }
.review b { font-size: 16px; font-weight: 600; }
.review small { font-size: 13px; color: var(--muted); }

/* Reviews conveyor (full width, auto-scrolling) */
.reviews { overflow: hidden; }
.reviews__meta { display: flex; align-items: center; gap: 20px; padding-bottom: 8px; }
.reviews__meta .muted { padding: 0; }
.marquee__pause {
	display: inline-flex; align-items: center; gap: 8px;
	height: 36px; padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	color: var(--text);
	font: 500 13px/1 var(--font);
	cursor: pointer;
}
.marquee__pause:hover { border-color: var(--accent-soft); }
.marquee__pause-icon { position: relative; width: 10px; height: 12px; }
.marquee__pause-icon::before, .marquee__pause-icon::after { content: ""; position: absolute; top: 0; width: 3px; height: 12px; border-radius: 1px; background: currentColor; }
.marquee__pause-icon::before { left: 0; }
.marquee__pause-icon::after { right: 0; }
.marquee__pause[aria-pressed="true"] .marquee__pause-icon::before { left: 1px; width: 0; height: 0; border-radius: 0; background: none; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; top: 0; }
.marquee__pause[aria-pressed="true"] .marquee__pause-icon::after { display: none; }

.marquee {
	margin-top: 8px;
	padding: 8px 0 12px;
	overflow-x: auto;                      /* no-JS and reduced-motion: swipe or scroll */
	scrollbar-width: none;
}
.marquee::-webkit-scrollbar { display: none; }
.marquee__track { display: flex; gap: 24px; width: max-content; padding-inline: max(24px, calc((100vw - var(--container)) / 2)); }
.marquee__track > li { flex: none; width: 400px; display: flex; }
.marquee__track .review { width: 100%; }

.js .marquee.is-running {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.js .marquee.is-running .marquee__track {
	padding-inline: 0;
	animation: marquee var(--marquee-duration, 45s) linear infinite;
}
.js .marquee.is-running:hover .marquee__track,
.js .marquee.is-running:focus-within .marquee__track,
.js .marquee.is-running.is-paused .marquee__track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }

/* CTA */
.cta-section { padding: 72px 0 80px; }
.cta {
	position: relative;
	overflow: hidden;
	padding: 64px;
	border-radius: 36px;
	background: linear-gradient(100deg, #ff7a3d 0%, #ff9a45 55%, #ffc04d 100%);
	color: var(--ink);
}
.cta::after { content: ""; position: absolute; right: -80px; top: -110px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.cta h2 { position: relative; z-index: 1; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.cta p { position: relative; z-index: 1; margin-top: 14px; max-width: 620px; font-size: 19px; line-height: 30px; color: rgba(20, 13, 24, 0.85); }
.cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 56px; }
.site-footer__brand p { margin-top: 18px; max-width: 340px; font-size: 15px; line-height: 24px; color: var(--muted); }
.site-footer__heading { margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.site-footer__col li { margin-bottom: 8px; font-size: 15px; color: var(--muted); }
.site-footer__col a:hover { color: var(--text); }
.site-footer__bottom { padding: 24px 0 32px; border-top: 1px solid var(--line); font-size: 13px; color: #8c8096; }

/* ---------- 3D hover tilt (mouse only; JS adds .tilt) ---------- */
.js .tilt {
	--rx: 0deg; --ry: 0deg; --px: 0; --py: 0; --mx: 50%; --my: 50%; --lift: 0px;
	transform: perspective(900px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
	transform-style: preserve-3d;
	transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), border-color 0.2s ease, box-shadow 0.35s ease, opacity 0.6s ease, translate 0.6s ease;
}
.js .tilt.is-tilting {
	--lift: -6px;
	transition: transform 0.12s ease-out, border-color 0.2s ease, box-shadow 0.35s ease, opacity 0.6s ease, translate 0.6s ease;
	box-shadow: 0 28px 50px -24px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--accent-line);
}
.tilt__glare {
	position: absolute; inset: 0;
	z-index: 3;
	border-radius: inherit;
	background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.16), rgba(255, 184, 140, 0.06) 35%, transparent 60%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}
.tilt.is-tilting > .tilt__glare { opacity: 1; }
.tilt--cta > .tilt__glare { background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.35), transparent 55%); }

/* depth inside the cards */
.js .service.tilt .icon-tile { transform: translateZ(44px); transition: transform 0.3s ease; }
.js .service.tilt h3 { transform: translateZ(26px); }
.js .service.tilt .link-arrow { transform: translateZ(18px); }
.js .project.tilt .project__initials { transform: translate(calc(var(--px) * -12px), calc(var(--py) * -8px)); transition: transform 0.15s ease-out; }
.js .project.tilt .project__thumb::after { transform: translate(calc(var(--px) * 16px), calc(var(--py) * 12px)); transition: transform 0.15s ease-out; }
.js .review.tilt { background: var(--bg); }

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity 0.6s ease, translate 0.6s ease; }
.js .reveal.is-in { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .tilt, .js .tilt.is-tilting { transform: none; transition: none; }
	.float { transform: none; }
	.float, .badge-text { animation: none; }
	.js .marquee.is-running .marquee__track { animation: none; }
	.js .reveal { opacity: 1; translate: none; transition: none; }
	.btn, .service, .project { transition: none; }
	.step__num, .step::after { transition: none; }
	.step.is-active .step__num { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.hero__grid { grid-template-columns: minmax(0, 1fr) 460px; gap: 24px; }
	.hero__art { transform: scale(0.82); transform-origin: top left; margin-bottom: -115px; }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.edit { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.mock { max-width: 620px; }
	.section-head--split { flex-direction: column; gap: 12px; }
	.section-head__text { padding-top: 0; }
}

@media (max-width: 900px) {
	.nav-toggle {
		display: inline-grid; place-items: center;
		width: 44px; height: 44px;
		margin-left: auto;
		border: 1px solid var(--line);
		border-radius: 12px;
		background: transparent;
		color: var(--text);
		cursor: pointer;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
	.nav-toggle__bars { position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

	.primary-nav {
		position: absolute; left: 0; right: 0; top: 88px;
		flex-direction: column; align-items: stretch; gap: 20px;
		padding: 24px;
		border-bottom: 1px solid var(--line);
		background: var(--bg);
		display: none;
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav__list { flex-direction: column; gap: 4px; margin: 0; }
	.primary-nav__list a { display: block; padding: 12px 4px; font-size: 18px; }
	.primary-nav .btn { margin: 0; width: 100%; }

	.hero { padding-top: 48px; }
	.hero__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__art { position: relative; left: 50%; margin-left: -280px; margin-bottom: -150px; transform: scale(0.78); transform-origin: top center; }
	.section { padding: 80px 0; }
	.tools__inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 0; }
	.tools__label { width: auto; }
	.tools__list { gap: 12px 32px; font-size: 19px; }
	.grid--3 { grid-template-columns: minmax(0, 1fr); }
	.marquee__track > li { width: 320px; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.step::before, .step::after { display: none; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	.container { width: min(var(--container), 100% - 32px); }
	.hero__art { margin-left: -280px; margin-bottom: -250px; transform: scale(0.6); }
	.hero__stats { grid-template-columns: repeat(2, auto); gap: 20px 40px; }
	.section-title { font-size: 32px; line-height: 40px; }
	.grid--4 { grid-template-columns: minmax(0, 1fr); }
	.steps { grid-template-columns: minmax(0, 1fr); }
	.section-head--row { flex-direction: column; align-items: flex-start; }
	.mock__body { padding: 28px 24px 96px; }
	.mock__title { font-size: 22px; line-height: 30px; }
	.mock__cards { grid-template-columns: 1fr; }
	.mock__cards div:nth-child(n+2) { display: none; }
	.mock__bar span { min-width: 0; width: 60%; transform: none; }
	.mock__toolbar { gap: 10px; padding-right: 14px; font-size: 12.5px; }
	.mock__link { display: none; }
	.cta { padding: 40px 28px; border-radius: 28px; }
	.cta p { font-size: 17px; }
	.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- About page ---------- */
.about-hero { padding-bottom: 72px; }
.about-hero .hero__grid { grid-template-columns: minmax(0, 1fr) 480px; }
.about-hero__title { margin-top: 14px; max-width: 660px; font-size: clamp(36px, 4.6vw, 52px); }
@media (min-width: 1101px) { .about-hero__title { width: 660px; } }

.about-portrait { position: relative; width: 480px; justify-self: end; }
.about-portrait__frame {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 32px;
	background: #fe7d0b; /* matches the photo backdrop */
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.about-portrait__frame img { width: 100%; height: auto; }
.about-portrait__frame::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, rgba(15, 11, 20, 0) 55%, rgba(15, 11, 20, 0.85) 100%);
	pointer-events: none;
}
.about-portrait .float--rating { left: -36px; top: auto; bottom: 28px; --d: 0; z-index: 2; }

.about-stats { padding: 0 0 8px; }
.stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 36px 8px;
}
.stats > div { padding: 0 32px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats dt { font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.stats dd { margin-top: 10px; font-size: 15px; color: var(--muted); }

.about-story { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 80px; align-items: start; }
.about-story .section-head { margin-bottom: 0; }
.about-story__text { display: grid; gap: 22px; font-size: 18px; line-height: 30px; color: var(--muted); }
.about-story__text a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-line); }
.about-story__text a:hover { color: var(--text); text-decoration-color: var(--accent-soft); }

.section-head .section-title { max-width: 760px; }
.value { padding: 28px; transition: border-color 0.2s ease; }
.value:hover { border-color: var(--accent-line); }
.value h3 { margin-top: 28px; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.value p { margin-top: 12px; font-size: 15px; line-height: 24px; color: var(--muted); }
.js .value.tilt .icon-tile { transform: translateZ(44px); transition: transform 0.3s ease; }
.js .value.tilt h3 { transform: translateZ(26px); }

.chips { display: flex; flex-wrap: wrap; gap: 14px; }
.chips li {
	display: inline-flex; align-items: center; gap: 12px;
	height: 46px;
	padding: 0 22px 0 20px;
	border: 1px solid var(--line);
	border-radius: 23px;
	background: var(--surface);
	font-size: 15px; font-weight: 600;
}
.chips i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }

@media (max-width: 1100px) {
	.about-hero .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
	.about-portrait { justify-self: start; width: min(480px, 100%); }
	.about-story { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 900px) {
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; padding: 32px 8px; }
	.stats > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 600px) {
	.about-portrait .float--rating { left: 12px; bottom: 16px; }
	.stats dt { font-size: 36px; }
	.stats > div { padding: 0 20px; }
	.about-story__text { font-size: 17px; line-height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	.value { transition: none; }
}

/* ---------- Services page ---------- */
.page-hero { padding-bottom: 56px; }
.page-hero .hero__grid { grid-template-columns: minmax(0, 1fr); }
.page-hero__title { margin-top: 14px; max-width: 980px; }
@media (min-width: 1101px) { .page-hero__title { width: 980px; } }

.chip-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.chip-links a {
	display: inline-flex; align-items: center;
	height: 44px; padding: 0 20px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--surface);
	font-size: 15px; font-weight: 600;
	transition: border-color 0.18s ease, color 0.18s ease;
}
.chip-links a:hover { border-color: var(--accent-soft); color: var(--accent-soft); }

.services-list { padding-top: 24px; }
.services-list .container { display: grid; gap: 24px; }
.svc {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
	gap: 56px;
	align-items: center;
	padding: 44px 48px;
	scroll-margin-top: 112px;
	transition: border-color 0.2s ease;
}
.svc:hover, .svc:target { border-color: var(--accent-line); }
.svc__title { margin-top: 28px; font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: -0.02em; }
.svc__main p { margin: 14px 0 28px; max-width: 520px; font-size: 17px; line-height: 28px; color: var(--muted); }
.svc .checklist { margin-top: 0; gap: 18px; }
.svc .checklist li { font-size: 17px; }

.faq { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 80px; align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq__list { display: grid; gap: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: border-color 0.2s ease; }
.faq details[open], .faq details:hover { border-color: var(--accent-line); }
.faq summary {
	position: relative;
	list-style: none;
	padding: 22px 64px 22px 28px;
	font-size: 18px; line-height: 26px; font-weight: 600;
	cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	position: absolute; right: 28px; top: 50%;
	translate: 0 -50%;
	font-size: 26px; font-weight: 500; line-height: 1;
	color: var(--accent);
	transition: rotate 0.2s ease;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 28px 24px; font-size: 16px; line-height: 26px; color: var(--muted); }

@media (max-width: 1100px) {
	.svc { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 32px; align-items: start; }
	.faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
	.svc { padding: 28px 22px; }
	.svc__title { font-size: 26px; line-height: 34px; }
	.faq summary { padding: 18px 56px 18px 20px; font-size: 17px; }
	.faq summary::after { right: 20px; }
	.faq details p { padding: 0 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.svc, .faq details, .chip-links a, .faq summary::after { transition: none; }
}

/* Short page heroes: smaller glow so it fades out before the hero's bottom edge */
.page-hero::before { right: -60px; top: -300px; width: 720px; height: 720px; }
@media (max-width: 900px) { .page-hero::before { width: 520px; height: 520px; top: -220px; right: -120px; } }

/* Home hero: framed portrait placed inside the 560 x 640 art area */
.hero__art .hero__portrait { position: absolute; left: 50px; top: 40px; width: 460px; z-index: 1; }

/* Services hero: illustration (pure HTML/CSS, 480 x 560 design size) */
.services-hero .hero__grid { grid-template-columns: minmax(0, 1fr) 480px; }
.services-hero .page-hero__title { width: auto; max-width: 660px; font-size: clamp(36px, 4.6vw, 52px); }
.services-hero { padding-bottom: 72px; }
@media (min-width: 901px) { .services-hero::before { right: -160px; top: -120px; width: 900px; height: 900px; } }
.services-hero .chip-links { gap: 8px; }
.services-hero .chip-links a { height: 42px; padding: 0 13px; font-size: 14px; }

.services-art { position: relative; width: 480px; height: 560px; justify-self: end; }
.svc-scene { position: absolute; left: 0; top: 0; width: 480px; height: 560px; transform-origin: top left; }

.svc-layer { position: absolute; width: 340px; height: 440px; border-radius: 40px; }
.svc-layer--plum { left: 22px; top: 86px; transform: rotate(-7deg); background: linear-gradient(150deg, #8a3aa8, #33104a); }
.svc-layer--tang { left: 122px; top: 44px; transform: rotate(6deg); background: linear-gradient(150deg, #ff7a3d, #ffc24d); }
.svc-dots { position: absolute; left: 388px; top: 466px; width: 84px; height: 84px; background: radial-gradient(circle, rgba(255, 184, 140, 0.55) 2px, transparent 2.6px) 0 0 / 14px 14px; }

.svc-browser {
	position: absolute; left: 40px; top: 96px;
	width: 400px; height: 330px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--surface);
	box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.75);
}
.svc-browser__bar { position: relative; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: var(--surface-2); }
.svc-browser__bar i { width: 9px; height: 9px; border-radius: 50%; }
.svc-browser__bar i:nth-child(1) { background: #ff6b6b; }
.svc-browser__bar i:nth-child(2) { background: #ffd166; }
.svc-browser__bar i:nth-child(3) { background: #4ade80; }
.svc-browser__bar span { margin-left: 14px; padding: 3px 0; width: 170px; border-radius: 10px; background: var(--bg); text-align: center; font-size: 11px; line-height: 1.3; color: var(--muted); }
.svc-browser__body { display: flex; gap: 18px; padding: 22px 22px 0; }
.svc-page { flex: 1; min-width: 0; padding-top: 6px; }
.svc-page b, .svc-page span { display: block; border-radius: 6px; }
.svc-eyebrow { width: 64px; height: 6px; margin-bottom: 14px; background: var(--accent-soft); }
.svc-h { width: 100%; height: 15px; margin-bottom: 9px; background: var(--text); }
.svc-h--short { width: 68%; margin-bottom: 18px; }
.svc-p { width: 92%; height: 7px; margin-bottom: 8px; background: var(--line); }
.svc-p--short { width: 62%; margin-bottom: 20px; }
.svc-cta { width: 100px; height: 30px; border-radius: 15px !important; background: var(--accent); }
.svc-hero-img { position: relative; flex: none; width: 124px; height: 146px; overflow: hidden; border-radius: 16px; background: linear-gradient(150deg, #8a3aa8, #ff7a3d); }
.svc-hero-img::after { content: ""; position: absolute; right: -34px; top: -34px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.svc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 22px 0; }
.svc-row > div { padding: 12px; border-radius: 12px; background: var(--surface-2); }
.svc-row i { display: block; width: 18px; height: 18px; margin-bottom: 10px; border-radius: 6px; background: var(--accent); }
.svc-row b { display: block; height: 6px; margin-top: 6px; border-radius: 3px; background: var(--line); }
.svc-row b + b { width: 66%; }

.svc-card {
	position: absolute; z-index: 2;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: rgba(20, 13, 24, 0.94);
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
	animation: bob 7s ease-in-out infinite;
}
.svc-card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; font-weight: 600; color: var(--soft); }
.svc-card__head em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--accent-soft); }

.svc-card--code { left: -16px; top: 36px; width: 196px; animation-delay: -1s; }
.svc-code { margin: 0; font: 500 12px/1.65 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: var(--soft); white-space: pre; }
.svc-code .k { color: var(--accent); }
.svc-code .s { color: var(--accent-soft); }

.svc-card--el { left: 322px; top: 48px; width: 150px; animation-delay: -3s; }
.svc-card--el .svc-card__head { margin-bottom: 10px; }
.svc-badge { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--accent); color: var(--ink) !important; font-size: 12px; }
.svc-block { display: flex; align-items: center; gap: 8px; height: 28px; margin-top: 7px; padding: 0 9px; border: 1.5px dashed transparent; border-radius: 8px; background: var(--surface-2); }
.svc-block u { width: 8px; height: 12px; background: radial-gradient(circle, var(--muted) 1.2px, transparent 1.6px) 0 0 / 4px 4px; }
.svc-block b { height: 6px; flex: 1; border-radius: 3px; background: var(--line); }
.svc-block.is-on { border-color: var(--accent); background: rgba(255, 122, 61, 0.12); }
.svc-block.is-on b { background: var(--accent-soft); }

.svc-card--shop { left: 296px; top: 394px; width: 172px; animation-delay: -4s; }
.svc-thumb { position: relative; height: 66px; margin-bottom: 12px; overflow: hidden; border-radius: 12px; background: linear-gradient(140deg, #ec5a96, #ff7a3d); }
.svc-thumb::after { content: ""; position: absolute; right: -16px; top: -22px; width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.svc-line { display: block; width: 74%; height: 7px; margin-bottom: 12px; border-radius: 4px; background: var(--line); }
.svc-buy { display: flex; align-items: center; justify-content: space-between; }
.svc-buy strong { font-size: 18px; line-height: 1; font-weight: 700; color: var(--text); }
.svc-buy span { padding: 6px 11px; border-radius: 12px; background: var(--accent); color: var(--ink); font-size: 11px; font-weight: 700; }
.svc-cart { position: absolute; right: -8px; top: -10px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #ec5a96; color: #fff; font-size: 12px; font-weight: 700; }

.svc-card--book { left: -12px; top: 410px; width: 198px; animation-delay: -5s; }
.svc-days { display: flex; gap: 6px; }
.svc-days i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); font-size: 11px; font-style: normal; font-weight: 600; color: var(--muted); }
.svc-days i.is-on { background: var(--accent); color: var(--ink); }
.svc-done { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 12px; background: rgba(52, 211, 153, 0.16); color: #6ee7b7; font-size: 12px; font-weight: 600; }

@media (max-width: 1100px) {
	.services-hero .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
	.services-hero .page-hero__title { max-width: 820px; }
	.services-art { justify-self: start; }
}
@media (max-width: 600px) {
	.services-art { width: 336px; height: 392px; }
	.svc-scene { transform: scale(0.7); }
}
@media (max-width: 420px) {
	.services-art { width: 278px; height: 325px; }
	.svc-scene { transform: scale(0.58); }
}
@media (prefers-reduced-motion: reduce) { .svc-card { animation: none; } }

/* =====================================================================
   WordPress theme additions: work, contact, service pages, case study
   ===================================================================== */

.brand__mark--img { object-fit: cover; border-radius: 12px; background: none; }
.eyebrow--upper { text-transform: uppercase; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--soft); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--text); letter-spacing: -0.02em; margin-top: 1.6em; }
.prose a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 16px; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--line); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--accent-soft); }

/* Project grid on the Work page + card images */
.work-hero .hero__stats { max-width: 760px; gap: 0 80px; }
.work-hero .hero__stats dt { font-size: 36px; line-height: 44px; color: var(--accent-soft); }
.work-grid { padding-top: 24px; }
.project__thumb .project__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-grid .project__thumb { height: 200px; }
.work-grid .project__initials { font-size: 64px; }
.work-grid .project--cta { min-height: 340px; }

/* Contact */
.contact-hero .hero__text { max-width: 640px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.form-card { padding: 40px; scroll-margin-top: 120px; }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form__field { display: grid; gap: 8px; }
.form__field label { font-size: 13px; font-weight: 500; }
.form input, .form select, .form textarea {
	width: 100%;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--bg);
	color: var(--text);
	font: 400 15px/1.5 var(--font);
	height: 52px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form textarea { height: auto; min-height: 170px; padding: 14px 18px; resize: vertical; }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23b3a8ba' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); opacity: 0.8; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.has-error input, .has-error textarea { border-color: #f0616d; }
.form__submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__privacy { font-size: 13px; color: var(--muted); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { margin-bottom: 24px; padding: 14px 18px; border-radius: 14px; font-size: 15px; font-weight: 500; }
.form-notice--ok { background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.4); color: #8be8c3; }
.form-notice--err { background: rgba(240, 97, 109, 0.12); border: 1px solid rgba(240, 97, 109, 0.4); color: #ffb3b9; }
.contact__info { display: grid; gap: 24px; }
.info-card { display: flex; gap: 20px; padding: 28px; }
.info-card .icon-tile { flex: none; width: 52px; height: 52px; font-size: 18px; }
.info-card h2 { font-size: 20px; line-height: 28px; font-weight: 600; }
.info-card p { margin: 6px 0 12px; font-size: 15px; color: var(--muted); }
.next-steps { counter-reset: none; }
.next-step { padding: 32px; }
.next-step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 700; }
.next-step h3 { margin-top: 24px; font-size: 20px; line-height: 28px; font-weight: 600; }
.next-step p { margin-top: 10px; font-size: 15px; line-height: 24px; color: var(--muted); }

/* Service detail hero */
.service-hero .hero__grid { grid-template-columns: minmax(0, 1fr) 520px; }
.service-hero .page-hero__title { max-width: 620px; width: auto; font-size: clamp(36px, 4.6vw, 56px); }
.svc-visual { position: relative; padding: 36px 0 36px 20px; }
.svc-visual__img img { width: 100%; border-radius: 22px; border: 1px solid var(--line); }
.panel { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.panel__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--card); }
.panel__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.panel__bar i:nth-child(1) { background: #ff5f57; }
.panel__bar i:nth-child(2) { background: #febc2e; }
.panel__bar i:nth-child(3) { background: #28c840; }
.panel__bar span { margin-left: auto; margin-right: auto; font-size: 12px; color: var(--muted); }
.files { padding: 14px 14px 18px; font: 500 14px/1 ui-monospace, Menlo, Consolas, monospace; }
.files li { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px; border-radius: 10px; color: var(--soft); }
.files li span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 12px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.files li em { font: 400 11px/1 var(--font); font-style: normal; color: var(--muted); }
.files li.is-active { background: rgba(255, 122, 61, 0.14); border: 1px solid var(--accent-line); color: var(--text); }
.panel__body { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 300px; }
.el-widgets { padding: 18px; border-right: 1px solid var(--line); background: var(--card); }
.el-widgets__title { margin-bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); }
.el-widgets ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.el-widgets li { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border: 1px solid var(--line); border-radius: 10px; font-size: 10px; color: var(--muted); }
.el-widgets li b { font-size: 16px; color: var(--accent-soft); }
.el-canvas { display: grid; align-content: center; gap: 12px; padding: 28px; }
.el-canvas__h { font-size: 22px; line-height: 1.2; }
.el-canvas i { display: block; height: 9px; border-radius: 5px; background: var(--surface-2); }
.el-canvas i.short { width: 60%; }
.el-canvas__btn { justify-self: start; margin-top: 8px; padding: 10px 20px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 600; }
.store { grid-template-columns: minmax(0, 1fr) 190px; }
.store__products { display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; gap: 12px; padding: 22px; }
.store__products div { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.store__products u { height: 70px; border-radius: 8px; background: linear-gradient(145deg, #682870, #180d22); }
.store__products div:nth-child(2) u { background: linear-gradient(145deg, #963046, #1e0d16); }
.store__products div:nth-child(3) u { background: linear-gradient(145deg, #10605e, #0a181c); }
.store__products b { height: 8px; width: 70%; border-radius: 4px; background: var(--surface-2); }
.store__products em { justify-self: end; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--ink); font-style: normal; font-weight: 700; font-size: 14px; }
.store__cart { display: grid; align-content: center; gap: 12px; padding: 22px; border-left: 1px solid var(--line); background: var(--card); }
.store__cart p { font-weight: 600; }
.store__cart i { display: block; height: 34px; border-radius: 8px; background: var(--surface-2); }
.store__cart small { font-size: 11px; color: var(--muted); }
.store__btn { display: grid; place-items: center; height: 42px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 600; }
.svc-chip { position: absolute; padding: 10px 18px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(255, 122, 61, 0.35); }
.svc-chip--top { top: 8px; right: -8px; transform: rotate(4deg); }
.svc-chip--bottom { bottom: 6px; left: -6px; transform: rotate(-4deg); }

/* Feature cards + "more ways" */
.features .feature { padding: 32px; }
.feature__num { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent-soft); }
.feature h3 { margin-top: 18px; font-size: 20px; line-height: 28px; font-weight: 600; }
.feature p { margin-top: 12px; font-size: 15px; line-height: 24px; color: var(--muted); }
.more .eyebrow { margin-bottom: 24px; }
.more-card { display: flex; flex-direction: column; gap: 10px; padding: 32px; }
.more-card h3 { font-size: 22px; line-height: 30px; font-weight: 600; }
.more-card p { font-size: 15px; line-height: 24px; color: var(--muted); max-width: 460px; }
.more-card .link-arrow { margin-top: 10px; }

/* Case study */
.case-hero .hero__text { max-width: 620px; }
.case-shot { position: relative; margin-top: 56px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, var(--c1), var(--c2)); }
.case-shot__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: rgba(0, 0, 0, 0.28); }
.case-shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.case-shot__bar span { margin: 0 auto; padding: 4px 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); font-size: 12px; color: rgba(255, 255, 255, 0.85); transform: translateX(-24px); }
.case-shot img { width: 100%; height: auto; }
.case-shot__ph { display: grid; place-items: center; min-height: 360px; font-size: 96px; font-weight: 700; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.9); }
.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-meta dt { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.case-meta dd { margin-top: 6px; font-size: 18px; font-weight: 500; }
.case-split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.case-split .section-title { max-width: 420px; }
.case-split__text { font-size: 18px; line-height: 30px; color: var(--muted); padding-top: 6px; }
.ticks { display: grid; gap: 18px; padding-top: 4px; }
.ticks li { position: relative; padding-left: 46px; font-size: 17px; line-height: 28px; color: var(--soft); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 14px; font-weight: 700; }
.result { display: grid; gap: 10px; padding: 32px; background: var(--card); }
.result b { font-size: 48px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--accent-soft); }
.result span { font-size: 15px; color: var(--muted); }
.screens { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 0.8fr) minmax(0, 0.8fr); gap: 24px; align-items: start; }
.screens figure { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.screens img { width: 100%; height: auto; }
.screens__desktop:only-child { grid-column: 1 / -1; }
.case-quote { position: relative; padding: 48px 56px; background: var(--card); }
.case-quote__mark { display: block; font-size: 96px; line-height: 0.6; font-weight: 700; color: var(--accent); }
.case-quote blockquote { margin-top: 16px; font-size: 26px; line-height: 38px; font-weight: 500; letter-spacing: -0.01em; }
.case-quote figcaption { margin-top: 24px; font-size: 15px; color: var(--muted); }

/* Blog */
.post-card { padding: 28px; display: grid; gap: 12px; align-content: start; }
.post-card h2 { font-size: 22px; line-height: 30px; }
.post-card p { font-size: 15px; color: var(--muted); }
.pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; margin: 0 3px; }
.pagination .current { background: var(--accent); color: var(--ink); border-color: var(--accent); }

@media (max-width: 1100px) {
	.contact__grid { grid-template-columns: minmax(0, 1fr); }
	.contact__info { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.service-hero .hero__grid { grid-template-columns: minmax(0, 1fr); }
	.svc-visual { max-width: 560px; margin-top: 16px; padding-left: 0; }
	.case-split__grid { gap: 40px; }
}
@media (max-width: 900px) {
	.grid--2 { grid-template-columns: minmax(0, 1fr); }
	.contact__info { grid-template-columns: minmax(0, 1fr); }
	.case-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.case-split__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.screens { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.screens__desktop { grid-column: 1 / -1; }
	.work-hero .hero__stats { gap: 0 40px; }
}
@media (max-width: 600px) {
	.form-card { padding: 24px; }
	.form__row { grid-template-columns: minmax(0, 1fr); }
	.panel__body { grid-template-columns: minmax(0, 1fr); }
	.el-widgets { display: none; }
	.store { grid-template-columns: minmax(0, 1fr); }
	.store__cart { display: none; }
	.case-quote { padding: 32px 24px; }
	.case-quote blockquote { font-size: 20px; line-height: 30px; }
	.case-shot__ph { min-height: 220px; font-size: 64px; }
	.result b { font-size: 38px; }
	.svc-chip--top { right: 0; }
}
.contact-hero .page-hero__title, .work-hero .page-hero__title { width: auto; max-width: 860px; }

/* Editor shortcuts (only rendered for logged-in editors) */

/* ---- SEO plan additions: trust line, "What do you need?", option guide, prices, case-study results ---- */
.hero__trust { margin-top: 20px; max-width: 560px; font-size: 14px; line-height: 22px; color: var(--soft); }
.section-head__lead { margin-top: 16px; max-width: 640px; font-size: 18px; line-height: 28px; color: var(--muted); }

.need-card { display: flex; flex-direction: column; gap: 12px; padding: 32px; }
.need-card h3 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.need-card p { font-size: 15px; line-height: 24px; color: var(--muted); }
.need-card .link-arrow { margin-top: auto; padding-top: 8px; }
.need__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 28px 32px; border: 1px solid var(--accent-line); border-radius: var(--radius); background: var(--accent-tint); }
.need__foot p { font-size: 18px; line-height: 28px; font-weight: 500; max-width: 640px; }

.options__list { gap: 20px; }
.option { padding: 28px 32px; }
.option dt { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.option dd { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--muted); }

.price-from { margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--accent-soft); }
.service .price-from { margin: -14px 0 22px; }
.price-from--inline { display: inline; margin: 0; font-size: inherit; }

.project__result { margin-top: 6px; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--accent-soft); }

.where__text { max-width: 720px; font-size: 18px; line-height: 30px; color: var(--soft); }
.where__hours { max-width: 720px; }

@media (max-width: 600px) {
	.need-card, .option { padding: 24px; }
	.need__foot { padding: 24px; }
	.need__foot .btn { width: 100%; justify-content: center; }
}
.reviews__meta a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.reviews__meta a:hover { color: var(--text); }
