/* ==========================================================================
   HS Portfolio
   Change --accent to re-skin the whole site (e.g. #D4AF37 for the old gold).
   ========================================================================== */

/* Self-hosted fonts (latin subset, variable weight) */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/unbounded-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/urbanist-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--bg: #050505;
	--bg-rgb: 5, 5, 5;
	--fg-rgb: 255, 255, 255;
	--surface-3: #161616;
	--bar: #1c1c1c;
	--shot: #101010;
	--panel-line: #242424;
	--accent-text: var(--accent);
	--hero-bg: radial-gradient(55% 75% at 88% 18%, rgba(var(--accent-rgb), .26), transparent 62%), radial-gradient(45% 60% at 4% 100%, rgba(var(--accent-rgb), .12), transparent 60%), linear-gradient(180deg, #0c1406 0%, #070a05 100%);
	color-scheme: dark;
	--surface: #0b0b0b;
	--surface-2: #121212;
	--line: rgba(var(--fg-rgb), .1);
	--text: #ffffff;
	--muted: rgba(var(--fg-rgb), .64);
	--accent: #bff747;
	--accent-rgb: 191, 247, 71;
	--ink: #0a0a0a;
	--font-display: 'Unbounded', 'Segoe UI', sans-serif;
	--font-body: 'Urbanist', 'Segoe UI', sans-serif;
	--container: 1280px;
	--radius: 24px;
	--ease: cubic-bezier(.22, .8, .26, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	transition: background-color .35s, color .35s;
}

h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
.hs-ico { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex: none; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }

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

.hs-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: 10px 18px; background: var(--accent); color: var(--ink); font-weight: 700; }
.hs-skip:focus { left: 12px; top: 12px; }

/* Cursor dot (desktop pointers only) */
.hs-cursor { position: fixed; top: 0; left: 0; z-index: 999; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); pointer-events: none; opacity: 0; transition: opacity .3s, width .2s, height .2s, margin .2s; mix-blend-mode: difference; }
.hs-cursor.is-on { opacity: 1; }
.hs-cursor.is-big { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
@media (hover: none) { .hs-cursor { display: none; } }

/* Scroll reveal (only when JS is running) */
.hs-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hs-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.hs-btn { display: inline-flex; align-items: center; gap: 14px; padding: 14px 28px; border: 1px solid transparent; border-radius: 100px; font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.hs-btn:has(.hs-btn__icon) { padding: 7px 7px 7px 26px; }
.hs-btn--accent { background: var(--accent); color: var(--ink); }
.hs-btn--accent:hover { background: var(--text); color: var(--bg); }
.hs-btn--accent:hover .hs-btn__icon { background: var(--accent); color: var(--ink); }
.hs-btn--ghost { border-color: rgba(var(--fg-rgb), .22); color: var(--text); }
.hs-btn--ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.hs-btn__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--accent-text); font-size: .95rem; transition: transform .35s var(--ease); }
.hs-btn--ghost .hs-btn__icon { background: rgba(var(--fg-rgb), .1); color: inherit; }
.hs-btn:hover .hs-btn__icon { transform: rotate(-45deg); }
.hs-btn:hover .hs-ico--whatsapp, .hs-btn:hover .hs-ico--download, .hs-btn:hover .hs-ico--plus, .hs-btn:hover .hs-ico--paper-plane { transform: rotate(45deg); }
.hs-btn__icon--lg { width: 54px; height: 54px; font-size: 1.1rem; }
.hs-link { font-weight: 700; border-bottom: 1px solid var(--accent); padding-bottom: 2px; transition: color .3s; }
.hs-link:hover { color: var(--accent-text); }

/* ---------- Header ---------- */
.hs-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 26px 0; transition: padding .3s, background .3s, box-shadow .3s; }
.hs-header.is-scrolled { padding: 12px 0; background: rgba(var(--bg-rgb), .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.hs-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hs-header__actions { display: flex; align-items: center; gap: 12px; }

.hs-logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; }
.hs-logo__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: .95rem; letter-spacing: -.02em; }

.hs-nav ul { display: flex; align-items: center; gap: 36px; }
.hs-nav a:not(.hs-btn) { position: relative; font-weight: 600; font-size: 1rem; padding: 6px 0; transition: color .3s; }
.hs-nav a:not(.hs-btn)::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.hs-nav a:not(.hs-btn):hover, .hs-nav a.is-active { color: var(--accent-text); }
.hs-nav a:not(.hs-btn):hover::after, .hs-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hs-nav__cta { display: none; }

