/* ==========================================================================
   Gabriel Timaru — Fotograf & Videograf
   Premium editorial redesign
   ========================================================================== */

:root {
	--ink: #16130f;
	--ink-2: #221d18;
	--charcoal: #2c2620;
	--cream: #f7f3ec;
	--cream-2: #efe7da;
	--sand: #e7dccb;
	--gold: #b08d57;
	--gold-2: #c4a06a;
	--gold-soft: #d9c4a3;
	--muted: #857c70;
	--muted-light: #b8b0a3;
	--line: rgba(22, 19, 15, 0.10);
	--line-light: rgba(255, 255, 255, 0.18);
	--white: #ffffff;

	--shadow-sm: 0 12px 32px rgba(22, 19, 15, 0.08);
	--shadow-lg: 0 40px 90px rgba(22, 19, 15, 0.20);

	--container: 1280px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--sans: 'Jost', 'Segoe UI', sans-serif;
}

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

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

body {
	font-family: var(--sans);
	font-weight: 300;
	color: var(--ink);
	background: var(--cream);
	line-height: 1.7;
	font-size: 16px;
	overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.12;
	color: var(--ink);
	letter-spacing: 0.005em;
}

.eyebrow {
	display: inline-block;
	font-family: var(--sans);
	font-size: 0.72rem;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--gold);
	font-weight: 500;
	margin-bottom: 22px;
}

.eyebrow--light { color: var(--gold-soft); }

.section-title {
	font-size: clamp(2.1rem, 4.4vw, 3.5rem);
	line-height: 1.08;
}

.lead {
	font-size: 1.08rem;
	color: var(--muted);
	line-height: 1.85;
}

.text-serif-quote {
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.4rem, 2.6vw, 2.1rem);
	line-height: 1.5;
	color: var(--ink-2);
}

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 48px);
}

.section {
	padding: clamp(72px, 10vw, 140px) 0;
	position: relative;
}

.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--cream2 { background: var(--cream-2); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-head {
	text-align: center;
	max-width: 740px;
	margin: 0 auto clamp(44px, 5vw, 72px);
}

.section-head .lead { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.65em;
	padding: 15px 34px;
	font-family: var(--sans);
	font-size: 0.76rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 500;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.45s var(--ease);
	white-space: nowrap;
	background: none;
}

.btn i { font-size: 0.8em; transition: transform 0.45s var(--ease); }
.btn:hover i { transform: translateX(4px); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--gold); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gold); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn.is-loading { opacity: 0.6; pointer-events: none; }

/* ---------- Reveal on scroll ---------- */
.reveal {
	opacity: 0;
	transform: translateY(34px);
	transition: opacity 1s var(--ease), transform 1s var(--ease);
	will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	padding: 20px 0;
	transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), padding 0.45s var(--ease);
}

.site-header.is-scrolled {
	background: rgba(247, 243, 236, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 8px 40px rgba(22, 19, 15, 0.09);
	padding: 11px 0;
}

.nav {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 48px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.nav__logo { display: block; line-height: 0; z-index: 121; }
.nav__logo-img {
	height: 44px;
	width: auto;
	display: block;
	filter: brightness(0) invert(1);
	transition: filter 0.45s var(--ease);
}
.site-header.is-scrolled .nav__logo-img { filter: none; }

.nav__panel {
	display: flex;
	align-items: center;
	gap: clamp(24px, 3vw, 44px);
}

.nav__menu {
	display: flex;
	align-items: center;
	gap: clamp(22px, 2.4vw, 38px);
	list-style: none;
}

.nav__menu a {
	position: relative;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.78rem;
	font-weight: 400;
	text-decoration: none;
	padding: 6px 0;
	transition: color 0.3s var(--ease);
}
.nav__menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 1px;
	background: var(--gold);
	transition: width 0.4s var(--ease);
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--gold-soft); }
.nav__menu a:hover::after, .nav__menu a.is-active::after { width: 100%; }

.site-header.is-scrolled .nav__menu a { color: var(--ink); }
.site-header.is-scrolled .nav__menu a:hover,
.site-header.is-scrolled .nav__menu a.is-active { color: var(--gold); }

