/* ==========================================================================
   Hicham AITJAK — Portfolio design system
   Concept: "Golden hour". Warm paper base, a sun-yellow signature, arches
   (a nod to Moroccan doorways) and sticker-like cards with ink outlines.

   Every block is an Elementor container/widget carrying an `ha-*` class
   (Advanced → CSS Classes). Content is edited in Elementor; layout lives here.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
}
@font-face {
	font-family: "Caveat";
	src: url("../fonts/caveat-latin-700.woff2") format("woff2");
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: "JetBrains Mono";
	src: url("../fonts/jetbrains-mono-latin-500.woff2") format("woff2");
	font-weight: 500;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--ha-paper: #FFFDF7;
	--ha-cream: #FFF3DF;
	--ha-sun: #FFD95A;
	--ha-peach: #FFAA73;
	--ha-mint: #B9E6C9;
	--ha-sky: #C8E5F8;
	--ha-ink: #202B3C;
	--ha-ink-soft: #4A5466;
	--ha-white: #FFFFFF;
	--ha-line: rgba(32, 43, 60, 0.16);
	--ha-error: #B42318;

	--ha-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
	--ha-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ha-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

	--ha-gutter: clamp(16px, 4vw, 48px);
	--ha-space: clamp(80px, 9vw, 128px);
	--ha-radius: clamp(22px, 2.4vw, 32px);
	--ha-border: 2px solid var(--ha-ink);
	--ha-nav-h: 84px;
	--ha-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ha-nav-h) + 16px); }
body.ha-site {
	background: var(--ha-paper);
	color: var(--ha-ink);
	font-family: var(--ha-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
.ha-site ::selection { background: var(--ha-sun); color: var(--ha-ink); }
.ha-site a { color: inherit; }
.ha-site img { max-width: 100%; }
.ha-site .elementor-widget-text-editor p { margin: 0 0 0.9em; }
.ha-site .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.ha-site .elementor-heading-title { color: inherit; }
.ha-site :focus-visible {
	outline: 3px solid var(--ha-ink);
	outline-offset: 3px;
	box-shadow: 0 0 0 7px rgba(255, 217, 90, 0.85);
	border-radius: 10px;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.ha-main.e-con { overflow-x: clip; gap: 0; }

/* Tones shared by cards */
.ha-tone--sun { --tone: var(--ha-sun); }
.ha-tone--peach { --tone: var(--ha-peach); }
.ha-tone--mint { --tone: var(--ha-mint); }
.ha-tone--sky { --tone: var(--ha-sky); }
.ha-tone--cream { --tone: var(--ha-cream); }
.ha-tone--white { --tone: var(--ha-white); }
.ha-tone--ink { --tone: var(--ha-ink); }

/* ---------- Sections ---------- */
.ha-site .ha-section.e-con { padding: var(--ha-space) var(--ha-gutter); }
.ha-site .ha-section > .e-con-inner { gap: clamp(40px, 6vw, 72px); }

.ha-kicker .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	font: 500 13px/1 var(--ha-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
/* Section labels printed on a strip of washi tape (same tape as the "How can I help you?" note). */
.ha-kicker .elementor-heading-title {
	padding: 9px 20px 8px;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 6px, transparent 6px 12px),
		rgba(255, 160, 110, 0.92);
	box-shadow: 0 2px 6px rgba(32, 43, 60, 0.12);
	clip-path: polygon(0 0, 100% 0, 97% 20%, 100% 40%, 97% 60%, 100% 80%, 97% 100%, 0 100%, 3% 80%, 0 60%, 3% 40%, 0 20%);
	rotate: -2deg;
	color: var(--ha-ink);
}
.ha-site .ha-title .elementor-heading-title {
	font-family: var(--ha-display);
	font-weight: 800;
	font-size: clamp(38px, 5.6vw, 76px);
	line-height: 0.98;
	letter-spacing: -0.045em;
	max-width: 13ch;
}
.ha-site .ha-head.e-con { gap: 20px; }
.ha-site .ha-head--split.e-con {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	align-items: end;
	gap: 24px clamp(32px, 6vw, 96px);
}
.ha-site .ha-head__main.e-con { gap: 20px; }
.ha-head__intro { font-size: clamp(16px, 1.3vw, 19px); color: var(--ha-ink-soft); max-width: 42ch; }

/* ---------- Buttons ---------- */
.ha-site .ha-btn,
.ha-site .ha-btn-w .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 14px 26px;
	border: var(--ha-border);
	border-radius: 999px;
	background: var(--ha-ink);
	color: var(--ha-paper);
	font: 700 16px/1 var(--ha-body);
	letter-spacing: -0.01em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.35s var(--ha-ease), box-shadow 0.35s var(--ha-ease), background-color 0.25s, color 0.25s;
}
.ha-site .ha-btn:hover,
.ha-site .ha-btn-w .elementor-button:hover {
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0 var(--ha-sun);
	background: var(--ha-ink);
	color: var(--ha-paper);
}
.ha-site .ha-btn:active,
.ha-site .ha-btn-w .elementor-button:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--ha-sun); }
.ha-site .ha-btn svg { width: 18px; height: 18px; flex: none; }
.ha-site .ha-btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.ha-site .ha-btn--lg { min-height: 58px; padding: 16px 30px; font-size: 17px; }

.ha-site .ha-btn-w--ghost .elementor-button { background: transparent; color: var(--ha-ink); }
.ha-site .ha-btn-w--ghost .elementor-button:hover { background: var(--ha-white); color: var(--ha-ink); box-shadow: 4px 4px 0 var(--ha-ink); }
.ha-site .ha-btn-w--sm .elementor-button { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.ha-site .ha-btn-w--link .elementor-button {
	min-height: 0;
	padding: 4px 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--ha-ink);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	box-shadow: none;
}
.ha-site .ha-btn-w--link .elementor-button:hover { background: none; color: var(--ha-ink); box-shadow: none; transform: none; text-decoration-color: var(--ha-peach); }

/* Arrow icons drawn with masks so buttons stay plain, editable Elementor widgets. */
.ha-btn-w--arrow .elementor-button-text::after,
.ha-btn-w--out .elementor-button-text::after {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 10px;
	vertical-align: -3px;
	background: currentColor;
	-webkit-mask: var(--ha-icon) center / contain no-repeat;
	mask: var(--ha-icon) center / contain no-repeat;
	transition: transform 0.35s var(--ha-ease);
}
.ha-btn-w--arrow { --ha-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12m-5-5 5 5 5-5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ha-btn-w--out { --ha-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 14 14 6m-6 0h6v6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ha-btn-w--arrow .elementor-button:hover .elementor-button-text::after { transform: translateY(3px); }
.ha-btn-w--out .elementor-button:hover .elementor-button-text::after { transform: translate(2px, -2px); }

.ha-site .ha-link {
	color: var(--ha-ink);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	transition: text-decoration-color 0.25s;
}
.ha-site .ha-link:hover { text-decoration-color: var(--ha-peach); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.ha-site .ha-header.e-con {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	padding: 14px var(--ha-gutter) 0;
	pointer-events: none;
}
.admin-bar .ha-header.e-con { top: 32px; }
@media (max-width: 782px) { .admin-bar .ha-header.e-con { top: 46px; } }

.ha-nav { position: relative; }
.ha-nav__bar {
	position: relative;
	z-index: 2;
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 8px 8px 8px 16px;
	background: rgba(255, 253, 247, 0.94);
	border: var(--ha-border);
	border-radius: 999px;
	transition: box-shadow 0.4s var(--ha-ease), transform 0.5s var(--ha-ease);
}
.ha-nav.is-scrolled .ha-nav__bar { box-shadow: 0 10px 30px -12px rgba(32, 43, 60, 0.25); }
.ha-nav.is-hidden .ha-nav__bar { transform: translateY(calc(-100% - 24px)); }
.ha-nav__brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-right: auto;
	font: 600 18px/1 var(--ha-display);
	letter-spacing: -0.02em;
	text-decoration: none;
	white-space: nowrap;
}
.ha-nav__brand b { font-weight: 800; }
.ha-mark { width: 34px; height: 34px; flex: none; transition: transform 0.6s var(--ha-ease); }
.ha-nav__brand:hover .ha-mark { transform: rotate(-20deg); }
.ha-nav__links ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ha-site .ha-nav__link {
	display: block;
	padding: 10px 14px;
	border-radius: 99px;
	font: 600 15px/1 var(--ha-body);
	text-decoration: none;
	transition: background-color 0.3s;
}
.ha-site .ha-nav__link:hover { background: var(--ha-cream); }
.ha-site .ha-nav__link.is-active { background: var(--ha-sun); }
.ha-site .ha-nav__toggle {
	display: none;
	place-items: center;
	width: 46px; height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ha-ink);
	color: var(--ha-paper);
}
.ha-site .ha-nav__toggle:hover, .ha-site .ha-nav__toggle:focus { background: var(--ha-ink); color: var(--ha-paper); }
.ha-nav__burger { display: grid; gap: 6px; width: 20px; }
.ha-nav__burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.4s var(--ha-ease); }
.ha-nav__toggle[aria-expanded="true"] .ha-nav__burger i:first-child { transform: translateY(4px) rotate(45deg); }
.ha-nav__toggle[aria-expanded="true"] .ha-nav__burger i:last-child { transform: translateY(-4px) rotate(-45deg); }

