@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
	/* monochrome only — black, white and greys.
	   hierarchy comes from lightness, weight and fill, never from hue.
	   --accent is pure white: it reads as emphasis because body copy
	   sits at --text-dim, not because it is a different colour. */
	--bg: #0a0a0a;
	--bg-elev: #151515;
	--surface: rgba(255, 255, 255, 0.04);
	--surface-hover: rgba(255, 255, 255, 0.075);
	--border: rgba(255, 255, 255, 0.09);
	--border-strong: rgba(255, 255, 255, 0.18);
	--text: #e8e8e8;
	--text-dim: #9e9e9e;
	--text-muted: #7d7d7d;
	--accent: #ffffff;
	--accent-2: #b8b8b8;
	--accent-soft: rgba(255, 255, 255, 0.07);
	--accent-glow: rgba(255, 255, 255, 0.16);
	--success: #ffffff;
	/* text placed on top of a solid white fill */
	--on-accent: #0a0a0a;
	--radius: 14px;
	--radius-lg: 22px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
	--sans: "Inter", system-ui, sans-serif;
	--display: "Space Grotesk", sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--sans);
	background: var(--bg);
	color: var(--text);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	position: relative;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background:
		radial-gradient(55vw 55vw at 10% 6%, rgba(255, 255, 255, 0.055), transparent 60%),
		radial-gradient(45vw 45vw at 92% 18%, rgba(255, 255, 255, 0.035), transparent 60%),
		radial-gradient(70vw 70vw at 50% 115%, rgba(255, 255, 255, 0.03), transparent 60%);
	z-index: -2;
	pointer-events: none;
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
	z-index: -1;
	pointer-events: none;
}

p {
	color: var(--text-dim);
}

a {
	color: var(--text);
	text-decoration: none;
	transition: color 250ms var(--ease);
}

a:hover {
	color: var(--accent);
}

.mono {
	font-family: var(--mono);
	font-weight: 500;
}

/* ---------- NAV ---------- */

nav,
.nav-links {
	display: flex;
}

nav {
	justify-content: space-between;
	align-items: center;
	height: 72px;
	padding: 0 3rem;
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(16px) saturate(160%);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	background: rgba(10, 10, 10, 0.6);
	border-bottom: 1px solid var(--border);
}

.nav-links {
	gap: 2rem;
	list-style: none;
	font-family: var(--mono);
	font-size: 0.85rem;
	font-weight: 500;
}

.nav-links a {
	color: var(--text-dim);
	position: relative;
	padding: 4px 0;
	display: inline-flex;
	gap: 0.4rem;
	align-items: baseline;
}

.nav-num {
	color: var(--accent);
	font-size: 0.78rem;
}

.nav-links a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -3px;
	height: 1px;
	width: 0;
	background: var(--accent);
	transition: width 300ms var(--ease);
}

.nav-links a:hover {
	color: var(--text);
}

.nav-links a:hover::after {
	width: 100%;
}

.logo {
	font-family: var(--mono);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--text);
	display: flex;
	align-items: center;
}

.logo-accent {
	color: var(--accent);
}

.logo-cursor {
	color: var(--accent);
	margin-left: 2px;
	animation: blink 1s steps(2) infinite;
}

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

.logo:hover {
	cursor: default;
}

#hamburger-nav {
	display: none;
}

.hamburger-menu {
	position: relative;
	display: inline-block;
}

.hamburger-icon {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 20px;
	width: 26px;
	cursor: pointer;
}

.hamburger-icon span {
	width: 100%;
	height: 2px;
	background-color: var(--text);
	border-radius: 2px;
	transition: all 0.3s ease-in-out;
}

.menu-links {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	background: var(--bg-elev);
	border: 1px solid var(--border);
	border-radius: 12px;
	width: 220px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s var(--ease);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	font-family: var(--mono);
}

.menu-links a {
	display: block;
	padding: 12px 18px;
	font-size: 0.9rem;
	color: var(--text-dim);
}

.menu-links a:hover {
	color: var(--accent);
	background: var(--surface-hover);
}

.menu-links li {
	list-style: none;
}

.menu-links.open {
	max-height: 320px;
}

.hamburger-icon.open span:first-child {
	transform: rotate(45deg) translate(6px, 7px);
}

.hamburger-icon.open span:nth-child(2) {
	opacity: 0;
}

.hamburger-icon.open span:last-child {
	transform: rotate(-45deg) translate(6px, -7px);
}

/* ---------- SECTIONS ---------- */

