/* =========================================================
   Idea Niche — main stylesheet
   ========================================================= */
:root {
	--paper: #fafaf7;
	--white: #ffffff;
	--ink: #111210;
	--ink-2: #2a2b27;
	--muted: #63655d;
	--line: #e3e3da;
	--soft: #f1f1ea;
	--soft-2: #e9ebdf;
	--lime: #d4ff3f;
	--lime-deep: #8fb300;
	--dark: #121311;
	--dark-2: #1b1c19;
	--dark-line: #2e302b;

	--sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--serif: "Instrument Serif", Georgia, "Times New Roman", serif;

	--r-lg: 28px;
	--r: 20px;
	--r-sm: 14px;
	--wrap: 1320px;
	--gut: clamp(20px, 4.5vw, 56px);
	--sec: clamp(84px, 11vw, 150px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 18px 50px -18px rgba(17, 18, 16, .28);
	--shadow-sm: 0 8px 24px -10px rgba(17, 18, 16, .25);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font-family: var(--sans); font-size: 17px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text, .form__hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 860px; }
.section { padding: var(--sec) 0; }

/* ---------- type ---------- */
.h2 {
	font-size: clamp(40px, 5.6vw, 80px); line-height: 1; letter-spacing: -.045em; font-weight: 500;
}
.h2 em { font-size: 1.08em; letter-spacing: -.02em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); }