.nav__social { display: flex; gap: 10px; list-style: none; }
.nav__social a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	font-size: 0.78rem;
	text-decoration: none;
	transition: all 0.35s var(--ease);
}
.nav__social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.site-header.is-scrolled .nav__social a { border-color: var(--line); color: var(--ink); }
.site-header.is-scrolled .nav__social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* hamburger */
.nav__checkbox { display: none; }
.nav__toggle {
	display: none;
	position: relative;
	width: 30px;
	height: 22px;
	cursor: pointer;
	z-index: 121;
}
.nav__toggle span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: #fff;
	transition: all 0.4s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 0; }
.nav__toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__toggle span:nth-child(3) { bottom: 0; }
.site-header.is-scrolled .nav__toggle span { background: var(--ink); }

@media (max-width: 991px) {
	.nav__toggle { display: block; }

	/* backdrop-filter creates a containing block that traps the fixed panel to the
	   header box on scroll — drop it on mobile so the panel stays viewport-relative */
	.site-header.is-scrolled {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: rgba(247, 243, 236, 0.98);
	}

	.nav__panel {
		position: fixed;
		inset: 0;
		z-index: 115;
		flex-direction: column;
		justify-content: center;
		gap: 40px;
		background: var(--ink);
		transform: translateX(100%);
		transition: transform 0.55s var(--ease);
		opacity: 0;
	}
	#nav__checkbox:checked ~ .nav__panel { transform: translateX(0); opacity: 1; }

	/* keep the logo legible (white) while the dark menu overlay is open, even when scrolled */
	#nav__checkbox:checked ~ .nav__logo .nav__logo-img { filter: brightness(0) invert(1); }

	.nav__menu { flex-direction: column; gap: 26px; }
	.nav__menu a {
		color: #fff;
		font-family: var(--serif);
		font-size: 1.7rem;
		letter-spacing: 0.02em;
		text-transform: none;
	}
	.site-header.is-scrolled .nav__menu a { color: #fff; }
	.site-header.is-scrolled .nav__menu a:hover { color: var(--gold-soft); }

	.nav__social a { width: 42px; height: 42px; font-size: 0.95rem; }
	.site-header.is-scrolled .nav__social a { border-color: rgba(255,255,255,0.35); color: #fff; }

	/* hamburger -> X */
	#nav__checkbox:checked ~ .nav__toggle span { background: #fff; }
	#nav__checkbox:checked ~ .nav__toggle span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
	#nav__checkbox:checked ~ .nav__toggle span:nth-child(2) { opacity: 0; }
	#nav__checkbox:checked ~ .nav__toggle span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	height: 100vh;
	min-height: 620px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	overflow: hidden;
}

.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transform: scale(1.08);
	transition: opacity 1.6s var(--ease);
}
.hero__slide.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }

@keyframes kenburns {
	from { transform: scale(1.08); }
	to { transform: scale(1.16); }
}

.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(16,13,9,0.55) 0%, rgba(16,13,9,0.28) 38%, rgba(16,13,9,0.62) 100%);
}

.hero__content {
	position: relative;
	z-index: 2;
	max-width: 900px;
	padding: 0 24px;
}

.hero__title {
	color: #fff;
	font-size: clamp(2.8rem, 6.5vw, 5.6rem);
	font-weight: 500;
	line-height: 1.04;
	margin-bottom: 24px;
	text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero__title em { font-style: italic; color: var(--gold-soft); }

.hero__subtitle {
	max-width: 620px;
	margin: 0 auto 38px;
	font-size: 1.1rem;
	font-weight: 300;
	color: rgba(255,255,255,0.9);
	line-height: 1.8;
}

.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 54px;
	height: 54px;
	border: 1px solid rgba(255,255,255,0.4);
	border-radius: 50%;
	background: rgba(0,0,0,0.12);
	color: #fff;
	font-size: 1.1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.4s var(--ease);
	backdrop-filter: blur(4px);
}
.hero__nav:hover { background: var(--gold); border-color: var(--gold); }
.hero__nav--prev { left: clamp(16px, 3vw, 44px); }
.hero__nav--next { right: clamp(16px, 3vw, 44px); }

