/* AlphaSoft — homepage sections: hero, capability rail, selected work,
   integration, services, studio, contact. Ported from the V4 prototype. */

/* Hero */
.hero {
	position: relative;
	min-height: 100svh;
	padding: 120px var(--side-padding) 38px;
	overflow: hidden;
}

.hero-gridlines,
.integration-gridlines {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(to right, transparent calc(25% - 0.5px), rgb(0 0 0 / 8%) 25%, transparent calc(25% + 0.5px)),
		linear-gradient(to right, transparent calc(50% - 0.5px), rgb(0 0 0 / 8%) 50%, transparent calc(50% + 0.5px)),
		linear-gradient(to right, transparent calc(75% - 0.5px), rgb(0 0 0 / 8%) 75%, transparent calc(75% + 0.5px));
}

.hero-meta {
	position: relative;
	z-index: 4;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	font: 400 9px/1 var(--mono);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.hero-meta span:nth-child(2) {
	text-align: center;
}

.hero-meta span:last-child {
	text-align: right;
}

.hero-copy-block {
	position: relative;
	z-index: 4;
	margin-top: 9vh;
}

.hero-kicker {
	max-width: 330px;
	margin: 0 0 26px;
	font: 400 10px/1.5 var(--mono);
	text-transform: uppercase;
}

.hero-title {
	margin: 0;
	font-size: clamp(62px, 8.7vw, 138px);
	font-weight: 500;
	line-height: 0.9;
	letter-spacing: -0.075em;
}

.hero-title-indent {
	margin-left: 12vw;
}

.hero-title em {
	font-family: Georgia, serif;
	font-weight: 400;
	letter-spacing: -0.08em;
}

.hero-system {
	position: relative;
	z-index: 5;
	width: min(960px, 72vw);
	height: 48vh;
	min-height: 440px;
	margin: 7vh 0 0 auto;
}

.a-scaffold {
	position: absolute;
	inset: -11% -4% -3% 13%;
	z-index: 0;
	color: rgb(8 8 8 / 12%);
}

.a-scaffold i {
	width: 2px;
	height: 112%;
	top: -4%;
}

.a-scaffold i:first-child {
	left: 25%;
	transform: rotate(23deg);
}

.a-scaffold i:nth-child(2) {
	right: 25%;
	transform: rotate(-23deg);
}

.a-scaffold b {
	width: 48%;
	height: 2px;
	left: 26%;
	top: 58%;
}

.stage-labels {
	position: absolute;
	left: -22%;
	top: 10%;
	display: grid;
	gap: 1px;
	border: 1px solid var(--ink);
}

.stage-button {
	width: 175px;
	padding: 14px 15px;
	display: grid;
	grid-template-columns: 28px 1fr;
	text-align: left;
	border: 0;
	border-bottom: 1px solid var(--ink);
	background: var(--paper);
	font: 400 9px/1 var(--mono);
	text-transform: uppercase;
	cursor: pointer;
	transition: 0.3s;
}

.stage-button:last-child {
	border-bottom: 0;
}

.stage-button.active {
	background: var(--ink);
	color: var(--white);
}

.build-canvas {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border: 1px solid var(--ink);
	background: #f8f7f3;
	box-shadow: 0 35px 90px rgb(0 0 0 / 12%);
}

.canvas-topbar {
	height: 32px;
	padding: 0 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--ink);
	font: 400 7px/1 var(--mono);
	text-transform: uppercase;
}

.canvas-dots {
	display: flex;
	gap: 5px;
}

.canvas-dots i {
	width: 5px;
	height: 5px;
	border: 1px solid var(--ink);
	border-radius: 50%;
}

.wireframe-layer,
.interface-layer,
.product-layer {
	position: absolute;
	left: 0;
	right: 0;
	top: 32px;
	bottom: 0;
	transition:
		opacity 0.65s,
		transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wireframe-layer {
	padding: 5%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 35px 60px 32px 20px 20px 45px 1fr;
	gap: 10px;
}

.wireframe-layer > * {
	border: 1px solid #777;
}

.wf-nav {
	grid-column: 1 / 3;
}

.wf-heading {
	width: 85%;
}

.wf-heading.small {
	width: 60%;
}

.wf-copy {
	width: 92%;
	height: 17px;
}

.wf-copy.short {
	width: 68%;
}

.wf-button {
	width: 150px;
}

.wf-visual {
	grid-column: 2;
	grid-row: 2 / 7;
}

.wf-grid {
	grid-column: 1 / 3;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 9px;
	padding: 9px;
}

.wf-grid i {
	border: 1px solid #777;
}

.interface-layer {
	padding: 6%;
	background: var(--white);
	opacity: 0;
	transform: translateY(10%);
}

.interface-layer > span {
	font: 400 8px/1 var(--mono);
	letter-spacing: 0.11em;
}

.interface-layer h2 {
	margin: 8% 0 0;
	font-size: clamp(34px, 5vw, 75px);
	line-height: 0.92;
	letter-spacing: -0.07em;
	font-weight: 500;
}

.interface-button {
	position: absolute;
	left: 6%;
	bottom: 8%;
	display: flex;
	gap: 25px;
	align-items: center;
	padding-bottom: 7px;
	border-bottom: 1px solid var(--ink);
	font-size: 12px;
}

.interface-button i {
	font-style: normal;
}

.interface-orbit {
	position: absolute;
	right: 7%;
	top: 14%;
	width: 33%;
	aspect-ratio: 1;
	border: 1px solid var(--ink);
	border-radius: 50%;
}

.interface-orbit i {
	position: absolute;
	inset: 18%;
	border-radius: 50%;
	background: var(--blue);
}

.interface-orbit b {
	position: absolute;
	width: 22%;
	aspect-ratio: 1;
	right: -7%;
	top: 38%;
	border-radius: 50%;
	background: var(--acid);
}

.product-layer {
	padding: 4%;
	background: var(--blue);
	color: var(--white);
	opacity: 0;
	transform: translateY(10%);
}

.product-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font: 400 8px/1 var(--mono);
}