.eyebrow {
	display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
	font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow__dash { width: 28px; height: 3px; border-radius: 3px; background: var(--lime-deep); display: inline-block; }
.eyebrow--light { color: #cfd1c8; }
.eyebrow--light .eyebrow__dash { background: var(--lime); }
.eyebrow--center { justify-content: center; }

/* ---------- buttons & chips ---------- */
.btn {
	--h: 54px;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
	font-size: 15px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:hover { transform: translateY(-2px); }
.btn--sm { --h: 46px; padding: 0 20px; font-size: 14px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--lime); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(143, 179, 0, .8); }
.btn--ghost { background: transparent; border-color: #c9cabf; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #fff; }

.chip {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
	border-radius: 999px; font-size: 14px; font-weight: 500;
}
.chip--soft { background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 10px -6px rgba(0, 0, 0, .15); }
.chip__spark { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
.chip__spark svg { width: 13px; height: 13px; }

.float-chip {
	position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	font-size: 13px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm);
}
.float-chip--tl { top: 16px; left: 16px; }
.float-chip--br { right: 16px; bottom: 16px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2bd46b; box-shadow: 0 0 0 0 rgba(43, 212, 107, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(43, 212, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 212, 107, 0); } }

.round-arrow {
	flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
	display: grid; place-items: center; transition: background .3s var(--ease), transform .4s var(--ease), border-color .3s;
}
.round-arrow svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(250, 250, 247, .78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 250, 247, .9); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 82px; }
.brand__word { font-size: 28px; font-weight: 700; letter-spacing: -.065em; line-height: 1; }
.brand__dot { color: var(--lime-deep); }
.brand__img { max-height: 40px; width: auto; }
.nav__list { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.nav__link { display: block; padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .25s, color .25s; }
.nav__link:hover { color: var(--ink); background: var(--soft); }
.nav__link.is-active { background: var(--ink); color: #fff; }
.nav__cta-mobile { display: none; }
.site-header__end { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; position: relative; }
.burger__bar { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger__bar:nth-of-type(2) { top: 19px; }
.burger__bar:nth-of-type(3) { top: 25px; }
.burger[aria-expanded="true"] .burger__bar:nth-of-type(2) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-of-type(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 70px); position: relative; overflow: hidden; }
.hero::before {
	content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1; pointer-events: none;
	background: radial-gradient(closest-side, rgba(212, 255, 63, .28), transparent 70%) 50% 30% / 900px 520px no-repeat;
}
.hero__copy { text-align: center; max-width: 1080px; margin: 0 auto clamp(44px, 6vw, 72px); display: flex; flex-direction: column; align-items: center; }
.hero__title {
	margin: 28px 0 26px; font-weight: 500; letter-spacing: -.06em; line-height: .92;
	font-size: clamp(58px, 10.4vw, 156px);
}
.hero__line { display: block; }
.hero__accent { position: relative; display: inline-block; font-size: 1.1em; letter-spacing: -.035em; padding-right: .04em; }
.hero__swoosh { position: absolute; left: 2%; right: 0; bottom: -.02em; width: 96%; height: .16em; color: var(--lime); z-index: -1; }
.hero__swoosh path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.2s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__lead { max-width: 620px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }

/* bento */
.bento {
	display: grid; gap: 14px;
	grid-template-columns: 1fr 1.75fr 1fr;
	grid-template-rows: 250px 250px;
}
.bento__tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--soft); }
.bento__tile > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.bento__tile:hover > img { transform: scale(1.045); }
.bento__tile--a { grid-row: span 2; }
.bento__tile--b { grid-row: span 2; }
.bento__tile--a::after, .bento__tile--b::after {
	content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .45)); pointer-events: none;
}
.bento__cap { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; color: #fff; display: grid; gap: 2px; }
.bento__cap b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.bento__cap span { font-size: 13px; opacity: .85; }
.bento__play {
	position: absolute; z-index: 2; top: 50%; left: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%;
	background: rgba(255, 255, 255, .25); border: 1px solid rgba(255, 255, 255, .6); color: #fff;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center;
	transition: transform .4s var(--ease), background .3s;
}
.bento__play svg { width: 26px; height: 26px; margin-left: 4px; }
.bento__tile--b:hover .bento__play { transform: scale(1.08); background: var(--lime); color: var(--ink); border-color: var(--lime); }
.ui-card {
	position: absolute; z-index: 3; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow);
}
.ui-card--render { left: 20px; bottom: 20px; width: min(270px, 70%); }
.ui-card__row { display: flex; align-items: center; gap: 12px; }
.ui-card__row b { display: block; font-size: 14px; }
.ui-card__row small { display: block; font-size: 12px; color: var(--muted); }
.ui-card__icon { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--lime); display: grid; place-items: center; flex: none; }
.ui-card__icon svg { width: 20px; height: 20px; }
.ui-card__bar { margin-top: 12px; height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.ui-card__bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--lime-deep), var(--lime)); animation: load 3.2s 1s var(--ease) forwards; }
@keyframes load { to { width: 82%; } }
.tag-cloud { position: absolute; z-index: 3; right: 18px; top: 18px; display: grid; gap: 8px; justify-items: end; }
.tag-cloud li {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 8px; border-radius: 999px;
	background: rgba(255, 255, 255, .94); font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-sm);
	animation: floaty 6s ease-in-out infinite;
}
.tag-cloud li:nth-child(2) { animation-delay: -2s; margin-right: 22px; }
.tag-cloud li:nth-child(3) { animation-delay: -4s; }
.tag-cloud svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ink); color: var(--lime); }
@keyframes floaty { 50% { transform: translateY(-5px); } }
.bento__tile--d {
	background: var(--lime); padding: 22px 22px 20px; display: flex; flex-direction: column; justify-content: space-between;
}
.bento__spark { position: absolute; right: -24px; top: -24px; width: 120px; color: rgba(17, 18, 16, .1); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bento__big { font-size: 74px; line-height: .9; font-weight: 600; letter-spacing: -.06em; }
.bento__note { font-size: 19px; line-height: 1.15; letter-spacing: -.02em; font-weight: 500; }
.bento__note em { font-size: 1.12em; }
.bento__link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.bento__link svg { width: 16px; transition: transform .3s var(--ease); }
.bento__link:hover svg { transform: translateX(4px); }

/* ---------- clients marquee ---------- */
.clients { padding: 10px 0 clamp(40px, 6vw, 70px); }
.clients__label { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); padding-right: clamp(48px, 6vw, 96px); }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-word { font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.04em; color: #8b8d84; white-space: nowrap; transition: color .3s; }
.logo-word:hover { color: var(--ink); }
.logo-word--0 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; font-size: clamp(26px, 2.8vw, 36px); }
.logo-word--1 { font-weight: 400; letter-spacing: -.02em; }
.logo-word--2 { letter-spacing: .14em; font-weight: 700; font-size: clamp(18px, 2vw, 26px); }
.logo-word--3 { font-weight: 700; letter-spacing: -.02em; font-style: italic; }
.logo-word--5 { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

/* ---------- section head ---------- */
.section-head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px 8%; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head__intro { color: var(--muted); font-size: 18px; max-width: 470px; }

/* ---------- capabilities ---------- */
.caps { background: var(--white); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.caps__ui { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.caps__list { display: grid; border-top: 1px solid var(--line); }
.cap-tab {
	display: grid; grid-template-columns: 34px 44px 1fr 40px; align-items: center; gap: 14px;
	width: 100%; padding: 20px 6px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left;
	transition: background .3s, padding .3s var(--ease);
}
.cap-tab__num { font-size: 12px; font-weight: 600; color: #9a9c92; }
.cap-tab__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--soft); transition: background .3s, color .3s; }
.cap-tab__icon svg { width: 21px; height: 21px; }
.cap-tab__title { display: block; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.cap-tab__short { display: grid; grid-template-rows: 0fr; font-size: 14.5px; color: var(--muted); line-height: 1.5; transition: grid-template-rows .45s var(--ease), margin .45s var(--ease); overflow: hidden; }
.cap-tab__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); opacity: 0; transform: translateX(-8px); transition: .35s var(--ease); }
.cap-tab__arrow svg { width: 17px; }
.cap-tab:hover { background: var(--paper); }
.cap-tab[aria-selected="true"] { padding: 24px 14px; background: var(--paper); border-radius: 18px; border-bottom-color: transparent; }
.cap-tab[aria-selected="true"] .cap-tab__icon { background: var(--ink); color: var(--lime); }
.cap-tab[aria-selected="true"] .cap-tab__num { color: var(--lime-deep); }
.cap-tab[aria-selected="true"] .cap-tab__arrow { opacity: 1; transform: none; background: var(--lime); border-color: var(--lime); }
.cap-tab[aria-selected="true"] .cap-tab__short { grid-template-rows: 1fr; margin-top: 6px; }
.cap-tab__text { display: block; min-width: 0; }
.cap-tab__short > span { min-height: 0; }

.caps__stage { position: sticky; top: 110px; }
.cap-panel { border-radius: var(--r-lg); overflow: hidden; background: var(--dark); color: #fff; animation: panelIn .55s var(--ease); }
.js .cap-panel[data-hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.cap-panel__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cap-panel__media img { width: 100%; height: 100%; object-fit: cover; animation: zoomOut 1.2s var(--ease); }
@keyframes zoomOut { from { transform: scale(1.08); } }
.cap-panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--dark)); }
.cap-panel__num { color: var(--lime-deep); }
.cap-panel__body { padding: 4px clamp(24px, 3vw, 38px) clamp(26px, 3vw, 38px); margin-top: -40px; position: relative; z-index: 1; }
.cap-panel__tagline { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -.01em; color: var(--lime); margin-bottom: 14px; }
.cap-panel__body p { color: #c9cbc2; font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--dark-line); font-size: 13px; color: #e4e5de; background: var(--dark-2); }

/* ---------- work ---------- */
.work { background: var(--white); padding-top: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; transition: .25s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 18px; }
.project { grid-column: span 6; }
.project:nth-child(4n+1) { grid-column: span 7; }
.project:nth-child(4n+2) { grid-column: span 5; }
.project:nth-child(4n+3) { grid-column: span 5; }
.project:nth-child(4n+4) { grid-column: span 7; }
.projects.is-filtered .project { grid-column: span 6; }
/* odd count: last project runs full width as a cinematic banner */
.projects:not(.is-filtered) .project:last-child:nth-child(4n+3) { grid-column: 1 / -1; }
.projects:not(.is-filtered) .project:last-child:nth-child(4n+3) .project__media { aspect-ratio: 21 / 8; height: auto; }
.project[hidden] { display: none; }
.project__media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; background: var(--soft); }
.project:nth-child(4n+2) .project__media, .project:nth-child(4n+3) .project__media { aspect-ratio: auto; height: 100%; max-height: none; }
.project__link { display: flex; flex-direction: column; height: 100%; }
.project__link .project__media { flex: 1; min-height: 320px; }
.project__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 1s var(--ease); }
.project__link:hover .project__media img { transform: scale(1.05); }
.project__cat { position: absolute; left: 16px; top: 16px; z-index: 1; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 600; }
.project__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; }
.project__title { font-size: clamp(21px, 1.9vw, 26px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.project__sub { font-size: 14.5px; color: var(--muted); }
.project__link:hover .round-arrow { background: var(--lime); border-color: var(--lime); transform: rotate(45deg); }

/* ---------- approach ---------- */
.approach { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.approach::after {
	content: ""; position: absolute; right: -200px; top: -200px; width: 640px; height: 640px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(212, 255, 63, .14), transparent); pointer-events: none;
}
.approach__title { font-size: clamp(44px, 7.2vw, 112px); line-height: .98; letter-spacing: -.05em; font-weight: 500; margin-bottom: clamp(56px, 7vw, 96px); }
.approach__title span { display: block; }
.approach__title em { color: var(--lime); font-size: 1.06em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step {
	position: relative; padding: 28px 26px 34px; border-radius: var(--r); background: var(--dark-2); border: 1px solid var(--dark-line);
	overflow: hidden; transition: transform .45s var(--ease), border-color .3s, background .3s;
}
.step:hover { transform: translateY(-6px); border-color: #4a4d44; background: #20221e; }
.step__num { font-size: 13px; font-weight: 600; color: var(--lime); }
.step__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 3vw, 44px); letter-spacing: -.01em; margin: 36px 0 10px; }
.step p { color: #a9aba2; font-size: 15px; }
.step__line { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.step:hover .step__line { transform: scaleX(1); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding: 0 0 70px; }
.about__img { overflow: hidden; border-radius: var(--r-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 4 / 4.4; }
.about__img--small { position: absolute; right: -24px; bottom: 0; width: 42%; aspect-ratio: 4 / 5; border: 8px solid var(--paper); border-radius: 26px; box-shadow: var(--shadow); }
.about__badge {
	position: absolute; left: 22px; top: 22px; display: flex; gap: 12px; align-items: center;
	padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); max-width: 300px;
}
.about__badge b { display: block; font-size: 15px; }
.about__badge small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.about__badge-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--lime); display: grid; place-items: center; flex: none; }
.about__badge-icon svg { width: 20px; }
.about__copy .h2 { margin-bottom: 28px; }
.about__copy p { color: var(--muted); margin-bottom: 18px; max-width: 560px; }
.about__copy .lead { color: var(--ink-2); }
.markets { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 34px; }
.markets li { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.markets li:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- people ---------- */
.people { padding-top: 0; }
.people__head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; }
.people__head .h2 { margin-bottom: 20px; }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.role { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.role img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease), transform 1s var(--ease); }
.role:hover img { filter: none; transform: scale(1.05); }
.role::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .6)); }
.role__label { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; color: #fff; font-size: 20px; font-weight: 600; letter-spacing: -.02em; display: grid; gap: 2px; }
.role__label span { font-size: 12px; font-weight: 600; color: var(--lime); letter-spacing: .08em; }

/* ---------- contact ---------- */
.contact { padding-top: 0; }
.contact__card {
	display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px);
	padding: clamp(34px, 6vw, 86px); border-radius: clamp(24px, 3vw, 40px); background: var(--dark); color: #fff;
	position: relative; overflow: hidden;
}
.contact__intro, .form { position: relative; z-index: 1; }
.contact__title { font-size: clamp(44px, 5.8vw, 86px); line-height: .98; letter-spacing: -.05em; font-weight: 500; margin-bottom: 24px; }
.contact__title em { color: var(--lime); font-size: 1.08em; }
.contact__intro > p { color: #b4b6ad; max-width: 420px; }
.contact__details { margin-top: 36px; display: grid; gap: 14px; }
.contact__details li { display: flex; align-items: center; gap: 12px; color: #e4e5de; font-size: 15px; }
.contact__details svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--dark-2); border: 1px solid var(--dark-line); color: var(--lime); flex: none; }
.contact__details a:hover { color: var(--lime); }
.contact__card::before {
	content: ""; position: absolute; right: -180px; top: -220px; width: 560px; height: 560px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(212, 255, 63, .13), transparent); pointer-events: none;
}