section {
	padding: 7rem 3rem;
	margin: 0 auto;
	max-width: 1180px;
	box-sizing: border-box;
	min-height: fit-content;
	scroll-margin-top: 90px;
}

.section-label {
	font-family: var(--mono);
	font-size: 0.85rem;
	color: var(--text-muted);
	text-transform: none;
	letter-spacing: 0;
}

.section-label .mono {
	color: var(--accent);
	margin-right: 0.35rem;
}

/* ---------- HERO ---------- */

#profile {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5rem;
	min-height: calc(100vh - 72px);
	padding: 4rem 3rem;
}

.section__pic-container {
	position: relative;
	height: 320px;
	width: 320px;
	flex-shrink: 0;
}

.section__pic-container::before {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	background: conic-gradient(from 180deg, var(--accent), var(--text-muted), var(--accent));
	filter: blur(22px);
	opacity: 0.3;
	z-index: -1;
	animation: spin 10s linear infinite;
}

.section__pic-container img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--border-strong);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.section__text {
	max-width: 560px;
	text-align: left;
}

#profile .section__text p {
	text-align: left;
}

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.4rem 0.85rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 0.78rem;
	color: var(--success);
	margin-bottom: 1.5rem;
}

.status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--success);
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); }
	70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.section__text p {
	font-weight: 400;
	color: var(--text-dim);
	font-size: 1rem;
}

.section__text__p1 {
	font-family: var(--mono);
	font-size: 0.9rem;
	color: var(--text-muted);
	margin-bottom: 0.85rem;
}

.section__text__p1 .mono {
	color: var(--accent);
}

.section__text__p2 {
	font-size: 1.05rem;
	margin-bottom: 1.75rem;
	line-height: 1.65;
	color: var(--text-dim);
	max-width: 520px;
}

/* emphasis span — works anywhere, so blurbs outside the hero and the
   about box get the same treatment instead of rendering flat */
.hl {
	color: var(--text);
	font-weight: 600;
}

.inline-link {
	color: var(--accent);
	border-bottom: 1px dashed var(--accent);
	padding-bottom: 1px;
}

.inline-link:hover {
	color: var(--accent-2);
	border-bottom-color: var(--accent-2);
}