.hs-burger { display: none; position: relative; width: 48px; height: 48px; border: 1px solid rgba(var(--fg-rgb), .22); border-radius: 50%; background: transparent; }
.hs-burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--text); transition: transform .3s, top .3s; }
.hs-burger span:first-child { top: 19px; }
.hs-burger span:last-child { top: 27px; }
.hs-burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.hs-burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

/* ---------- Shared section pieces ---------- */
.hs-section { position: relative; padding: clamp(70px, 9vw, 130px) 0; overflow-x: clip; }
.hs-section > .hs-container { position: relative; z-index: 1; }
.hs-section--tight { padding: clamp(40px, 5vw, 70px) 0; }

.hs-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--accent-text); font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.hs-kicker__dot { width: 10px; height: 10px; border-radius: 3px; background: currentColor; transform: rotate(45deg); flex: none; }
.hs-kicker--wide { color: var(--text); letter-spacing: .42em; font-size: .78rem; }
.hs-kicker--wide span { color: var(--accent-text); letter-spacing: 0; }
.hs-kicker--ink { color: var(--ink); }

.hs-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.55rem, 3.1vw, 2.7rem); line-height: 1.16; letter-spacing: -.02em; text-wrap: balance; }
.hs-title em { font-style: normal; color: var(--accent-text); }
.hs-title--lead { max-width: 1000px; }

.hs-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px 70px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.hs-head__text { color: var(--muted); max-width: 620px; }
.hs-head--center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
.hs-head--center .hs-head__text { margin-top: 16px; }

.hs-tag { display: inline-block; padding: 5px 14px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hs-tag--accent { border-color: rgba(var(--accent-rgb), .4); background: rgba(var(--accent-rgb), .12); color: var(--accent-text); }

/* ---------- Hero ---------- */
.hs-hero-wrap { padding: 12px 12px 0; }
.hs-hero { position: relative; overflow: hidden; border-radius: 40px; padding: clamp(140px, 15vw, 190px) 0 clamp(60px, 8vw, 110px); background: var(--hero-bg); }
.hs-hero__glow { position: absolute; right: -8%; bottom: -30%; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .18); box-shadow: 0 0 0 60px rgba(var(--accent-rgb), .03), 0 0 0 130px rgba(var(--accent-rgb), .02); pointer-events: none; }
.hs-hero__grid { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; align-items: center; }

.hs-hero__title { font-family: var(--font-display); font-size: clamp(1.55rem, 4.3vw, 4.1rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; }
.hs-hero__name { display: block; text-wrap: balance; }
.hs-hero__role { display: inline-block; margin-top: .12em; color: var(--accent-text); font-weight: 300; font-style: italic; letter-spacing: -.04em; white-space: nowrap; }
.hs-spark { display: inline-block; width: .58em; height: .58em; margin-left: .06em; vertical-align: top; overflow: visible; transform: translateY(-.34em); }
.hs-hero__rule { width: 62%; height: 1px; margin: 34px 0; background: var(--line); }
.hs-hero__meta { display: flex; align-items: flex-start; gap: 34px; }
.hs-hero__count { display: flex; align-items: center; gap: 12px; flex: none; }
.hs-hero__count strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; color: var(--accent-text); }
.hs-hero__count span { font-size: .85rem; line-height: 1.3; color: var(--accent-text); }
.hs-hero__text { max-width: 520px; color: var(--muted); font-size: 1.02rem; }
.hs-hero__tag { margin-bottom: 6px; color: var(--text); font-weight: 700; }
.hs-more { display: none; }
.hs-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hs-hero__visual { position: relative; justify-self: end; width: min(100%, 400px); }
.hs-hero__visual::before { content: ''; position: absolute; inset: 0; border-radius: 34px; border: 1.5px solid var(--accent); transform: rotate(-6deg); }
.hs-hero__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 34px; overflow: hidden; transform: rotate(2deg); border: 1px solid rgba(var(--fg-rgb), .16); box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 90px rgba(var(--accent-rgb), .16); }
.hs-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hs-chip { color: #fff; position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 100px; background: rgba(10, 10, 10, .86); border: 1px solid rgba(var(--fg-rgb), .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .86rem; font-weight: 700; white-space: nowrap; animation: hs-float 6s ease-in-out infinite; }
.hs-chip--status { left: -42px; bottom: 34px; }
.hs-chip--stack { right: -18px; top: 30px; gap: 14px; color: var(--accent-text); font-size: 1.15rem; animation-delay: -3s; }
.hs-pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.hs-pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: hs-pulse 2s infinite; }

