/*
Theme Name: AHN
Theme URI: https://hellonahid.com
Author: Asratul Hasan Nahid
Author URI: https://hellonahid.com
Description: Minimal personal portfolio theme for hellonahid.com. Clean white/light-gray design with a maroon (#6B0C10) gradient accent, hero with bio, role cards and framed photo, and a one-line social footer. Everything is editable from Appearance → Customize.
Version: 1.9.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ahn
*/

:root {
	--bg: #f6f5f4;
	--bg-soft: #efedeb;
	--surface: #ffffff;
	--border: #e6e1df;
	--text: #1b1415;
	--muted: #6e6567;
	--primary: #6B0C10;
	--primary-2: #A3161D;
	--primary-3: #D2483C;
	--gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 55%, var(--primary-3) 100%);
	--grid: rgba(107, 12, 16, .05);
	--shadow: 0 1px 2px rgba(27, 20, 21, .04), 0 12px 32px -16px rgba(27, 20, 21, .18);
	--radius: 16px;
	--max: 1180px;
	--header-h: 76px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Bricolage Grotesque", var(--font);
	--font-serif: "Instrument Serif", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary); color: #fff; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 24px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000;
	width: auto; height: auto; clip: auto;
	padding: 8px 14px; background: var(--primary); color: #fff; border-radius: 8px;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	background: transparent;
	transition: backdrop-filter .4s;
}
.site-header.is-scrolled {
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header-inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-logo {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 28px;
	letter-spacing: .5px;
	color: var(--text);
	display: inline-flex;
	align-items: baseline;
}
.site-logo:hover { text-decoration: none; }
.site-logo .dot {
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.site-logo img { max-height: 44px; width: auto; }

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.local-time {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
	padding: 7px 14px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
}
.local-time .pulse {
	width: 8px; height: 8px; border-radius: 50%;
	background: #22a85a;
	box-shadow: 0 0 0 0 rgba(34, 168, 90, .5);
	animation: pulse 2s infinite;
}
@keyframes pulse {
	70% { box-shadow: 0 0 0 8px rgba(34, 168, 90, 0); }
	100% { box-shadow: 0 0 0 0 rgba(34, 168, 90, 0); }
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
	color: #fff;
	background: var(--gradient);
	box-shadow: 0 10px 24px -10px rgba(107, 12, 16, .6);
}
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(107, 12, 16, .7); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: min(calc(100vh - var(--header-h)), 900px);
	display: flex;
	align-items: center;
	padding: 56px 0 80px;
	overflow: hidden;
}
.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	align-items: center;
	gap: 64px;
}
.hero-grid > * { min-width: 0; }

.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--primary);
	padding: 7px 14px 7px 8px;
	border-radius: 999px;
	background: rgba(107, 12, 16, .06);
	border: 1px solid rgba(107, 12, 16, .14);
	margin-bottom: 22px;
}
.hero-eyebrow .bolt {
	width: 24px; height: 24px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--gradient);
	font-size: 12px;
}

.hero-title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(42px, 6vw, 72px);
	line-height: 1.02;
	letter-spacing: -1.5px;
	margin: 0 0 22px;
}
.hero-title .serif {
	font-family: var(--font-serif);
	font-weight: 400;
	font-style: italic;
	letter-spacing: 0;
	padding-right: 6px;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-text {
	color: var(--muted);
	font-size: 18px;
	max-width: 580px;
	margin: 0 0 22px;
}
.hero-text p { margin: 0 0 12px; }
.hero-text mark.hl {
	color: var(--primary);
	font-weight: 700;
	background: linear-gradient(transparent 62%, rgba(163, 22, 29, .16) 62%);
	padding: 0 2px;
}

/* Stack line */
.stack {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 580px;
	margin: 0 0 34px;
}
.stack-label {
	flex: none;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #a69c9e;
	padding-right: 16px;
	border-right: 1px solid var(--border);
}
.stack ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	row-gap: 4px;
}
.stack li {
	font-size: 14px;
	font-weight: 500;
	color: var(--muted);
	transition: color .2s;
}
.stack li:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 12px 3px 12px;
	border-radius: 50%;
	background: #cfc6c4;
}
.stack li.is-hl { color: var(--primary); font-weight: 700; }
.stack li:hover { color: var(--text); }

/* Generic chip list (coverage tags) */
.skills {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.skills li {
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
	padding: 6px 14px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	transition: transform .25s, border-color .25s, color .25s;
}
.skills li:hover { transform: translateY(-2px); border-color: rgba(107, 12, 16, .35); color: var(--primary); }

/* Role cards */
.roles {
	display: grid;
	gap: 14px;
	max-width: 580px;
}
.role-card {
	--c: var(--primary);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 22px 26px 22px 24px;
	background:
		linear-gradient(100deg, color-mix(in srgb, var(--c) 6%, transparent), transparent 55%),
		var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(27, 20, 21, .04), 0 14px 34px -22px rgba(27, 20, 21, .3);
	color: var(--text);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s, box-shadow .35s,
		opacity .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), translate .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s);
}
.role-2 { --c: #B7832F; }
.role-card::after {
	content: "";
	position: absolute;
	left: 0;
	top: 18%;
	bottom: 18%;
	width: 3px;
	border-radius: 0 3px 3px 0;
	background: var(--c);
	transform: scaleY(0);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.role-card:hover {
	text-decoration: none;
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--c) 35%, var(--border));
	box-shadow: 0 1px 2px rgba(27, 20, 21, .04), 0 26px 46px -24px color-mix(in srgb, var(--c) 55%, transparent);
}
.role-card:hover::after { transform: scaleY(1); }
.role-num {
	font-family: var(--font-serif);
	font-size: 30px;
	line-height: 1;
	min-width: 34px;
	color: color-mix(in srgb, var(--c) 55%, #ffffff);
	transition: color .35s;
}
.role-card:hover .role-num { color: var(--c); }
.role-body { flex: 1; display: grid; gap: 4px; }
.role-body strong {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.2px;
}
.role-org {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	color: var(--muted);
}
.org-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 15%, transparent);
}
.role-arrow {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--c);
	border: 1px solid color-mix(in srgb, var(--c) 25%, var(--border));
	background: var(--surface);
	opacity: 0;
	transform: translateX(-10px) rotate(-45deg);
	transition: opacity .35s, transform .35s cubic-bezier(.2, .8, .2, 1), background .35s, color .35s;
}
.role-arrow svg { width: 16px; height: 16px; }
.role-card:hover .role-arrow {
	opacity: 1;
	transform: none;
	background: var(--c);
	color: #fff;
}
.role-bar {
	width: 4px;
	height: 46px;
	border-radius: 4px;
	background: linear-gradient(var(--c), color-mix(in srgb, var(--c) 0%, transparent));
	box-shadow: 0 0 14px color-mix(in srgb, var(--c) 45%, transparent);
	transition: height .35s cubic-bezier(.2, .8, .2, 1);
}
.role-card:hover .role-bar { height: 60px; }

