/*
 * Stralka Studio — main stylesheet
 * Converted from the studio-homepage.html / studio-detail.html mockups'
 * inline styles into reusable classes (prefix: st-).
 */

/* ===== Reset & base ===== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	background: #ffffff;
	color: #15171a;
}

a {
	color: inherit;
	text-decoration: none;
}

::selection {
	background: #15171a;
	color: #fff;
}

.container {
	max-width: 1560px;
	margin: 0 auto;
	padding-left: clamp(24px, 5vw, 64px);
	padding-right: clamp(24px, 5vw, 64px);
}

/* Underline-on-hover link style */
.st-nl {
	position: relative;
	display: inline-block;
}
.st-nl::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s ease;
}
.st-nl:hover::after {
	transform: scaleX(1);
}

@keyframes st-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(6px); }
}

/* ===== Nav ===== */
.st-nav {
	display: flex;
	align-items: center;
	padding: 36px 0;
}
.st-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
.st-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.st-nav-phone,
.st-nav .st-nl {
	font-size: 14px;
	font-weight: 600;
	color: #3a3d42;
}
.nav-phones {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}
.st-nav-back {
	font-size: 14px;
	font-weight: 500;
	color: #3a3d42;
}

/* ===== Scroll hint ===== */
.st-scroll-hint {
	position: fixed;
	right: clamp(24px, 5vw, 64px);
	bottom: 28px;
	z-index: 15;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 14px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(8px);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	opacity: 1;
	pointer-events: none;
	transition: opacity .4s ease;
}
.st-scroll-hint.is-hidden {
	opacity: 0;
}
.st-scroll-hint-label {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #5b5f66;
	writing-mode: vertical-rl;
}
.st-scroll-hint-arrow {
	font-size: 16px;
	color: #5b5f66;
	animation: st-bounce 1.6s ease-in-out infinite;
}

