:root {
	--navy: #0a1a2f;
	--navy-2: #0e2a4a;
	--ink: #0f1c2e;
	--muted: #5a6b80;
	--line: #e4eaf2;
	--bg: #ffffff;
	--bg-alt: #f5f8fc;
	--accent: #1d6ff2;
	--accent-dark: #1457c9;
	--accent-2: #0fb5a3;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 4px 14px rgba(15, 28, 46, 0.06);
	--shadow: 0 18px 45px rgba(15, 28, 46, 0.10);
	--font-head: "Sora", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.65;
	font-size: 16px;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	font-family: var(--font-head);
	line-height: 1.2;
	color: var(--ink);
	margin: 0 0 0.5em;
	font-weight: 700;
}

p {
	margin: 0 0 1rem;
}

a {
	color: var(--accent);
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

section[id] {
	scroll-margin-top: 80px;
}

.container {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--accent);
	color: #fff;
	padding: 10px 16px;
	z-index: 2000;
	border-radius: 0 0 8px 0;
}

.skip-link:focus {
	left: 0;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 13px 24px;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn i {
	font-size: 0.85em;
}

.btn-primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 10px 24px rgba(29, 111, 242, 0.30);
}

.btn-primary:hover {
	background: var(--accent-dark);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(29, 111, 242, 0.38);
}

.btn-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	transform: translateY(-2px);
}

.btn-block {
	width: 100%;
	justify-content: center;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0);
	transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(12px);
	box-shadow: 0 6px 24px rgba(15, 28, 46, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
}

.brand {
	display: inline-flex;
	align-items: center;
}

.brand img {
	height: 46px;
	width: auto;
	display: block;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 6px;
}

.primary-nav a {
	color: #fff;
	font-weight: 500;
	font-size: 0.95rem;
	padding: 9px 14px;
	border-radius: 999px;
	transition: color 0.2s ease, background 0.2s ease;
}

.site-header.scrolled .primary-nav a {
	color: var(--ink);
}

.primary-nav a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
}

.site-header.scrolled .primary-nav a:hover {
	color: var(--accent);
	background: rgba(29, 111, 242, 0.08);
}

.primary-nav a.nav-cta {
	background: var(--accent);
	color: #fff;
	font-weight: 600;
	padding: 10px 20px;
	margin-left: 8px;
}

.primary-nav a.nav-cta:hover {
	background: var(--accent-dark);
	color: #fff;
}

.nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 1.4rem;
	cursor: pointer;
	padding: 8px 10px;
}

.site-header.scrolled .nav-toggle {
	color: var(--ink);
}

.hero {
	position: relative;
	background: radial-gradient(1200px 600px at 15% -10%, #143b66 0%, transparent 60%), linear-gradient(160deg, #0a1a2f 0%, #0e2a4a 55%, #0b2138 100%);
	color: #fff;
	padding: 150px 0 70px;
	overflow: hidden;
}

.hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.5;
	pointer-events: none;
}

.hero-glow-a {
	width: 420px;
	height: 420px;
	background: rgba(29, 111, 242, 0.55);
	top: -120px;
	right: -80px;
}

.hero-glow-b {
	width: 360px;
	height: 360px;
	background: rgba(15, 181, 163, 0.35);
	bottom: -140px;
	left: -80px;
}

.hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 48px;
	align-items: center;
}

.hero-copy h1 {
	color: #fff;
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	margin: 14px 0 16px;
	letter-spacing: -0.02em;
}

.hero-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.78rem;
	font-weight: 600;
	color: #8fd0ff;
	margin: 0 0 4px;
}

.hero-lead {
	font-size: 1.08rem;
	color: #c8d6e8;
	max-width: 560px;
}

.hero-lead strong {
	color: #fff;
}

.badge-available {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: rgba(15, 181, 163, 0.14);
	border: 1px solid rgba(15, 181, 163, 0.45);
	color: #7ff0e0;
	font-size: 0.82rem;
	font-weight: 600;
	padding: 7px 16px;
	border-radius: 999px;
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent-2);
	box-shadow: 0 0 0 4px rgba(15, 181, 163, 0.25);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 26px 0 26px;
}

.hero-social {
	display: flex;
	gap: 12px;
}