.ha-mnav {
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	padding: 120px var(--ha-gutter) 40px;
	background: var(--ha-sun);
	overflow-y: auto;
}
.ha-mnav[hidden] { display: none; }
.ha-mnav__list { margin: 0; padding: 0; list-style: none; }
.ha-site .ha-mnav__link {
	display: block;
	padding: 6px 0;
	font: 800 clamp(40px, 11vw, 68px)/1.05 var(--ha-display);
	letter-spacing: -0.045em;
	text-decoration: none;
}
.ha-mnav__link.is-active { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }
.ha-mnav__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.ha-site .ha-skip {
	position: absolute;
	top: -100px; left: 16px;
	z-index: 3;
	pointer-events: auto;
	padding: 12px 18px;
	border-radius: 99px;
	background: var(--ha-ink);
	color: var(--ha-paper);
	font-weight: 700;
	text-decoration: none;
}
.ha-site .ha-skip:focus { top: 8px; }
body.ha-menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.ha-site .ha-hero.e-con {
	min-height: min(100svh, 980px);
	padding: calc(var(--ha-nav-h) + clamp(32px, 6vw, 72px)) var(--ha-gutter) clamp(56px, 7vw, 96px);
	justify-content: center;
}
.ha-site .ha-hero__grid.e-con {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(40px, 5vw, 80px);
}
.ha-site .ha-hero__copy.e-con { gap: 24px; }

