
/* ── SCROLL REVEAL ANIMATION ────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay utilities */
.reveal-d1 { transition-delay: 50ms; }
.reveal-d2 { transition-delay: 100ms; }
.reveal-d3 { transition-delay: 150ms; }
.reveal-d4 { transition-delay: 200ms; }
.reveal-d5 { transition-delay: 250ms; }
.reveal-d6 { transition-delay: 300ms; }
.reveal-d7 { transition-delay: 350ms; }
.reveal-d8 { transition-delay: 400ms; }

* {
	margin: 0;
	/*removes default browser spacing*/
	padding: 0;
	box-sizing: border-box;
	/*makes width and height include padding and border*/
}


body {
	/* font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
	font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
		 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	background: #0a0a15;
	color: #e2e8f0;
	line-height: 1.5;
	scroll-behavior: smooth;
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
	position: fixed;
	top: 1.5rem;
	right: 1.5rem;
	z-index: 1000;
	/*to ensure it stays on top of everything*/
	display: flex;
	flex-direction: row-reverse;
	/* reverses order so icons appear from right to left */
	gap: 1rem;
	align-items: center;
	background: rgba(20, 20, 40, 0.4);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	padding: 0.7rem 1.2rem;
	border-radius: 3rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.nav-item {
	position: relative;
	display: flex;
	align-items: center;
	color: #94a3b8;
	font-size: 1.55rem;
	transition: all 0.3s ease;
	cursor: pointer;
}

/* .active is a class that JavaScript dynamically adds to the nav item when that section is in view. */
.nav-item.active {
	color: #3b82f6;
	/* change icon color for active page */
}

.nav-item:hover {
	color: #ffffff;
	transform: translateY(-3px);
}

/* select any element with the class 'label' that is a child of '.nav-item' */
.nav-item .label {
	position: absolute;

	top: 140%;
	/* place below icon */
	left: 50%;
	/* center horizontally */
	transform: translateX(-50%) translateY(-8px);

	white-space: nowrap;
	background: rgba(20, 20, 40, 0.85);
	backdrop-filter: blur(10px);
	color: #e2e8f0;
	font-size: 0.85rem;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 1rem;

	opacity: 0;
	pointer-events: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.nav-item:hover .label {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* ── HERO SECTION ─────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  /* background: #0a0a15; */
}

.hero-bg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transform: scale(1.15);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;

}

.hero-content {
  position: absolute;   
  top: 0;
  left: 0;
  z-index: 3;
  padding: clamp(1rem, 3vw, 1.5rem);        
  text-align: left;     
  margin-top: clamp(7rem, 32vh, 220px);
  margin-left: clamp(1.2rem, 10vw, 100px);
}
.hero-name {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.5rem, 10vw, 13rem);
  font-weight: 200;
  line-height: 1;
  color: #ffffff;

  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 6px 20px rgba(0, 0, 0, 0.35);

  letter-spacing: -0.04em;
  margin-bottom: 1rem;

  background: linear-gradient(90deg, #ffffff, #3b82f6, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: shine 6s linear infinite; /* slower */
}

.hero-fields {
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  color: #dae2ec;
  min-height: 2.6rem;
  font-weight: 500;
}
.typing-text::after {
  content: '|';
  color: #f9fbff;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes shine {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* .hero-bg { */
	/* absolute + inset 0 -> Makes it stretch to fill the entire .hero */
	/* position: absolute; */
	/* shortcut for top, right, bottom, left all = 0 */
	/* inset: 0;
	background: url('assets/img/about.jpg') center/cover no-repeat;
	z-index: 1;
} */

/* overlay for hero bg */
/* .hero-bg::after {
	 content: "";
	 position: absolute;
	 inset: 0;
	 background: radial-gradient(circle at 30% 50%,
				 rgba(10, 10, 21, 0.92) 0%,
				 rgba(10, 10, 21, 0.88) 20%,
				 rgba(10, 10, 21, 0.65) 35%,
				 rgba(10, 10, 21, 0.35) 50%,
				 transparent 70%);
	 backdrop-filter: blur(10px);
	 -webkit-backdrop-filter: blur(10px);
	 z-index: 2;
} */

/* .glass-panel {
	position: relative;
	border-radius: 20px;
	z-index: 4;
	width: 48%;
	max-width: 760px;
	padding: 5rem 4rem 5rem 2.5rem;
	background: rgba(20, 20, 40, 0.22);
	backdrop-filter: blur(18px) saturate(160%);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-right: none;
	border-top-left-radius: 1.4rem;
	border-bottom-left-radius: 1.4rem;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
} */

/* .hero-right {
	position: absolute;
	inset: 0 0 0 46%;
	z-index: 3;
} */



.role {
	font-size: clamp(1.4rem, 2.5vw, 1.75rem);
	font-weight: 600;
	color: #cbd5e1;
	margin-bottom: 3rem;
	margin-top: 2rem;
}

.btn {
	display: inline-block;
	background: #3b82f6;
	color: white;
	font-size: 1.2rem;
	font-weight: 600;
	padding: 1rem 2.6rem;
	border-radius: 9999px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}

.btn:hover {
	background: #2563eb;
	transform: translateY(-4px);
	box-shadow: 0 20px 45px rgba(59, 130, 246, 0.45);
}

.social {
	margin-top: 1rem;
	display: flex;
	gap: 2.2rem;
}

.social a {
	color: #cbd5e1;
	font-size: 2.2rem;
	transition: all 0.3s ease;
}

.social a:hover {
	color: #ffffff;
	transform: translateY(-5px);
}


/* ── SECTIONS (placeholders) ────────────────────────────────── */
section:not(.hero) {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4rem 5%;
	background: rgba(10, 10, 21, 0.6);
}

.section-title {
	font-size: clamp(4rem, 10vw, 10rem);
	font-weight: 800;
	color: rgba(255, 255, 255, 0.15);
	text-align: center;
	user-select: none;
}

/* ── GLOBAL RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
	section:not(.hero):not(.photography) {
		min-height: auto;
		padding: 4rem 5%;
	}
}



/* ── RESPONSIVE ─────────────────────────────────────────────── */

/* apply these styles only when the screen width is 1100px or less - done to adapt to smaller screens */
@media (max-width: 1100px) {
	.navbar {
		top: 1rem;
		right: 1rem;
		padding: 0.7rem 1.2rem;
		gap: 1rem;
	}

	.nav-item {
		font-size: 1.6rem;
	}

	.glass-panel {
		width: 100%;
		max-width: none;
		padding: 5rem 2.5rem 6rem;
		border-radius: 1.2rem;
	}

	.hero-right {
		inset: 0;
		z-index: 1;
	}
}

@media (max-width: 640px) {
	.navbar {
		right: 0.8rem;
		top: 0.8rem;
		padding: 0.6rem 0.9rem;
		gap: 0.7rem;
	}

	.nav-item {
		font-size: 1.35rem;
	}

	.nav-item .label {
		font-size: 0.8rem;
		padding: 0.35rem 0.75rem;
	}

	.hero-content {
		margin-top: clamp(6rem, 28vh, 200px);
	}

	.hero-name {
		font-size: clamp(3rem, 12vw, 5rem);
		margin-bottom: 0.8rem;
	}

	.hero-fields {
		font-size: clamp(1rem, 4.5vw, 1.6rem);
		min-height: 2.4rem;
	}
}

@media (max-width: 380px) {
	.navbar {
		right: 0.5rem;
		top: 0.5rem;
		padding: 0.5rem 0.7rem;
		gap: 0.5rem;
	}

	.nav-item {
		font-size: 1.2rem;
	}

	.nav-item .label {
		display: none;
	}
}

/* ── ABOUT SECTION ─────────────────────────────────────────────── */
.about {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: #0a0a15;
	overflow: hidden;
	padding: clamp(4rem, 6vw, 6rem) 5% clamp(3rem, 4vw, 4rem);
}

.about-bg {
	position: absolute;
	inset: 0;
	background: url('assets/img/about-bg.JPG') center/cover no-repeat;
	opacity: 0.50;
	z-index: 1;
	/* filter: blur(2px); */
}

.about-container {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
	align-items: center;
}

.about-content {
	padding-right: 2rem;
	margin-left: 40px;
}

.about-title {
   font-family: 'Inter';

	font-size: clamp(2.2rem, 5vw, 4.5rem);
	/* ~1.5× smaller than original */
	font-weight: 800;
	color: #ffffff;
	text-align: center;
	margin-bottom: 2.5rem;
	position: relative;
	display: inline-block;
}

.about-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 80px;
  height: 3px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 3px;
}

.about-card {
  background: rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);

  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: 1px solid rgba(255, 255, 255, 0.05);
  outline-offset: -1px;

  border-radius: 1.4rem;
  padding: 2.4rem 2.2rem;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.22),
    transparent 60%
  );
  pointer-events: none;
}