.hero__scroll {
	position: absolute;
	bottom: 34px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	color: #fff;
	text-decoration: none;
	font-size: 0.68rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	opacity: 0.85;
}
.hero__scroll::after {
	content: "";
	width: 1px;
	height: 46px;
	background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0));
	animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
	0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
	50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

@media (max-width: 700px) {
	.hero__nav { display: none; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}

.about-figure { position: relative; }
.about-figure__img {
	position: relative;
	z-index: 1;
	width: 100%;
	display: block;
	box-shadow: var(--shadow-lg);
}
.about-figure::after {
	content: "";
	position: absolute;
	z-index: 0;
	top: 28px; right: -28px; bottom: -28px; left: 28px;
	border: 1px solid var(--gold);
}

.about-figure__badge {
	position: absolute;
	z-index: 2;
	left: -28px;
	bottom: 36px;
	background: var(--ink);
	color: #fff;
	padding: 22px 30px;
	text-align: center;
}
.about-figure__badge .num {
	font-family: var(--serif);
	font-size: 2.6rem;
	line-height: 1;
	color: var(--gold-soft);
	display: block;
}
.about-figure__badge .lbl {
	font-size: 0.66rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.7);
	margin-top: 6px;
}

.about-content .section-title { margin-bottom: 26px; }
.about-content p { color: var(--muted); margin-bottom: 18px; line-height: 1.9; }
.about-content .signature {
	margin-top: 30px;
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}
.about-content .signature img { height: 58px; width: auto; opacity: 0.85; }
.about-content .signature span {
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.service-card {
	background: var(--white);
	padding: 44px 30px;
	text-align: center;
	border: 1px solid var(--line);
	text-decoration: none;
	display: block;
	transition: all 0.5s var(--ease);
	position: relative;
	overflow: hidden;
}
.service-card::before {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 100%; height: 0;
	background: var(--ink);
	transition: height 0.5s var(--ease);
	z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--ink); }
.service-card:hover::before { height: 100%; }

.service-card__icon {
	font-size: 1.8rem;
	color: var(--gold);
	margin-bottom: 22px;
	transition: color 0.5s var(--ease);
}
.service-card h3 { font-size: 1.6rem; margin-bottom: 12px; transition: color 0.5s var(--ease); }
.service-card p { color: var(--muted); font-size: 0.92rem; transition: color 0.5s var(--ease); margin-bottom: 18px; }
.service-card__link {
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink);
	font-weight: 500;
	transition: color 0.5s var(--ease);
}
.service-card:hover h3,
.service-card:hover .service-card__icon { color: var(--gold-soft); }
.service-card:hover p { color: rgba(255,255,255,0.7); }
.service-card:hover .service-card__link { color: #fff; }

/* ==========================================================================
   Portfolio grid + lightbox
   ========================================================================== */
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.portfolio-item {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	aspect-ratio: 3 / 2;
	background: var(--sand);
}
.portfolio-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 1s var(--ease), filter 0.8s var(--ease);
	filter: grayscale(0.2);
}
.portfolio-item__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(16,13,9,0) 40%, rgba(16,13,9,0.55) 100%);
	opacity: 0;
	transition: opacity 0.5s var(--ease);
	display: flex;
	align-items: center;
	justify-content: center;
}
.portfolio-item__overlay i {
	color: #fff;
	font-size: 1.4rem;
	border: 1px solid rgba(255,255,255,0.6);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(0.7);
	transition: transform 0.5s var(--ease);
}
.portfolio-item:hover img { transform: scale(1.08); filter: grayscale(0); }
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item:hover .portfolio-item__overlay i { transform: scale(1); }

.portfolio-grid--wide .portfolio-item:nth-child(7n+1) { grid-column: span 2; aspect-ratio: 3 / 2; }