.ha-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 16px 9px 12px;
	border: 1.5px solid var(--ha-line);
	border-radius: 99px;
	background: var(--ha-white);
	font: 500 12.5px/1 var(--ha-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.ha-eyebrow .elementor-heading-title::before {
	content: "";
	width: 9px; height: 9px;
	border-radius: 50%;
	background: #2FA866;
	box-shadow: 0 0 0 4px rgba(47, 168, 102, 0.2);
}
.ha-site .ha-hero__title .elementor-heading-title {
	font-family: var(--ha-display);
	font-weight: 800;
	font-size: clamp(44px, 6.9vw, 104px);
	line-height: 0.96;
	letter-spacing: -0.05em;
	text-wrap: balance;
}
.ha-hero__title mark {
	color: inherit;
	background-color: transparent;
	font-style: normal;
	background-image: linear-gradient(var(--ha-hl, var(--ha-sun)), var(--ha-hl, var(--ha-sun)));
	background-repeat: no-repeat;
	background-position: 0 88%;
	background-size: 100% 0.36em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	padding: 0 0.04em;
}
.ha-hero__lead { max-width: 44ch; font-size: clamp(17px, 1.35vw, 20px); color: var(--ha-ink-soft); }
.ha-site .ha-actions.e-con { flex-direction: row; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ha-site .ha-actions > .elementor-widget { width: auto; }

/* Visual composition: sun, dotted field, arch outline, portrait, stickers. */
.ha-site .ha-hero__visual.e-con {
	position: relative;
	display: block;
	width: 100%;
	max-width: 540px;
	aspect-ratio: 5 / 6;
	margin-left: auto;
}
.ha-site .ha-hero__bg,
.ha-site .ha-hero__fx { position: absolute; inset: 0; width: auto; pointer-events: none; }
.ha-hero__shapes, .ha-stickers { position: absolute; inset: 0; }
.ha-sun {
	position: absolute;
	top: 0; right: -4%;
	width: 74%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--ha-sun);
}
.ha-dots {
	position: absolute;
	left: -6%; bottom: 4%;
	width: 46%; height: 38%;
	background-image: radial-gradient(var(--ha-ink) 1.5px, transparent 1.8px);
	background-size: 16px 16px;
	opacity: 0.18;
}
.ha-arch-line {
	position: absolute;
	inset: 9% 4% 0 18%;
	border: var(--ha-border);
	border-radius: 999px 999px 28px 28px;
}
.ha-site .ha-hero__portrait {
	position: absolute;
	inset: 6% 9% 3% 12%;
	width: auto;
	overflow: hidden;
	border: var(--ha-border);
	border-radius: 999px 999px 28px 28px;
	background: var(--ha-cream);
}
.ha-site .ha-hero__portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
}
.ha-sticker {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px 9px 12px;
	border: var(--ha-border);
	border-radius: 99px;
	background: var(--tone);
	box-shadow: 3px 3px 0 var(--ha-ink);
	font: 700 15px/1 var(--ha-body);
	white-space: nowrap;
}
.ha-sticker svg { width: 18px; height: 18px; }
.ha-sticker--peach { --tone: var(--ha-peach); top: 22%; left: -2%; rotate: -8deg; }
.ha-sticker--sky { --tone: var(--ha-sky); top: 48%; right: -3%; rotate: 6deg; }
.ha-sticker--mint { --tone: var(--ha-mint); bottom: 8%; right: 12%; rotate: -4deg; }
.ha-code {
	position: absolute;
	left: -10%; bottom: 20%;
	display: block;
	padding: 12px 16px 14px;
	border: var(--ha-border);
	border-radius: 16px;
	background: var(--ha-white);
	box-shadow: 4px 4px 0 var(--ha-ink);
	rotate: -3deg;
}
.ha-code i { display: inline-block; width: 8px; height: 8px; margin: 0 4px 8px 0; border-radius: 50%; background: var(--ha-line); }
.ha-code i:first-child { background: var(--ha-peach); }
.ha-code i:nth-child(2) { background: var(--ha-sun); }
.ha-code i:nth-child(3) { background: var(--ha-mint); }
.ha-code code { display: block; font: 500 13px/1.6 var(--ha-mono); color: var(--ha-ink); background: none; padding: 0; }
.ha-code b { color: #B4541B; font-weight: 500; }
.ha-code em { font-style: normal; color: #2B7A4B; }
.ha-badge {
	position: absolute;
	top: 1%; left: 2%;
	display: grid;
	place-items: center;
	width: 112px; height: 112px;
	border: var(--ha-border);
	border-radius: 50%;
	background: var(--ha-paper);
}
.ha-badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ha-badge text { font: 500 10.5px var(--ha-mono); letter-spacing: 0.16em; text-transform: uppercase; fill: var(--ha-ink); }
.ha-badge__core .ha-mark { width: 40px; height: 40px; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.ha-site .ha-marquee.e-con {
	position: relative;
	z-index: 2;
	width: calc(100% + 40px);
	margin: 0 -20px;
	padding: 18px 0;
	overflow: hidden;
	background: var(--ha-sun);
	border-block: var(--ha-border);
	rotate: -1.5deg;
}
.ha-marquee__track { display: flex; width: max-content; animation: ha-marquee 42s linear infinite; }
.ha-marquee:hover .ha-marquee__track { animation-play-state: paused; }
.ha-marquee__run {
	display: flex;
	align-items: center;
	gap: 28px;
	padding-right: 28px;
	font: 700 clamp(20px, 2.3vw, 30px)/1 var(--ha-display);
	letter-spacing: -0.02em;
	white-space: nowrap;
}
.ha-star { width: 22px; height: 22px; flex: none; }
@keyframes ha-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   About
   ========================================================================== */
.ha-site .ha-about__grid.e-con {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	align-items: start;
	gap: clamp(40px, 6vw, 96px);
}
.ha-site .ha-about__main.e-con { gap: clamp(28px, 3vw, 40px); }
.ha-site .ha-statement .elementor-heading-title {
	font-family: var(--ha-display);
	font-weight: 700;
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.12;
	letter-spacing: -0.035em;
	max-width: 22ch;
	text-wrap: balance;
}
.ha-about__bio { max-width: 58ch; color: var(--ha-ink-soft); font-size: clamp(16px, 1.3vw, 18px); }

/* "Now building" card */
/* "Now building" panel: Easy Flow copy + hub diagram */
.ha-site .e-con.ha-ef {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
	align-items: center;
	gap: clamp(20px, 3vw, 40px);
	padding: clamp(22px, 2.6vw, 32px);
	border: var(--ha-border);
	border-radius: 26px;
	background: var(--ha-white);
	box-shadow: 6px 6px 0 var(--ha-mint);
}
.ha-site .ha-ef__copy.e-con { gap: 8px; }
.ha-site .ha-ef__title .elementor-heading-title { font: 800 clamp(28px, 2.6vw, 36px)/1.05 var(--ha-display); letter-spacing: -0.035em; }
.ha-ef__text { color: var(--ha-ink-soft); font-size: 16px; line-height: 1.6; }
.ha-ef__text .ha-ef__with { margin-top: 4px; font: 700 22px/1.2 "Caveat", cursive; color: var(--ha-ink); }
.ha-site .ha-ef__hub { width: 100%; }

.ha-hub { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1; margin-inline: auto; }
.ha-hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ha-hub__lines line { stroke: #5FC9F0; stroke-width: 0.7; stroke-dasharray: 1.6 2; opacity: 0.8; }
.ha-hub__dot { fill: #5FC9F0; }
.ha-hub__core {
	position: absolute;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: 38%;
	aspect-ratio: 1;
	translate: -50% -50%;
	border: 1.5px solid rgba(32, 43, 60, 0.08);
	border-radius: 50%;
	background: var(--ha-white);
	box-shadow: 0 0 0 10px rgba(95, 201, 240, 0.12), 0 0 40px rgba(95, 201, 240, 0.45);
}
.ha-hub__core img { width: 64%; height: auto; }
.ha-hub__node {
	position: absolute;
	display: grid;
	place-items: center;
	width: 18%;
	aspect-ratio: 1;
	translate: -50% -50%;
	border-radius: 50%;
	background: var(--ha-white);
	box-shadow: 0 6px 16px rgba(32, 43, 60, 0.12);
	transition: scale 0.3s var(--ha-ease);
}
.ha-hub__node:hover { scale: 1.12; }
.ha-hub__node img { width: 64%; height: auto; border-radius: 8px; }
.ha-hub__node--more { width: 24%; aspect-ratio: auto; padding: 6px 0; border-radius: 99px; font: 700 12px/1.2 var(--ha-body); color: var(--ha-ink-soft); }
@media (prefers-reduced-motion: reduce) { .ha-hub__dot { display: none; } }

.ha-now__label .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 500 12px/1 var(--ha-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ha-ink-soft);
}
.ha-now__label .elementor-heading-title::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2FA866;
	box-shadow: 0 0 0 4px rgba(47, 168, 102, 0.2);
	animation: ha-pulse 2.4s ease-in-out infinite;
}
@keyframes ha-pulse { 50% { box-shadow: 0 0 0 7px rgba(47, 168, 102, 0.08); } }
.ha-site .ha-now__title .elementor-heading-title { font: 800 28px/1.1 var(--ha-display); letter-spacing: -0.03em; }
.ha-now__text { color: var(--ha-ink-soft); font-size: 16px; line-height: 1.55; }

.ha-site .ha-profile.e-con {
	position: sticky;
	top: calc(var(--ha-nav-h) + 24px);
	gap: 12px;
	padding: 28px;
	border: var(--ha-border);
	border-radius: var(--ha-radius);
	background: var(--ha-white);
	box-shadow: 6px 6px 0 var(--ha-sun);
}
.ha-site .ha-profile__photo { width: auto; }
.ha-site .ha-profile__photo img {
	width: 92px; height: 92px;
	border-radius: 50%;
	object-fit: cover;
	border: var(--ha-border);
	box-shadow: 0 0 0 6px var(--ha-sun);
	margin: 6px 0 8px 6px;
}
.ha-site .ha-profile__name .elementor-heading-title { font: 800 26px/1.1 var(--ha-display); letter-spacing: -0.03em; }
.ha-profile__meta { font-size: 15px; color: var(--ha-ink-soft); }
.ha-profile__tags ul,
.ha-project__chips ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ha-profile__tags li {
	padding: 6px 12px;
	border-radius: 99px;
	background: var(--ha-cream);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}
.ha-site .ha-profile .ha-btn-w { margin-top: 8px; }

.ha-site .ha-process.e-con { gap: 32px; margin-top: clamp(32px, 6vw, 88px); }
.ha-site .ha-process__head.e-con {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px 40px;
}
.ha-site .ha-process__head > .elementor-widget { width: auto; }
.ha-site .ha-process__title .elementor-heading-title { font: 800 clamp(26px, 2.6vw, 36px)/1.1 var(--ha-display); letter-spacing: -0.035em; }
.ha-process__intro { max-width: 46ch; color: var(--ha-ink-soft); font-size: 16px; }

.ha-site .ha-steps.e-con {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}
/* Dotted curve from one step number to the next, drawn over the cards (path built in portfolio.js). */
.ha-site .ha-steps__path {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: auto;
	pointer-events: none;
}
.ha-steps__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ha-steps__line path {
	fill: none;
	stroke: var(--ha-ink);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 0.1 9;
	opacity: 0.75;
}
.ha-site .ha-step.e-con {
	position: relative;
	gap: 10px;
	min-height: 236px;
	padding: 22px 22px 26px;
	border: var(--ha-border);
	border-radius: 24px;
	background: var(--tone, var(--ha-white));
	transition: transform 0.4s var(--ha-ease), box-shadow 0.4s var(--ha-ease);
}
.ha-step--sun { --tone: var(--ha-sun); }
.ha-step--sky { --tone: var(--ha-sky); }
.ha-step--mint { --tone: var(--ha-mint); }
.ha-step--peach { --tone: var(--ha-peach); }
.ha-step--cream { --tone: var(--ha-white); }
.ha-steps__dots { display: none; }
/* Wave rhythm: the steps rise and fall. */
.ha-site .ha-steps > .ha-step:nth-child(3) { margin-top: 56px; }
.ha-site .ha-steps > .ha-step:nth-child(4) { margin-top: 12px; }
.ha-site .ha-steps > .ha-step:nth-child(5) { margin-top: 64px; }
.ha-site .ha-steps > .ha-step:nth-child(6) { margin-top: 20px; }
.ha-site .ha-step.e-con:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ha-ink); }
.ha-step__num .elementor-heading-title {
	display: inline-grid;
	place-items: center;
	width: 40px; height: 40px;
	border: var(--ha-border);
	border-radius: 50%;
	background: var(--ha-paper);
	font: 500 13px/1 var(--ha-mono);
}
.ha-site .ha-step__title .elementor-heading-title { font: 800 24px/1.1 var(--ha-display); letter-spacing: -0.03em; }
.ha-site .ha-step__title { margin-top: 10px; }
.ha-step__text { font-size: 15px; line-height: 1.5; color: var(--ha-ink); }

/* ==========================================================================
   Services — centred heading, service cards, pinned "How can I help you?" note
   ========================================================================== */
.ha-site .ha-services > .e-con-inner { position: relative; }
.ha-site .ha-wid__head.e-con { align-items: center; gap: 18px; max-width: 920px; margin-inline: auto; text-align: center; }
.ha-site .ha-wid__head .ha-title .elementor-heading-title { max-width: none; font-size: clamp(36px, 4.6vw, 64px); text-wrap: balance; }
.ha-wid__sub { max-width: 52ch; color: var(--ha-ink-soft); font-size: clamp(16px, 1.3vw, 18px); }

/* Hand-drawn underline that draws itself in on scroll. */
.ha-squig { position: relative; display: inline-block; white-space: nowrap; }
.ha-squig::after {
	content: "";
	position: absolute;
	left: -3%; right: -3%; bottom: -0.2em;
	height: 0.3em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 30 4, 52 4, 72 11 S 112 19, 132 10 S 172 3, 197 9' fill='none' stroke='%23FFAA73' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	clip-path: inset(0 0 0 0);
	transition: clip-path 1.1s var(--ha-ease) 0.15s;
}
.ha-anim .ha-squig:not(.is-drawn)::after { clip-path: inset(0 100% 0 0); }

.ha-site .ha-wid__grid.e-con {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
	align-items: start;
	gap: clamp(28px, 4vw, 52px);
}
.ha-site .ha-wid__cards.e-con { gap: 16px; }
.ha-site .ha-wcard.e-con {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	grid-template-areas:
		"icon title"
		"icon text";
	align-items: start;
	gap: 6px 20px;
	padding: 24px 28px;
	border: 1.5px solid rgba(32, 43, 60, 0.08);
	border-radius: 24px;
	background: var(--ha-white);
	box-shadow: 0 6px 18px rgba(32, 43, 60, 0.05);
	transition: transform 0.35s var(--ha-ease), box-shadow 0.35s var(--ha-ease), border-color 0.35s;
}
.ha-site .ha-wcard.e-con:hover { transform: translateY(-4px); border-color: rgba(32, 43, 60, 0.16); box-shadow: 0 16px 36px rgba(32, 43, 60, 0.1); }
.ha-site .ha-wcard__icon { grid-area: icon; width: auto; }
.ha-site .ha-wcard__title { grid-area: title; }
.ha-site .ha-wcard__title .elementor-heading-title { font: 700 20px/1.25 var(--ha-display); letter-spacing: -0.02em; }
.ha-site .ha-wcard__text { grid-area: text; color: var(--ha-ink-soft); font-size: 15.5px; line-height: 1.55; }

.ha-icon {
	display: grid;
	place-items: center;
	width: 58px; height: 58px;
	border: var(--ha-border);
	border-radius: 18px;
	background: var(--ha-paper);
	color: var(--ha-ink);
	transition: transform 0.5s var(--ha-ease);
}
.ha-icon svg { width: 28px; height: 28px; }
.ha-wcard .ha-icon { width: 56px; height: 56px; border: 0; border-radius: 16px; background: color-mix(in srgb, var(--tone) 55%, #fff); }
.ha-wcard:hover .ha-icon { transform: rotate(-8deg) scale(1.05); }

.ha-site .ha-help.e-con {
	position: sticky;
	top: calc(var(--ha-nav-h) + 40px);
	gap: 14px;
	padding: 40px 34px 34px;
	border: 2px dashed #E3B53A;
	border-radius: 26px;
	background: var(--ha-sun);
	rotate: 1.2deg;
}
.ha-site .ha-help__pin-w { position: absolute; top: -18px; left: 50%; width: auto; translate: -50% 0; }
/* Washi tape holding the note, with torn ends. */
.ha-help__tape {
	display: block;
	width: 128px;
	height: 36px;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 6px, transparent 6px 12px),
		rgba(255, 160, 110, 0.92);
	box-shadow: 0 2px 6px rgba(32, 43, 60, 0.12);
	clip-path: polygon(0 0, 100% 0, 96% 20%, 100% 40%, 96% 60%, 100% 80%, 96% 100%, 0 100%, 4% 80%, 0 60%, 4% 40%, 0 20%);
	rotate: -4deg;
}
.ha-help__hand .elementor-heading-title { font: 700 clamp(28px, 2.4vw, 34px)/1.1 "Caveat", "Comic Sans MS", cursive; }
.ha-help__text { font-size: 16px; line-height: 1.6; }
.ha-help__text p { margin-bottom: 0.8em; }
.ha-site .ha-help .ha-btn-w { width: auto; margin-top: 6px; }

/* Floating sticker tiles around the section. */
.ha-site .ha-stks-w { position: absolute; inset: 0; z-index: 2; width: auto; pointer-events: none; }
.ha-stks { position: absolute; inset: 0; }
.ha-stk {
	position: absolute;
	display: grid;
	place-items: center;
	width: 92px; height: 92px;
	border: var(--ha-border);
	border-radius: 22px;
	background: var(--ha-white);
	box-shadow: 4px 4px 0 var(--ha-ink);
	rotate: var(--r, 0deg);
	animation: ha-float 5s ease-in-out infinite;
}
.ha-stk .ha-icon { width: 64px; height: 64px; border: 0; border-radius: 16px; background: var(--tone); }
.ha-stk .ha-icon svg { width: 32px; height: 32px; }
.ha-stk--1 { --r: -8deg; left: -24px; top: -10px; }
.ha-stk--2 { --r: 7deg; right: -24px; top: 30px; animation-delay: 0.7s; }
.ha-stk--3 { --r: 6deg; left: -84px; top: 62%; animation-delay: 1.3s; }
.ha-stk--4 { --r: -7deg; right: -36px; bottom: -40px; animation-delay: 0.4s; }
@keyframes ha-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ==========================================================================
   Projects
   ========================================================================== */
.ha-site .ha-projects__list.e-con {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(56px, 7vw, 96px) clamp(20px, 3vw, 40px);
	align-items: start;
}
.ha-site .ha-project.e-con { gap: 24px; grid-column: span 6; }
.ha-site .ha-project--wide.e-con {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	align-items: center;
	gap: clamp(28px, 4vw, 64px);
}
/* Real screenshots keep their own proportions (mockups are cropped to 16:10). */
/* WordPress gives lazy images a 3000x1500 placeholder size (sizes="auto"); use the real ratio instead. */
.ha-site .ha-project__visual--shot .ha-project__img img { height: auto; aspect-ratio: auto 1600 / 720; contain-intrinsic-size: none; object-fit: contain; }
/* "Coming soon" teaser: blurred preview with a centred status card. */
.ha-site .ha-project__visual--soon .ha-project__img img { filter: blur(5px) saturate(0.85); transform: scale(1.04); }
.ha-site .ha-project:hover .ha-project__visual--soon .ha-project__img img { transform: scale(1.06); }
.ha-site .ha-soon-w { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: auto; }
.ha-soon {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 22px 30px 24px;
	border: var(--ha-border);
	border-radius: 24px;
	background: var(--ha-white);
	box-shadow: 6px 6px 0 var(--ha-ink);
	text-align: center;
	rotate: -2deg;
}
.ha-soon img { width: 56px; height: auto; margin-bottom: 4px; }
.ha-soon__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font: 500 12px/1 var(--ha-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ha-ink-soft);
}
.ha-soon__label::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2FA866;
	box-shadow: 0 0 0 4px rgba(47, 168, 102, 0.2);
	animation: ha-pulse 2.4s ease-in-out infinite;
}
.ha-soon__title { margin: 0; font: 800 clamp(28px, 3vw, 40px)/1 var(--ha-display); letter-spacing: -0.04em; color: var(--ha-ink); }