.about-name {
	font-size: clamp(2.8rem, 6vw, 5rem);
	font-weight: 800;
	line-height: 0.95;
	margin-bottom: 1.8rem;
	color: #e2e8f0;
}

.about-name span {
	color: #3b82f6;
}

.about-text {
	font-size: clamp(0.92rem, 1.5vw, 1.08rem);
	line-height: 1.75;
	color: #cbd5e1;
	max-width: 90%;
}

/* Right image */
.about-image {
	position: relative;
	height: clamp(360px, 78vh, 750px);
	width: clamp(240px, 48vh, 460px);
	max-width: 100%;
	border-radius: 1.2rem;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
	margin-left: 50px;
}

.profile-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
	filter: grayscale(60%) contrast(90%) brightness(90%);
	transition: filter 0.6s ease;
	/* pointer-events: none; */
	user-select: none;
  -webkit-user-drag: none;

}

.profile-photo:hover {
	filter: grayscale(0%) contrast(100%) brightness(100%);
}

.skills-bg {
	position: absolute;
	inset: 0;
	background: url('assets/img/about-bg.JPG') center/cover no-repeat;
	/* optional subtle bg */
	opacity: 0.50;
	z-index: 1;
	/* filter: blur(2px); */
}

/* ── ABOUT RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1100px) {
	.about-container {
		grid-template-columns: 1fr;
		gap: 3rem;
		text-align: center;
	}

	.about-content {
		padding: 0 1rem;
	}

	.about-title {
		text-align: center;
	}

	.about-title::after {
		left: 50%;
		transform: translateX(-50%);
	}

	.about-card {
		padding: 2.5rem 2rem;
	}

	.about-text {
		max-width: 100%;
	}

	.about-image {
		height: clamp(350px, 65vh, 600px);
		width: clamp(240px, 50vh, 450px);
		max-width: 90%;
		margin: 0 auto;
	}
}

@media (max-width: 640px) {
	.about {
		padding: 4rem 5% 3rem;
	}

	.about-container {
		gap: 2.5rem;
	}

	.about-title {
		font-size: clamp(2.4rem, 10vw, 4rem);
		margin-bottom: 2.5rem;
	}

	.about-title::after {
		width: 80px;
		height: 3px;
	}

	.about-name {
		font-size: clamp(2.5rem, 10vw, 4.5rem);
	}

	.about-text {
		font-size: 1rem;
	}

	.about-card {
		padding: 2rem 1.5rem;
	}

	.about-image {
		height: clamp(300px, 55vh, 480px);
		width: clamp(200px, 42vh, 340px);
		max-width: 85%;
	}
}

/* ── SKILLS SECTION ─────────────────────────────────────────────── */
.skills {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	/* background: #0a0a15; */
	overflow: hidden;
	padding: clamp(3rem, 5vw, 0rem) 5%;
}

