/* Custom additions - kept separate from main.css so they survive a Sass rebuild */

/* Logo: this used to be a global "img { margin-top: 12px }" rule that also shifted every gallery image */
#header #logo { margin: 0; }
#header #logo img { margin-top: 12px; display: block; }

/* Balanced headline wrapping (no orphaned "it") */
h1, h2, h3 { text-wrap: balance; }
.gallery img { height: auto; }

/* Skills chips */
.skills { list-style: none; margin: 0 0 1em 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5em; }
.skills li { margin: 0; padding: 0.2em 0.5em; border-radius: 2em; font-size: 0.85em; line-height: 1.0;
	background: #f2f4f6; color: #3c454b; border: 1px solid #dde1e4; }

/* Accessibility */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10001; background: #fff; color: #3c454b; padding: 0.75em 1em; }
.skip-link:focus { left: 0.5em; top: 0.5em; }
a:focus-visible, .button:focus-visible { outline: 3px solid #4aa3ff; outline-offset: 3px; }
html { scroll-padding-top: 3em; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media screen and (max-width: 736px) {
	.skills { justify-content: center; }
}

/* "What I Do": less white space at the top and bottom of the box (desktop/tablet) */
@media screen and (min-width: 737px) {
	#one .box.style2 { padding-top: 1.25em; padding-bottom: 1.25em; }
}