/* Wide card with the visual on the right (alternates with the card above). */
.ha-site .ha-project--rev.e-con { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ha-site .ha-project--rev > .ha-project__visual { order: 2; }
.ha-site .ha-projects__list > .ha-project:nth-child(3) { margin-top: clamp(0px, 9vw, 128px); }
.ha-site .ha-projects__list > .ha-project:nth-child(4) { grid-column: span 7; }
.ha-site .ha-projects__list > .ha-project:nth-child(5) { grid-column: span 5; margin-top: clamp(0px, 13vw, 180px); }

.ha-site .ha-project__visual.e-con {
	position: relative;
	display: block;
	padding: clamp(18px, 3.4vw, 44px) clamp(18px, 3.4vw, 44px) 0;
	overflow: hidden;
	border: var(--ha-border);
	border-radius: var(--ha-radius);
	background: var(--tone);
	transition: box-shadow 0.5s var(--ha-ease), transform 0.5s var(--ha-ease);
}
.ha-site .ha-project__visual::before {
	content: "";
	position: absolute;
	width: 70%;
	height: auto;
	aspect-ratio: 1;
	inset: -38% -22% auto auto;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
}
.ha-site .ha-project:hover .ha-project__visual { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ha-ink); }
.ha-site .ha-project__img {
	position: relative;
	width: 100%;
	padding-top: 30px;
	overflow: hidden;
	border: var(--ha-border);
	border-bottom: 0;
	border-radius: 16px 16px 0 0;
	background:
		radial-gradient(circle at 20px 15px, var(--ha-peach) 5px, transparent 5.5px),
		radial-gradient(circle at 38px 15px, var(--ha-sun) 5px, transparent 5.5px),
		radial-gradient(circle at 56px 15px, var(--ha-mint) 5px, transparent 5.5px),
		var(--ha-white);
	transition: transform 0.6s var(--ha-ease);
}
.ha-site .ha-project__img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: top center;
	border-top: 1.5px solid var(--ha-line);
	transition: transform 0.8s var(--ha-ease);
	transform-origin: 50% 0;
}
.ha-site .ha-project:hover .ha-project__img { transform: translateY(-6px); }
.ha-site .ha-project:hover .ha-project__img img { transform: scale(1.03); }
.ha-site .ha-project__badge {
	position: absolute;
	top: 14px; right: 14px;
	z-index: 2;
	width: auto;
}
.ha-project__badge .elementor-heading-title {
	padding: 6px 10px;
	border: 1.5px solid var(--ha-ink);
	border-radius: 99px;
	background: var(--ha-paper);
	font: 500 10.5px/1 var(--ha-mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.ha-site .ha-project__body.e-con { gap: 14px; padding-inline: 4px; }
.ha-project__meta .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 500 12.5px/1.3 var(--ha-mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ha-ink-soft);
}
.ha-project__meta .elementor-heading-title span {
	display: inline-grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--tone);
	border: var(--ha-border);
	color: var(--ha-ink);
	letter-spacing: 0;
}
.ha-site .ha-project__title .elementor-heading-title { font: 800 clamp(30px, 3.4vw, 50px)/1 var(--ha-display); letter-spacing: -0.045em; }
.ha-site .ha-project--wide .ha-project__title .elementor-heading-title { font-size: clamp(40px, 5vw, 72px); }
.ha-project__sub .elementor-heading-title { font: 600 15px/1.4 var(--ha-body); color: var(--ha-ink-soft); }
.ha-project__desc { font-size: 17px; color: var(--ha-ink-soft); max-width: 52ch; }
.ha-project__chips li {
	padding: 6px 12px;
	border: 1.5px solid var(--ha-line);
	border-radius: 99px;
	background: var(--ha-white);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}