/* ===== Homepage split section ===== */
.st-split-section {
	padding: clamp(20px, 3vh, 40px) 0 clamp(40px, 6vh, 80px);
}
.st-split {
	display: grid;
	grid-template-columns: 0.62fr 1fr;
	gap: clamp(40px, 6vw, 110px);
}
.st-intro {
	position: sticky;
	bottom: clamp(20px, 3vh, 40px);
	align-self: end;
}
.st-intro-title {
	font-size: clamp(48px, 7.5vw, 108px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 0.96;
	text-wrap: balance;
}
.st-intro-desc {
	margin-top: clamp(20px, 3vh, 32px);
	max-width: 36ch;
	font-size: clamp(15px, 1.2vw, 18px);
	line-height: 1.7;
	color: #5b5f66;
}
.st-intro-about {
	margin-top: clamp(26px, 3.5vh, 38px);
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 36ch;
}
.st-intro-about p {
	font-size: 14.5px;
	line-height: 1.7;
	color: #8b8e93;
}
.st-intro-contact {
	margin-top: clamp(26px, 3.5vh, 38px);
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.st-intro-contact a {
	font-size: 14px;
	font-weight: 600;
}

/* ===== Project feed (homepage) ===== */
.st-project-feed {
	display: flex;
	flex-direction: column;
	gap: clamp(56px, 8vh, 104px);
}
.st-card-image,
.st-card-image img {
	transition: transform .8s cubic-bezier(.2, .6, .2, 1);
}
.st-project-card:hover .st-card-image img,
.st-project-card:hover .st-card-image {
	transform: scale(1.03);
}
.st-card-image {
	position: relative;
	width: 100%;
	aspect-ratio: 4/3;
	background: #f2f1ee;
	overflow: hidden;
}
.st-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.st-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 13px;
	color: #9a9ca1;
	text-align: center;
	padding: 12px;
}
.st-card-header {
	margin-top: 26px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
}
.st-card-title {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	font-size: clamp(24px, 2.2vw, 32px);
	letter-spacing: -0.01em;
}
.st-card-location {
	font-size: 13px;
	color: #9a9ca1;
	white-space: nowrap;
}
.st-card-blurb {
	margin-top: 12px;
	max-width: 52ch;
	font-size: 15.5px;
	line-height: 1.7;
	color: #5b5f66;
}
.st-card-more {
	margin-top: 16px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
}

.st-feed-all-link {
	padding-top: clamp(28px, 4vh, 44px);
	border-top: 1px solid #e9e7e2;
	text-align: right;
}
.st-feed-all-link a {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
}
.st-feed-all-count {
	font-weight: 400;
	color: #9a9ca1;
}

/* ===== Contact / footer (shared) ===== */
.st-contact {
	background: #0e0f11;
	color: #fff;
	padding: clamp(80px, 13vh, 160px) 0 clamp(48px, 7vh, 72px);
}
.st-contact-label {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 600;
	margin-bottom: clamp(28px, 4vh, 44px);
}
.st-contact-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: clamp(40px, 6vw, 100px);
	align-items: start;
}
.st-contact-title {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.05;
	font-size: clamp(34px, 5vw, 72px);
	max-width: 16ch;
}
.st-contact-details {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.st-contact-item-label {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 500;
	margin-bottom: 10px;
}
.st-contact-item-value {
	font-size: clamp(18px, 1.5vw, 21px);
	font-weight: 500;
	line-height: 1.5;
}
.st-contact-item-phones {
	display: flex;
	flex-direction: column;
}
.st-contact-bottom {
	margin-top: clamp(64px, 10vh, 120px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45);
}
.st-contact-studioname {
	font-weight: 700;
	color: #fff;
}
.st-contact-socials {
	display: flex;
	gap: 26px;
}
.st-contact-socials a {
	color: rgba(255, 255, 255, 0.75);
}

/* ===== Single project ===== */
.st-project-section {
	padding: clamp(20px, 4vh, 50px) 0 clamp(40px, 6vh, 80px);
}
.st-project-container {
	max-width: 1240px;
	margin: 0 auto;
	padding-left: clamp(24px, 5vw, 64px);
	padding-right: clamp(24px, 5vw, 64px);
}
.st-project-title {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	font-size: clamp(38px, 6.5vw, 84px);
	letter-spacing: -0.015em;
	margin-bottom: 14px;
}
.st-project-meta {
	font-size: 15px;
	color: #9a9ca1;
	margin-bottom: clamp(48px, 7vh, 88px);
}
.st-project-body {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(40px, 6vh, 70px);
}
.st-hero-image {
	position: relative;
	width: 100%;
	aspect-ratio: 16/10;
	overflow: hidden;
	background: #f2f1ee;
}
.st-hero-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.st-project-columns {
	display: grid;
	grid-template-columns: 0.7fr 1.6fr;
	gap: clamp(36px, 5vw, 90px);
	align-items: start;
}
.st-project-sidebar {
	position: sticky;
	top: clamp(20px, 3vh, 40px);
}
.st-eyebrow {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #9a9ca1;
	font-weight: 600;
	margin-bottom: 16px;
}
.st-project-lede {
	font-size: 16.5px;
	line-height: 1.75;
	color: #3a3d42;
}
.st-spec-grid {
	margin-top: clamp(30px, 4vh, 44px);
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px 24px;
	max-width: 340px;
}
.st-spec-key {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #9a9ca1;
}
.st-spec-value {
	font-size: 14px;
	font-weight: 500;
	text-align: right;
}
.st-project-cta {
	display: inline-block;
	margin-top: clamp(30px, 4vh, 44px);
	font-size: 14px;
	font-weight: 600;
}
.st-gallery {
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 2.4vw, 36px);
}
.st-gallery-image {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: #f2f1ee;
	cursor: zoom-in;
}
.st-gallery-image img {
	display: block;
	width: 100%;
	height: auto;
}

/* ===== Gallery lightbox ===== */
.st-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(20px, 5vh, 60px);
	background: rgba(20, 19, 17, 0.92);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease;
}
.st-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}
.st-lightbox-figure {
	position: relative;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.st-lightbox-figure img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - clamp(80px, 14vh, 160px));
	width: auto;
	height: auto;
	object-fit: contain;
	background: #1a1a1a;
}
.st-lightbox-caption {
	margin-top: 14px;
	color: #f2f1ee;
	font-size: 13px;
	letter-spacing: 0.04em;
	opacity: 0.75;
}
.st-lightbox-close,
.st-lightbox-prev,
.st-lightbox-next {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	color: #f2f1ee;
	cursor: pointer;
	padding: 8px;
	line-height: 1;
	transition: opacity 0.2s ease;
}
.st-lightbox-close:hover,
.st-lightbox-prev:hover,
.st-lightbox-next:hover {
	opacity: 0.6;
}
.st-lightbox-close {
	top: clamp(-44px, -6vh, -16px);
	right: 0;
	font-size: 28px;
}
.st-lightbox-prev,
.st-lightbox-next {
	top: 50%;
	transform: translateY(-50%);
	font-size: 36px;
}
.st-lightbox-prev { left: clamp(-48px, -6vw, -12px); }
.st-lightbox-next { right: clamp(-48px, -6vw, -12px); }