/* Photo */
.hero-photo {
	position: relative;
	justify-self: end;
	width: 100%;
	max-width: 440px;
	padding: 18px;
}
.photo-glow {
	position: absolute;
	inset: 8% 0 0 8%;
	border-radius: 40px;
	background: var(--gradient);
	filter: blur(60px);
	opacity: .28;
	z-index: 0;
}

@property --ahn-angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}
.photo-frame {
	position: relative;
	z-index: 1;
	padding: 2px;
	border-radius: 32px;
	background: conic-gradient(from var(--ahn-angle), var(--primary), var(--primary-3), #f3d6d2, var(--primary-2), var(--primary));
	animation: ahn-spin 8s linear infinite;
	box-shadow: 0 30px 60px -28px rgba(107, 12, 16, .55);
}
@keyframes ahn-spin { to { --ahn-angle: 360deg; } }
.photo-inner {
	position: relative;
	padding: 10px;
	border-radius: 30px;
	background: var(--surface);
}
.photo-inner img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 25%;
	border-radius: 22px;
}
.photo-caption {
	position: absolute;
	left: 24px;
	bottom: 24px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: rgba(27, 20, 21, .45);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
}

.corner {
	position: absolute;
	width: 46px;
	height: 46px;
	z-index: 2;
	border: 3px solid var(--primary);
	pointer-events: none;
}
.corner-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; }
.corner-br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; border-color: var(--primary-3); }

.float-chip {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px 10px 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: 0 18px 36px -18px rgba(27, 20, 21, .35);
	animation: ahn-float 5s ease-in-out infinite;
	white-space: nowrap;
}
.float-chip svg {
	width: 30px; height: 30px;
	padding: 6px;
	border-radius: 9px;
	color: #fff;
	background: var(--gradient);
}
.chip-1 { top: 64px; left: -34px; }
.chip-2 { bottom: 90px; right: -30px; animation-delay: -2.5s; }
@keyframes ahn-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
	.photo-frame, .float-chip, .local-time .pulse { animation: none; }
}

/* ---------- Content pages ---------- */
.site-main { min-height: 60vh; }
.content-area { padding: 64px 0; }
.entry { max-width: 760px; margin: 0 auto 56px; }
.entry-title {
	font-family: var(--font-display);
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.15;
	margin: 0 0 12px;
}
.entry-title a { color: var(--text); }
.entry-meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry-content h2, .entry-content h3 { font-family: var(--font-display); }
.entry-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.pagination { max-width: 760px; margin: 0 auto; display: flex; gap: 8px; }
.pagination .page-numbers {
	padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); background: var(--surface);
}
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
	padding: 0 0 30px;
	font-size: 14px;
	color: var(--muted);
}
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 30px;
	border-top: 1px solid var(--border);
}
.social-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.social-links a {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 20px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .3px;
	color: var(--text);
	background: rgba(255, 255, 255, .7);
	border: 1px solid var(--border);
	transition: color .3s, border-color .3s, transform .3s, box-shadow .3s;
}
.social-links a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--gradient);
	transform: translateY(101%);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.social-links a { isolation: isolate; }
.social-links a:hover {
	color: #fff;
	border-color: transparent;
	transform: translateY(-3px);
	box-shadow: 0 12px 24px -12px rgba(107, 12, 16, .6);
	text-decoration: none;
}
.social-links a:hover::before { transform: translateY(0); }
.social-links svg { width: 16px; height: 16px; fill: currentColor; }
.footer-right { display: inline-flex; align-items: center; gap: 6px; }
.footer-link {
	color: var(--text);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(107, 12, 16, .35);
	text-underline-offset: 5px;
	text-decoration-thickness: 1.5px;
	transition: color .2s, text-decoration-color .2s;
}
.footer-link:hover { color: var(--primary); text-decoration-color: var(--primary); }