.ha-details { border-top: 1.5px solid var(--ha-line); border-bottom: 1.5px solid var(--ha-line); }
.ha-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 2px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	list-style: none;
}
.ha-details summary::-webkit-details-marker { display: none; }
.ha-details summary i {
	position: relative;
	width: 30px; height: 30px;
	flex: none;
	border: var(--ha-border);
	border-radius: 50%;
	transition: transform 0.4s var(--ha-ease), background-color 0.3s;
}
.ha-details summary i::before,
.ha-details summary i::after {
	content: "";
	position: absolute;
	left: 50%; top: 50%;
	width: 12px; height: 2px;
	margin: -1px 0 0 -6px;
	background: var(--ha-ink);
}
.ha-details summary i::after { transform: rotate(90deg); }
.ha-details summary:hover i { background: var(--tone); }
.ha-details[open] summary i { transform: rotate(45deg); background: var(--tone); }
.ha-details ul { margin: 0; padding: 0 0 16px; list-style: none; display: grid; gap: 8px; }
.ha-details li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ha-ink-soft); }
.ha-details li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.5em;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--tone);
	border: 1.5px solid var(--ha-ink);
}
.ha-site .ha-project .ha-btn-w { width: auto; }

/* Work page: first section clears the fixed nav; closing call to action. */
.ha-site .ha-page-top.e-con { padding-top: calc(var(--ha-nav-h) + clamp(56px, 8vw, 104px)); }
.ha-site .ha-work-cta.ha-section.e-con { padding-top: 0; }
.ha-site .ha-work-cta__panel.e-con {
	align-items: center;
	gap: 18px;
	padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px);
	border: var(--ha-border);
	border-radius: clamp(28px, 4vw, 48px);
	background: var(--ha-sun);
	text-align: center;
}
.ha-site .ha-work-cta__panel .ha-title .elementor-heading-title { max-width: none; font-size: clamp(36px, 5vw, 68px); }
.ha-work-cta__text { max-width: 44ch; font-size: clamp(16px, 1.3vw, 19px); }
.ha-site .ha-work-cta__panel .ha-btn-w { width: auto; margin-top: 6px; }
.ha-work-cta .ha-squig::after { filter: saturate(1.4) brightness(0.92); }

/* ==========================================================================
   Skills — scrolling logo strip (keycap tiles)
   ========================================================================== */