.product-nav strong {
	font-size: 13px;
}

.product-hero {
	margin-top: 9%;
}

.product-hero small {
	font: 400 7px/1 var(--mono);
}

.product-hero h2 {
	margin: 12px 0 0;
	font-size: clamp(30px, 4.5vw, 68px);
	font-weight: 500;
	line-height: 0.9;
	letter-spacing: -0.07em;
}

.product-search {
	position: absolute;
	left: 4%;
	right: 4%;
	bottom: 24%;
	height: 56px;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--white);
	color: var(--ink);
	font-size: 13px;
}

.product-search i {
	font-style: normal;
}

.product-cards {
	position: absolute;
	left: 4%;
	right: 4%;
	bottom: -12%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.product-cards b {
	aspect-ratio: 1.5;
	background: var(--acid);
}

.product-cards b:nth-child(2) {
	background: var(--white);
}

.product-cards b:nth-child(3) {
	background: var(--ink);
}

.hero-system[data-stage="structure"] .wireframe-layer {
	opacity: 1;
	transform: none;
}

.hero-system[data-stage="interface"] .wireframe-layer,
.hero-system[data-stage="product"] .wireframe-layer {
	opacity: 0;
	transform: translateY(-8%);
}

.hero-system[data-stage="interface"] .interface-layer {
	opacity: 1;
	transform: none;
}

.hero-system[data-stage="product"] .product-layer {
	opacity: 1;
	transform: none;
}

.system-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -34px;
	display: flex;
	justify-content: space-between;
	font: 400 8px/1 var(--mono);
	text-transform: uppercase;
}

.hero-bottom {
	position: relative;
	z-index: 4;
	margin-top: 9vh;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
}

.hero-description {
	max-width: 520px;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

.scroll-link {
	display: flex;
	align-items: center;
	gap: 22px;
	font: 400 9px/1 var(--mono);
	text-transform: uppercase;
}

.scroll-link i {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border: 1px solid var(--ink);
	border-radius: 50%;
	font-style: normal;
	animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
	50% {
		transform: translateY(6px);
	}
}

/* Capability rail (marquee) */
.capability-rail {
	overflow: hidden;
	border-top: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
}

.rail-track {
	width: max-content;
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 20px 0;
	white-space: nowrap;
	font: 400 11px/1 var(--mono);
	text-transform: uppercase;
	animation: rail 28s linear infinite;
}

.rail-track i {
	width: 13px;
	height: 13px;
	position: relative;
}

.rail-track i::before,
.rail-track i::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 0;
	width: 1px;
	height: 13px;
	background: var(--blue);
	transform: rotate(45deg);
}

.rail-track i::after {
	transform: rotate(-45deg);
}

@keyframes rail {
	to {
		transform: translateX(-50%);
	}
}

/* Section heading shared by work/services/studio/integration */
.work-section,
.services-section,
.studio-section,
.integration-section {
	padding: 140px var(--side-padding);
}

.section-heading {
	margin-bottom: 85px;
}

.split-heading {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	align-items: end;
	gap: 8vw;
}

/* .section-index itself lives in base.css — used on portfolio.css-context
   pages too (work archive, single project), which never load this file. */

.section-heading h2,
.integration-copy h2,
.studio-sticky h2 {
	margin: 0;
	font-size: clamp(55px, 7.2vw, 110px);
	font-weight: 500;
	line-height: 0.92;
	letter-spacing: -0.07em;
}

.heading-copy {
	max-width: 470px;
	margin: 0 0 7px auto;
	font-size: 15px;
	line-height: 1.65;
}

/* Selected work — project stage visual treatments */
.projects {
	display: grid;
	gap: 145px;
}

.project {
	display: block;
}

.project-heading {
	display: grid;
	grid-template-columns: 1.2fr 1fr auto;
	align-items: end;
	gap: 35px;
	padding: 17px 0 24px;
	border-top: 1px solid var(--ink);
}

.project-heading > div {
	display: flex;
	align-items: baseline;
	gap: 18px;
}

.project-heading > div > span,
.project-heading > span:last-child {
	font: 400 9px/1 var(--mono);
}