.skills-bg {
	position: absolute;
	inset: 0;
	background: url('assets/img/skills-bg.jpg') center/cover no-repeat;
	z-index: 1;
}

.skills-overlay {
	position: absolute;
	inset: 0;
	/* background: radial-gradient(ellipse at center,
				rgba(10, 10, 21, 0) 60%,
				rgba(10, 10, 21, 0.15) 85%,
				rgba(10, 10, 21, 0.25) 100%); */
	z-index: 2;
}

.skills-container {
	position: relative;
	z-index: 3;
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
}

.skills-main-title {
   font-family: 'Inter';

	font-size: clamp(2.8rem, 6vw, 4.8rem);
	font-weight: 800;
	color: #ffffff;
	text-align: center;
	margin-bottom: 3.5rem;
}

.skill-cards-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	/* 4 cards horizontally */
	gap: 1.4rem;
}

.skill-card {
	background: rgba(20, 20, 40, 0.35);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.15);
	/* border: 1px rgba(255, 255, 255, 0.07); */
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 1.3rem;
	padding: 2rem 1.5rem;
	text-align: center;
	transition: all 0.4s ease;
	min-height: 240px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.skill-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(169, 169, 169, 0.55);
}

.skill-icon {
	font-size: 2.4rem;
	margin-bottom: 1rem;
}