.hero-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #d7e3f2;
	font-size: 1.05rem;
	transition: all 0.2s ease;
}

.hero-social a:hover {
	background: #fff;
	color: var(--navy);
	transform: translateY(-3px);
}

.hero-panel {
	display: flex;
	justify-content: flex-end;
}

.code-card {
	width: 100%;
	max-width: 460px;
	background: rgba(9, 22, 40, 0.82);
	border: 1px solid rgba(120, 160, 210, 0.25);
	border-radius: var(--radius);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	backdrop-filter: blur(6px);
}

.code-card-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(120, 160, 210, 0.18);
}

.code-card-bar span {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #ff5f57;
}

.code-card-bar span:nth-child(2) {
	background: #febc2e;
}

.code-card-bar span:nth-child(3) {
	background: #28c840;
}

.code-card-bar em {
	margin-left: 8px;
	font-style: normal;
	font-size: 0.78rem;
	color: #8ba3bd;
	font-family: var(--font-body);
}

.code-card pre {
	margin: 0;
	padding: 20px 22px;
	overflow-x: auto;
}

.code-card code {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 0.82rem;
	line-height: 1.75;
	color: #cfe0f2;
	white-space: pre;
}

.code-card .k {
	color: #7fd1ff;
}

.code-card .s {
	color: #9ff0c8;
}

.code-card .b {
	color: #ffb86b;
}

.stats {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 56px;
	padding: 26px 30px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius);
	backdrop-filter: blur(6px);
}

.stats li {
	text-align: center;
}

.stats strong {
	display: block;
	font-family: var(--font-head);
	font-size: 2rem;
	font-weight: 800;
	color: #fff;
}

.stats span {
	font-size: 0.85rem;
	color: #a9bdd4;
}

.section {
	padding: 90px 0;
}

.section-alt {
	background: var(--bg-alt);
}

.section-dark {
	background: linear-gradient(160deg, #0a1a2f 0%, #0e2a4a 100%);
	color: #dbe6f3;
}

.section-head {
	max-width: 680px;
	margin: 0 auto 54px;
	text-align: center;
}

.eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 12px;
}

.section-dark .eyebrow {
	color: #6fc0ff;
}

.section-head h2 {
	font-size: clamp(1.7rem, 3.6vw, 2.4rem);
	margin-bottom: 12px;
}

.section-sub {
	color: var(--muted);
	margin: 0;
}

.section-head-light h2 {
	color: #fff;
}

.section-head-light .section-sub {
	color: #a9bdd4;
}

.about-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 48px;
	align-items: start;
}

.about-text p {
	color: #35475c;
}

.check-list {
	margin-top: 22px;
	display: grid;
	gap: 12px;
}

.check-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	color: #35475c;
	font-size: 0.96rem;
}

.check-list i {
	color: var(--accent-2);
	margin-top: 5px;
	flex-shrink: 0;
}

.about-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 28px;
	box-shadow: var(--shadow-sm);
	text-align: center;
	position: sticky;
	top: 96px;
}

.avatar {
	width: 92px;
	height: 92px;
	margin: 0 auto 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-head);
	font-size: 2rem;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
	box-shadow: 0 12px 26px rgba(29, 111, 242, 0.35);
}

.about-card h3 {
	margin-bottom: 2px;
}

.about-role {
	color: var(--accent);
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 20px;
}

.info-list {
	text-align: left;
	display: grid;
	gap: 14px;
	margin-bottom: 24px;
}

.info-list li {
	display: flex;
	gap: 12px;
	align-items: center;
	font-size: 0.92rem;
	color: #35475c;
}

.info-list i {
	color: var(--accent);
	width: 18px;
	text-align: center;
}

.cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.service-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 28px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
	border-color: transparent;
}

.icon-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: rgba(29, 111, 242, 0.10);
	color: var(--accent);
	font-size: 1.4rem;
	margin-bottom: 18px;
}

.service-card h3 {
	font-size: 1.15rem;
}

.service-card p {
	color: var(--muted);
	font-size: 0.95rem;
	margin: 0;
}

.filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 40px;
}

