/* Paradox Studio — site styles */

:root {
	--bg: #0b0b0b;
	--bg-2: #141414;
	--line: #262626;
	--text: #f2efe9;
	--muted: #9a958d;
	--accent: #ff5400;
	--accent-2: #ff7a38;
	--radius: 18px;
	--gutter: clamp(16px, 4vw, 48px);
	--max: 1320px;
	--sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
	--serif: "Instrument Serif", ui-serif, Georgia, serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 1rem/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent); }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

.eyebrow {
	font-size: .78rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 1rem;
}

/* Buttons & links */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	padding: .95em 1.5em;
	border-radius: 999px;
	border: 1px solid var(--accent);
	background: var(--accent);
	color: #0b0b0b;
	font-weight: 700;
	font-size: .95rem;
	text-decoration: none;
	transition: transform .25s var(--ease), background .25s, color .25s;
}
.btn:hover { background: var(--text); border-color: var(--text); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--small { padding: .6em 1.1em; font-size: .85rem; }
.btn--large { padding: 1.15em 2em; font-size: 1.05rem; }

.link {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid var(--line);
	padding-bottom: .2em;
	transition: color .2s, border-color .2s;
}
.link:hover { color: var(--accent); border-color: var(--accent); }
.link .icon { width: .9em; height: .9em; }

/* Nav */
.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 14px var(--gutter);
	background: rgba(11, 11, 11, .72);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid transparent;
	transition: border-color .3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav__brand {
	display: flex;
	align-items: center;
	gap: .6rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	font-size: .95rem;
}
.nav__mark { width: 34px; height: 34px; color: var(--accent); }
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
	text-decoration: none;
	font-size: .9rem;
	color: var(--muted);
	transition: color .2s;
}
.nav__links a:hover { color: var(--text); }

/* Hero */
.hero {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(32px, 6vw, 80px) var(--gutter) clamp(48px, 7vw, 96px);
	min-height: calc(100svh - 64px);
}
.hero__title {
	font-size: clamp(3.4rem, 10vw, 9.5rem);
	line-height: .88;
	letter-spacing: -.055em;
	text-transform: uppercase;
	margin-bottom: 1.8rem;
}
.hero__title span { display: block; }
.hero__title em { text-transform: none; font-size: 1.08em; letter-spacing: -.03em; }
.hero__lead { max-width: 30rem; color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__media {
	position: relative;
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	max-height: 78svh;
	justify-self: end;
	width: 100%;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.55), transparent 35%);
	pointer-events: none;
}
.hero__media figcaption {
	position: absolute;
	left: 18px;
	bottom: 14px;
	z-index: 1;
	font-size: .72rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255,255,255,.7);
}

/* Secondary contact (phone: call / WhatsApp) */
.alt-contact {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .7rem 1rem;
	margin-top: 1.4rem;
}
.alt-contact__label { color: var(--muted); font-size: .92rem; }
.alt-contact__label a { color: var(--text); text-decoration: none; font-weight: 500; white-space: nowrap; }
.alt-contact__label a:hover { color: var(--accent); }
.alt-contact__actions { display: flex; gap: .5rem; }
.cta .alt-contact { justify-content: center; position: relative; margin-top: 1.8rem; }

/* Ticker */
.ticker {
	overflow: hidden;
	border-block: 1px solid var(--line);
	padding: 1.1rem 0;
	background: var(--bg-2);
}
.ticker__track {
	display: flex;
	gap: 2.2rem;
	width: max-content;
	animation: ticker 38s linear infinite;
	font-size: clamp(1.4rem, 3vw, 2.2rem);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: -.02em;
	white-space: nowrap;
}
.ticker__track span:nth-child(even) { color: var(--accent); font-size: .6em; align-self: center; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(64px, 10vw, 140px) var(--gutter) 0;
}
.section h2 { font-size: clamp(2.3rem, 5.5vw, 4.5rem); }
.section__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1.5rem 3rem;
	flex-wrap: wrap;
	margin-bottom: clamp(28px, 4vw, 56px);
}
.section__note { max-width: 22rem; color: var(--muted); }
.section--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.section--split h2 { margin-bottom: 1.5rem; }
.section--split p { color: var(--muted); font-size: 1.05rem; max-width: 34rem; }

/* Work gallery */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.filter {
	font: inherit;
	font-size: .88rem;
	padding: .55em 1.1em;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	transition: color .2s, border-color .2s, background .2s;
}
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }

.work {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}
.work__item {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: 12px;
	overflow: hidden;
	background: var(--bg-2);
	cursor: zoom-in;
	animation: pop .45s var(--ease);
}
.work__item[hidden] { display: none; }
.work__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work__item:hover img { transform: scale(1.05); }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }

.lightbox {
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 56px 16px 64px;
	border: 0;
	background: rgba(8, 8, 8, .94);
	color: var(--text);
}
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; border-radius: 10px; }
.lightbox__caption { margin-top: 1rem; color: var(--muted); font-size: .9rem; text-align: center; }
.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: rgba(20, 20, 20, .8);
	color: var(--text);
	font-size: 1.3rem;
	cursor: pointer;
	transition: border-color .2s, color .2s;
}
.lightbox__btn:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__close { top: 16px; right: 16px; font-size: 1.6rem; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Styles cards */
.styles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 28px);
}
.style-card { position: relative; }
.style-card__media {
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 1.3rem;
}
.style-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s var(--ease);
}
.style-card:hover .style-card__media img { transform: scale(1.04); }
.style-card__num {
	position: absolute;
	top: 14px;
	left: 14px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--accent);
	color: #000;
	font-weight: 700;
	font-size: .9rem;
}
.style-card h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.style-card p { color: var(--muted); margin-bottom: 1rem; }

/* Principles */
.principles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.principles li {
	display: grid;
	grid-template-columns: 3.5rem 1fr;
	gap: 1rem;
	padding: 1.6rem 0;
	border-bottom: 1px solid var(--line);
}
.principles li > span { color: var(--accent); font-weight: 500; padding-top: .2rem; }
.principles h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.principles p { color: var(--muted); font-size: 1rem; }

/* Steps */
.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(12px, 2vw, 24px);
}
.step {
	display: flex;
	flex-direction: column;
	gap: .8rem;
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-2);
	transition: border-color .3s;
}
.step:hover { border-color: var(--accent); }
.step__num {
	font-family: var(--serif);
	font-style: italic;
	font-size: 4rem;
	line-height: 1;
	color: var(--accent);
}
.step h3 { font-size: 1.5rem; }
.step p { color: var(--muted); flex: 1; }
.step .link { align-self: flex-start; }
.step__links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }

/* Visit */
.contact { margin: 2rem 0 0; }
.contact div {
	display: grid;
	grid-template-columns: 6.5rem 1fr;
	gap: 1rem;
	padding: 1rem 0;
	border-top: 1px solid var(--line);
}
.contact dt { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; padding-top: .2rem; }
.contact dd { margin: 0; font-size: 1.05rem; }
.contact dd a { text-decoration: none; transition: color .2s; }
.contact dd a:hover { color: var(--accent); }
.contact__sub { display: block; margin-top: .2rem; font-size: .9rem; color: var(--muted); }
.contact__sub a { color: var(--accent); }
.socials { display: flex; gap: .9rem; }
.socials .icon { width: 1.4em; height: 1.4em; }
.map {
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 1;
	border: 1px solid var(--line);
}
.map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) invert(.92) contrast(.9);
}

/* CTA */
.cta {
	position: relative;
	overflow: hidden;
	max-width: var(--max);
	margin: clamp(64px, 10vw, 140px) auto 0;
	padding: clamp(56px, 9vw, 120px) var(--gutter);
	text-align: center;
	border-block: 1px solid var(--line);
}
.cta h2 { font-size: clamp(2.4rem, 7vw, 6rem); margin-bottom: 2.4rem; position: relative; }
.cta .btn { position: relative; }
.cta__mark {
	position: absolute;
	width: min(640px, 110vw);
	height: min(640px, 110vw);
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: var(--accent);
	opacity: .07;
}

/* Footer */
.footer {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .5rem 2rem;
	max-width: var(--max);
	margin: 0 auto;
	padding: 28px var(--gutter) 36px;
	color: var(--muted);
	font-size: .85rem;
}
.footer a { text-decoration: none; color: var(--text); }
.footer a:hover { color: var(--accent); }

/* Scroll reveal (only when JS is running) */
.js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 860px) {
	.nav__links { display: none; }
	.hero { grid-template-columns: 1fr; min-height: 0; }
	.hero__media { order: -1; aspect-ratio: 5 / 4; max-height: none; }
	.section--split { grid-template-columns: 1fr; }
	.styles, .steps { grid-template-columns: 1fr; }
	.styles { gap: 40px; }
	.style-card__media { aspect-ratio: 4 / 3.4; }
	.work { grid-template-columns: repeat(2, 1fr); }
	.map { aspect-ratio: 4 / 3; }
}

@media (max-width: 520px) {
	.work { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
	.lightbox__prev { left: calc(50% - 56px); }
	.lightbox__next { right: calc(50% - 56px); }
	.hero__actions .btn { flex: 1 1 auto; justify-content: center; }
	.alt-contact__actions { width: 100%; }
	.alt-contact__actions .btn { flex: 1; justify-content: center; }
	.contact div { grid-template-columns: 1fr; gap: .2rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