.project-heading h3 {
	margin: 0;
	font-size: clamp(39px, 5vw, 75px);
	font-weight: 500;
	letter-spacing: -0.065em;
}

.project-heading p {
	max-width: 390px;
	margin: 0;
	font: 400 9px/1.5 var(--mono);
	text-transform: uppercase;
}

.project-stage {
	position: relative;
	min-height: min(68vw, 830px);
	overflow: hidden;
	transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project:hover .project-stage {
	transform: scale(0.988);
}

.project-footer {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	padding-top: 15px;
	font: 400 9px/1.4 var(--mono);
	text-transform: uppercase;
}

.project-loglasi .project-stage {
	background: #0c0c0c;
	color: var(--white);
}

.project-emal .project-stage {
	background: var(--metal);
}

.project-snezana .project-stage {
	background: var(--rose);
}

.project-lorena .project-stage {
	background: var(--green);
}

.project-a-lines {
	position: absolute;
	inset: 7%;
	color: rgb(255 255 255 / 13%);
}

.project-a-lines i {
	width: 1px;
	height: 100%;
	top: 0;
}

.project-a-lines i:first-child {
	left: 31%;
	transform: rotate(24deg);
}

.project-a-lines i:nth-child(2) {
	right: 31%;
	transform: rotate(-24deg);
}

.project-a-lines b {
	width: 48%;
	height: 1px;
	left: 26%;
	top: 59%;
}

.loglasi-outline {
	position: absolute;
	left: 4%;
	top: 3%;
	font-size: clamp(75px, 15vw, 235px);
	font-weight: 700;
	letter-spacing: -0.09em;
	color: transparent;
	-webkit-text-stroke: 1px rgb(255 255 255 / 28%);
}

.loglasi-search {
	position: absolute;
	z-index: 2;
	left: 12%;
	right: 12%;
	top: 41%;
	height: 100px;
	padding: 0 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--white);
	color: var(--ink);
	font-size: clamp(18px, 2.3vw, 35px);
}

.loglasi-search i {
	font-style: normal;
}

.loglasi-listings {
	position: absolute;
	left: 16%;
	right: 7%;
	bottom: -6%;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	transform: rotate(-3deg);
}

.loglasi-listings article {
	padding: 10px;
	background: var(--blue);
	color: var(--white);
	aspect-ratio: 0.82;
}

.loglasi-listings article:nth-child(2n) {
	background: var(--acid);
	color: var(--ink);
}

.loglasi-listings article i {
	display: block;
	height: 67%;
	background: rgb(255 255 255 / 35%);
}

.loglasi-listings article b,
.loglasi-listings article span {
	display: block;
	margin-top: 8px;
	font: 400 8px/1 var(--mono);
}

.loglasi-listings article span {
	margin-top: 4px;
	opacity: 0.7;
}

.industrial-guides {
	position: absolute;
	inset: 0;
}

.industrial-guides i {
	position: absolute;
	background: rgb(8 8 8 / 19%);
}

.industrial-guides i:nth-child(1) {
	left: 25%;
	top: 0;
	width: 1px;
	height: 100%;
}

.industrial-guides i:nth-child(2) {
	left: 50%;
	top: 0;
	width: 1px;
	height: 100%;
}

.industrial-guides i:nth-child(3) {
	left: 75%;
	top: 0;
	width: 1px;
	height: 100%;
}

.industrial-guides i:nth-child(4) {
	left: 0;
	top: 50%;
	width: 100%;
	height: 1px;
}

.emal-copy {
	position: absolute;
	z-index: 4;
	left: 5%;
	top: 6%;
}

.emal-copy small {
	font: 400 9px/1 var(--mono);
	letter-spacing: 0.11em;
}

.emal-copy strong {
	display: block;
	margin-top: 35px;
	font-size: clamp(62px, 11vw, 175px);
	font-weight: 500;
	line-height: 0.8;
	letter-spacing: -0.08em;
}