@keyframes hs-float { 50% { transform: translateY(-10px); } }
@keyframes hs-pulse { from { transform: scale(1); opacity: .7; } 70%, to { transform: scale(3.2); opacity: 0; } }

/* ---------- Worked with ---------- */
.hs-clients { display: flex; align-items: center; justify-content: space-between; gap: 30px 50px; flex-wrap: wrap; }
.hs-clients .hs-kicker { margin: 0; }
.hs-clients__list { display: flex; flex-wrap: wrap; gap: 16px; }
.hs-clients__tile { display: grid; place-items: center; width: 230px; height: 96px; padding: 18px 28px; border-radius: 16px; border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.hs-clients__tile:hover { transform: translateY(-5px); border-color: var(--accent); }
.hs-clients__tile--light { background: #fff; }
.hs-clients__tile--dark { background: #121212; }
.hs-clients__tile img { width: auto; max-width: 100%; max-height: 58px; object-fit: contain; }

/* ---------- Services ---------- */
.hs-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hs-service { position: relative; display: flex; flex-direction: column; padding: 34px 28px 30px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s, background .3s, opacity .8s var(--ease); }
.hs-service:hover { transform: translateY(-8px); border-color: rgba(var(--accent-rgb), .55); background: var(--surface-3); }
.hs-service__num { position: absolute; top: 26px; right: 26px; font-family: var(--font-display); font-size: .8rem; color: rgba(var(--fg-rgb), .62); }
.hs-service__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 26px; border-radius: 18px; background: rgba(var(--accent-rgb), .12); color: var(--accent-text); font-size: 1.4rem; transition: background .3s, color .3s, transform .4s var(--ease); }
.hs-service:hover .hs-service__icon { background: var(--accent); color: var(--ink); transform: rotate(-8deg); }
.hs-service h3 { margin-bottom: 12px; font-family: var(--font-display); font-weight: 500; font-size: 1.06rem; line-height: 1.3; }
.hs-service p { color: var(--muted); font-size: .96rem; line-height: 1.6; }
.hs-service--cta { justify-content: space-between; gap: 18px; background: var(--accent); border-color: var(--accent); color: var(--ink); }
.hs-service--cta:hover { background: var(--accent); border-color: var(--ink); }
.hs-service--cta h3 { font-size: 1.25rem; }
.hs-service--cta p { color: rgba(10, 10, 10, .75); }
.hs-service--cta .hs-btn__icon { margin-top: auto; }
.hs-service--cta:hover .hs-btn__icon { transform: rotate(-45deg); }

/* ---------- About ---------- */
.hs-about__intro { margin-bottom: clamp(36px, 5vw, 64px); }
.hs-about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.hs-about__media { position: relative; }
.hs-about__media > img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; object-position: center 30%; border-radius: 28px; }
.hs-badge { position: absolute; top: -52px; right: -30px; width: 156px; height: 156px; border-radius: 50%; background: var(--accent); padding: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.hs-badge svg { width: 100%; height: 100%; animation: hs-spin 20s linear infinite; }
.hs-badge text { fill: var(--ink); font-family: var(--font-display); font-size: 15.5px; font-weight: 500; letter-spacing: 2.6px; }
.hs-badge__core { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--ink); color: var(--accent-text); font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
@keyframes hs-spin { to { transform: rotate(360deg); } }

.hs-stats { display: flex; gap: clamp(20px, 4vw, 54px); padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.hs-stats strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; color: var(--accent-text); }
.hs-stats span span, .hs-stats li > span { color: var(--muted); font-size: .92rem; }
.hs-stats strong span { color: inherit; font-size: inherit; }
.hs-about__text { color: var(--muted); }
.hs-quote { display: flex; gap: 22px; margin-top: 30px; padding: 28px 30px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--line); }
.hs-quote .hs-ico { color: var(--accent-text); font-size: 2.2rem; line-height: 1; }
.hs-quote p { font-size: 1.12rem; font-weight: 600; line-height: 1.5; }
.hs-about__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; }

/* ---------- Portfolio ---------- */
.hs-showcase { position: relative; padding-top: clamp(20px, 4vw, 50px); }
.hs-ghost { overflow: hidden; line-height: .9; user-select: none; }
.hs-ghost__track { display: flex; width: max-content; gap: .5em; font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 15vw, 14rem); text-transform: uppercase; white-space: nowrap; color: rgba(var(--fg-rgb), .07); animation: hs-marquee 50s linear infinite; }
.hs-ghost__track span { padding-right: .5em; }
.hs-ghost__track span::before { content: attr(data-text); }
@keyframes hs-marquee { to { transform: translateX(-50%); } }