/* Full-bleed: break out of the boxed section (Elementor sets widget widths inside containers). */
.ha-site .e-con .ha-logos-w.elementor-widget {
	width: 100vw !important;
	max-width: none !important;
	margin-left: calc(50% - 50vw);
	align-self: flex-start;
}
.ha-logos {
	overflow: hidden;
	padding: 14px 0 22px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.ha-logos__track { display: flex; width: max-content; animation: ha-marquee 38s linear infinite; }
.ha-logos:hover .ha-logos__track { animation-play-state: paused; }
.ha-logos__run { display: flex; gap: 16px; margin: 0; padding: 0 16px 0 0; list-style: none; }
.ha-logo {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	padding: 14px 22px 14px 18px;
	border: var(--ha-border);
	border-radius: 18px;
	background: var(--tone);
	box-shadow: 0 5px 0 var(--ha-ink);
	font: 800 clamp(17px, 1.5vw, 20px)/1 var(--ha-display);
	letter-spacing: -0.03em;
	white-space: nowrap;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	user-select: none;
}
.ha-logo svg { width: clamp(22px, 1.9vw, 27px); height: clamp(22px, 1.9vw, 27px); flex: none; }
.ha-logo:hover { transform: translateY(4px); box-shadow: 0 2px 0 var(--ha-ink); }

/* ==========================================================================
   Journey
   ========================================================================== */
.ha-site .ha-j__head.e-con { align-items: center; gap: 16px; max-width: 760px; margin-inline: auto; text-align: center; }
.ha-site .ha-j__head .ha-title .elementor-heading-title { max-width: none; font-size: clamp(34px, 4.4vw, 60px); text-wrap: balance; }

/* Scrapbook card: two taped polaroids + copy. */
.ha-site .e-con.ha-jcard {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
	padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 64px);
	border: var(--ha-border);
	border-radius: clamp(28px, 3.5vw, 42px);
	background:
		radial-gradient(rgba(32, 43, 60, 0.07) 1.2px, transparent 1.4px) 0 0 / 18px 18px,
		var(--ha-cream);
}
.ha-site .e-con.ha-polas {
	position: relative;
	display: block;
	width: 100%;
	max-width: 480px;
	height: clamp(300px, 30vw, 380px);
	margin-inline: auto;
}
.ha-site .ha-pola.e-con {
	position: absolute;
	display: block;
	width: clamp(170px, 18vw, 230px);
	padding: 12px 12px 48px;
	background: var(--ha-white);
	border: 1px solid rgba(32, 43, 60, 0.08);
	box-shadow: 0 16px 34px rgba(32, 43, 60, 0.16);
	transition: rotate 0.5s var(--ha-ease), translate 0.5s var(--ha-ease), box-shadow 0.5s var(--ha-ease);
}
.ha-site .ha-pola--a.e-con { left: 0; top: 34px; rotate: -7deg; z-index: 1; }
.ha-site .ha-pola--b.e-con { right: 0; top: 0; rotate: 6deg; z-index: 2; }
.ha-site .ha-pola.e-con:hover { rotate: 0deg; translate: 0 -8px; z-index: 3; box-shadow: 0 24px 44px rgba(32, 43, 60, 0.22); }
.ha-site .ha-pola__img img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(0.95); }
.ha-site .ha-pola__cap { position: absolute; left: 0; right: 0; bottom: 10px; }
.ha-pola__cap .elementor-heading-title { font: 700 26px/1 "Caveat", cursive; text-align: center; color: var(--ha-ink); }
.ha-site .ha-pola__tape { position: absolute; top: -16px; left: 50%; z-index: 2; width: auto; translate: -50% 0; }
.ha-tape {
	display: block;
	width: 96px;
	height: 30px;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 6px, transparent 6px 12px),
		var(--tape, rgba(255, 160, 110, 0.92));
	box-shadow: 0 2px 6px rgba(32, 43, 60, 0.12);
	clip-path: polygon(0 0, 100% 0, 96% 20%, 100% 40%, 96% 60%, 100% 80%, 96% 100%, 0 100%, 4% 80%, 0 60%, 4% 40%, 0 20%);
}
.ha-tape--peach { --tape: rgba(255, 160, 110, 0.92); rotate: -5deg; }
.ha-tape--mint { --tape: rgba(150, 214, 176, 0.95); rotate: 4deg; }
.ha-site .ha-polas__note-w { position: absolute; left: 26%; bottom: -6px; z-index: 4; width: auto; }
.ha-polas__note { display: flex; align-items: flex-end; gap: 4px; margin: 0; rotate: -3deg; }
.ha-polas__note svg { width: 56px; height: 36px; translate: 0 -14px; }
.ha-polas__note span { font: 700 26px/1 "Caveat", cursive; color: var(--ha-ink); white-space: nowrap; }

.ha-site .ha-jcard__copy.e-con { gap: 14px; }
.ha-site .ha-jcard__title .elementor-heading-title { font: 800 clamp(26px, 3vw, 38px)/1.12 var(--ha-display); letter-spacing: -0.035em; max-width: 20ch; }
.ha-jcard__text { max-width: 520px; color: var(--ha-ink-soft); font-size: 16.5px; line-height: 1.6; }
.ha-site .ha-jcard__copy .ha-btn-w { width: auto; margin-top: 6px; }
.ha-btn-w--insta { --ha-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.6'/%3E%3Ccircle cx='17.6' cy='6.4' r='1.3' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.ha-btn-w--insta .elementor-button-text::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 10px;
	vertical-align: -3px;
	background: currentColor;
	-webkit-mask: var(--ha-icon) center / contain no-repeat;
	mask: var(--ha-icon) center / contain no-repeat;
}


/* ==========================================================================
   Contact
   ========================================================================== */
.ha-site .ha-contact.ha-section.e-con { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 64px); }

/* Newsletter-style panel: heading, one line of text, email + button in a pill. */
.ha-site .ha-news.e-con {
	align-items: center;
	gap: 12px;
	padding: clamp(28px, 3.4vw, 44px) clamp(20px, 5vw, 64px);
	border: var(--ha-border);
	border-radius: clamp(28px, 4vw, 48px);
	background: var(--ha-sun);
	text-align: center;
}
.ha-site .e-con.ha-news > .e-con.ha-news__who {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 12px;
	width: fit-content;
	max-width: 100%;
	padding: 3px 18px 3px 3px;
	border: var(--ha-border);
	border-radius: 999px;
	background: var(--ha-paper);
	text-align: left;
}
.ha-site .ha-news__who > .elementor-widget { width: auto; min-width: 0; }
.ha-site .ha-news__avatar img {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 3px var(--ha-sun), 0 0 0 5px var(--ha-ink);
	margin: 5px;
}
.ha-news__name { font-size: 13px; line-height: 1.35; color: var(--ha-ink-soft); }
.ha-news__name br { display: none; }
.ha-news__name strong { display: block; font: 800 15px/1.2 var(--ha-display); letter-spacing: -0.02em; color: var(--ha-ink); }
.ha-site .ha-news .ha-title .elementor-heading-title { max-width: none; font-size: clamp(30px, 3.6vw, 50px); }
/* Elementor caps widget widths inside containers with high specificity; these need to win. */
.ha-site .e-con.ha-news > .elementor-widget.ha-news__text { max-width: 52ch; font-size: clamp(15px, 1.15vw, 17px); }
.ha-site .e-con.ha-news > .elementor-widget.ha-news__form { width: 100%; max-width: 540px; margin-top: 4px; }
.ha-site .ha-news__social { width: auto; margin-top: 4px; }
.ha-news .ha-squig::after { filter: saturate(1.4) brightness(0.92); }