.title {
	font-family: var(--display);
	font-size: clamp(2.75rem, 6vw, 4.5rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.035em;
	color: var(--text);
	margin-bottom: 0.5rem;
}

.subtitle {
	font-family: var(--display);
	font-size: clamp(1.5rem, 3.2vw, 2.25rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}

section:not(#profile) > .title {
	text-align: center;
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin-bottom: 3rem;
	background: linear-gradient(135deg, #ffffff 0%, #8a8a8a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

section:not(#profile) > .section__text__p1 {
	text-align: center;
	margin-bottom: 0.5rem;
}

/* ---------- TAGS / PILLS ---------- */

.tech-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.75rem;
}

.tag {
	font-family: var(--mono);
	font-size: 0.78rem;
	font-weight: 500;
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	background: var(--accent-soft);
	color: #cfcfcf;
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: all 200ms var(--ease);
}

.tag:hover {
	background: rgba(255, 255, 255, 0.11);
	border-color: rgba(255, 255, 255, 0.24);
	color: var(--text);
}

.tag-sm {
	font-size: 0.72rem;
	padding: 0.25rem 0.6rem;
}

/* ---------- SOCIALS ---------- */

#socials-container {
	display: flex;
	margin-top: 1.75rem;
	gap: 0.6rem;
}

.icon {
	cursor: pointer;
	/* the global `* { box-sizing: border-box }` would subtract the padding
	   from the 1.1rem box and collapse the glyph to zero width — these
	   dimensions describe the icon itself, so the padding must sit outside */
	box-sizing: content-box;
	height: 1.1rem;
	width: 1.1rem;
	padding: 0.6rem;
	border-radius: 10px;
	background: var(--surface);
	border: 1px solid var(--border);
	transition: all 250ms var(--ease);
	filter: invert(1) brightness(0.85);
}

.icon:hover {
	background: var(--surface-hover);
	border-color: var(--accent);
	transform: translateY(-2px);
	filter: invert(1) brightness(1);
}

/* ---------- BUTTONS ---------- */

.btn-container {
	display: flex;
	gap: 0.75rem;
	margin-top: 0.5rem;
	flex-wrap: wrap;
}

.btn {
	font-family: var(--mono);
	font-weight: 500;
	font-size: 0.85rem;
	transition: all 250ms var(--ease);
	padding: 0.85rem 1.5rem;
	border-radius: 10px;
	cursor: pointer;
	border: 1px solid var(--border-strong);
	background: var(--surface);
	color: var(--text);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.btn:hover {
	background: var(--surface-hover);
	border-color: var(--text-dim);
	transform: translateY(-1px);
}

/* inline glyph inside a button — scales with the label, inherits its colour */
.btn-icon {
	width: 1.05em;
	height: 1.05em;
	flex-shrink: 0;
}

.btn-arrow {
	transition: transform 250ms var(--ease);
}

.btn:hover .btn-arrow {
	transform: translateX(3px);
}

.btn-color-1 {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--on-accent);
	box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.btn-color-1:hover {
	background: #d8d8d8;
	border-color: #d8d8d8;
	box-shadow: 0 14px 40px -8px var(--accent-glow);
}

.btn-color-2 {
	background: transparent;
}

/* anchors styled as buttons must not inherit the global a:hover accent */
a.btn,
a.btn:hover {
	color: var(--text);
}

a.btn.btn-color-1,
a.btn.btn-color-1:hover {
	color: var(--on-accent);
}

.btn-ghost {
	background: transparent;
	border-color: transparent;
	color: var(--text-muted);
}

a.btn-ghost {
	color: var(--text-muted);
}

.btn-ghost:hover,
a.btn-ghost:hover {
	background: var(--surface);
	border-color: var(--border);
	color: var(--text);
}

/* ---------- ABOUT ---------- */

.about-containers {
	display: flex;
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.about-details-container {
	display: flex;
	justify-content: center;
	flex-direction: column;
	gap: 0.5rem;
}

.details-container {
	padding: 1.75rem;
	flex: 1;
	background: var(--surface);
	border-radius: var(--radius);
	border: 1px solid var(--border);
	text-align: center;
	transition: all 300ms var(--ease);
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
}

.details-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
	opacity: 0;
	transition: opacity 300ms var(--ease);
}

.details-container:hover {
	background: var(--surface-hover);
	border-color: var(--border-strong);
	transform: translateY(-4px);
}

.details-container:hover::before {
	opacity: 1;
}

.details-container h3 {
	font-family: var(--display);
	font-size: 1.05rem;
	font-weight: 600;
	margin-top: 0.75rem;
	margin-bottom: 0.35rem;
	color: var(--text);
	letter-spacing: -0.01em;
}

.details-container p {
	font-size: 0.88rem;
	color: var(--text-dim);
}

.details-container .icon {
	height: 1.5rem;
	width: 1.5rem;
	padding: 0.75rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
	border-color: var(--border-strong);
}

.svg-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: var(--accent);
	margin: 0 auto 0.25rem;
	transition: all 300ms var(--ease);
	box-shadow: 0 6px 20px -10px var(--accent-glow);
}

.svg-icon svg {
	width: 24px;
	height: 24px;
}

.details-container:hover .svg-icon {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
	border-color: var(--border-strong);
	color: var(--accent);
	transform: translateY(-2px);
}

.details-container:hover .icon {
	transform: none;
}

.text-container {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem 2.25rem;
	margin-bottom: 1.5rem;
	backdrop-filter: blur(10px);
	position: relative;
}

.text-container::before {
	content: "// about";
	position: absolute;
	top: -10px;
	left: 1.5rem;
	font-family: var(--mono);
	font-size: 0.75rem;
	color: var(--accent);
	background: var(--bg);
	padding: 0 0.5rem;
}

.text-container p {
	color: var(--text-dim);
	font-size: 0.98rem;
	line-height: 1.75;
}

.text-container p + p {
	margin-top: 1rem;
}

/* ---------- EXPERIENCE / TIMELINE ---------- */

.experience-details-container {
	display: flex;
	justify-content: center;
	flex-direction: column;
	margin-top: 1rem;
}

.experience-details-container > .btn-container {
	justify-content: center;
	margin-bottom: 2.5rem;
}

.timeline {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	position: relative;
}

.timeline-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.timeline-content {
	width: 45%;
	padding: 1.25rem 1.5rem;
}

.role-date {
	font-family: var(--mono);
	font-size: 0.72rem;
	color: var(--text-muted);
	letter-spacing: 0.04em;
	display: inline-block;
	margin-bottom: 0.5rem;
}

.role-date.current {
	color: var(--success);
}

.timeline-content h3 {
	font-family: var(--display);
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--text);
	margin-bottom: 0.2rem;
}

.timeline-content p {
	color: var(--text-dim);
	font-family: var(--mono);
	font-size: 0.85rem;
	font-weight: 500;
	margin-bottom: 0.75rem;
}

.role-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.left {
	text-align: right;
}

.left .role-tags {
	justify-content: flex-end;
}

.right {
	text-align: left;
}

.timeline-marker {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 10%;
}

/* past roles sit at mid-grey so the current one reads as current
   on lightness alone, now that the green is gone */
.circle {
	width: 11px;
	height: 11px;
	background: var(--text-muted);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
	flex-shrink: 0;
}

.circle.current {
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 0 18px rgba(255, 255, 255, 0.35);
	animation: pulse 2s infinite;
}

.line {
	width: 1px;
	height: 110px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.28), transparent);
	flex-grow: 1;
}