.hs-panel { position: relative; z-index: 2; margin-top: clamp(-70px, -4.5vw, -22px); padding: clamp(44px, 7vw, 96px) clamp(18px, 4.5vw, 70px); border-radius: 40px; background: var(--surface); border: 1px solid var(--panel-line); }
.hs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.hs-card { min-width: 0; }
.hs-card__frame { border-radius: 18px; overflow: hidden; background: var(--surface-3); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.hs-card:hover .hs-card__frame { border-color: rgba(var(--accent-rgb), .6); transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.hs-card__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--bar); border-bottom: 1px solid var(--line); }
.hs-card__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(var(--fg-rgb), .2); flex: none; }
.hs-card:hover .hs-card__bar i:first-child { background: var(--accent); }
.hs-card__bar span { flex: 1; margin-left: 8px; padding: 2px 12px; border-radius: 100px; background: rgba(var(--fg-rgb), .06); color: rgba(var(--fg-rgb), .72); font-size: .74rem; line-height: 1.5; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-card__shot { position: relative; aspect-ratio: 4 / 3.5; overflow: hidden; background: var(--shot); }
.hs-card__shot img { position: absolute; top: 0; left: 0; width: 100%; height: auto; max-width: none; transition: transform 1.2s var(--ease); will-change: transform; }
.hs-card__info { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 4px 0; }
.hs-card__info h3 { min-width: 0; font-family: var(--font-display); font-weight: 500; font-size: .98rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-card__link { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); font-size: .8rem; font-weight: 700; transition: background .3s, color .3s, border-color .3s; }
.hs-card__link .hs-ico { font-size: .7rem; }
.hs-card__link:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.hs-grid__more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 54px; }
.hs-grid__more p { color: var(--muted); font-size: .88rem; }

/* ---------- Skills ribbons ---------- */
.hs-ribbons { position: relative; height: clamp(170px, 20vw, 250px); margin-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.hs-ribbon { position: absolute; left: -5%; width: 110%; top: 50%; padding: 16px 0; overflow: hidden; }
.hs-ribbon--a { background: var(--accent); color: var(--ink); transform: translateY(-50%) rotate(-3deg); z-index: 2; }
.hs-ribbon--b { background: var(--text); color: var(--bg); transform: translateY(-50%) rotate(2.5deg); }
.hs-ribbon__track { display: flex; align-items: center; width: max-content; gap: 30px; font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 600; white-space: nowrap; animation: hs-marquee 38s linear infinite; }
.hs-ribbon--b .hs-ribbon__track { animation-direction: reverse; }
.hs-ribbon__track i { font-style: normal; font-size: .8em; }
.hs-ribbon__track span:first-child { padding-left: 30px; }

/* ---------- Experience ---------- */
.hs-timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hs-timeline::before { content: ''; position: absolute; top: 23px; left: 16.66%; right: 16.66%; height: 1px; background: linear-gradient(90deg, rgba(var(--accent-rgb), .15), rgba(var(--accent-rgb), .7), rgba(var(--accent-rgb), .15)); }
.hs-job { position: relative; display: flex; flex-direction: column; align-items: center; }
.hs-job__step { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 28px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); color: var(--accent-text); font-family: var(--font-display); font-weight: 500; font-size: .9rem; }
.hs-job.is-current .hs-job__step { background: var(--accent); color: var(--ink); box-shadow: 0 0 0 7px rgba(var(--accent-rgb), .14); }
.hs-job__card { flex: 1; width: 100%; padding: 30px 28px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.hs-job__card:hover { border-color: rgba(var(--accent-rgb), .5); transform: translateY(-6px); }
.hs-job__top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hs-job h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; line-height: 1.3; }
.hs-job__company { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 10px 0 16px; font-size: .92rem; color: var(--muted); }
.hs-job__company a { color: var(--accent-text); font-weight: 700; font-size: 1.05rem; }
.hs-job__company a .hs-ico { font-size: .7rem; margin-left: 4px; }
.hs-job__company a:hover { text-decoration: underline; }
.hs-job__text { color: var(--muted); font-size: .96rem; }
.hs-job__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.hs-job__stats div { display: flex; flex-direction: column-reverse; padding: 12px 8px; border-radius: 12px; background: rgba(var(--accent-rgb), .06); border: 1px solid rgba(var(--accent-rgb), .12); text-align: center; }
.hs-job__stats dd { color: var(--accent-text); font-weight: 700; font-size: .98rem; line-height: 1.3; }
.hs-job__stats dt { color: rgba(var(--fg-rgb), .72); font-size: .7rem; line-height: 1.3; margin-top: 3px; }