/* ---------- Background: grid + shapes ---------- */
.bg-fx {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}
.bg-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 35%, transparent 85%);
	mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 35%, transparent 85%);
}
.bg-spot {
	position: absolute;
	inset: 0;
	background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 35%), rgba(163, 22, 29, .09), transparent 60%);
	transition: background .1s;
}
.shape { position: absolute; display: block; }
.shape-1 {
	width: 560px;
	height: 560px;
	top: -180px;
	right: -140px;
	background: radial-gradient(circle at 35% 35%, rgba(210, 72, 60, .32), rgba(107, 12, 16, .22) 45%, transparent 70%);
	filter: blur(30px);
	animation: ahn-morph 18s ease-in-out infinite, ahn-drift 22s ease-in-out infinite;
}
.shape-2 {
	width: 460px;
	height: 460px;
	bottom: -200px;
	left: -160px;
	background: radial-gradient(circle, rgba(107, 12, 16, .16), transparent 65%);
	filter: blur(30px);
	animation: ahn-morph 22s ease-in-out infinite reverse, ahn-drift 26s ease-in-out infinite reverse;
}
.shape-ring {
	width: 640px;
	height: 640px;
	top: 50%;
	right: -6%;
	margin-top: -300px;
	border-radius: 50%;
	border: 1.5px dashed rgba(107, 12, 16, .16);
	animation: ahn-rotate 60s linear infinite;
}
.shape-ring::after {
	content: "";
	position: absolute;
	top: 50%;
	left: -7px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--gradient);
	box-shadow: 0 0 0 6px rgba(163, 22, 29, .12);
}
.shape-dots {
	width: 180px;
	height: 180px;
	left: 3%;
	bottom: 14%;
	background-image: radial-gradient(rgba(107, 12, 16, .28) 1.6px, transparent 1.6px);
	background-size: 18px 18px;
	-webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
	mask-image: radial-gradient(circle, #000 30%, transparent 70%);
	animation: ahn-float 7s ease-in-out infinite;
}
@keyframes ahn-morph {
	0%, 100% { border-radius: 42% 58% 62% 38% / 45% 40% 60% 55%; }
	33% { border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%; }
	66% { border-radius: 38% 62% 55% 45% / 40% 55% 45% 60%; }
}
@keyframes ahn-drift {
	0%, 100% { translate: 0 0; }
	50% { translate: -40px 30px; }
}
@keyframes ahn-rotate { to { rotate: 360deg; } }

/* ---------- Animations & effects ---------- */
.site-header { animation: ahn-down .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ahn-down { from { translate: 0 -100%; opacity: 0; } }

html.js .reveal {
	opacity: 0;
	translate: 0 28px;
	transition: opacity .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), translate .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s);
}
html.js .reveal-scale { translate: 0 0; scale: .94; transition: opacity .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), scale .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0s); }
html.js .reveal.is-in { opacity: 1; translate: 0 0; scale: 1; }

/* Name shimmer */
.hero-title .serif {
	background-image: linear-gradient(90deg, var(--primary), var(--primary-3), var(--primary-2), var(--primary));
	background-size: 250% 100%;
	animation: ahn-shimmer 6s linear infinite;
}
@keyframes ahn-shimmer { to { background-position: 250% 0; } }

/* Lightning wiggle */
.hero-eyebrow .bolt { animation: ahn-zap 3s ease-in-out infinite; }
@keyframes ahn-zap {
	0%, 85%, 100% { rotate: 0deg; scale: 1; }
	90% { rotate: -14deg; scale: 1.15; }
	95% { rotate: 12deg; scale: 1.1; }
}

/* Highlight marker draws in */
.hero-text mark.hl {
	background-size: 0% 100%;
	background-repeat: no-repeat;
	transition: background-size 1s cubic-bezier(.2, .8, .2, 1) .9s;
}
html:not(.js) .hero-text mark.hl,
.hero-text.is-in mark.hl { background-size: 100% 100%; }

/* Card cursor glow */
.role-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(280px circle at var(--cx, 50%) var(--cy, 50%), color-mix(in srgb, var(--c) 10%, transparent), transparent 70%);
	opacity: 0;
	transition: opacity .35s;
	pointer-events: none;
}
.role-card:hover::before { opacity: 1; }
.role-card > * { position: relative; }

/* Button shine */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
	content: "";
	position: absolute;
	top: 0;
	left: -80%;
	width: 50%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
	transform: skewX(-20deg);
	animation: ahn-shine 4.5s ease-in-out infinite;
}
@keyframes ahn-shine {
	0%, 70% { left: -80%; }
	100% { left: 140%; }
}

/* Photo tilt */
.hero-photo { perspective: 1000px; }
.photo-frame.tilt { transition: transform .4s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html.js .reveal { opacity: 1; translate: 0 0; scale: 1; }
	.hero-text mark.hl { background-size: 100% 100%; }
}

/* ---------- Dhaka Universal section ---------- */
.venture { padding: 40px 0 110px; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 14px;
}
.section-kicker::before {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--gradient);
}
.section-title {
	font-family: var(--font-display);
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -1px;
	margin: 0;
}
.venture-grid {
	display: grid;
	grid-template-columns: 1.25fr .75fr;
	gap: 48px;
	align-items: start;
}
.venture-grid > * { min-width: 0; }
.venture-text { color: var(--muted); font-size: 17px; }
.venture-text p { margin: 0 0 14px; }
.mini-title {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .3px;
	margin: 32px 0 14px;
}
.principles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.principle {
	position: relative;
	padding: 18px 20px;
	background: rgba(255, 255, 255, .75);
	border: 1px solid var(--border);
	border-radius: 14px;
	transition: border-color .3s, transform .3s, box-shadow .3s, opacity .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), translate .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s);
}
.principle:hover {
	transform: translateY(-3px);
	border-color: rgba(107, 12, 16, .3);
	box-shadow: 0 18px 34px -22px rgba(107, 12, 16, .5);
}
.p-num {
	position: absolute;
	top: 14px;
	right: 16px;
	font-family: var(--font-serif);
	font-size: 20px;
	color: #d6cdcb;
}
.principle strong { font-family: var(--font-display); font-size: 16px; display: block; margin-bottom: 4px; }
.principle p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