.skill-domain {
	font-size: 1.25rem;
	font-weight: 700;
	color: #e2e8f0;
	margin-bottom: 1rem;
	line-height: 1.3;
}

.skill-desc {
	font-size: 0.95rem;
	/* Slightly reduced for better fit */
	line-height: 1.75;
	color: #cbd5e1;
}

/* Responsive - Stack on smaller screens */
@media (max-width: 1200px) {
	.skill-cards-grid {
		grid-template-columns: repeat(2, 1fr);
		/* 2 cards per row on tablets */
	}
}

@media (max-width: 768px) {
	.skills {
		padding: 4rem 5%;
	}

	.skills-main-title {
		font-size: clamp(2.5rem, 8vw, 4rem);
		margin-bottom: 3rem;
	}

	.skill-cards-grid {
		grid-template-columns: 1fr;
		/* 1 card per row on mobile */
		gap: 1.2rem;
	}

	.skill-card {
		min-height: auto;
		padding: 2rem 1.5rem;
		border-radius: 1.2rem;
	}

	.skill-icon {
		font-size: 2.4rem;
	}

	.skill-domain {
		font-size: 1.3rem;
	}

	.skill-desc {
		font-size: 0.95rem;
	}
}

/* ── PROJECTS SECTION ─────────────────────────────────────────────── */
.projects {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: #0a0a15;
	overflow: hidden;
	padding: clamp(3rem, 5vw, 0rem) 5%;
}

.thumbnail-wrapper {
	height: 240px;
	overflow: hidden;
	/* this is the key */
}

.projects-bg {
	position: absolute;
	inset: 0;
	/* background: url('assets/img/projects-bg.jpg') center/cover no-repeat; */
	background:
		radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.25), transparent 40%),
		radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.2), transparent 40%),
		#020617;
	color: white;
	/* Change to your preferred background */
	z-index: 1;
	filter: blur(5px);
}

.projects-overlay {
	position: absolute;
	inset: 0;
	/* background: radial-gradient(circle at 70% 50%, rgba(10, 10, 21, 0.92) 0%, rgba(10, 10, 21, 0.75) 50%, transparent 80%); */
	z-index: 2;
}

.projects-container {
	position: relative;
	z-index: 3;
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
}

.projects-title {
   font-family: 'Inter';
	font-size: clamp(2.8rem, 6vw, 4.8rem);
	font-weight: 800;
	text-align: center;
	margin-bottom: 3.5rem;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 2rem;
}