.filter-btn {
	font-family: var(--font-body);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--muted);
	background: #fff;
	border: 1px solid var(--line);
	padding: 9px 20px;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.filter-btn:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.filter-btn.is-active {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	box-shadow: 0 8px 18px rgba(29, 111, 242, 0.28);
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.project-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.project-card.is-hidden {
	display: none;
}

.project-top {
	height: 108px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 2.3rem;
}

.grad-blue { background: linear-gradient(135deg, #1d6ff2, #0a3fb0); }
.grad-teal { background: linear-gradient(135deg, #0fb5a3, #0a7d72); }
.grad-violet { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.grad-indigo { background: linear-gradient(135deg, #4f46e5, #1e1b8a); }
.grad-amber { background: linear-gradient(135deg, #f59e0b, #b45309); }
.grad-rose { background: linear-gradient(135deg, #e11d48, #9f1239); }
.grad-cyan { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.grad-slate { background: linear-gradient(135deg, #475569, #1e293b); }
.grad-lime { background: linear-gradient(135deg, #65a30d, #3f6212); }
.grad-green { background: linear-gradient(135deg, #16a34a, #166534); }
.grad-orange { background: linear-gradient(135deg, #ea580c, #9a3412); }
.grad-steel { background: linear-gradient(135deg, #64748b, #334155); }
.grad-maroon { background: linear-gradient(135deg, #9d174d, #500724); }

.project-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.project-body h3 {
	font-size: 1.12rem;
	margin-bottom: 10px;
}

.project-body p {
	color: var(--muted);
	font-size: 0.92rem;
	flex: 1;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.tags li {
	font-size: 0.74rem;
	font-weight: 600;
	color: #33475f;
	background: var(--bg-alt);
	border: 1px solid var(--line);
	padding: 4px 11px;
	border-radius: 999px;
}

.tags-lg li {
	font-size: 0.82rem;
	padding: 6px 14px;
}

.timeline {
	position: relative;
	max-width: 860px;
	margin: 0 auto;
	padding-left: 34px;
}

.timeline::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	background: linear-gradient(180deg, var(--accent), var(--accent-2));
	opacity: 0.35;
}

.timeline-item {
	position: relative;
	padding-bottom: 34px;
}

.timeline-item:last-child {
	padding-bottom: 0;
}

.timeline-dot {
	position: absolute;
	left: -34px;
	top: 6px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--accent);
	box-shadow: 0 0 0 4px rgba(29, 111, 242, 0.12);
}

.timeline-content {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 26px;
	box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
	font-size: 1.08rem;
	margin-bottom: 12px;
}

.company {
	display: block;
	font-family: var(--font-body);
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--muted);
	margin-top: 3px;
}

.period {
	display: inline-block;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--accent);
	background: rgba(29, 111, 242, 0.09);
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
}

.timeline-content ul {
	display: grid;
	gap: 8px;
}

.timeline-content li {
	position: relative;
	padding-left: 18px;
	color: #35475c;
	font-size: 0.93rem;
}

.timeline-content li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent-2);
}

.edu-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 28px;
	margin-bottom: 60px;
}

.edu-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 30px;
	box-shadow: var(--shadow-sm);
}

.edu-card h3 {
	font-size: 1.2rem;
}

.edu-card p {
	color: var(--muted);
	margin: 0;
}

.edu-courses {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 30px;
	box-shadow: var(--shadow-sm);
}

.edu-courses h3 {
	font-size: 1.2rem;
	margin-bottom: 18px;
}

.course-list {
	display: grid;
	gap: 14px;
}

.course-list li {
	display: grid;
	grid-template-columns: 24px 1fr auto;
	gap: 12px;
	align-items: center;
	font-size: 0.95rem;
	color: #35475c;
	border-bottom: 1px dashed var(--line);
	padding-bottom: 14px;
}

.course-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.course-list i {
	color: var(--accent);
}

.course-list em {
	font-style: normal;
	font-size: 0.82rem;
	color: var(--muted);
	white-space: nowrap;
}

.skills-block h3 {
	text-align: center;
	font-size: 1.3rem;
	margin-bottom: 28px;
}

.skills-groups {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.skill-group {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 26px;
	box-shadow: var(--shadow-sm);
}

.skill-group h4 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1rem;
	margin-bottom: 16px;
}

.skill-group h4 i {
	color: var(--accent);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: 40px;
	align-items: start;
}

.contact-info {
	display: grid;
	gap: 16px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 16px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-sm);
	padding: 16px 18px;
	color: #dbe6f3;
	transition: background 0.2s ease, transform 0.2s ease;
}

a.contact-item:hover {
	background: rgba(255, 255, 255, 0.10);
	transform: translateX(4px);
}

.contact-item .icon-badge {
	margin: 0;
	width: 44px;
	height: 44px;
	font-size: 1.1rem;
	background: rgba(29, 111, 242, 0.22);
	color: #8fd0ff;
	flex-shrink: 0;
}

.contact-item strong {
	display: block;
	font-size: 0.82rem;
	color: #8ba3bd;
	font-weight: 600;
}

.contact-item span {
	font-size: 0.96rem;
}

.contact-form {
	background: #fff;
	border-radius: var(--radius);
	padding: 32px;
	box-shadow: var(--shadow);
	display: grid;
	gap: 18px;
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.field {
	display: grid;
	gap: 7px;
}

.field label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #33475f;
}

.field input,
.field textarea {
	font-family: var(--font-body);
	font-size: 0.95rem;
	color: var(--ink);
	background: var(--bg-alt);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
	width: 100%;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
	resize: vertical;
	min-height: 120px;
}

.field input:focus,
.field textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--accent);
	box-shadow: 0 0 0 4px rgba(29, 111, 242, 0.12);
}

.field input.invalid,
.field textarea.invalid {
	border-color: #e11d48;
	box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12);
}

.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-status {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	min-height: 1.2em;
}

.form-status.success {
	color: #0f9d6b;
}

.form-status.error {
	color: #e11d48;
}

.site-footer {
	background: #071322;
	color: #9fb2c8;
	padding: 56px 0 24px;
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr auto;
	gap: 32px;
	align-items: center;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
	height: 44px;
	width: auto;
	margin-bottom: 14px;
}

.footer-brand p {
	font-size: 0.9rem;
	max-width: 340px;
	margin: 0;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}

.footer-nav a {
	color: #c3d3e6;
	font-size: 0.9rem;
}

.footer-nav a:hover {
	color: #fff;
}

.footer-social {
	display: flex;
	gap: 12px;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #c3d3e6;
	transition: all 0.2s ease;
}

.footer-social a:hover {
	background: #fff;
	color: var(--navy);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 22px;
	flex-wrap: wrap;
}

.footer-bottom p {
	margin: 0;
	font-size: 0.84rem;
}

.to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 26px rgba(29, 111, 242, 0.38);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.25s ease;
	z-index: 900;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.to-top:hover {
	background: var(--accent-dark);
	color: #fff;
}

@media (max-width: 980px) {
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.hero-panel {
		justify-content: flex-start;
	}

	.about-grid,
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.about-card {
		position: static;
	}

	.cards-grid,
	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.edu-grid {
		grid-template-columns: 1fr;
	}

	.footer-inner {
		grid-template-columns: 1fr;
		text-align: left;
	}
}

@media (max-width: 760px) {
	.nav-toggle {
		display: inline-block;
	}

	.primary-nav {
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		background: #fff;
		padding: 16px 24px 22px;
		box-shadow: 0 18px 30px rgba(15, 28, 46, 0.12);
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: all 0.25s ease;
	}

	.primary-nav.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.primary-nav a,
	.site-header.scrolled .primary-nav a {
		color: var(--ink);
		padding: 12px 14px;
		border-radius: var(--radius-sm);
	}

	.primary-nav a:hover,
	.site-header.scrolled .primary-nav a:hover {
		background: var(--bg-alt);
		color: var(--accent);
	}

	.primary-nav a.nav-cta {
		margin: 8px 0 0;
		text-align: center;
	}

	.stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px;
	}

	.cards-grid,
	.projects-grid,
	.skills-groups {
		grid-template-columns: 1fr;
	}

	.field-row {
		grid-template-columns: 1fr;
	}

	.section {
		padding: 66px 0;
	}

	.hero {
		padding: 128px 0 56px;
	}
}

@media (max-width: 460px) {
	.course-list li {
		grid-template-columns: 24px 1fr;
	}

	.course-list em {
		grid-column: 2;
	}
}