.timeline-row:last-child .line {
	display: none;
}

input[type="radio"] {
	display: none;
}

input[type="radio"]:checked + label {
	background: var(--accent);
	color: var(--on-accent);
	border-color: var(--accent);
	box-shadow: 0 10px 30px -10px var(--accent-glow);
}

label {
	font-family: var(--mono);
	font-weight: 500;
	font-size: 0.85rem;
	transition: all 250ms var(--ease);
	padding: 0.75rem 1.5rem;
	border-radius: 10px;
	text-align: center;
	border: 1px solid var(--border-strong);
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
}

label:hover {
	background: var(--surface-hover);
}

.extracurricular-timeline {
	display: none;
}

/* ---------- PROJECTS ---------- */

#projects .about-containers {
	flex-wrap: wrap;
}

.color-container {
	background: var(--surface);
	border: 1px solid var(--border);
	overflow: hidden;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	text-align: left;
	min-width: 280px;
	flex: 1 1 280px;
}

.color-container:hover {
	border-color: var(--border-strong);
}

.article-container {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 10px;
	margin-bottom: 1rem;
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(ellipse at center, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
		var(--bg-elev);
	border: 1px solid var(--border);
	padding: 1.25rem;
	position: relative;
}

.article-container::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 24px 24px;
	pointer-events: none;
	opacity: 0.6;
}

.project-img {
	border-radius: 6px;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 400ms var(--ease);
	position: relative;
	z-index: 1;
	filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
}

.color-container:hover .project-img {
	transform: scale(1.04);
}

.project-meta {
	font-size: 0.72rem;
	color: var(--text-muted);
	letter-spacing: 0.04em;
	display: block;
	margin-bottom: 0.35rem;
}

.project-title {
	font-family: var(--display);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--text);
	margin: 0 0 0.85rem;
	letter-spacing: -0.01em;
}

.color-container .role-tags {
	margin-bottom: 1.25rem;
}

.color-container .btn-container {
	margin-top: auto;
}

.project-link {
	font-family: var(--mono);
	font-size: 0.85rem;
	color: var(--accent);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding-top: 0.5rem;
	border-top: 1px dashed var(--border-strong);
	width: 100%;
}

.project-link:hover {
	color: var(--accent-2);
}

.link-arrow {
	transition: transform 250ms var(--ease);
}

.project-link:hover .link-arrow {
	transform: translateX(4px);
}

.project-link.no-link {
	color: var(--text-muted);
	cursor: default;
	pointer-events: none;
}

.more-soon {
	text-align: center;
	color: var(--text-muted);
	margin-top: 2rem;
	font-size: 0.85rem;
}

/* ---------- PROJECT GROUPS (vertical bands) ---------- */

.project-group {
	margin-bottom: 3.25rem;
}

.project-group:last-of-type {
	margin-bottom: 0;
}

/* grid rather than flex-wrap: a band whose last row holds a single card
   must keep that card one column wide, not stretch it across the row.
   auto-fit still lets a 2-card band fill the full width. */
.project-group .about-containers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
	gap: 1.25rem;
	align-items: stretch;
}

.project-group .color-container {
	min-width: 0;
}

.project-group-label {
	font-family: var(--mono);
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--text);
	letter-spacing: 0.02em;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.6rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--border);
}

.project-group-label .mono {
	color: var(--accent);
}

.group-note {
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--text-muted);
	margin-left: auto;
}

.color-container .project-pitch {
	font-size: 0.86rem;
	line-height: 1.6;
	color: var(--text-dim);
	margin-bottom: 0.9rem;
}

/* ---------- PROJECT METRICS ---------- */
/* no cards use these right now — kept ready so adding a real figure to a
   project is just an <li> inside a <ul class="project-metrics">, e.g.
   <li><span class="metric-val">48k</span> app installs</li> */

.project-metrics {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0 0 1.1rem;
}