.project-card {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
	backdrop-filter: blur(40px) saturate(150%);
	-webkit-backdrop-filter: blur(40px) saturate(150%);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 1.5rem;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 
		0 20px 40px rgba(0, 0, 0, 0.15),
		inset 0 15px 20px -10px rgba(255, 255, 255, 0.4),
		inset 0 -15px 20px -10px rgba(255, 255, 255, 0.15);
	transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
	            box-shadow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
	            backdrop-filter 0.5s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.project-card:hover {
	transform: translateY(-4px);
	box-shadow: 
		0 25px 50px rgba(0, 0, 0, 0.2),
		inset 0 15px 20px -10px rgba(255, 255, 255, 0.5),
		inset 0 -15px 20px -10px rgba(255, 255, 255, 0.2);
}

/* Thumbnail Area */
.project-thumbnail {
	width: 100%;
	height: 240px;
	object-fit: cover;
	object-position: center -100%;
	transform: scale(2);
	display: block;
}

.face-recog-thumbnail {
	width: 100%;
	height: 240px;
	/* object-fit: cover; */
	/* object-position: center -120%; */
	transform: scale(0.5);
	display: block;

}

/* Card Content */
.project-info {
	padding: 1.5rem 1.5rem 1.6rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.project-info h3 {
	font-size: 1.35rem;
	font-weight: 700;
	color: #e2e8f0;
	margin-bottom: 0.7rem;
}

.project-desc {
	font-size: 0.95rem;
	line-height: 1.75;
	color: #cbd5e1;
	margin-bottom: 1rem;
	flex-grow: 1;
}

.tech-stack {
	font-size: 0.88rem;
	color: #60a5fa;
	font-weight: 500;
	margin-bottom: 0.6rem;
}

.project-highlight {
	font-size: 0.9rem;
	color: #3b82f6;
	font-weight: 600;
}

/* Responsive */
@media (max-width: 1100px) {
	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.projects {
		padding: 4rem 5%;
	}

	.projects-title {
		font-size: clamp(2.5rem, 8vw, 4rem);
		margin-bottom: 3rem;
	}

	.projects-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.project-card:hover {
		transform: translateY(-6px);
	}

	.project-info {
		padding: 1.4rem 1.4rem 1.6rem;
	}

	.project-info h3 {
		font-size: 1.35rem;
	}

	.project-desc {
		font-size: 0.98rem;
	}

	.thumbnail-wrapper {
		height: 200px;
	}

	.project-thumbnail {
		height: 200px;
	}
}

/* ── PHOTOGRAPHY SECTION ─────────────────────────────────────────────── */
section.photography {
	position: relative;
	display: block;
	align-items: stretch;
	justify-content: initial;
	background: linear-gradient(180deg, #0a0a15 0%, #101225 45%, #0a0a15 100%);


	/* background: url('assets/img/photography-bg.jpg') center/cover no-repeat; */
	overflow: hidden;
	padding: 0;
}

.photo-scroll-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.2rem 1.8%;
}

.photography-container {
	position: relative;
	z-index: 2;

	width: clamp(256px, 92vw, 1890px);
	margin: 0 auto 8px;

	background: #ebebee;
	border-radius: 1.76rem;
	padding: 1.92rem 1.76rem 2.24rem;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.photography-title {
   font-family: 'Inter';
	font-size: clamp(2.24rem, 8vw, 5.6rem);
   /* letter-spacing: -5px; */
	font-weight: 1500;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #111217;
	text-align: left;
	line-height: 0.92;
	margin-bottom: 1.28rem;
}

.photography-subtitle {
   letter-spacing: -1px;

	font-size: clamp(0.8rem, 1.6vw, 1.5rem);
	color: #2b2d36;
	margin-bottom: 1.44rem;
	max-width: 44ch;
	font-weight: 600;
}

.photo-gallery-shell {
	border-radius: 1.44rem;
	background: #f5f5f8;
	padding: 0.88rem 1.04rem;
	overflow: hidden;

}

.photo-gallery {
	display: flex;
	gap: 0.96rem;
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

.photo-gallery img {
   user-select: none;
   -webkit-user-drag: none;
}

/* removed ::after spacer — gallery now loops infinitely */

.photo-panel {
	position: relative;
	flex: 0 0 clamp(168px, 18vw, 224px);
	height: clamp(304px, 68vh, 560px);
	margin: 0;
	border-radius: 1.2rem;
	overflow: hidden;
	box-shadow: 0 9.6px 24px rgba(10, 10, 21, 0.22);
	transition: flex-basis 0.45s ease, box-shadow 0.35s ease;
	display: block;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}


.photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.photo-panel:hover {
	flex-basis: clamp(224px, 30vw, 384px);
	box-shadow: 0 19.2px 36px rgba(10, 10, 21, 0.3);
}

.photo-panel:hover .photo {
	transform: scale(1.04);
}

/* Instagram overlay — visible on hover */
.photo-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.7rem 0.9rem;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
	color: #ffffff;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.35s ease, transform 0.35s ease;
	pointer-events: none;
	z-index: 3;
}

.photo-overlay i {
	font-size: 1.3rem;
}

.photo-panel:hover .photo-overlay {
	opacity: 1;
	transform: translateY(0);
}

.photography-video-shell {
	width: clamp(256px, 92vw, 1890px);
	margin: 1.12rem auto 0;
	padding: 0.96rem;
	border-radius: 1.2rem;
	background: #ffffff;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
	overflow: hidden;
	margin-bottom: 40px;
}

.photography-video-link {
	position: relative;
	display: block;
	width: 100%;
	border-radius: 0.8rem;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.photography-video-link video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1720 / 800;
	object-fit: cover;
	filter: grayscale(100%);
	transition: filter 0.35s ease, transform 0.35s ease;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.photography-video-link:hover video {
	filter: grayscale(0%);
	transform: scale(1.01);
}

.video-caption {
	position: absolute;
	left: 1.2rem;
	bottom: 1.2rem;
	z-index: 2;
	/* max-width: min(560px, 72%);
	padding: 1rem 1.15rem;
	border-radius: 0.9rem;
	background: linear-gradient(180deg, rgba(15, 15, 20, 0.10), rgba(15, 15, 20, 0.60));
	color: #ffffff;
	backdrop-filter: blur(8px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); */
	text-align: left;
	mix-blend-mode: difference;
}

.video-caption h3 {
	font-size: 3rem;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 0.35rem;

}

.video-caption p {
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 640px) {
	.photography-video-shell {
		padding: 0.8rem;
		border-radius: 1rem;
	}

	.video-caption {
		left: 1rem;
		bottom: 1rem;
		max-width: 85%;
		padding: 0.8rem 0.9rem;
	}

	.video-caption h3 {
		font-size: 1.15rem;
	}

	.video-caption p {
		font-size: 0.9rem;
	}
}

/* Responsive */
@media (max-width: 980px) {
	/* section.photography — no min-height override needed */

	.photo-scroll-stage {
		padding: 2.2rem 4%;
	}

	.photography-container {
		border-radius: 1.36rem;
		padding: 1.28rem 0.96rem 1.44rem;
	}

	.photo-panel {
		flex-basis: clamp(136px, 29vw, 224px);
		height: clamp(240px, 56vh, 416px);
	}

	.photo-panel:hover {
		flex-basis: clamp(176px, 40vw, 288px);
	}
}

@media (max-width: 480px) {
	/* section.photography — no min-height override needed */

	.photography-title {
		font-size: clamp(1.6rem, 11vw, 2.72rem);
	}

	.photography-subtitle {
		margin-bottom: 0.8rem;
	}

	.photo-gallery-shell {
		padding: 0.64rem;
		border-radius: 0.88rem;
	}

	.photo-panel {
		flex-basis: clamp(120px, 41vw, 176px);
		height: clamp(208px, 48vh, 336px);
		border-radius: 0.8rem;
	}

	.photo-panel:hover {
		flex-basis: clamp(136px, 52vw, 240px);
	}
}



/* ── CONTACT SECTION ─────────────────────────────────────────────── */
.contact {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0a0a15;
  overflow: hidden;
  padding: clamp(6rem, 8vw, 8rem) 5% clamp(4rem, 6vw, 6rem);
}

section.contact {
	background: linear-gradient(rgba(28, 28, 35, 0.8), rgba(10, 10, 21, 0.8)), url('assets/img/contact-bg.jpg') center/cover no-repeat;
}

.contact-container {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8rem;
  align-items: center;
}

/* Contact Left Content */
.contact-left {
  padding-right: 2rem;
}

.contact-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(90deg, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 3.5rem;
  max-width: 480px;
}

.contact-info {
  margin-bottom: 4rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-item i {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.info-item:hover i {
  background: #3b82f6;
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.info-text span {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.info-text a {
  font-size: 1.2rem;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.info-text a:hover {
  color: #3b82f6;
}

.contact-socials p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-links {
  display: flex;
  gap: 1.2rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #94a3b8;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.social-links a:hover {
  background: #ffffff;
  color: #0a0a15;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Form Styling - Glassmorphism */
.contact-form {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2.5rem;
  padding: 4rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.form-group {
  position: relative;
  margin-bottom: 2.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0 0.8rem;
  color: #ffffff;
  font-size: 1.1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group label {
  position: absolute;
  top: 1.5rem;
  left: 0;
  color: #64748b;
  font-size: 1.1rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: transparent;
}

/* Floating Label Animation */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -5px;
  font-size: 0.85rem;
  color: #3b82f6;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #93c5fd);
  transition: width 0.4s ease;
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
  width: 100%;
}

.form-group textarea {
  min-height: 120px;
  resize: none;
}

.submit-btn {
  width: 100%;
  background: #ffffff;
  color: #0a0a15;
  border: none;
  padding: 1.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.submit-btn i {
  font-size: 1.3rem;
  transition: transform 0.4s ease;
}

.submit-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
  background: #3b82f6;
  color: #ffffff;
}

.submit-btn:hover i {
  transform: translateX(5px) rotate(-10deg);
}

/* Responsive */
@media (max-width: 1200px) {
  .contact-container {
    gap: 4rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
}

@media (max-width: 1100px) {
  .contact {
    padding: 6rem 5%;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
  
  .contact-left {
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-subtitle {
    margin: 0 auto 3.5rem;
  }
  
  .info-item {
    justify-content: center;
    text-align: left;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .contact-title {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

  .contact-form {
    padding: 2.5rem 1.8rem;
    border-radius: 2rem;
  }

  .form-group {
    margin-bottom: 2rem;
  }
  
  .submit-btn {
    padding: 1.2rem;
  }
}

/* ── FOOTER SECTION ─────────────────────────────────────────────── */
.footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	color: rgba(255, 255, 255, 0.28);
	font-family: "Inter", sans-serif;
	font-size: 0.85rem;
	padding: 12px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer p {
	margin: 0;
}

.footer p:nth-child(2) {
	opacity: 0.8;
}

/* Responsive */
@media (max-width: 1100px) {
	.footer {
		flex-direction: column;
		text-align: center;
		padding: 10px 15px;
		font-size: 0.8rem;
	}

	.footer p:nth-child(1) {
		margin-bottom: 6px;
	}
}

@media (max-width: 640px) {
	.footer {
		padding: 8px 12px;
		font-size: 0.75rem;
	}
}

.contact-subtitle i {
  margin-right: 6px;
}