.venture-card {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	overflow: hidden;
	padding: 30px;
	border-radius: 24px;
	color: #fff;
	background: linear-gradient(150deg, #4a070a 0%, var(--primary) 40%, var(--primary-2) 100%);
	box-shadow: 0 30px 60px -30px rgba(107, 12, 16, .75);
	isolation: isolate;
}
.venture-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 28px 28px;
	-webkit-mask-image: linear-gradient(160deg, #000, transparent 70%);
	mask-image: linear-gradient(160deg, #000, transparent 70%);
}
.venture-card::after {
	content: "";
	position: absolute;
	width: 260px;
	height: 260px;
	right: -90px;
	bottom: -90px;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 160, 140, .35), transparent 70%);
	animation: ahn-morph 14s ease-in-out infinite;
}
.vc-top { display: flex; align-items: center; gap: 14px; }
.vc-logo {
	width: 52px;
	height: 52px;
	flex: none;
	display: grid;
	place-items: center;
	border-radius: 14px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 18px;
	color: var(--primary);
	background: #fff;
}
.vc-top strong { display: block; font-family: var(--font-display); font-size: 20px; }
.vc-top span { font-size: 13px; opacity: .75; }
.vc-quote {
	margin: 24px 0;
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 24px;
	line-height: 1.3;
}
.vc-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	overflow: hidden;
	border-radius: 14px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .14);
}
.vc-stats div { padding: 14px 16px; background: rgba(40, 4, 6, .35); }
.vc-stats strong { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.vc-stats span { font-size: 12px; opacity: .75; }
.vc-role {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 22px 0;
	font-size: 14px;
	font-weight: 600;
}
.vc-role .pulse {
	width: 8px; height: 8px; border-radius: 50%;
	background: #4ade80;
	animation: pulse 2s infinite;
}
.vc-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn-light { color: var(--primary); background: #fff; }
.btn-light:hover { box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .4); }
.vc-icon {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .3);
	transition: background .25s, color .25s, transform .25s;
}
.vc-icon svg { width: 18px; height: 18px; fill: currentColor; }
.vc-icon:hover { background: #fff; color: var(--primary); transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.hero-photo { justify-self: center; order: -1; max-width: 360px; }
	.chip-1 { left: -6px; }
	.chip-2 { right: -6px; }
	.venture-grid { grid-template-columns: 1fr; }
	.venture-card { position: relative; top: 0; }
}

@media (max-width: 600px) {
	.local-time { display: none; }
	.hero { padding: 32px 0 56px; }
	.hero-text { font-size: 17px; }
	.role-card { padding: 16px 18px; gap: 16px; }
	.float-chip { font-size: 13px; }
	.footer-inner { justify-content: center; text-align: center; }
	.social-links { justify-content: center; }
	.shape-ring { width: 420px; height: 420px; margin-top: -380px; right: -40%; }
	.shape-dots { display: none; }
	.principles { grid-template-columns: 1fr; }
	.stack { flex-direction: column; align-items: flex-start; gap: 10px; }
	.stack-label { border-right: 0; padding-right: 0; }
	.venture { padding-bottom: 72px; }
}

/* ==========================================================
   Premium motion layer
   ========================================================== */