.emal-sheets i {
	position: absolute;
	width: 34%;
	height: 68%;
	right: 9%;
	top: 15%;
	background: linear-gradient(120deg, #585855, #e9e9e4 43%, #767673);
	transform: skewY(-8deg);
	box-shadow: -15px 18px 30px rgb(0 0 0 / 12%);
}

.emal-sheets i:nth-child(2) {
	right: 20%;
	top: 23%;
	background: linear-gradient(120deg, #8b8b87, #efefe9 42%, #4d4d4a);
}

.emal-sheets i:nth-child(3) {
	right: 32%;
	top: 31%;
	background: linear-gradient(120deg, #454542, #cfcfca 43%, #efefe9);
}

.emal-measure {
	position: absolute;
	left: 5%;
	right: 5%;
	bottom: 5%;
	display: flex;
	align-items: center;
	gap: 15px;
	font: 400 8px/1 var(--mono);
}

.emal-measure i {
	height: 1px;
	flex: 1;
	background: var(--ink);
}

.snezana-rings i {
	position: absolute;
	border: 1px solid rgb(8 8 8 / 15%);
	border-radius: 50%;
}

.snezana-rings i:nth-child(1) {
	width: 54%;
	aspect-ratio: 1;
	left: 23%;
	top: 8%;
	background: #f1dfe3;
}

.snezana-rings i:nth-child(2) {
	width: 38%;
	aspect-ratio: 1;
	left: 31%;
	top: 18%;
}

.snezana-rings i:nth-child(3) {
	width: 22%;
	aspect-ratio: 1;
	left: 39%;
	top: 28%;
}

.snezana-copy {
	position: absolute;
	z-index: 2;
	left: 10%;
	right: 10%;
	top: 33%;
	text-align: center;
}

.snezana-copy small {
	font: 400 8px/1 var(--mono);
	letter-spacing: 0.12em;
}

.snezana-copy strong {
	display: block;
	margin-top: 24px;
	font-family: Georgia, serif;
	font-size: clamp(40px, 6.3vw, 96px);
	font-weight: 400;
	line-height: 0.96;
	letter-spacing: -0.055em;
}

.snezana-note {
	position: absolute;
	bottom: 5%;
	left: 0;
	right: 0;
	text-align: center;
	font: 400 8px/1 var(--mono);
	text-transform: uppercase;
}

.lorena-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, transparent calc(25% - 0.5px), rgb(8 8 8 / 18%) 25%, transparent calc(25% + 0.5px)),
		linear-gradient(to bottom, transparent calc(50% - 0.5px), rgb(8 8 8 / 18%) 50%, transparent calc(50% + 0.5px));
}

.lorena-name {
	position: absolute;
	left: 3%;
	top: 3%;
	font-size: clamp(75px, 16vw, 250px);
	font-weight: 700;
	letter-spacing: -0.1em;
	color: rgb(255 255 255 / 55%);
}

.lorena-packages i {
	position: absolute;
	bottom: -4%;
	width: 23%;
	height: 57%;
	border: 1px solid var(--ink);
	background: #e3e8df;
}

.lorena-packages i:nth-child(1) {
	left: 13%;
	transform: rotate(-8deg);
}

.lorena-packages i:nth-child(2) {
	left: 32%;
	bottom: 5%;
	height: 67%;
	background: #f4f1e8;
}

.lorena-packages i:nth-child(3) {
	left: 54%;
	transform: rotate(7deg);
	background: #96a991;
}

.lorena-packages i:nth-child(4) {
	left: 74%;
	bottom: 1%;
	height: 48%;
	background: #d5d9cc;
}

.lorena-caption {
	position: absolute;
	right: 4%;
	top: 52%;
	font: 400 8px/1 var(--mono);
	transform: rotate(90deg);
	transform-origin: right top;
}

/* .large-link base sizing/spacing lives in base.css — see note there. */

/* Integration (design/development) */
.integration-section {
	position: relative;
	min-height: 900px;
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	align-items: center;
	gap: 8vw;
	background: var(--white);
}

.integration-copy {
	position: relative;
	z-index: 2;
}

.integration-copy p:last-child {
	max-width: 500px;
	margin-top: 45px;
	font-size: 15px;
	line-height: 1.7;
}

.integration-diagram {
	position: relative;
	height: 590px;
	display: grid;
	grid-template-columns: 1fr 0.8fr 1fr;
	align-items: center;
}

.diagram-column {
	display: grid;
	gap: 1px;
}

.diagram-column span {
	margin-bottom: 18px;
	font: 400 9px/1 var(--mono);
	text-transform: uppercase;
}

.diagram-column b {
	padding: 16px;
	border: 1px solid var(--ink);
	font: 500 12px/1 var(--sans);
}

.diagram-column.right {
	text-align: right;
}

.diagram-a {
	position: relative;
	height: 420px;
	color: var(--blue);
}

.diagram-a i {
	width: 4px;
	height: 430px;
	top: -5px;
}

.diagram-a i:first-child {
	left: 31%;
	transform: rotate(22deg);
}

.diagram-a i:nth-child(2) {
	right: 31%;
	transform: rotate(-22deg);
}

.diagram-a b {
	width: 52%;
	height: 4px;
	left: 24%;
	top: 58%;
}

/* Services rows */
.services-section {
	position: relative;
	background: var(--ink);
	color: var(--white);
	overflow: hidden;
}

.service-rows {
	position: relative;
	z-index: 2;
}

.service-row {
	display: grid;
	grid-template-columns: 65px 1.1fr 1fr 40px;
	align-items: center;
	min-height: 155px;
	border-top: 1px solid rgb(255 255 255 / 22%);
	transition:
		padding 0.4s,
		color 0.3s;
}

.service-row:last-child {
	border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.service-row:hover {
	padding-left: 20px;
	color: var(--acid);
}

.service-row > span {
	font: 400 9px/1 var(--mono);
}

.service-row h3 {
	margin: 0;
	font-size: clamp(38px, 4.6vw, 69px);
	font-weight: 500;
	letter-spacing: -0.06em;
}

.service-row p {
	max-width: 450px;
	margin: 0;
	color: #999;
	font-size: 13px;
	line-height: 1.6;
}

.service-row i {
	font-style: normal;
	font-size: 24px;
}

.service-orb {
	position: absolute;
	right: -10vw;
	top: 14%;
	width: 32vw;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--blue);
	opacity: 0.25;
	transform: scale(0.7);
	transition: 0.7s;
}

.services-section:hover .service-orb {
	opacity: 0.7;
	transform: scale(1);
}

.orb-a {
	position: absolute;
	inset: 17%;
	color: var(--white);
}

.orb-a i {
	width: 2px;
	height: 100%;
	top: 0;
}

.orb-a i:first-child {
	left: 29%;
	transform: rotate(23deg);
}

.orb-a i:nth-child(2) {
	right: 29%;
	transform: rotate(-23deg);
}

.orb-a b {
	width: 50%;
	height: 2px;
	left: 25%;
	top: 59%;
}

/* Studio teaser */
.studio-section {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 10vw;
}

.studio-sticky {
	position: sticky;
	top: 125px;
	align-self: start;
}

.studio-lead {
	max-width: 700px;
	margin: 0;
	font-size: clamp(26px, 3.4vw, 50px);
	line-height: 1.14;
	letter-spacing: -0.047em;
}

.facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	margin: 95px 0;
}

