*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--bg:    #f5f0e8;
	--bg2:   #ede8de;
	--bg3:   #e2dbd0;
	--card:  #ffffff;
	--gold:  #a07840;
	--gold2: #c9a055;
	--text:  #2a2318;
	--text2: #5a4f3e;
	--muted: #9a8e7c;
	--border: rgba(160,120,64,0.18);
	--shadow: 0 4px 30px rgba(100,70,20,0.09);
}

html { scroll-behavior: smooth; }
body {
	background: var(--bg);
	color: var(--text);
	font-family: 'DM Sans', sans-serif;
	font-weight: 300;
	line-height: 1.7;
	overflow-x: hidden;
}

/* NAV */
nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	padding: 1.2rem 3rem;
	display: flex; justify-content: space-between; align-items: center;
	background: rgba(245,240,232,0.90);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
}
.nav-logo {
	font-family: 'Playfair Display', serif;
	font-size: 1.1rem; color: var(--gold);
	letter-spacing: 0.06em; text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
	color: var(--muted); text-decoration: none;
	font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
	transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

/* HERO */
#about {
	min-height: 100vh;
	display: flex; align-items: center; justify-content: center;
	position: relative; overflow: hidden;
	padding: 8rem 2rem 5rem;
}
.hero-bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 65% 55% at 75% 35%, rgba(201,160,85,0.14) 0%, transparent 60%),
		radial-gradient(ellipse 45% 50% at 15% 75%, rgba(160,120,64,0.09) 0%, transparent 55%);
}
.hero-grain {
	position: absolute; inset: 0; opacity: 0.025;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 200px 200px;
}
.hero-content {
	position: relative; text-align: center; max-width: 700px;
	animation: fadeUp 0.9s ease both;
}
.hero-eyebrow {
	font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
	color: var(--gold); margin-bottom: 1.5rem;
}
.hero-title {
	font-family: 'Playfair Display', serif;
	font-size: clamp(3.2rem, 9vw, 6.5rem);
	font-weight: 700; line-height: 1.05;
	color: var(--text); margin-bottom: 1rem;
}
.hero-divider {
	width: 56px; height: 2px;
	background: linear-gradient(90deg, transparent, var(--gold2), transparent);
	margin: 1.5rem auto;
}
.hero-sub { font-size: 1.05rem; color: var(--text2); letter-spacing: 0.03em; }
.hero-scroll {
	position: absolute; bottom: 2.5rem; left: 50%;
	transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
	color: var(--muted); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
	animation: bounce 2.2s ease infinite;
}
.hero-scroll::after {
	content: ''; width: 1px; height: 36px;
	background: linear-gradient(var(--gold2), transparent);
}

/* SECTION CHROME */
.section-label {
	font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase;
	color: var(--gold); margin-bottom: 0.6rem;
}
.section-title {
	font-family: 'Playfair Display', serif;
	font-size: clamp(1.9rem, 4vw, 2.9rem);
	font-weight: 400; color: var(--text); margin-bottom: 3.5rem;
}

/* PROJECTS */
#projects { padding: 7rem 2rem; max-width: 1140px; margin: 0 auto; }
.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.8rem;
}
.project-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 6px; overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	animation: fadeUp 0.8s ease both;
}
.project-card:nth-child(2) { animation-delay: 0.12s; }
.project-card:nth-child(3) { animation-delay: 0.24s; }
.project-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 52px rgba(100,70,20,0.16);
}
.card-img-wrap {
	width: 100%; aspect-ratio: 16/14;
	overflow: hidden; position: relative;
	background: var(--bg3);
}
.card-img-wrap img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform 0.5s ease;
}
.project-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-img-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--bg3) 0%, var(--bg2) 100%);
}
.card-img-placeholder svg { opacity: 0.3; }
.card-body { padding: 1.8rem 2rem 2.2rem; }
.card-tag {
	font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--gold); margin-bottom: 0.6rem;
}
.card-title {
	font-family: 'Playfair Display', serif;
	font-size: 1.35rem; font-weight: 400;
	color: var(--text); margin-bottom: 0.7rem; line-height: 1.3;
}
.card-desc { font-size: 0.88rem; color: var(--text2); margin-bottom: 1.6rem; line-height: 1.75; }
.card-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--gold); text-decoration: none;
	border-bottom: 1px solid rgba(160,120,64,0.35); padding-bottom: 2px;
	transition: gap 0.2s, border-color 0.2s;
}
.card-link:hover { gap: 0.85rem; border-color: var(--gold); }
.card-link::after { content: '→'; }
.card-link-soon {
	display: inline-flex; align-items: center; gap: 0.4rem;
	font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--muted);
	border-bottom: 1px solid rgba(150,140,120,0.2); padding-bottom: 2px;
}

/* CONTACT */
#contact {
	background: var(--bg2);
	border-top: 1px solid var(--border);
	padding: 6rem 2rem 5rem;
}
.contact-inner { max-width: 780px; margin: 0 auto; }
.contact-inner .section-title { margin-bottom: 0.8rem; }
.contact-sub { color: var(--text2); margin-bottom: 3rem; font-size: 0.95rem; }
.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 2.2rem;
}
.contact-item-label {
	font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--gold); margin-bottom: 0.45rem;
}
.contact-item a, .contact-item p {
	color: var(--text2); text-decoration: none; font-size: 0.9rem;
	transition: color 0.2s; line-height: 1.6;
}
.contact-item a:hover { color: var(--gold); }
.insta-link { display: inline-flex; align-items: center; gap: 0.45rem; }
.insta-icon { width: 15px; height: 15px; flex-shrink: 0; }

/* FOOTER */
footer {
	background: var(--bg); border-top: 1px solid var(--border);
	padding: 2rem; text-align: center;
}
.footer-links {
	display: flex; justify-content: center; gap: 2rem;
	list-style: none; margin-bottom: 0.8rem; flex-wrap: wrap;
}
.footer-links a {
	color: var(--muted); text-decoration: none;
	font-size: 0.8rem; letter-spacing: 0.06em; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.74rem; color: var(--muted); }

/* MODAL */
.modal-overlay {
	display: none; position: fixed; inset: 0;
	background: rgba(42,35,24,0.55);
	z-index: 200; align-items: center; justify-content: center;
	padding: 2rem; backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; }
.modal-box {
	background: var(--card); border: 1px solid var(--border); border-radius: 6px;
	max-width: 720px; width: 100%; max-height: 80vh; overflow-y: auto;
	padding: 3rem; box-shadow: 0 30px 80px rgba(100,70,20,0.18);
}
.modal-box h2 {
	font-family: 'Playfair Display', serif;
	font-size: 1.6rem; font-weight: 400; margin-bottom: 1.5rem; color: var(--text);
}
.modal-box h3 {
	font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--gold); margin: 2rem 0 0.5rem;
}
.modal-box p, .modal-box li { font-size: 0.85rem; color: var(--text2); line-height: 1.75; }
.modal-box ul { padding-left: 1.2rem; }
.modal-close {
	background: none; border: 1px solid var(--border);
	color: var(--text2); padding: 0.6rem 1.6rem; cursor: pointer;
	font-family: 'DM Sans', sans-serif; font-size: 0.78rem;
	letter-spacing: 0.1em; text-transform: uppercase;
	margin-top: 2rem; border-radius: 3px; transition: border-color 0.2s, color 0.2s;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }

/* ANIMATIONS */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(22px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50%       { transform: translateX(-50%) translateY(7px); }
}
@media (max-width: 620px) {
	nav { padding: 1rem 1.4rem; }
	.nav-links { gap: 1rem; }
}