:root { --ease: cubic-bezier(.16, 1, .3, 1); }
body { overflow-x: clip; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Local time badge */
.local-time {
	gap: 10px;
	padding: 8px 16px;
	color: var(--text);
	background: rgba(255, 255, 255, .7);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.lt-city { font-weight: 600; }
.lt-sep { width: 1px; height: 12px; background: var(--border); }
.lt-clock { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 62px; }

/* Rolling button label */
.btn-label {
	display: inline-block;
	overflow: hidden;
	height: 1.4em;
	line-height: 1.4em;
	vertical-align: top;
}
.btn-label > span {
	display: block;
	text-shadow: 0 1.4em 0 currentColor;
	transition: transform .5s var(--ease);
}
.btn:hover .btn-label > span { transform: translateY(-1.4em); }

/* Preloader */
.preloader {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: grid;
	place-content: center;
	gap: 22px;
	justify-items: center;
	color: #fff;
	background: radial-gradient(circle at 50% 40%, #8a1218, #4a070a 60%, #2a0406);
	animation: ahn-curtain 1s var(--ease) 1.25s forwards;
}
.preloader-word {
	display: flex;
	overflow: hidden;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(56px, 10vw, 120px);
	line-height: 1;
	letter-spacing: 2px;
}
.preloader-word span {
	display: inline-block;
	translate: 0 110%;
	animation: ahn-letter .8s var(--ease) forwards;
}
.preloader-word span:nth-child(2) { animation-delay: .08s; }
.preloader-word span:nth-child(3) { animation-delay: .16s; }
.preloader-word .dot { color: #ff8a7a; animation-delay: .24s; }
.preloader-line {
	width: 140px;
	height: 2px;
	overflow: hidden;
	border-radius: 2px;
	background: rgba(255, 255, 255, .15);
}
.preloader-line span {
	display: block;
	height: 100%;
	background: #fff;
	transform-origin: left;
	animation: ahn-load 1.1s var(--ease) forwards;
}
@keyframes ahn-letter { to { translate: 0 0; } }
@keyframes ahn-load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ahn-curtain { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.preloader { clip-path: inset(0 0 0 0); }
html:not(.js) .preloader,
html.no-intro .preloader { display: none; }
html.js:not(.no-intro) .site-header { animation-delay: 1.35s; }

/* Scroll progress */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 200;
	pointer-events: none;
}
.admin-bar .scroll-progress { top: 32px; }
.scroll-progress span {
	display: block;
	height: 100%;
	background: var(--gradient);
	transform: scaleX(var(--p, 0));
	transform-origin: left;
}

/* Custom cursor */
.cursor-dot,
.cursor-ring {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	pointer-events: none;
	border-radius: 50%;
	opacity: 0;
	transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s;
}
.cursor-dot { width: 6px; height: 6px; background: var(--primary); }
.cursor-ring { width: 38px; height: 38px; border: 1.5px solid rgba(107, 12, 16, .45); }
html.has-cursor .cursor-dot,
html.has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-hover {
	width: 70px;
	height: 70px;
	border-color: transparent;
	background: rgba(163, 22, 29, .1);
	backdrop-filter: blur(2px);
}
.cursor-dot.is-hover { opacity: 0 !important; }
html.has-cursor body,
html.has-cursor a,
html.has-cursor button { cursor: none; }

/* Hero name: word mask reveal */
.hero-title .w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding: 0 .06em .1em 0;
	margin-bottom: -.1em;
}
.hero-title .wi {
	display: inline-block;
	translate: 0 115%;
	rotate: 4deg;
	transition: translate 1.2s var(--ease) var(--d, 0s), rotate 1.2s var(--ease) var(--d, 0s);
}
.hero-title.is-in .wi { translate: 0 0; rotate: 0deg; }

/* Smoother reveals */
html.js .reveal {
	translate: 0 40px;
	filter: blur(6px);
	transition: opacity 1.1s var(--ease) var(--d, 0s), translate 1.1s var(--ease) var(--d, 0s), filter 1.1s var(--ease) var(--d, 0s);
}
html.js .reveal-scale {
	translate: 0 0;
	scale: .92;
	clip-path: inset(8% 8% 8% 8% round 32px);
	transition: opacity 1.2s var(--ease) var(--d, 0s), scale 1.4s var(--ease) var(--d, 0s), clip-path 1.4s var(--ease) var(--d, 0s), filter 1.2s var(--ease) var(--d, 0s);
}
html.js .reveal.is-in { filter: blur(0); }
html.js .reveal-scale.is-in { clip-path: inset(-200px -200px -200px -200px round 0); }
.role-card,
.principle {
	transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease),
		opacity 1.1s var(--ease) var(--d, 0s), translate 1.1s var(--ease) var(--d, 0s), filter 1.1s var(--ease) var(--d, 0s);
}

/* Photo parallax wrapper */
.hero-photo { padding: 0; }
.px { position: relative; padding: 18px; will-change: translate; }
[data-speed] { will-change: translate; }
.magnetic { will-change: translate; transition: translate .6s var(--ease), transform .2s, box-shadow .2s; }

/* Marquee */
.marquee {
	position: relative;
	overflow: hidden;
	padding: 26px 0;
	margin: 10px 0 30px;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: rgba(255, 255, 255, .55);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex: none; }
.mq-item {
	padding: 0 30px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(34px, 5vw, 64px);
	line-height: 1.1;
	letter-spacing: -1px;
	white-space: nowrap;
	color: var(--text);
	transition: color .3s;
}
.mq-item.is-outline {
	color: transparent;
	-webkit-text-stroke: 1.4px var(--primary);
}
.mq-item:hover { color: var(--primary); }
.mq-star {
	font-size: clamp(20px, 2.5vw, 30px);
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	display: inline-block;
	animation: ahn-rotate 8s linear infinite;
}
html:not(.js) .marquee-track { animation: ahn-marquee 40s linear infinite; }
@keyframes ahn-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
	.preloader { display: none; }
	html.js .reveal, html.js .reveal-scale { filter: none; clip-path: none; }
	.hero-title .wi { translate: 0 0; rotate: 0deg; }
}
/* ==========================================================
   Web development / services
   ========================================================== */
.services { position: relative; padding: 90px 0 70px; }
.section-title .serif-accent {
	font-family: var(--font-serif);
	font-weight: 400;
	font-style: italic;
	letter-spacing: 0;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-right: 4px;
}
.section-sub { color: var(--muted); font-size: 18px; max-width: 620px; margin: 18px 0 0; }

.svc-featured {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}
.svc-card {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	padding: 38px;
	border-radius: 28px;
	transition: transform .6s var(--ease), box-shadow .6s var(--ease),
		opacity 1.1s var(--ease) var(--d, 0s), translate 1.1s var(--ease) var(--d, 0s), filter 1.1s var(--ease) var(--d, 0s);
}
.svc-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0;
	transition: opacity .4s;
	pointer-events: none;
}
.svc-card:hover { transform: translateY(-6px); }
.svc-card:hover::before { opacity: 1; }