.form { display: grid; gap: 16px; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13px; font-weight: 500; color: #b4b6ad; }
.field input, .field select, .field textarea {
	width: 100%; padding: 15px 16px; border-radius: var(--r-sm); border: 1px solid var(--dark-line); background: var(--dark-2); color: #fff;
	font-size: 15.5px; transition: border-color .25s, background .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23d4ff3f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
.field select option { background: var(--dark-2); }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #6f7169; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); background: #20221e; box-shadow: 0 0 0 4px rgba(212, 255, 63, .12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff7a6b; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: #b4b6ad; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1px solid #4a4d44; background: var(--dark-2); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--lime); border-color: var(--lime); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check.is-invalid input { border-color: #ff7a6b; }
.form__submit { justify-self: start; margin-top: 6px; }
.form__submit[disabled] { opacity: .6; pointer-events: none; }
.form__status { padding: 14px 18px; border-radius: var(--r-sm); font-size: 14.5px; }
.form__status--ok { background: rgba(212, 255, 63, .14); color: var(--lime); border: 1px solid rgba(212, 255, 63, .35); }
.form__status--err { background: rgba(255, 122, 107, .12); color: #ffb3aa; border: 1px solid rgba(255, 122, 107, .35); }

/* ---------- footer ---------- */
.site-footer { padding: 40px 0 34px; overflow: hidden; }
.site-footer__big {
	font-size: clamp(72px, 17.5vw, 270px); font-weight: 700; letter-spacing: -.075em; line-height: .8;
	color: var(--ink); text-align: center; white-space: nowrap; margin-bottom: 44px; user-select: none;
}
.site-footer__big span { color: var(--lime-deep); }
.site-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site-footer__tag { font-family: var(--serif); font-style: italic; font-size: 26px; }
.site-footer__nav, .site-footer__social { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15px; font-weight: 500; }
.site-footer__nav a:hover, .site-footer__social a:hover { color: var(--lime-deep); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; color: var(--muted); font-size: 13px; }

/* ---------- basic pages ---------- */
.page-basic { padding: var(--sec) 0; min-height: 60vh; }
.page-basic .h2 { margin: 10px 0 30px; }
.prose { font-size: 18px; }
.prose > * + * { margin-top: 1em; }

/* ---------- reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
	.nav__link { padding: 9px 13px; }
	.bento { grid-template-columns: 1fr 1.5fr; grid-template-rows: 240px 240px 200px; }
	.bento__tile--a { grid-row: span 2; }
	.bento__tile--b { grid-row: span 2; }
	.bento__tile--c, .bento__tile--d { grid-row: auto; }
	.steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
	.site-header__inner { height: 72px; }
	.burger { display: block; }
	.site-header__cta { display: none; }
	.nav {
		position: fixed; inset: 72px 0 auto; z-index: 49; padding: 18px var(--gut) 28px; background: var(--paper);
		border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .25);
		opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .3s var(--ease);
	}
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; background: none; border: 0; padding: 0; gap: 2px; }
	.nav__link { font-size: 22px; font-weight: 600; letter-spacing: -.02em; padding: 12px 4px; border-radius: 10px; }
	.nav__link.is-active { background: none; color: var(--lime-deep); }
	.nav__cta-mobile { display: inline-flex; margin-top: 16px; }
	.section-head { grid-template-columns: 1fr; align-items: start; }
	.caps__ui { grid-template-columns: 1fr; }
	.caps__stage { position: static; order: -1; }
	.caps__list { display: flex; overflow-x: auto; gap: 8px; border: 0; padding-bottom: 6px; scrollbar-width: none; scroll-snap-type: x mandatory; }
	.caps__list::-webkit-scrollbar { display: none; }
	.cap-tab { display: flex; flex: none; width: auto; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 999px; scroll-snap-align: start; }
	.cap-tab[aria-selected="true"] { padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--ink); color: #fff; border-color: var(--ink); }
	.cap-tab__num, .cap-tab__short, .cap-tab__arrow { display: none; }
	.cap-tab__icon { width: 34px; height: 34px; border-radius: 50%; }
	.cap-tab__icon svg { width: 17px; }
	.cap-tab__title { font-size: 15px; white-space: nowrap; }
	.caps__ui { gap: 16px; }
	.caps__list { order: -2; }
	.about__grid { grid-template-columns: 1fr; }
	.about__img--small { right: 0; }
	.contact__card { grid-template-columns: 1fr; }
	.roles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	.hero__title { font-size: clamp(54px, 15.5vw, 96px); }
	.hero__actions .btn { flex: 1 1 100%; }
	.bento { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 210px 210px; gap: 10px; }
	.bento__tile--b { grid-column: span 2; grid-row: auto; order: -1; }
	.bento__tile--a { grid-row: span 2; }
	.tag-cloud { display: none; }
	.bento__big { font-size: 56px; }
	.bento__note { font-size: 16px; }
	.bento__tile--d { padding: 16px; }
	.bento__link { font-size: 12.5px; }
	.float-chip { font-size: 11.5px; padding: 6px 11px; }
	.bento__cap b { font-size: 16px; }
	.bento__cap span { display: none; }
	.projects { grid-template-columns: 1fr; gap: 30px; }
	.projects .project, .projects.is-filtered .project { grid-column: auto !important; }
	.project__link .project__media { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
	.project:nth-child(4n+2) .project__media, .project:nth-child(4n+3) .project__media { aspect-ratio: 4 / 3; height: auto; }
	.projects:not(.is-filtered) .project:last-child:nth-child(4n+3) .project__media { aspect-ratio: 4 / 3; }
	.steps { grid-template-columns: 1fr; }
	.step__title { margin-top: 18px; }
	.form__row { grid-template-columns: 1fr; }
	.form__submit { justify-self: stretch; }
	.about__badge { left: 12px; top: 12px; right: 12px; max-width: none; }
	.site-footer__row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.marquee__track { animation: none; }
	.js .reveal { opacity: 1; transform: none; }
}
