:root {
	color-scheme: dark;
	--background: #101311;
	--surface: #1a1e1b;
	--text: #f0efe6;
	--muted: #a7ada5;
	--accent: #c9ef81;
	--line: #323932;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #101311; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.container { width: min(100% - 96px, 1260px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 10px 16px; color: #101311; background: var(--accent); }
.skip-link:focus { top: 16px; }

.site-header { border-bottom: 2px solid #71846c; }
.header-inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; font-size: 11px; font-weight: 400; letter-spacing: .13em; line-height: 1.4; }
.brand img { width: 43px; height: 54px; object-fit: contain; }
.brand strong { font-weight: 750; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .17em; }
nav { display: flex; align-items: center; gap: 42px; font-size: 13px; font-weight: 600; }
nav a:not(.nav-contact):hover, nav a[aria-current="page"] { color: var(--accent); }
.nav-contact { border: 1px solid #5b6258; padding: 11px 17px; }
.nav-contact span { margin-left: 14px; color: var(--accent); }
.nav-contact:hover { border-color: var(--accent); }

.hero { min-height: 605px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 50px; padding-block: 90px 110px; }
.eyebrow { margin: 0 0 25px; color: #c9cfc5; font-size: 10px; font-weight: 700; letter-spacing: .17em; line-height: 1.5; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--accent); vertical-align: 1px; box-shadow: 0 0 12px #c9ef81; }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .post-header h1 { margin-bottom: 27px; font-size: clamp(52px, 6.4vw, 91px); line-height: 1.02; letter-spacing: -.065em; font-weight: 650; }
.hero h1 span { color: var(--accent); }
.hero-intro, .section-description, .blog-header > p:last-child, .post-intro { max-width: 470px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 37px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 52px; padding: 14px 19px; font-size: 12px; font-weight: 700; }
.button-primary { background: var(--accent); color: #141a10; }
.button-primary:hover { background: #e0ffab; }
.text-link { font-size: 13px; font-weight: 700; }
.text-link span { display: inline-block; margin-left: 12px; color: var(--accent); transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.hero-art { position: relative; width: 100%; max-width: 475px; aspect-ratio: 1; justify-self: end; display: grid; place-items: center; overflow: hidden; background: #202a20; border: 1px solid #344231; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; background: #465345; opacity: .6; }
.hero-art::before { width: 1px; height: 100%; left: 50%; }
.hero-art::after { height: 1px; width: 100%; top: 50%; }
.art-orbit { position: absolute; border: 1px solid #718a65; border-radius: 50%; }
.orbit-one { width: 76%; height: 76%; }
.orbit-two { width: 56%; height: 56%; border-style: dashed; opacity: .75; }
.art-center { z-index: 1; display: grid; place-items: center; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); box-shadow: 0 0 70px #b4e97933; }
.art-center img { width: 44%; }
.art-label { position: absolute; z-index: 1; color: #b7c8aa; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.art-label-top { top: 22px; left: 23px; }
.art-label-bottom { bottom: 21px; right: 23px; }
.art-label-bottom span { margin-left: 12px; color: var(--accent); }
.art-cross { position: absolute; top: 17%; right: 20%; color: var(--accent); font-size: 22px; }

.section { padding-block: 110px; }
.section-number { color: var(--accent); margin-right: 8px; }
.section h2, .site-footer h2 { margin-bottom: 0; font-size: clamp(38px, 4vw, 56px); font-weight: 600; letter-spacing: -.05em; line-height: 1.1; }
.accent { color: var(--accent); }
.writing-section { background: #1a201a; }
.writing-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.writing-layout .section-description { margin: 24px 0; }
.writing-list, .blog-list { border-top: 1px solid #434c40; }
.writing-item { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0; border-bottom: 1px solid #434c40; }
.writing-item > span { color: var(--accent); }
.writing-date { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.writing-item h2, .writing-item h3 { margin: 7px 0 4px; font-size: 23px; line-height: 1.3; letter-spacing: -.03em; }
.writing-item p { margin: 0; color: var(--muted); font-size: 14px; }
.writing-item:hover h2, .writing-item:hover h3 { color: var(--accent); }
.empty-state { padding: 35px 0; color: var(--muted); font-size: 13px; }
.empty-icon { color: var(--accent); font-size: 26px; }
.empty-state p { margin: 10px 0 2px; color: var(--text); font-size: 19px; }

.blog-page, .post { min-height: 65vh; padding-block: 100px 120px; }
.blog-header { margin-bottom: 65px; }
.blog-list { max-width: 850px; }
.back-link { display: inline-block; margin-bottom: 60px; color: var(--accent); font-size: 13px; font-weight: 700; }
.post-header, .post-content { max-width: 760px; }
.post-header { margin-bottom: 55px; }
.post-header h1 { overflow-wrap: anywhere; }
.post-content { color: #cbd0c8; font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.post-content h2, .post-content h3 { margin-top: 2em; color: var(--text); line-height: 1.2; }
.post-content a { color: var(--accent); text-decoration: underline; }
.post-content img { height: auto; }
.post-content video { display: block; max-width: 100%; height: auto; }
.post-content pre {
	overflow-x: auto;
	margin: 0 0 1.5em;
	padding: 22px 24px;
	border: 1px solid #293629;
	background: #080b08;
	color: #9fc5a6;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	font-size: 15px;
	line-height: 1.7;
}
.post-content pre code { color: inherit; font: inherit; }
.post-content blockquote { margin-left: 0; padding-left: 20px; border-left: 2px solid var(--accent); }

.site-footer { border-top: 2px solid #71846c; padding-top: 105px; }
.footer-main { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 95px; }
.contact-intro { flex: 1; min-width: 0; }
.contact-intro .button { margin-top: 27px; }
.footer-links { display: flex; flex-direction: column; min-width: 200px; gap: 13px; padding-top: 5px; }
.footer-links .eyebrow { margin-bottom: 12px; }
.footer-links a { display: flex; justify-content: space-between; gap: 25px; font-size: 13px; }
.footer-links a > span:last-child { color: var(--accent); }
.social-label { display: inline-flex; align-items: center; gap: 10px; }
.social-label .fab { width: 18px; font-size: 18px; text-align: center; }
.orcid-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #a6ce39; color: #fff; font-size: 10px; font-weight: 700; line-height: 1; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .1em; }

@media (max-width: 800px) {
	.container { width: min(100% - 48px, 1260px); }
	.header-inner { min-height: 86px; }
	nav { gap: 20px; }
	.hero { min-height: 0; grid-template-columns: 1fr 1fr; gap: 30px; padding-block: 75px; }
	.hero h1 { font-size: clamp(44px, 7vw, 65px); }
	.hero-intro { font-size: 15px; }
	.hero-actions { flex-wrap: wrap; gap: 20px; }
	.writing-layout { gap: 45px; }
	.section { padding-block: 80px; }
}
@media (max-width: 600px) {
	.container { width: min(100% - 36px, 1260px); }
	.header-inner { flex-wrap: wrap; padding-block: 14px; gap: 12px; }
	.brand img { width: 34px; height: 42px; }
	.brand { font-size: 9px; }
	.brand small { font-size: 8px; }
	nav { gap: 16px; font-size: 12px; }
	.nav-contact { padding: 8px 10px; }
	.nav-contact span { margin-left: 4px; }
	.hero { grid-template-columns: 1fr; padding-block: 65px; }
	.hero-art { max-width: none; margin-top: 15px; }
	.writing-layout { grid-template-columns: 1fr; }
	.writing-layout { gap: 35px; }
	.blog-page, .post { padding-block: 70px 90px; }
	.footer-main { flex-direction: column; padding-bottom: 65px; }
	.footer-links { max-width: 240px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}