.project-metrics li {
	display: flex;
	align-items: baseline;
	gap: 0.45rem;
	font-size: 0.85rem;
	line-height: 1.4;
	color: var(--text-dim);
}

.project-metrics li::before {
	content: "\25B8";
	color: var(--accent);
	font-size: 0.7rem;
	flex-shrink: 0;
}

.metric-val {
	font-family: var(--display);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text);
}

.color-container .btn-container {
	flex-direction: column;
	gap: 0.35rem;
}

.project-link-sub {
	font-size: 0.76rem;
	color: var(--text-muted);
	border-top: none;
	padding-top: 0;
}

.project-link-sub:hover {
	color: var(--text-dim);
}

/* ---------- SERVICES ---------- */

.services-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin-top: 1rem;
}

.service-card {
	flex: 1 1 300px;
	min-width: 280px;
	display: flex;
	flex-direction: column;
	text-align: left;
	padding: 2rem 1.75rem;
}

.service-num {
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	color: var(--accent);
}

.service-card .service-title {
	font-family: var(--display);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--text);
	margin: 0.4rem 0 0.75rem;
}

.service-card .service-desc {
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--text-dim);
	margin-bottom: 1.1rem;
}

.service-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}

.service-list li {
	position: relative;
	padding-left: 1.15rem;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--text-dim);
}

.service-list li::before {
	content: "\2014";
	position: absolute;
	left: 0;
	color: var(--accent);
}

.service-card .service-best {
	font-size: 0.82rem;
	color: var(--text-muted);
	margin-bottom: 1.25rem;
}

.service-best .mono {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--accent);
	margin-right: 0.45rem;
}

.service-foot {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.service-price {
	font-family: var(--display);
	font-size: 1rem;
	font-weight: 600;
	color: var(--text);
}

.service-foot .project-link {
	border-top: none;
	padding-top: 0;
}

.service-card-featured {
	border-color: rgba(255, 255, 255, 0.24);
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), var(--surface));
}

.service-card-featured:hover {
	border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- CONTACT ---------- */

#contact {
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding-bottom: 4rem;
}

.contact-blurb {
	text-align: center;
	max-width: 500px;
	margin: -1.5rem auto 2.5rem;
	color: var(--text-dim);
	font-size: 1rem;
}

.contact-cta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.contact-info-upper-container {
	display: flex;
	justify-content: center;
	gap: 1rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--surface);
	margin: 0 auto;
	padding: 1rem 1.5rem;
	backdrop-filter: blur(10px);
	/* wide enough to hold email + whatsapp + linkedin on one row;
	   below ~880px they wrap, and the 768px query stacks them */
	max-width: 900px;
	flex-wrap: wrap;
}

.contact-info-container {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
}

.contact-info-container p {
	font-family: var(--mono);
	font-size: 0.9rem;
	color: var(--text-dim);
}

.contact-info-container a {
	color: var(--text);
}

.contact-info-container a:hover {
	color: var(--accent);
}

.contact-icon {
	cursor: default;
	height: 1.1rem;
	width: 1.1rem;
	padding: 0.5rem;
}

/* matches the .icon tile, but for an inline SVG — no invert filter needed
   since the glyph already draws in currentColor */
.contact-icon-svg {
	box-sizing: content-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 1.1rem;
	width: 1.1rem;
	padding: 0.5rem;
	border-radius: 10px;
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text);
	flex-shrink: 0;
}

.contact-icon-svg svg {
	width: 100%;
	height: 100%;
	display: block;
}

.email-icon {
	height: 1.1rem;
}

/* ---------- FOOTER ---------- */

footer {
	padding: 3rem 3rem 2rem;
	margin-top: 3rem;
	border-top: 1px solid var(--border);
	text-align: center;
}

footer nav {
	height: auto;
	padding: 0;
	background: transparent;
	border: none;
	backdrop-filter: none;
	position: static;
	justify-content: center;
	margin-bottom: 1.5rem;
}

footer p {
	text-align: center;
	color: var(--text-muted);
	font-size: 0.78rem;
}

/* ---------- MISC ---------- */

.image-container {
	display: flex;
	justify-content: center;
	align-items: center;
}

.image {
	width: 400px;
	height: 400px;
	object-fit: cover;
}

.arrow {
	position: absolute;
	bottom: 20px;
	right: 20px;
	height: 40px;
	cursor: pointer;
}

/* selection */
::selection {
	background: var(--accent);
	color: var(--on-accent);
}

/* scrollbar */
::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background: var(--bg);
}

::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.22);
	border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.38);
}