/* ---------- Skills ---------- */
.hs-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px clamp(30px, 6vw, 80px); }
.hs-skill__row { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; font-weight: 600; }
.hs-skill__row span:last-child { color: var(--accent-text); font-family: var(--font-display); font-size: .85rem; }
.hs-skill__bar { height: 8px; border-radius: 100px; background: rgba(var(--fg-rgb), .09); overflow: hidden; }
.hs-skill__bar span { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(var(--accent-rgb), .55), var(--accent)); }
.hs-js .hs-skill__bar span { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.hs-js .hs-skill.is-in .hs-skill__bar span { transform: scaleX(1); }

/* ---------- FAQ ---------- */
.hs-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.hs-faq__head { position: sticky; top: 110px; }
.hs-faq__head .hs-head__text { margin: 16px 0 30px; }
.hs-faq__item { margin-bottom: 12px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); transition: border-color .3s; }
.hs-faq__item.is-open, .hs-faq__item:hover { border-color: rgba(var(--accent-rgb), .5); }
.hs-faq__item button { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; width: 100%; padding: 22px 24px; border: 0; background: none; text-align: left; font-size: 1.06rem; font-weight: 700; line-height: 1.4; }
.hs-faq__item svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--accent-text); transition: transform .3s var(--ease); }
.hs-faq__item.is-open svg { transform: rotate(45deg); }
.hs-faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.hs-faq__item.is-open .hs-faq__answer { grid-template-rows: 1fr; }
.hs-faq__answer p { overflow: hidden; padding: 0 24px; color: var(--muted); }
.hs-faq__answer p::after { content: ''; display: block; height: 24px; }