/* lightbox */
.modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(12, 10, 7, 0.97);
	padding: 4vh 0;
}
.modal.is-open { display: flex; align-items: center; justify-content: center; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content {
	position: relative;
	width: 92%;
	max-width: 1300px;
	margin: auto;
}
.portfolioSlides { display: none; }
.portfolioSlides img {
	width: 100%;
	max-height: 86vh;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.close {
	position: absolute;
	top: clamp(14px, 3vh, 30px);
	right: clamp(16px, 3vw, 40px);
	color: #fff;
	font-size: 2.4rem;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	z-index: 210;
	transition: color 0.3s, transform 0.3s;
}
.close:hover { color: var(--gold); transform: rotate(90deg); }

.portofolioPrev, .portofolioNext {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
	border: 1px solid rgba(255,255,255,0.35);
	border-radius: 50%;
	color: #fff;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	user-select: none;
	transition: all 0.35s var(--ease);
}
.portofolioPrev:hover, .portofolioNext:hover { background: var(--gold); border-color: var(--gold); }
.portofolioPrev { left: clamp(-6px, -1vw, 0px); }
.portofolioNext { right: clamp(-6px, -1vw, 0px); }

@media (max-width: 700px) {
	.portofolioPrev { left: 6px; }
	.portofolioNext { right: 6px; }
}

/* ==========================================================================
   Stats / counters
   ========================================================================== */
.stats {
	position: relative;
	background: var(--ink);
	background-image: linear-gradient(rgba(16,13,9,0.82), rgba(16,13,9,0.88)), url('../img/numbers.webp');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: #fff;
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 24px;
	text-align: center;
}
.stat__num {
	font-family: var(--serif);
	font-size: clamp(2.4rem, 4vw, 3.4rem);
	color: var(--gold-soft);
	line-height: 1;
}
.stat__label {
	margin-top: 14px;
	font-size: 0.74rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.72);
}
.stat__divider { width: 38px; height: 2px; background: var(--gold); margin: 16px auto 0; }

/* ==========================================================================
   Quote / testimonial
   ========================================================================== */
.quote-block {
	text-align: center;
	max-width: 880px;
	margin: 0 auto;
}
.quote-block .mark {
	font-family: var(--serif);
	font-size: 5rem;
	line-height: 0.6;
	color: var(--gold-soft);
	display: block;
	margin-bottom: 10px;
}
.quote-block p { margin-bottom: 24px; }
.quote-block .author {
	font-size: 0.76rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: clamp(36px, 5vw, 80px);
	align-items: stretch;
}

.contact-aside { display: flex; flex-direction: column; justify-content: center; }
.contact-aside .section-title { margin-bottom: 22px; }
.contact-aside > p { color: var(--muted); margin-bottom: 34px; line-height: 1.9; }

.contact-info { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.contact-info li { display: flex; gap: 18px; align-items: flex-start; }
.contact-info .ic {
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--cream-2);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
}
.contact-info .lbl { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 3px; }
.contact-info a, .contact-info .val { color: var(--ink); text-decoration: none; font-size: 1.02rem; }
.contact-info a:hover { color: var(--gold); }

.contact-card {
	background: var(--white);
	padding: clamp(28px, 4vw, 48px);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--line);
}
.section--dark .contact-card { background: var(--ink-2); border-color: rgba(255,255,255,0.08); }

/* ---------- Form ---------- */
.contact-form { width: 100%; }
.form-row { display: flex; gap: 22px; }
.form-row + .form-row { margin-top: 22px; }
.form-field { flex: 1; min-width: 0; }
.form-field--full { width: 100%; }