.ha-inline {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px;
	border: var(--ha-border);
	border-radius: 999px;
	background: var(--ha-white);
	transition: box-shadow 0.25s;
}
.ha-inline:focus-within { box-shadow: 0 0 0 4px rgba(32, 43, 60, 0.18); }
.ha-site .ha-inline__input {
	flex: 1;
	min-width: 0;
	padding: 8px 18px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ha-ink);
	font: 500 16px/1.3 var(--ha-body);
}
.ha-site .ha-inline__input:focus { outline: none; box-shadow: none; }
.ha-site .ha-inline__input::placeholder { color: var(--ha-ink-soft); opacity: 1; }
.ha-inline.is-invalid { border-color: var(--ha-error); }
/* WhatsApp quick message */
.ha-site .ha-btn.ha-btn--wa { background: #5FC9F0; border-color: #5FC9F0; color: var(--ha-ink); }
.ha-site .ha-btn.ha-btn--wa:hover { background: #4BBDE8; color: var(--ha-ink); box-shadow: 4px 4px 0 var(--ha-ink); }
.ha-wa.is-empty { animation: ha-shake 0.4s; border-color: var(--ha-error); }
@keyframes ha-shake { 25% { translate: -6px 0; } 75% { translate: 6px 0; } }
.ha-form--inline .ha-error { text-align: left; padding-left: 22px; }
.ha-form--inline .ha-form__status { min-height: 0; }
.ha-form--inline .ha-form__status:empty { display: none; }
.ha-form-success.ha-form-success--inline { padding: 8px 0 0; gap: 8px; }
.ha-form-success--inline .ha-form-success__icon { width: 52px; height: 52px; }
.ha-form-success--inline p { color: var(--ha-ink); font-weight: 600; }
.ha-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }

/* Form */
.ha-form { display: grid; gap: 14px; }
.ha-form[hidden] { display: none; }
.ha-field { position: relative; }
.ha-site .ha-input {
	display: block;
	width: 100%;
	padding: 28px 16px 10px;
	border: 2px solid var(--ha-line);
	border-radius: 16px;
	background: var(--ha-white);
	color: var(--ha-ink);
	font: 500 16px/1.45 var(--ha-body);
	transition: border-color 0.25s, box-shadow 0.25s;
}
.ha-site .ha-input:hover { border-color: rgba(32, 43, 60, 0.4); }
.ha-site .ha-input:focus { outline: none; border-color: var(--ha-ink); box-shadow: 0 0 0 4px rgba(255, 217, 90, 0.9); }
.ha-site .ha-input--area { min-height: 150px; resize: vertical; }
.ha-label {
	position: absolute;
	left: 18px; top: 19px;
	font-size: 16px;
	color: var(--ha-ink-soft);
	pointer-events: none;
	transform-origin: left top;
	transition: transform 0.25s var(--ha-ease), color 0.25s;
}
.ha-input:focus + .ha-label,
.ha-input:not(:placeholder-shown) + .ha-label { transform: translateY(-11px) scale(0.78); color: var(--ha-ink); font-weight: 700; }
.ha-error { margin: 6px 4px 0; font-size: 13.5px; font-weight: 600; color: var(--ha-error); }
.ha-error:empty { display: none; }
.ha-field.is-invalid .ha-input { border-color: var(--ha-error); }
.ha-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ha-topics { margin: 4px 0; padding: 0; border: 0; min-width: 0; }
.ha-topics legend { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 700; }
.ha-topics__list { display: flex; flex-wrap: wrap; gap: 8px; }
.ha-chip { position: relative; }
.ha-chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ha-chip span {
	display: inline-block;
	padding: 9px 14px;
	border: 2px solid var(--ha-line);
	border-radius: 99px;
	background: var(--ha-white);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.ha-chip:hover span { border-color: var(--ha-ink); }
.ha-chip input:checked + span { background: var(--ha-ink); border-color: var(--ha-ink); color: var(--ha-paper); }
.ha-chip input:focus-visible + span { outline: 3px solid var(--ha-ink); outline-offset: 2px; }
.ha-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 6px; }
.ha-form__status { margin: 0; font-size: 14.5px; font-weight: 600; }
.ha-form__status.is-error { color: var(--ha-error); }
.ha-site .ha-btn.is-loading { pointer-events: none; opacity: 0.85; }
.ha-btn.is-loading svg { display: none; }
.ha-btn.is-loading::after {
	content: "";
	width: 16px; height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: ha-spin 0.7s linear infinite;
}
@keyframes ha-spin { to { transform: rotate(360deg); } }
.ha-form-success { display: grid; justify-items: center; gap: 12px; padding: 48px 12px; text-align: center; }
.ha-form-success[hidden] { display: none; }
.ha-form-success:focus { outline: none; }
.ha-form-success__icon { width: 76px; height: 76px; }
.ha-form-success__title { margin: 0; font: 800 34px/1 var(--ha-display); letter-spacing: -0.04em; }
.ha-form-success p { margin: 0; max-width: 36ch; color: var(--ha-ink-soft); }
.ha-site .ha-form-success__again { padding: 0; border: 0; background: none; color: var(--ha-ink); font-size: 15px; cursor: pointer; }
.ha-site .ha-form-success__again:hover, .ha-site .ha-form-success__again:focus { background: none; color: var(--ha-ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.ha-site .ha-footer.e-con { padding: clamp(56px, 7vw, 96px) var(--ha-gutter) 28px; overflow: hidden; }
.ha-site .ha-footer > .e-con-inner { gap: 0; }
.ha-site .ha-footer__top.e-con {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 32px 40px;
	align-items: start;
}
.ha-site .ha-footer__brand.e-con { gap: 16px; }
.ha-footer__logo { display: inline-flex; align-items: center; gap: 10px; font: 600 22px/1 var(--ha-display); letter-spacing: -0.02em; text-decoration: none; }
.ha-footer__logo b { font-weight: 800; }
.ha-footer__about { max-width: 34ch; color: var(--ha-ink-soft); font-size: 15px; }
.ha-footer__label .elementor-heading-title { margin-bottom: 14px; font: 500 12px/1 var(--ha-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ha-ink-soft); }
.ha-footer-nav ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ha-footer .ha-footer-nav .ha-link, .ha-footer .ha-social .ha-link { font-weight: 600; text-decoration-color: transparent; }
.ha-footer .ha-footer-nav .ha-link:hover, .ha-footer .ha-social .ha-link:hover { text-decoration-color: var(--ha-peach); }
.ha-footer .ha-social { flex-direction: column; gap: 10px; }
.ha-site .ha-top {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}
.ha-top svg {
	width: 52px; height: 52px;
	padding: 13px;
	border: var(--ha-border);
	border-radius: 50%;
	background: var(--ha-sun);
	transition: transform 0.45s var(--ha-ease), box-shadow 0.45s var(--ha-ease);
}
.ha-top:hover svg { transform: translateY(-4px); box-shadow: 0 4px 0 var(--ha-ink); }
.ha-site .ha-footer__giant { overflow: hidden; height: 0.8em; margin-top: clamp(40px, 6vw, 80px); font-size: min(13.2vw, 180px); }
.ha-site .ha-footer__giant .elementor-heading-title {
	font: 800 1em/0.86 var(--ha-display);
	letter-spacing: -0.065em;
	white-space: nowrap;
	text-align: center;
}
.ha-site .ha-footer__bottom.e-con {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 20px;
	border-top: var(--ha-border);
	font-size: 14px;
	color: var(--ha-ink-soft);
}
.ha-site .ha-footer__bottom > .elementor-widget { width: auto; }

/* ==========================================================================
   Motion: initial states (only when JS + motion are enabled)
   ========================================================================== */
.ha-anim .ha-nav__bar,
.ha-anim .ha-hero__copy > .elementor-element,
.ha-anim .ha-hero__visual .ha-sun,
.ha-anim .ha-hero__visual .ha-dots,
.ha-anim .ha-hero__visual .ha-arch-line,
.ha-anim .ha-hero__portrait,
.ha-anim .ha-sticker, .ha-anim .ha-code, .ha-anim .ha-badge,
.ha-anim .ha-section .ha-head .elementor-widget,
.ha-anim .ha-statement, .ha-anim .ha-about__bio, .ha-anim .ha-ef, .ha-anim .ha-profile,
.ha-anim .ha-process__head .elementor-widget, .ha-anim .ha-step,
.ha-anim .ha-wcard, .ha-anim .ha-help, .ha-anim .ha-wid__head .elementor-widget, .ha-anim .ha-stk, .ha-anim .ha-project__visual,
.ha-anim .ha-project__body > .elementor-element,
.ha-anim .ha-j__head .elementor-widget, .ha-anim .ha-jcard, .ha-anim .ha-pola,
.ha-anim .ha-news,
.ha-anim .ha-footer__top > .e-con,
.ha-anim .ha-footer__giant .elementor-heading-title { visibility: hidden; }
.ha-hero__title .ha-w { display: inline-block; }
.ha-hero__title .ha-line { display: inline-block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; vertical-align: top; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.ha-site .ha-steps.e-con { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.ha-site .e-con.ha-ef { grid-template-columns: minmax(0, 1fr); }
	.ha-hub { max-width: 280px; }
	.ha-site .ha-steps > .ha-step:nth-child(n) { margin-top: 0; }
	.ha-site .ha-steps__path { display: none; }
	.ha-site .ha-footer__top.e-con { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
	.ha-site .ha-footer__col--top { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
	:root { --ha-nav-h: 76px; }
	.ha-site .ha-nav__links, .ha-site .ha-nav__cta { display: none; }
	.ha-site .ha-nav__toggle { display: grid; }
	.ha-nav__bar { padding: 6px 6px 6px 14px; }

	.ha-site .ha-hero.e-con { min-height: 0; }
	.ha-site .ha-hero__grid.e-con { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }

	.ha-site .ha-about__grid.e-con { grid-template-columns: minmax(0, 1fr); }
	.ha-site .ha-profile.e-con {
		position: relative;
		top: auto;
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 20px;
		align-items: center;
	}
	.ha-site .ha-profile__photo { grid-row: span 2; }
	.ha-site .ha-profile__tags,
	.ha-site .ha-profile .ha-btn-w { grid-column: 1 / -1; }

	.ha-site .ha-wid__grid.e-con { grid-template-columns: minmax(0, 1fr); }
	.ha-site .ha-help.e-con { position: relative; top: auto; rotate: none; margin-top: 12px; }
	.ha-stk--3 { display: none; }
	.ha-site .ha-project--wide.e-con { grid-template-columns: minmax(0, 1fr); }
	.ha-site .ha-project--rev > .ha-project__visual { order: 0; }
	.ha-site .ha-projects__list > .ha-project:nth-child(4),
	.ha-site .ha-projects__list > .ha-project:nth-child(5) { grid-column: span 6; }
	.ha-site .ha-projects__list > .ha-project:nth-child(5) { margin-top: clamp(0px, 9vw, 128px); }

	.ha-site .e-con.ha-jcard { grid-template-columns: minmax(0, 1fr); gap: 32px; text-align: center; }
	.ha-site .ha-jcard__copy.e-con { align-items: center; }
	.ha-site .ha-jcard__title .elementor-heading-title { margin-inline: auto; }
	.ha-jcard__text { margin-inline: auto; }
}

@media (max-width: 767px) {
	body.ha-site { font-size: 16px; }
	.ha-site .ha-head--split.e-con { grid-template-columns: minmax(0, 1fr); }

	.ha-site .ha-hero.e-con { padding-top: calc(var(--ha-nav-h) + 28px); }
	.ha-site .ha-hero__grid.e-con { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.ha-site .ha-hero__title .elementor-heading-title { font-size: clamp(40px, 11.6vw, 64px); }
	.ha-site .ha-hero__visual.e-con { max-width: 400px; margin-inline: auto; width: 88%; }
	.ha-site .ha-actions.e-con > .elementor-widget { flex: 1 1 auto; }
	.ha-site .ha-actions .elementor-button { width: 100%; }
	.ha-sticker { font-size: 13px; padding: 7px 12px 7px 9px; }
	.ha-sticker svg { width: 15px; height: 15px; }
	.ha-code { left: -8%; bottom: 22%; }
	.ha-code code { font-size: 11.5px; }
	.ha-badge { width: 92px; height: 92px; left: -4%; }
	.ha-badge__core .ha-mark { width: 32px; height: 32px; }

	/* "How I work" becomes a swipeable slider: full-bleed, snapping, next card peeking in. */
	.ha-site .ha-steps.e-con {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 14px;
		width: 100vw;
		max-width: none;
		margin-inline: calc(var(--ha-gutter) * -1);
		padding: 4px var(--ha-gutter) 10px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--ha-gutter);
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}
	.ha-site .ha-steps.e-con::-webkit-scrollbar { display: none; }
	.ha-site .ha-process.e-con { min-width: 0; max-width: 100%; }
	/* Card = screen width minus gutters, leaving ~40px of the next card visible. */
	.ha-site .ha-step.e-con { flex: 0 0 calc(100vw - var(--ha-gutter) * 2 - 40px); width: auto; max-width: none; min-height: 230px; scroll-snap-align: start; }
	.ha-site .ha-step.e-con:hover { transform: none; box-shadow: none; }
	.ha-steps__dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
	.ha-site .ha-steps__dots button {
		width: 9px;
		height: 9px;
		padding: 0;
		border: 1.5px solid var(--ha-ink);
		border-radius: 99px;
		background: transparent;
		transition: width 0.3s var(--ha-ease), background-color 0.3s;
	}
	.ha-site .ha-steps__dots button[aria-current="true"] { width: 26px; background: var(--ha-ink); }

	.ha-site .ha-wcard.e-con { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; padding: 20px; }
	.ha-wcard .ha-icon { width: 48px; height: 48px; border-radius: 14px; }
	.ha-wcard .ha-icon svg { width: 24px; height: 24px; }
	.ha-site .ha-help.e-con { padding: 36px 24px 26px; }
	.ha-stk { width: 64px; height: 64px; border-radius: 16px; box-shadow: 3px 3px 0 var(--ha-ink); }
	.ha-stk .ha-icon { width: 44px; height: 44px; border-radius: 12px; }
	.ha-stk .ha-icon svg { width: 22px; height: 22px; }
	.ha-stk--1 { left: -6px; top: -36px; }
	.ha-stk--2 { right: -6px; top: -20px; }
	.ha-stk--4 { display: none; }

	.ha-site .ha-projects__list.e-con { grid-template-columns: minmax(0, 1fr); }
	.ha-site .ha-projects__list > .ha-project:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }

	.ha-logo { padding: 11px 16px 11px 13px; border-radius: 15px; }

	.ha-site .e-con.ha-polas { max-width: 340px; height: 290px; }
	.ha-site .ha-pola.e-con { width: 160px; padding: 9px 9px 40px; }
	.ha-pola__cap .elementor-heading-title { font-size: 22px; }
	.ha-site .ha-polas__note-w { left: 12%; bottom: -14px; }
	.ha-polas__note span { font-size: 22px; }

	.ha-inline { flex-direction: column; align-items: stretch; border-radius: 26px; }
	.ha-site .ha-inline__input { text-align: center; }
	.ha-site .ha-inline .ha-btn { width: 100%; }
	.ha-sticker--peach { top: 30%; left: -6%; }
	.ha-site .ha-form__foot .ha-btn { width: 100%; }

	.ha-site .ha-footer__top.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ha-site .ha-footer__brand.e-con { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
	.ha-nav__name { font-size: 16px; }
	.ha-site .ha-section.e-con { padding-inline: 14px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ha-marquee__track { animation: none; }
	.ha-logos { -webkit-mask-image: none; mask-image: none; }
	.ha-logos__track { width: auto; animation: none; justify-content: center; }
	.ha-logos__run { flex-wrap: wrap; justify-content: center; padding: 0 var(--ha-gutter); }
	.ha-logos__run[aria-hidden] { display: none; }
	.ha-site *, .ha-site *::before, .ha-site *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