/* ---------- Contact ---------- */
.hs-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(28px, 6vw, 84px); border-radius: 40px; background: var(--accent); color: var(--ink); }
.hs-cta::after { content: ''; position: absolute; right: 0; bottom: 0; width: 46%; height: 60%; background: repeating-linear-gradient(-45deg, rgba(10, 10, 10, .16) 0 2px, transparent 2px 16px); -webkit-mask-image: linear-gradient(315deg, #000, transparent 70%); mask-image: linear-gradient(315deg, #000, transparent 70%); pointer-events: none; }
.hs-cta__copy, .hs-cta__form { position: relative; z-index: 1; }
.hs-cta__title { margin-bottom: 20px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; }
.hs-cta__copy > p { max-width: 440px; font-size: 1.08rem; font-weight: 500; color: rgba(10, 10, 10, .78); }
.hs-cta__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hs-wa--upwork .hs-wa__icon { background: #14a800; }
.hs-wa { display: inline-flex; align-items: center; gap: 14px; padding: 9px 30px 9px 9px; border-radius: 100px; background: var(--ink); color: #fff; font-weight: 700; font-size: 1.1rem; line-height: 1.25; transition: transform .3s var(--ease); }
.hs-wa:hover { transform: translateY(-3px); }
.hs-wa small { display: block; color: var(--accent-text); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.hs-wa__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #25d366; font-size: 1.5rem; }

.hs-cta__form { padding: clamp(24px, 3.4vw, 42px); border-radius: 28px; background: var(--ink); color: #fff; }
.hs-cta__form h3 { margin-bottom: 22px; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }

/* Contact form */
.hs-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hs-form__field { margin-bottom: 18px; }
.hs-form label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 700; }
.hs-form label span { color: var(--accent-text); }
.hs-form input, .hs-form textarea { display: block; width: 100%; padding: 14px 16px; border: 1px solid rgba(var(--fg-rgb), .14); border-radius: 14px; background: #151515; color: #fff; font: inherit; font-size: 1rem; line-height: 1.4; transition: border-color .3s; }
.hs-form textarea { min-height: 130px; resize: vertical; }
.hs-form input:focus, .hs-form textarea:focus { border-color: var(--accent); outline: none; }
.hs-form input.is-invalid, .hs-form textarea.is-invalid { border-color: #ff8a8a; }
.hs-form .hs-btn { margin-top: 6px; border: 0; }
.hs-form .hs-btn:disabled { opacity: .6; cursor: wait; }
.hs-form__status { margin-top: 16px; font-weight: 700; font-size: .95rem; }
.hs-form__status:empty { display: none; }
.hs-form__status.is-ok { padding: 16px 20px; border: 1px solid var(--accent); border-radius: 16px; background: rgba(var(--accent-rgb), .1); }
.hs-form__status.is-error { color: #ff8a8a; }

/* ---------- Footer ---------- */
.hs-footer { margin-top: clamp(30px, 5vw, 60px); padding: clamp(50px, 7vw, 90px) 0 28px; border-top: 1px solid var(--line); background: radial-gradient(50% 90% at 100% 100%, rgba(var(--accent-rgb), .07), transparent 70%); }
.hs-footer__grid { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 40px clamp(30px, 6vw, 90px); }
.hs-footer__brand p { max-width: 420px; margin: 22px 0 26px; color: var(--muted); }
.hs-footer__title { margin-bottom: 22px; font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; }
.hs-footer__links li { margin-bottom: 12px; color: var(--muted); }
.hs-footer__links a { transition: color .3s; }
.hs-footer__links a:hover { color: var(--accent-text); }
.hs-footer__links--contact li { display: flex; align-items: center; gap: 12px; word-break: break-word; }
.hs-footer__links--contact .hs-ico { width: 18px; color: var(--accent-text); text-align: center; flex: none; }
.hs-social { display: flex; gap: 10px; }
.hs-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.hs-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translateY(-4px); }
.hs-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: clamp(36px, 5vw, 60px); padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.hs-totop { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); transition: color .3s; }
.hs-totop:hover { color: var(--accent-text); }

/* ---------- Plain pages / 404 ---------- */
.hs-plain { padding: 200px 0 100px; min-height: 70vh; }
.hs-plain .hs-head__text { margin: 18px 0 30px; }
.hs-plain__content { margin-top: 24px; color: var(--muted); }
.hs-plain__content a { color: var(--accent-text); }

/* ---------- Background 3D shapes ----------
   Purely decorative: they sit behind the section content (z-index 0, content is 1),
   mostly in the page gutters, and never take pointer events. */
.hs-deco { position: absolute; z-index: 0; width: var(--deco-size, 240px); height: auto; max-width: none; opacity: .5; pointer-events: none; user-select: none; }
.hs-deco--ring { animation: hs-spin 48s linear infinite; }
.hs-deco--spring { animation: hs-drift 10s ease-in-out infinite alternate; }
.hs-deco--services { top: 14px; right: -100px; }
.hs-deco--about { top: 10px; right: -90px; --deco-size: 220px; }
.hs-deco--experience { top: 34%; left: -150px; --deco-size: 280px; animation-direction: reverse; }
.hs-deco--faq { bottom: 12px; left: -90px; --deco-size: 220px; animation-delay: -4s; }
@keyframes hs-drift { from { transform: translateY(-14px) rotate(-8deg); } to { transform: translateY(14px) rotate(10deg); } }

/* Wide screens have real gutters, so the shapes can come fully into view. */
@media (min-width: 1600px) {
	.hs-deco { opacity: .9; }
	.hs-deco--services { right: 30px; --deco-size: 280px; }
	.hs-deco--about { right: 40px; --deco-size: 260px; }
	.hs-deco--experience { left: 10px; }
	.hs-deco--faq { left: 30px; --deco-size: 260px; }
}
@media (max-width: 900px) {
	.hs-deco { opacity: .32; --deco-size: 170px; }
	.hs-deco--services { top: 6px; right: -80px; }
	.hs-deco--about { top: 6px; right: -70px; --deco-size: 150px; }
	.hs-deco--experience { top: 6px; left: -80px; --deco-size: 170px; }
	.hs-deco--faq { bottom: auto; top: 6px; left: auto; right: -60px; --deco-size: 150px; }
}

/* ==========================================================================
   Colour themes
   Dark is the default. The floating switcher sets data-theme="light" on <html>.
   ========================================================================== */

/* Pieces that are dark in both themes keep the dark palette. */
.hs-btn__icon, .hs-badge__core, .hs-wa, .hs-cta__form, .hs-chip, .hs-switch {
	--fg-rgb: 255, 255, 255;
	--text: #fff;
	--muted: rgba(255, 255, 255, .64);
	--line: rgba(255, 255, 255, .1);
	--accent-text: var(--accent);
}

html[data-theme="light"] {
	color-scheme: light;
	--bg: #ffffff;
	--bg-rgb: 255, 255, 255;
	--fg-rgb: 10, 10, 10;
	--text: #0a0a0a;
	--muted: rgba(10, 10, 10, .68);
	--line: rgba(10, 10, 10, .12);
	--surface: #f6f7f1;
	--surface-2: #f4f6ee;
	--surface-3: #ffffff;
	--bar: #eceee5;
	--shot: #e8eae0;
	--panel-line: rgba(10, 10, 10, .1);
	/* Lime is too pale to read as text on white, so text and outlines use a deeper green; fills stay lime. */
	--accent-text: #3d6b00;
	--accent-rgb: 96, 148, 0;
	--hero-bg: radial-gradient(55% 75% at 88% 18%, rgba(191, 247, 71, .6), transparent 62%), radial-gradient(45% 60% at 4% 100%, rgba(191, 247, 71, .32), transparent 60%), linear-gradient(180deg, #f5fae8 0%, #eef4de 100%);
}
html[data-theme="light"] .hs-btn--ghost .hs-btn__icon { --fg-rgb: 10, 10, 10; }
html[data-theme="light"] .hs-cursor { mix-blend-mode: normal; background: var(--accent-text); }
html[data-theme="light"] .hs-hero__photo { box-shadow: 0 30px 60px rgba(0, 0, 0, .2); }
html[data-theme="light"] .hs-card:hover .hs-card__frame { box-shadow: 0 24px 50px rgba(0, 0, 0, .14); }
html[data-theme="light"] .hs-service, html[data-theme="light"] .hs-job__card, html[data-theme="light"] .hs-faq__item, html[data-theme="light"] .hs-quote { box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
html[data-theme="light"] .hs-deco { opacity: .7; }
@media (min-width: 1600px) { html[data-theme="light"] .hs-deco { opacity: 1; } }
@media (max-width: 900px) { html[data-theme="light"] .hs-deco { opacity: .4; } }

/* Floating theme switcher */
.hs-switch { position: fixed; left: 16px; bottom: 24px; z-index: 95; display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 100px; background: #0d0d0d; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.hs-switch button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .6); font-size: 1rem; transition: background .3s, color .3s, transform .3s; }
.hs-switch button:hover { color: #fff; transform: scale(1.08); }
.hs-switch button[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
@media (min-width: 1480px) { .hs-switch { left: 20px; bottom: auto; top: 50%; transform: translateY(-50%); } }
/* Phones: a single round toggle (shows the theme you can switch to) so it covers as little as possible. */
@media (max-width: 640px) { .hs-switch { left: 12px; bottom: 16px; padding: 4px; } .hs-switch button { width: 38px; height: 38px; font-size: .95rem; color: #fff; } .hs-switch button[aria-pressed="true"] { display: none; } }
@media print { .hs-switch { display: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.hs-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hs-chip--status { left: -16px; }
	.hs-chip--stack { right: -8px; }
	.hs-badge { right: -10px; }
}

@media (max-width: 1024px) {
	.hs-burger { display: block; }
	/* Sized explicitly: the blurred header is the containing block for this fixed panel. */
	.hs-nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; z-index: -1; display: grid; place-items: center; padding: 100px 24px 40px; background: rgba(var(--bg-rgb), .98); opacity: 0; visibility: hidden; transform: translateY(-16px); transition: opacity .35s, transform .35s var(--ease), visibility .35s; overflow-y: auto; }
	.hs-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.hs-nav ul { flex-direction: column; gap: 22px; }
	.hs-nav a:not(.hs-btn) { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
	.hs-nav__cta { display: block; margin-top: 14px; }
	.hs-timeline { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
	.hs-timeline::before { display: none; }
	.hs-job { align-items: flex-start; }
	.hs-job__step { margin-bottom: 16px; }
	.hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	body { font-size: 16px; }
	.hs-head { grid-template-columns: 1fr; }
	.hs-hero { border-radius: 28px; }
	.hs-hero__grid { grid-template-columns: 1fr; gap: 60px; }
	.hs-hero__title { font-size: clamp(1.4rem, 6.6vw, 3.4rem); }
	.hs-hero__rule { width: 100%; }
	.hs-hero__visual { justify-self: center; width: min(78%, 360px); }
	.hs-about, .hs-faq, .hs-cta { grid-template-columns: 1fr; }
	.hs-about__media { margin-top: 40px; }
	.hs-faq__head { position: static; }
	.hs-footer__grid { grid-template-columns: 1fr 1fr; }
	.hs-footer__brand { grid-column: 1 / -1; }
	.hs-panel, .hs-cta { border-radius: 28px; }
}

@media (max-width: 640px) {
	.hs-container { width: min(100% - 32px, var(--container)); }
	.hs-hero-wrap { padding: 8px 8px 0; }
	.hs-header__hire { display: none; }
	.hs-hero__meta { flex-direction: column; align-items: flex-start; gap: 20px; }
	.hs-hero__actions .hs-btn { flex: 1 1 auto; justify-content: space-between; }
	.hs-chip { font-size: .76rem; padding: 8px 14px; }
	.hs-chip--status { left: -22px; bottom: 20px; }
	.hs-chip--stack { right: -18px; font-size: 1rem; }
	.hs-clients__list { width: 100%; }
	.hs-clients__tile { width: 100%; }
	.hs-clients__list li { flex: 1 1 140px; }
	.hs-services, .hs-grid, .hs-skills { grid-template-columns: minmax(0, 1fr); }
	.hs-badge { width: 120px; height: 120px; top: -40px; right: 6px; }
	.hs-badge__core { width: 50px; height: 50px; font-size: .8rem; }
	.hs-stats { flex-wrap: wrap; }
	.hs-quote { flex-direction: column; gap: 12px; padding: 24px; }
	.hs-job__stats { grid-template-columns: 1fr 1fr; }
	.hs-job__stats div:last-child { grid-column: 1 / -1; }
	.hs-faq__item button { padding: 18px; font-size: 1rem; }
	.hs-faq__answer p { padding: 0 18px; }
	.hs-footer__grid { grid-template-columns: 1fr; }
	.hs-footer__bottom { flex-direction: column; align-items: flex-start; }
}


/* About: client chips */
.hs-perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hs-perks li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 100px; font-weight: 700; font-size: .92rem; }
.hs-perks .hs-ico { color: var(--accent-text); }

/* ---------- Hero on tablets and phones ----------
   Photo first, everything centred, the long intro collapsed behind "Read more". */
@media (max-width: 900px) {
	.hs-hero { padding: 104px 0 52px; text-align: center; }
	.hs-hero__grid { gap: 40px; }
	.hs-hero__glow { display: none; }

	.hs-hero__visual { order: -1; isolation: isolate; justify-self: center; width: min(58%, 270px); }
	.hs-hero__visual::before { border-radius: 28px; transform: rotate(-7deg); }
	.hs-hero__visual::after { content: ''; position: absolute; inset: -26%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .38), transparent 66%); }
	.hs-hero__photo { aspect-ratio: 1 / 1.14; border-radius: 28px; }
	.hs-chip--status { left: 50%; right: auto; bottom: -16px; transform: translateX(-50%); animation: none; }
	.hs-chip--stack { right: -30px; top: 16px; }

	.hs-kicker--wide { justify-content: center; margin-bottom: 14px; letter-spacing: .36em; }
	.hs-hero__title { font-size: clamp(1.7rem, 7.8vw, 3.4rem); line-height: 1.08; }
	.hs-hero__role { margin-top: .22em; font-size: .84em; }
	.hs-hero__rule { display: none; }

	.hs-hero__meta { flex-direction: column; align-items: center; gap: 18px; margin-top: 24px; }
	.hs-hero__count { padding: 8px 22px 8px 18px; border: 1px solid rgba(var(--accent-rgb), .38); border-radius: 100px; background: rgba(var(--accent-rgb), .09); }
	.hs-hero__count strong { font-size: 1.7rem; }
	.hs-hero__count span { text-align: left; }
	.hs-hero__text { max-width: 540px; font-size: .98rem; }
	.hs-hero__tag { font-size: 1.04rem; }
	.hs-hero__desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
	.hs-hero__text.is-open .hs-hero__desc { display: block; }
	.hs-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 4px 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--accent-text); font-weight: 700; font-size: .92rem; }

	.hs-hero__actions { justify-content: center; margin-top: 28px; }
}
@media (max-width: 640px) {
	.hs-hero__actions { flex-direction: column; align-items: center; gap: 12px; }
	.hs-hero__actions .hs-btn { flex: none; width: min(100%, 320px); justify-content: space-between; }
	.hs-chip--status { left: 50%; bottom: -14px; }
	.hs-chip--stack { right: -34px; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.hs-js [data-reveal] { opacity: 1; transform: none; }
	.hs-js .hs-skill__bar span { transform: none; }
	.hs-cursor { display: none; }
}