.contact-form label {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 9px;
	font-weight: 500;
}
.section--dark .contact-form label { color: var(--muted-light); }

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--line);
	background: var(--cream);
	font-family: var(--sans);
	font-size: 0.96rem;
	font-weight: 300;
	color: var(--ink);
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.3s, background 0.3s;
}
.section--dark .contact-form input,
.section--dark .contact-form select,
.section--dark .contact-form textarea {
	background: rgba(255,255,255,0.04);
	border-color: rgba(255,255,255,0.14);
	color: #fff;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted-light); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.section--dark .contact-form input:focus,
.section--dark .contact-form select:focus,
.section--dark .contact-form textarea:focus { background: rgba(255,255,255,0.07); border-color: var(--gold); }

.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b08d57' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
	cursor: pointer;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #c0392b; }
.error { color: #c0392b; font-size: 0.78rem; margin-top: 6px; min-height: 1px; }

.submit-contact-btn { margin-top: 28px; border: none; }

/* form result modal */
.modal-message {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 220;
	background: rgba(12, 10, 7, 0.6);
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.modal-message.is-open { display: flex; animation: fadeIn 0.3s ease; }
.modal-message-content {
	background: #fff;
	padding: 32px 36px;
	max-width: 460px;
	width: 100%;
	display: flex;
	gap: 20px;
	align-items: flex-start;
	justify-content: space-between;
	box-shadow: var(--shadow-lg);
	border-top: 3px solid var(--gold);
}
.modal-message-content p { font-size: 1rem; line-height: 1.6; }
.success-msg { color: #2e7d32; }
.error-msg { color: #c0392b; }
.close-message { cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--muted); }
.close-message:hover { color: var(--ink); }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
	position: relative;
	min-height: 58vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	overflow: hidden;
}
.page-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.06);
	animation: kenburns 14s ease-out forwards;
}
.page-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(16,13,9,0.5) 0%, rgba(16,13,9,0.55) 100%);
}
.page-hero__content { position: relative; z-index: 2; padding: 110px 24px 40px; max-width: 820px; }
.page-hero h1 {
	color: #fff;
	font-size: clamp(2.6rem, 6vw, 4.8rem);
	font-weight: 500;
	margin-bottom: 16px;
}
.page-hero p {
	color: rgba(255,255,255,0.85);
	font-size: 1.05rem;
	max-width: 600px;
	margin: 0 auto;
}
.breadcrumb {
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold-soft);
	margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   Galleries (nunti-foto)
   ========================================================================== */
.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.gallery__item {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	aspect-ratio: 3 / 2;
	background: var(--sand);
}
.gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 1s var(--ease), filter 0.8s var(--ease);
}
.gallery__item::after {
	content: "\f00e";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.3rem;
	background: rgba(16,13,9,0.25);
	opacity: 0;
	transition: opacity 0.45s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }

/* ==========================================================================
   Video grids
   ========================================================================== */
.video-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.video-card {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	aspect-ratio: 16 / 9;
	background: var(--ink);
}
.video-card img.video-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.9s var(--ease), opacity 0.5s;
}
.video-card:hover img.video-thumb { transform: scale(1.06); opacity: 0.78; }
.video-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: rgba(255,255,255,0.16);
	border: 1px solid rgba(255,255,255,0.6);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.1rem;
	transition: all 0.45s var(--ease);
	z-index: 2;
}
.video-card__play i { margin-left: 4px; }
.video-card:hover .video-card__play { background: var(--gold); border-color: var(--gold); transform: translate(-50%, -50%) scale(1.1); }
.video-card__title {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	z-index: 2;
	padding: 40px 20px 18px;
	color: #fff;
	font-family: var(--serif);
	font-size: 1.25rem;
	line-height: 1.25;
	background: linear-gradient(180deg, rgba(16,13,9,0) 0%, rgba(16,13,9,0.85) 100%);
}

/* video popup */
.popup {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(12, 10, 7, 0.94);
	padding: 20px;
}
.popup.is-open { display: flex; align-items: center; justify-content: center; animation: fadeIn 0.35s ease; }
.popup-content {
	position: relative;
	width: 92%;
	max-width: 1200px;
	aspect-ratio: 16 / 9;
}
#videoFrame { width: 100%; height: 100%; display: block; border: 0; }
.close-popup {
	position: absolute;
	top: -46px;
	right: 0;
	color: #fff;
	font-size: 2.4rem;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: color 0.3s, transform 0.3s;
}
.close-popup:hover { color: var(--gold); transform: rotate(90deg); }

/* ==========================================================================
   Despre-mine — content
   ========================================================================== */
.prose { max-width: 820px; margin: 0 auto; }
.prose p { color: var(--muted); margin-bottom: 22px; line-height: 1.95; font-size: 1.05rem; }
.prose p:first-of-type::first-letter {
	font-family: var(--serif);
	font-size: 3.4rem;
	float: left;
	line-height: 0.8;
	padding: 6px 14px 0 0;
	color: var(--gold);
}

.about-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 56px;
}
.about-gallery img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
	transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
	filter: grayscale(0.15);
}
.about-gallery a { overflow: hidden; display: block; }
.about-gallery a:hover img { transform: scale(1.06); filter: grayscale(0); }
.about-gallery img.span-2 { grid-column: span 2; aspect-ratio: auto; height: 100%; }