.svc-wordpress {
	color: #fff;
	background: linear-gradient(150deg, #3d0508 0%, var(--primary) 45%, var(--primary-2) 100%);
	box-shadow: 0 40px 70px -40px rgba(107, 12, 16, .8);
}
.svc-wordpress::before { background: radial-gradient(420px circle at var(--cx, 50%) var(--cy, 50%), rgba(255, 255, 255, .14), transparent 65%); }
.svc-wordpress:hover { box-shadow: 0 50px 80px -40px rgba(107, 12, 16, .9); }

.svc-shopify {
	color: var(--text);
	background:
		radial-gradient(circle at 100% 0%, rgba(210, 72, 60, .1), transparent 50%),
		var(--surface);
	border: 1px solid var(--border);
	box-shadow: 0 40px 70px -46px rgba(27, 20, 21, .45);
}
.svc-shopify::before { background: radial-gradient(420px circle at var(--cx, 50%) var(--cy, 50%), rgba(163, 22, 29, .08), transparent 65%); }
.svc-shopify:hover { box-shadow: 0 50px 80px -44px rgba(107, 12, 16, .45); border-color: rgba(107, 12, 16, .25); }

.svc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.svc-logo {
	width: 60px;
	height: 60px;
	display: grid;
	place-items: center;
	border-radius: 18px;
}
.svc-logo svg { width: 32px; height: 32px; }
.svc-wordpress .svc-logo { background: #fff; color: var(--primary); }
.svc-shopify .svc-logo { background: var(--gradient); color: #fff; box-shadow: 0 12px 24px -12px rgba(107, 12, 16, .7); }
.svc-badge {
	font-size: 13px;
	font-weight: 600;
	padding: 7px 14px;
	border-radius: 999px;
}
.svc-wordpress .svc-badge { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); }
.svc-shopify .svc-badge { color: var(--primary); background: rgba(107, 12, 16, .06); border: 1px solid rgba(107, 12, 16, .16); }

.svc-title {
	font-family: var(--font-display);
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 800;
	letter-spacing: -.6px;
	line-height: 1.1;
	margin: 0 0 12px;
}
.svc-text { margin: 0 0 26px; font-size: 16px; line-height: 1.65; opacity: .85; }
.svc-shopify .svc-text { color: var(--muted); opacity: 1; }

.svc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 18px;
}
.svc-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.svc-list svg {
	flex: none;
	width: 20px;
	height: 20px;
	padding: 4px;
	border-radius: 50%;
}
.svc-wordpress .svc-list svg { background: rgba(255, 255, 255, .18); }
.svc-shopify .svc-list svg { color: #fff; background: var(--gradient); }

.svc-cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding: 14px 16px 14px 24px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	transition: box-shadow .3s, translate .6s var(--ease);
}
.svc-list + .svc-cta { margin-top: 34px; }
.svc-cta:hover { text-decoration: none; }
.svc-cta-arrow {
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	transition: transform .5s var(--ease);
}
.svc-cta:hover .svc-cta-arrow { transform: rotate(-45deg); }
.svc-cta:hover .btn-label > span { transform: translateY(-1.4em); }
.svc-wordpress .svc-cta { color: var(--primary); background: #fff; }
.svc-wordpress .svc-cta-arrow { color: #fff; background: var(--primary); }
.svc-shopify .svc-cta { color: #fff; background: var(--gradient); box-shadow: 0 14px 28px -14px rgba(107, 12, 16, .7); }
.svc-shopify .svc-cta-arrow { color: var(--primary); background: #fff; }

.svc-watermark {
	position: absolute;
	right: -60px;
	bottom: -60px;
	z-index: -1;
	width: 280px;
	height: 280px;
	opacity: .07;
	transition: transform 1.2s var(--ease);
	pointer-events: none;
}
.svc-watermark svg { width: 100%; height: 100%; }
.svc-shopify .svc-watermark { color: var(--primary); opacity: .05; }
.svc-card:hover .svc-watermark { transform: rotate(-18deg) scale(1.12); }

/* Other platforms */
.svc-more {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 22px;
}
.svc-mini {
	padding: 26px 24px;
	border-radius: 22px;
	background: rgba(255, 255, 255, .75);
	border: 1px solid var(--border);
	transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease),
		opacity 1.1s var(--ease) var(--d, 0s), translate 1.1s var(--ease) var(--d, 0s), filter 1.1s var(--ease) var(--d, 0s);
}
.svc-mini:hover {
	transform: translateY(-5px);
	border-color: rgba(107, 12, 16, .28);
	box-shadow: 0 24px 40px -26px rgba(107, 12, 16, .5);
}
.svc-mini-icon {
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	margin-bottom: 18px;
	border-radius: 14px;
	color: var(--primary);
	background: rgba(107, 12, 16, .07);
	transition: background .4s, color .4s, transform .6s var(--ease);
}
.svc-mini-icon svg { width: 22px; height: 22px; }
.svc-mini:hover .svc-mini-icon { color: #fff; background: var(--gradient); transform: rotate(-8deg) scale(1.06); }
.svc-mini strong { display: block; font-family: var(--font-display); font-size: 18px; margin-bottom: 6px; }
.svc-mini p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Process */
.process {
	list-style: none;
	margin: 56px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.process li {
	position: relative;
	display: grid;
	gap: 4px;
	padding-top: 22px;
	border-top: 1px solid var(--border);
}
.process li::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	height: 2px;
	width: 100%;
	background: var(--gradient);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 1.2s var(--ease);
}
.process.is-in li::before { transform: scaleX(1); }
.process li:nth-child(2)::before { transition-delay: .25s; }
.process li:nth-child(3)::before { transition-delay: .5s; }
.process li:nth-child(4)::before { transition-delay: .75s; }
html:not(.js) .process li::before { transform: scaleX(1); }
.pr-num { font-family: var(--font-serif); font-size: 26px; line-height: 1; color: var(--primary); }
.process strong { font-family: var(--font-display); font-size: 18px; margin-top: 8px; }
.process li > span:last-child { font-size: 14px; color: var(--muted); }

@media (max-width: 960px) {
	.svc-featured { grid-template-columns: 1fr; }
	.svc-more { grid-template-columns: 1fr 1fr; }
	.process { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
@media (max-width: 600px) {
	.services { padding: 64px 0 40px; }
	.svc-card { padding: 28px 24px; border-radius: 24px; }
	.svc-list { grid-template-columns: 1fr; }
	.svc-more { grid-template-columns: 1fr; }
	.process { grid-template-columns: 1fr; }
}
/* Dhaka Universal logo */
.vc-logo { overflow: hidden; padding: 0; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 12px 24px -10px rgba(0, 0, 0, .5); transition: transform .6s var(--ease); }
.vc-logo img { width: 100%; height: 100%; object-fit: cover; }
.venture-card:hover .vc-logo { transform: rotate(-6deg) scale(1.06); }
html.intro-done .preloader { display: none; }

/* Dhaka Universal chip on photo */
.chip-3 { bottom: 34px; left: -34px; padding: 8px 16px 8px 8px; animation-delay: -1.2s; }
.chip-3 img { width: 34px; height: 34px; border-radius: 10px; }
.chip-stack { display: grid; line-height: 1.25; }
.chip-stack small { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .3px; }
@media (max-width: 960px) { .chip-3 { left: -6px; } }
/* ---- Stable role cards (no layout shift / hover flicker) ---- */
.role-card:hover { transform: none; }
.role-bar { height: 46px; transform-origin: center; transition: transform .45s var(--ease); }
.role-card:hover .role-bar { height: 46px; transform: scaleY(1.3); }
.role-arrow { flex: none; }

/* ---- Hero name on one line (desktop) ---- */
@media (min-width: 961px) {
	.hero-grid { grid-template-columns: 1.2fr .8fr; }
	.hero-title { white-space: nowrap; font-size: clamp(36px, 4vw, 60px); letter-spacing: -1.2px; }
}
.hero-text mark.hl { white-space: nowrap; }
/* ---- Clean photo: single info bar instead of floating chips ---- */
.shape-ring::after { display: none; }
.hero-photo { padding-bottom: 28px; }
.photo-bar {
	position: absolute;
	left: 50%;
	bottom: -14px;
	z-index: 3;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px 8px 8px;
	white-space: nowrap;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--border);
	border-radius: 18px;
	box-shadow: 0 24px 44px -22px rgba(27, 20, 21, .45);
}
.pb-du { display: flex; align-items: center; gap: 11px; color: var(--text); padding-right: 4px; }
.pb-du:hover { text-decoration: none; }
.pb-du img { width: 40px; height: 40px; border-radius: 12px; transition: transform .5s var(--ease); }
.pb-du:hover img { transform: rotate(-8deg) scale(1.06); }
.pb-du > span { display: grid; line-height: 1.25; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.pb-du small { font-family: var(--font); font-size: 11px; font-weight: 500; letter-spacing: .3px; color: var(--muted); }
.pb-sep { width: 1px; height: 30px; background: var(--border); }
.pb-tech {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 11px;
	color: var(--primary);
	background: rgba(107, 12, 16, .07);
	transition: background .3s, color .3s, transform .4s var(--ease);
}
.pb-tech svg { width: 20px; height: 20px; }
.pb-tech:hover { color: #fff; background: var(--gradient); transform: translateY(-2px); }

/* Say Hello wave */
.wave { display: inline-block; transform-origin: 70% 75%; font-size: 15px; line-height: 1; }
.btn:hover .wave { animation: ahn-wave 1s ease-in-out; }
@keyframes ahn-wave {
	0%, 100% { transform: rotate(0); }
	20% { transform: rotate(16deg); }
	40% { transform: rotate(-10deg); }
	60% { transform: rotate(14deg); }
	80% { transform: rotate(-6deg); }
}
.photo-bar { width: max-content; }
.pb-sep, .pb-tech, .pb-du img { flex: none; }

/* ---- Softer, slower hover lifts ---- */
:root { --ease-soft: cubic-bezier(.22, 1, .36, 1); }
.svc-card,
.svc-mini,
.principle {
	transition:
		transform .9s var(--ease-soft),
		box-shadow .9s var(--ease-soft),
		border-color .6s ease,
		opacity 1.1s var(--ease) var(--d, 0s),
		translate 1.1s var(--ease) var(--d, 0s),
		filter 1.1s var(--ease) var(--d, 0s);
}
.svc-card:hover { transform: translateY(-4px); }
.svc-mini:hover,
.principle:hover { transform: translateY(-3px); }
.svc-mini-icon { transition: background .6s ease, color .6s ease, transform .9s var(--ease-soft); }
.svc-mini:hover .svc-mini-icon { transform: rotate(-5deg) scale(1.04); }
.svc-watermark { transition: transform 1.6s var(--ease-soft); }
.svc-card::before,
.role-card::before { transition: opacity .7s ease; }
.vc-logo { transition: transform .9s var(--ease-soft); }
/* ---- Header social icons ---- */
.header-social { display: flex; align-items: center; gap: 8px; }
.hs-link {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--text);
	background: rgba(255, 255, 255, .7);
	border: 1px solid var(--border);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: color .5s ease, background .5s ease, border-color .5s ease, translate .6s var(--ease);
}
.hs-link svg { width: 16px; height: 16px; fill: currentColor; }
.hs-link:hover { color: #fff; background: var(--primary); border-color: var(--primary); }

/* ---- Name style: one family, gradient surname with drawn underline ---- */
.hero-title { font-weight: 800; letter-spacing: -2px; }
.hero-title .serif {
	position: relative;
	font-family: var(--font-display);
	font-style: normal;
	font-weight: 800;
	letter-spacing: -2px;
	padding-right: 0;
}
.hero-title .serif::after {
	content: "";
	position: absolute;
	left: 2%;
	right: 2%;
	bottom: .02em;
	height: .16em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C 50 3, 120 2, 197 8' fill='none' stroke='%23A3161D' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 1.1s var(--ease) 1s;
}
.hero-title.is-in .serif::after,
html:not(.js) .hero-title .serif::after { transform: scaleX(1); }
.hero-title .w { padding-bottom: .16em; margin-bottom: -.16em; }
.hero-title .serif::after { bottom: -.12em; }
.hero-title .w { padding-bottom: .3em; margin-bottom: -.3em; }

/* ---------- v1.9 Slimmer role cards ---------- */
.role-card { padding-top: 14.5px; padding-bottom: 14.5px; }
.role-bar { height: 38px; }
.role-card:hover .role-bar { height: 38px; }
.hero-text p:last-child { margin-bottom: 0; }

/* ---------- v1.9 Cursor ---------- */
.cursor-dot {
	width: 7px;
	height: 7px;
	background: var(--gradient);
	box-shadow: 0 0 12px rgba(163, 22, 29, .55);
}
.cursor-ring {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(107, 12, 16, .32);
	background: radial-gradient(circle, rgba(163, 22, 29, .07), transparent 70%);
	transition: opacity .3s, width .5s var(--ease), height .5s var(--ease), background .5s, border-color .5s, box-shadow .5s;
}
.cursor-ring.is-hover {
	width: 58px;
	height: 58px;
	border-color: rgba(163, 22, 29, .22);
	background: rgba(163, 22, 29, .07);
	backdrop-filter: blur(3px) saturate(1.4);
}
.cursor-ring.has-label {
	width: 72px;
	height: 72px;
	border-color: transparent;
	background: var(--gradient);
	box-shadow: 0 14px 30px -10px rgba(107, 12, 16, .6);
	backdrop-filter: none;
}
.cursor-label {
	color: #fff;
	font: 600 11px/1 var(--font);
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: 0;
	scale: .6;
	transition: opacity .3s, scale .45s var(--ease);
}
.cursor-ring.has-label .cursor-label { opacity: 1; scale: 1; }
html.cursor-down .cursor-ring { width: 26px; height: 26px; }
html.cursor-down .cursor-ring.is-hover { width: 48px; height: 48px; }
html.cursor-down .cursor-ring.has-label { width: 62px; height: 62px; }

/* ---------- v1.9 Buttons ---------- */
.btn {
	transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-position .9s var(--ease), border-color .5s, translate .6s var(--ease);
}
.btn:hover { transform: none; }
.btn-primary {
	background: linear-gradient(120deg, #5A0A0E 0%, #6B0C10 30%, #A3161D 65%, #D2483C 100%);
	background-size: 220% 100%;
	background-position: 0% 50%;
	border-color: rgba(255, 255, 255, .08);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .22),
		inset 0 -2px 6px rgba(0, 0, 0, .18),
		0 10px 24px -12px rgba(107, 12, 16, .7);
}
.btn-primary:hover {
	background-position: 100% 50%;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .28),
		inset 0 -2px 6px rgba(0, 0, 0, .12),
		0 0 0 4px rgba(163, 22, 29, .12),
		0 16px 32px -12px rgba(107, 12, 16, .75);
}
.btn-sm { padding: 5px 5px 5px 18px; gap: 10px; }
.btn .wave {
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	font-size: 14px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
	transition: background .5s;
}
.btn:hover .wave { background: rgba(255, 255, 255, .26); }
.btn-light {
	background: linear-gradient(180deg, #fff, #FBF7F6);
	border-color: rgba(107, 12, 16, .12);
	box-shadow: inset 0 1px 0 #fff, 0 10px 24px -14px rgba(0, 0, 0, .35);
}
.btn-light:hover {
	border-color: rgba(107, 12, 16, .25);
	box-shadow: inset 0 1px 0 #fff, 0 0 0 4px rgba(255, 255, 255, .18), 0 16px 30px -14px rgba(0, 0, 0, .45);
}
.svc-cta { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -16px rgba(27, 20, 21, .4); }
.svc-wordpress .svc-cta { border: 1px solid rgba(107, 12, 16, .14); }
.svc-cta:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 4px rgba(163, 22, 29, .1), 0 16px 30px -14px rgba(107, 12, 16, .55); }
.svc-shopify .svc-cta {
	background: linear-gradient(120deg, #5A0A0E 0%, #6B0C10 30%, #A3161D 65%, #D2483C 100%);
	background-size: 220% 100%;
	transition: box-shadow .6s var(--ease), background-position .9s var(--ease), translate .6s var(--ease);
}
.svc-shopify .svc-cta:hover { background-position: 100% 50%; }

/* ---------- v1.9.4 More services grid ---------- */
.svc-more { grid-template-columns: repeat(6, 1fr); }
.svc-mini { grid-column: span 2; }
.svc-mini.is-shopify {
	grid-column: span 3;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(163, 22, 29, .08), transparent 60%),
		rgba(255, 255, 255, .85);
	border-color: rgba(107, 12, 16, .16);
}
.svc-mini.is-shopify .svc-mini-icon { color: #fff; background: var(--gradient); }
@media (max-width: 960px) {
	.svc-more { grid-template-columns: 1fr 1fr; }
	.svc-mini, .svc-mini.is-shopify { grid-column: auto; }
	.svc-mini:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.svc-more { grid-template-columns: 1fr; }
}

/* ---------- v1.9.5 Three service cards with tags ---------- */
.svc-more { grid-template-columns: repeat(3, 1fr); }
.svc-mini, .svc-mini.is-shopify { grid-column: auto; display: flex; flex-direction: column; padding: 28px 26px; }
.svc-mini p { flex: 1; }
.svc-tags {
	list-style: none;
	margin: 18px 0 0;
	padding: 16px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	border-top: 1px dashed rgba(107, 12, 16, .16);
}
.svc-tags li {
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: var(--primary);
	background: rgba(163, 22, 29, .07);
	border: 1px solid rgba(163, 22, 29, .12);
	transition: background .5s, color .5s;
}
.svc-mini:hover .svc-tags li { background: rgba(163, 22, 29, .11); }
.svc-list { gap: 13px 20px; }
@media (max-width: 960px) {
	.svc-more { grid-template-columns: 1fr 1fr; }
	.svc-mini:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.svc-more { grid-template-columns: 1fr; }
}

/* ---------- v1.9.6 Venture card spacing ---------- */
.vc-top strong { line-height: 1.2; }
.vc-top span { display: block; margin-top: 4px; line-height: 1.4; }
.vc-quote {
	margin: 26px 0 24px;
	padding-left: 16px;
	border-left: 2px solid rgba(255, 255, 255, .35);
	font-size: 25px;
	line-height: 1.22;
	letter-spacing: -.2px;
}
.vc-stats div { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.vc-stats span { display: block; line-height: 1.4; }
.vc-role { margin-top: 22px; }

/* ---------- v1.9.7 Three principles in one row ---------- */
.principles { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
	.principles { grid-template-columns: 1fr; }
}