.fact {
	padding-top: 17px;
	border-top: 1px solid var(--line);
}

.fact strong {
	display: block;
	font-size: clamp(43px, 5vw, 74px);
	font-weight: 500;
	letter-spacing: -0.06em;
}

.fact span {
	font: 400 9px/1 var(--mono);
	text-transform: uppercase;
}

.principle {
	display: grid;
	grid-template-columns: 65px 1fr;
	padding: 32px 0;
	border-top: 1px solid var(--line);
}

.principle:last-child {
	border-bottom: 1px solid var(--line);
}

.principle span {
	font: 400 9px/1 var(--mono);
}

.principle h3 {
	max-width: 650px;
	margin: 0;
	font-size: clamp(27px, 3vw, 46px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.05em;
}

/* Final contact CTA (homepage — the large blue section) */
.contact-section {
	position: relative;
	min-height: 92svh;
	padding: 125px var(--side-padding) 38px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: var(--blue);
	color: var(--white);
	overflow: hidden;
}

.contact-a {
	position: absolute;
	right: -7%;
	top: 2%;
	width: 52vw;
	height: 78vh;
	color: rgb(255 255 255 / 13%);
}

.contact-a i {
	width: 5px;
	height: 110%;
	top: -5%;
}

.contact-a i:first-child {
	left: 28%;
	transform: rotate(22deg);
}

.contact-a i:nth-child(2) {
	right: 28%;
	transform: rotate(-22deg);
}

.contact-a b {
	width: 52%;
	height: 5px;
	left: 24%;
	top: 58%;
}

.contact-heading {
	position: relative;
	z-index: 2;
	margin: auto 0;
	font-size: clamp(68px, 10.3vw, 165px);
	font-weight: 500;
	line-height: 0.88;
	letter-spacing: -0.08em;
}

.contact-indent {
	margin-left: 13vw;
}

.contact-bottom {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
}

.contact-bottom p {
	max-width: 450px;
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
}

.contact-email {
	display: inline-flex;
	align-items: center;
	gap: 35px;
	padding-bottom: 8px;
	border-bottom: 1px solid currentcolor;
	font-size: clamp(20px, 2.3vw, 35px);
}

/* Compact contact CTA lives in base.css — see parts/contact-cta.html; it's
   appended on both portfolio.css pages (work archive, single project) and
   pages.css pages (services, about), so it has to be always-loaded. */

/* Responsive */
@media (width <= 960px) {
	.hero {
		padding: 105px 20px 30px;
	}

	.hero-meta {
		grid-template-columns: 1fr auto;
	}

	.hero-meta span:nth-child(2) {
		display: none;
	}

	.hero-copy-block {
		margin-top: 8vh;
	}

	.hero-title {
		font-size: clamp(50px, 12vw, 88px);
	}

	.hero-title-indent,
	.contact-indent {
		margin-left: 0;
	}

	.hero-system {
		width: 86vw;
		height: 41vh;
		min-height: 390px;
		margin-top: 7vh;
	}

	.stage-labels {
		left: -10%;
		top: auto;
		bottom: -58px;
		display: flex;
	}

	.stage-button {
		width: auto;
		min-width: 110px;
	}

	.system-caption {
		display: none;
	}

	.hero-bottom {
		margin-top: 90px;
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.scroll-link {
		justify-self: end;
	}

	.work-section,
	.services-section,
	.studio-section,
	.integration-section {
		padding: 90px 20px;
	}

	.split-heading {
		grid-template-columns: 1fr;
		gap: 35px;
	}

	.heading-copy {
		margin-left: 0;
	}

	.projects {
		gap: 90px;
	}

	.project-heading {
		grid-template-columns: 1fr auto;
	}

	.project-heading p {
		grid-column: 1 / 3;
	}

	.project-stage {
		min-height: 78vw;
	}

	.integration-section {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.integration-diagram {
		height: 500px;
	}

	.service-row {
		grid-template-columns: 45px 1fr 30px;
	}

	.service-row p {
		display: none;
	}

	.service-orb {
		display: none;
	}

	.studio-section {
		grid-template-columns: 1fr;
	}

	.studio-sticky {
		position: static;
	}

	.facts {
		margin: 70px 0;
	}

	.contact-section {
		min-height: 760px;
		padding: 105px 20px 30px;
	}

	.contact-bottom {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (width <= 600px) {
	.hero-title {
		font-size: 47px;
	}

	.hero-kicker {
		font-size: 8px;
	}

	.hero-system {
		width: 96vw;
		margin-left: -7vw;
		min-height: 350px;
	}

	.stage-labels {
		left: 7vw;
		right: 0;
		overflow: auto;
	}

	.stage-button {
		min-width: 105px;
	}

	.build-canvas {
		left: 7vw;
	}

	.project-heading {
		grid-template-columns: 1fr;
	}

	.project-heading > span:last-child {
		display: none;
	}

	.project-heading p {
		grid-column: 1;
	}

	.project-heading h3 {
		font-size: 38px;
	}

	.project-stage {
		min-height: 105vw;
	}

	.project-footer {
		display: grid;
		grid-template-columns: 1fr;
	}

	.loglasi-search {
		height: 62px;
		padding: 0 15px;
		top: 38%;
	}

	.loglasi-listings {
		left: 6%;
		right: 3%;
		grid-template-columns: repeat(2, 1fr);
		bottom: -32%;
	}

	.emal-copy strong {
		font-size: 52px;
	}

	.emal-sheets i {
		width: 48%;
	}

	.snezana-copy strong {
		font-size: 36px;
	}

	.lorena-name {
		font-size: 70px;
	}

	.lorena-packages i {
		width: 28%;
	}

	.lorena-packages i:nth-child(1) {
		left: 5%;
	}

	.lorena-packages i:nth-child(2) {
		left: 31%;
	}

	.lorena-packages i:nth-child(3) {
		left: 57%;
	}

	.lorena-packages i:nth-child(4) {
		display: none;
	}

	.section-heading h2,
	.integration-copy h2,
	.studio-sticky h2 {
		font-size: 52px;
	}

	.integration-diagram {
		grid-template-columns: 1fr 0.45fr 1fr;
		height: 420px;
	}

	.diagram-column b {
		padding: 10px 7px;
		font-size: 9px;
	}

	.diagram-a {
		height: 300px;
	}

	.diagram-a i {
		height: 310px;
	}

	.facts {
		grid-template-columns: 1fr;
	}

	.principle {
		grid-template-columns: 38px 1fr;
	}

	.contact-heading {
		font-size: 56px;
	}

	.contact-email {
		font-size: 17px;
		gap: 18px;
	}
}

/* ==========================================================================
   Content pages: services, service detail, about, contact, legal
   ========================================================================== */

/* Services */
.service-detail-section {
	position: relative;
	min-height: 830px;
	padding: 130px var(--side-padding);
	display: grid;
	grid-template-columns: 0.72fr 1fr;
	align-content: start;
	gap: 8vw;
	overflow: hidden;
}

.service-detail-heading {
	display: flex;
	align-items: baseline;
	gap: 18px;
}

.service-detail-heading span {
	font: 400 9px/1 var(--mono);
}

.service-detail-heading h1,
.service-detail-heading h2 {
	margin: 0;
	font-size: clamp(58px, 8vw, 118px);
	font-weight: 500;
	letter-spacing: -0.07em;
}

.service-detail-copy > p {
	max-width: 700px;
	margin: 0;
	font-size: clamp(23px, 3vw, 43px);
	line-height: 1.2;
	letter-spacing: -0.04em;
}

.service-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 50px;
}

.service-tags span {
	padding: 11px 15px;
	border: 1px solid currentcolor;
	border-radius: 999px;
	font: 400 9px/1 var(--mono);
	text-transform: uppercase;
}

.dark-service {
	background: var(--ink);
	color: var(--white);
}

.service-motion {
	position: absolute;
	left: 8%;
	right: 8%;
	bottom: -2%;
	height: 38%;
	border: 1px solid currentcolor;
	overflow: hidden;
}

.service-motion-a {
	position: absolute;
	left: 10%;
	top: -55%;
	width: 380px;
	height: 470px;
	color: var(--blue);
}

.service-motion-a i,
.service-motion-a b {
	position: absolute;
	display: block;
	background: currentcolor;
}

.service-motion-a i {
	width: 3px;
	height: 100%;
}

.service-motion-a i:first-child {
	left: 28%;
	transform: rotate(22deg);
}

.service-motion-a i:nth-child(2) {
	right: 28%;
	transform: rotate(-22deg);
}

.service-motion-a b {
	width: 52%;
	height: 3px;
	left: 24%;
	top: 58%;
}

.service-motion > span {
	position: absolute;
	right: 4%;
	bottom: 12%;
	font: 400 10px/1 var(--mono);
	text-transform: uppercase;
}

.process-page {
	padding: 120px var(--side-padding);
	background: var(--white);
}

.process-page-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--ink);
	border-left: 1px solid var(--ink);
}

.process-page-grid article {
	min-height: 280px;
	padding: 28px;
	border-right: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
}

.process-page-grid span {
	font: 400 9px/1 var(--mono);
}

.process-page-grid h3 {
	margin: 75px 0 18px;
	font-size: 34px;
	letter-spacing: -0.05em;
}

.process-page-grid p {
	font-size: 13px;
	line-height: 1.6;
}

/* Related work (service detail pages) */
.related-work-section {
	padding: 100px var(--side-padding);
	background: var(--white);
}

.related-work-list {
	border-top: 1px solid var(--ink);
}

.related-work-item {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 24px;
	min-height: 100px;
	padding: 20px 0;
	border-bottom: 1px solid var(--ink);
	transition: padding 0.3s;
}

.related-work-item:hover {
	padding-left: 16px;
}

.related-work-item h3 {
	margin: 0;
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 500;
	letter-spacing: -0.05em;
}

.related-work-item p {
	margin: 0;
	font: 400 9px/1.5 var(--mono);
	text-transform: uppercase;
	color: #666;
	max-width: 320px;
}

.related-work-item i {
	font-style: normal;
	font-size: 20px;
}

/* About */
.manifesto-section {
	padding: 150px var(--side-padding);
	background: var(--white);
}

.manifesto {
	max-width: 1280px;
	margin: 0;
	font-size: clamp(44px, 7vw, 102px);
	line-height: 0.98;
	letter-spacing: -0.065em;
}

.team-section {
	padding: 135px var(--side-padding);
}

.team-intro {
	display: grid;
	grid-template-columns: 0.7fr 1.3fr;
	gap: 8vw;
	margin-bottom: 80px;
}

.team-intro h2 {
	max-width: 900px;
	margin: 0;
	font-size: clamp(52px, 7vw, 102px);
	font-weight: 500;
	line-height: 0.93;
	letter-spacing: -0.07em;
}

.team-list {
	border-top: 1px solid var(--ink);
}

.team-member {
	display: grid;
	grid-template-columns: 50px 330px 1fr;
	align-items: center;
	gap: 35px;
	min-height: 420px;
	border-bottom: 1px solid var(--ink);
}

.team-member > span {
	align-self: start;
	padding-top: 35px;
	font: 400 9px/1 var(--mono);
}

.member-portrait {
	height: 320px;
	position: relative;
	overflow: hidden;
	background: var(--blue);
}

.portrait-2 {
	background: var(--rose);
}

.portrait-3 {
	background: var(--green);
}

.portrait-a {
	position: absolute;
	inset: 13%;
	color: rgb(255 255 255 / 55%);
}

.portrait-a i,
.portrait-a b {
	position: absolute;
	display: block;
	background: currentcolor;
}

.portrait-a i {
	width: 3px;
	height: 100%;
}

.portrait-a i:first-child {
	left: 28%;
	transform: rotate(22deg);
}

.portrait-a i:nth-child(2) {
	right: 28%;
	transform: rotate(-22deg);
}

.portrait-a b {
	width: 50%;
	height: 3px;
	left: 25%;
	top: 58%;
}

.team-member h3 {
	margin: 0;
	font-size: clamp(35px, 4vw, 58px);
	font-weight: 500;
	letter-spacing: -0.06em;
}

.team-member p {
	max-width: 480px;
	font-size: 14px;
	line-height: 1.65;
}

.values-section {
	padding: 120px var(--side-padding);
	background: var(--ink);
	color: var(--white);
}

.value-row {
	display: grid;
	grid-template-columns: 55px 1fr 1fr;
	align-items: center;
	min-height: 145px;
	border-top: 1px solid rgb(255 255 255 / 22%);
}

.value-row:last-child {
	border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.value-row span {
	font: 400 9px/1 var(--mono);
}

.value-row h2 {
	margin: 0;
	font-size: clamp(35px, 4.8vw, 68px);
	font-weight: 500;
	letter-spacing: -0.06em;
}

.value-row p {
	max-width: 480px;
	margin: 0;
	color: #999;
	font-size: 13px;
	line-height: 1.65;
}

/* Contact page */
.contact-page-hero {
	position: relative;
	min-height: 92svh;
	padding: 145px var(--side-padding) 45px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: var(--blue);
	color: var(--white);
	overflow: hidden;
}

.contact-page-a {
	position: absolute;
	right: -6%;
	top: 0;
	width: 52vw;
	height: 80vh;
	color: rgb(255 255 255 / 12%);
}

.contact-page-a i,
.contact-page-a b {
	position: absolute;
	display: block;
	background: currentcolor;
}

.contact-page-a i {
	width: 5px;
	height: 110%;
}

.contact-page-a i:first-child {
	left: 28%;
	transform: rotate(22deg);
}

.contact-page-a i:nth-child(2) {
	right: 28%;
	transform: rotate(-22deg);
}

.contact-page-a b {
	width: 52%;
	height: 5px;
	left: 24%;
	top: 58%;
}

.contact-page-hero h1,
.contact-page-hero .section-index,
.contact-page-meta {
	position: relative;
	z-index: 2;
}

.contact-page-meta {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
}

.contact-page-meta p {
	max-width: 540px;
	margin: 0;
	line-height: 1.65;
}

.contact-page-meta a {
	font-size: 22px;
	border-bottom: 1px solid currentcolor;
	padding-bottom: 7px;
}

.contact-form-section {
	padding: 120px var(--side-padding);
}

.contact-form {
	border-top: 1px solid var(--ink);
}

.form-row {
	display: grid;
	grid-template-columns: 50px 0.7fr 1.3fr;
	align-items: start;
	padding: 28px 0;
	border-bottom: 1px solid var(--ink);
}

.form-row > span {
	font: 400 9px/1 var(--mono);
}

.form-row label {
	font-size: 25px;
	letter-spacing: -0.04em;
}

.form-row input,
.form-row textarea,
.form-row select {
	width: 100%;
	border: 0;
	background: transparent;
	outline: 0;
	font-size: 20px;
	color: var(--ink);
	font-family: var(--sans);
}

.form-row textarea {
	min-height: 140px;
	resize: vertical;
}

.form-row .field-error {
	display: block;
	margin-top: 8px;
	color: #c0392b;
	font: 400 11px/1.4 var(--mono);
}

.form-row.has-error input,
.form-row.has-error textarea,
.form-row.has-error select {
	color: #c0392b;
}

.form-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-consent-label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
}

.form-consent-label input {
	width: auto;
	margin-top: 4px;
}

.form-notice {
	padding: 20px 0;
	font: 500 13px/1.6 var(--mono);
}

.form-notice.success {
	color: #1b7a3d;
}

.form-notice.error {
	color: #c0392b;
}

.form-submit {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	padding-top: 40px;
}

.form-submit p {
	max-width: 520px;
	margin: 0;
	color: #666;
	font-size: 11px;
	line-height: 1.6;
}

.form-submit button {
	border: 1px solid var(--ink);
	background: transparent;
	cursor: pointer;
}

.form-submit button:disabled {
	opacity: 0.5;
	cursor: default;
}

.contact-details {
	padding: 80px var(--side-padding) 120px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--ink);
}

.contact-details article {
	min-height: 190px;
	padding: 28px;
	background: #101010;
	color: var(--white);
}

.contact-details span {
	display: block;
	font: 400 9px/1 var(--mono);
	text-transform: uppercase;
	color: #949494; /* #777 measured 4.24:1 on #101010 — below the 4.5:1 AA minimum */
}

.contact-details a,
.contact-details strong {
	display: block;
	margin-top: 70px;
	font-size: 22px;
	font-weight: 500;
}

/* Legal pages */
.legal-hero {
	padding: 160px var(--side-padding) 90px;
}

.legal-hero h1 {
	margin: 70px 0 35px;
	font-size: clamp(58px, 9vw, 135px);
	font-weight: 500;
	letter-spacing: -0.08em;
}

.legal-hero > p:last-child {
	max-width: 760px;
	font-size: 18px;
	line-height: 1.7;
}

.legal-content {
	padding: 0 var(--side-padding) 130px;
	max-width: 1100px;
}

.legal-content article {
	padding: 45px 0;
	border-top: 1px solid var(--ink);
}

.legal-content article:last-child {
	border-bottom: 1px solid var(--ink);
}

.legal-content h2 {
	margin: 0 0 20px;
	font-size: 30px;
}

.legal-content p {
	max-width: 780px;
	font-size: 16px;
	line-height: 1.75;
}

/* Content-page responsive */
@media (width <= 960px) {
	.service-detail-section {
		padding: 95px 20px;
		grid-template-columns: 1fr;
		gap: 45px;
	}

	.process-page {
		padding: 90px 20px;
	}

	.process-page-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.team-intro {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.team-member {
		grid-template-columns: 40px 250px 1fr;
	}

	.value-row {
		grid-template-columns: 40px 1fr;
	}

	.value-row p {
		grid-column: 2;
		margin-top: 12px;
	}

	.contact-page-meta {
		grid-template-columns: 1fr;
	}

	.form-row {
		grid-template-columns: 40px 0.7fr 1.3fr;
	}

	.contact-details {
		padding-left: 20px;
		padding-right: 20px;
		grid-template-columns: 1fr;
	}

	.manifesto-section,
	.team-section,
	.values-section,
	.contact-form-section,
	.legal-hero,
	.legal-content {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (width <= 600px) {
	.service-detail-heading h1,
	.service-detail-heading h2 {
		font-size: 52px;
	}

	.service-detail-copy > p {
		font-size: 25px;
	}

	.process-page-grid {
		grid-template-columns: 1fr;
	}

	.team-member {
		grid-template-columns: 30px 1fr;
		gap: 15px;
		padding: 30px 0;
	}

	.member-portrait {
		grid-column: 2;
		height: 300px;
	}

	.team-member > div:last-child {
		grid-column: 2;
	}

	.value-row h2 {
		font-size: 36px;
	}

	.contact-page-meta {
		gap: 25px;
	}

	.form-row {
		grid-template-columns: 35px 1fr;
	}

	.form-row label {
		font-size: 20px;
	}

	.form-row input,
	.form-row textarea,
	.form-row select {
		grid-column: 2;
		margin-top: 14px;
		font-size: 16px;
	}

	.form-submit {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}