/* skills */
.skills { max-width: 720px; margin: 0 auto; }
.skill-row { margin-bottom: 26px; }
.skill-row__head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.skill-row__name { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.skill-row__pct { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); }
.skill-track { height: 4px; background: var(--sand); position: relative; overflow: hidden; }
.skill-fill {
	position: absolute;
	left: 0; top: 0; height: 100%;
	width: 0;
	background: var(--gold);
	transition: width 1.4s var(--ease);
}
.reveal.is-visible .skill-fill { width: var(--w, 0); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); }

.footer-inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: clamp(60px, 8vw, 96px) clamp(20px, 5vw, 48px) clamp(40px, 5vw, 60px);
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
	gap: clamp(32px, 4vw, 60px);
}

.footer-brand { max-width: 360px; }
.footer-logo {
	height: 52px;
	width: auto;
	margin-bottom: 22px;
	filter: brightness(0) invert(1);
	opacity: 0.95;
}
.footer-tagline { font-size: 0.95rem; line-height: 1.8; margin-bottom: 26px; }

.footer-social { display: flex; gap: 12px; list-style: none; }
.footer-social a {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 0.9rem;
	text-decoration: none;
	transition: all 0.35s var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }

.footer-title {
	color: #fff;
	font-family: var(--sans);
	font-size: 0.78rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 500;
	margin-bottom: 22px;
}

.footer-links, .footer-contact { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-links a, .footer-contact a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.3s, padding-left 0.3s;
	font-size: 0.96rem;
}
.footer-links a:hover { color: var(--gold-soft); padding-left: 6px; }
.footer-contact a:hover { color: var(--gold-soft); }

.footer-contact li { display: flex; gap: 13px; align-items: flex-start; font-size: 0.96rem; line-height: 1.6; }
.footer-contact li i { color: var(--gold); margin-top: 5px; width: 16px; text-align: center; flex: none; }

.footer-cta p { font-size: 0.96rem; line-height: 1.8; margin-bottom: 22px; }

.sub-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 26px clamp(20px, 5vw, 48px);
	max-width: var(--container);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.5);
}
.sub-footer-credit { color: var(--gold-soft); letter-spacing: 0.04em; }

@media (max-width: 900px) {
	.footer-inner { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
	.footer-inner { grid-template-columns: 1fr; gap: 38px; text-align: left; }
	.sub-footer { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Facebook chat plugin spacing
   ========================================================================== */
.fb_dialog { z-index: 90 !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.stats-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
}

@media (max-width: 991px) {
	.about-grid { grid-template-columns: 1fr; gap: 56px; }
	.about-figure { max-width: 520px; margin: 0 auto; }
	.about-figure::after { right: -18px; bottom: -18px; }
	.contact-grid { grid-template-columns: 1fr; }
	.video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.portfolio-grid, .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.portfolio-grid--wide .portfolio-item:nth-child(7n+1) { grid-column: span 1; }
	.about-gallery { grid-template-columns: repeat(2, 1fr); }
	.about-gallery img.span-2 { grid-column: span 2; }
	.section-head { margin-bottom: 40px; }
}

@media (max-width: 620px) {
	body { font-size: 15px; }
	.form-row { flex-direction: column; gap: 0; }
	.form-row .form-field { margin-bottom: 18px; }
	.form-row + .form-row { margin-top: 0; }
	.services-grid { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 16px; }
	.video-grid { grid-template-columns: 1fr; }
	.hero__cta { flex-direction: column; align-items: center; }
	.hero__cta .btn { width: 100%; max-width: 280px; justify-content: center; }
	.about-figure__badge { left: 50%; transform: translateX(-50%); bottom: -22px; }
	.modal-message-content { padding: 26px 24px; }
}

@media (max-width: 420px) {
	.portfolio-grid, .gallery { grid-template-columns: 1fr; }
	.about-gallery { grid-template-columns: 1fr; }
	.about-gallery img.span-2 { grid-column: span 1; }
}
/**/
.hp__lbl {
	display:block;
	color:#FFF !important;
}

.cp__lbl {
	display:block;
}

#cf-eveniment option{
	color:var(--ink) !important;
}