@media (max-width: 640px) {
	.st-lightbox-prev,
	.st-lightbox-next {
		top: auto;
		bottom: -48px;
		transform: none;
	}
	.st-lightbox-prev { left: 20%; }
	.st-lightbox-next { right: 20%; }
	.st-lightbox-close {
		top: -40px;
		right: 0;
	}
}

/* ===== More projects ===== */
.st-more-projects {
	background: #f2f1ee;
	padding: clamp(70px, 11vh, 140px) 0;
}
.st-more-projects-label {
	margin-bottom: clamp(28px, 4vh, 44px);
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #9a9ca1;
	font-weight: 600;
}
.st-more-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 3vw, 44px);
}
.st-more-card-image {
	position: relative;
	width: 100%;
	aspect-ratio: 4/3;
	background: #e9e7e2;
	overflow: hidden;
}
.st-more-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s cubic-bezier(.2, .6, .2, 1);
}
.st-more-card:hover .st-more-card-image img {
	transform: scale(1.03);
}
.st-more-card-title {
	margin-top: 16px;
	display: inline-block;
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	font-size: 19px;
}

/* ===== Archive ("Přehled zakázek") ===== */
.st-archive-hero {
	padding: clamp(30px, 6vh, 80px) 0 clamp(28px, 4vh, 48px);
}
.st-archive-title {
	margin-top: 22px;
	font-size: clamp(40px, 6vw, 92px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 0.98;
	max-width: 20ch;
	text-wrap: balance;
}
.st-archive-desc {
	margin-top: clamp(20px, 3vh, 30px);
	max-width: 52ch;
	font-size: clamp(15px, 1.2vw, 18px);
	line-height: 1.7;
	color: #5b5f66;
}

.st-filter-tabs-section {
	position: sticky;
	top: 0;
	z-index: 12;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	padding: 20px 0;
}
.st-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.st-filter-tab {
	cursor: pointer;
	font-family: inherit;
	border: none;
	padding: 11px 20px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 500;
	background: #f2f1ee;
	color: #5b5f66;
	transition: background .25s ease, color .25s ease;
}
.st-filter-tab.is-active {
	background: #15171a;
	color: #ffffff;
}
.st-filter-tab-count {
	opacity: 0.55;
	margin-left: 4px;
}

.st-archive-section {
	padding: clamp(32px, 5vh, 56px) 0 clamp(70px, 11vh, 140px);
}
.st-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(28px, 3.4vw, 56px) clamp(24px, 2.6vw, 40px);
}
.st-archive-card-image {
	position: relative;
	width: 100%;
	aspect-ratio: 4/3;
	overflow: hidden;
	background: #f2f1ee;
}
.st-archive-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s cubic-bezier(.2, .6, .2, 1);
}
.st-archive-card:hover .st-archive-card-image img {
	transform: scale(1.03);
}
.st-archive-card-cat {
	margin-top: 18px;
	font-size: 11.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9a9ca1;
	font-weight: 600;
}
.st-archive-card-header {
	margin-top: 10px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
}
.st-archive-card-title {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	font-size: clamp(20px, 1.6vw, 25px);
	letter-spacing: -0.01em;
}
.st-archive-card-location {
	font-size: 12.5px;
	color: #9a9ca1;
	white-space: nowrap;
}
.st-archive-card-blurb {
	margin-top: 10px;
	font-size: 14.5px;
	line-height: 1.65;
	color: #5b5f66;
}

@media (max-width: 900px) {
	.st-archive-grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 620px) {
	.st-archive-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
	.st-split,
	.st-contact-grid,
	.st-project-columns {
		grid-template-columns: 1fr !important;
	}
	.st-intro,
	.st-project-sidebar {
		position: static !important;
		height: auto !important;
	}
	.st-more-grid {
		grid-template-columns: 1fr !important;
	}
}
