/*
 * Security-focus additions (competencies, current focus band, certifications)
 * plus a small hero-spacing fix.
 * Kept in a separate file so the original Reflex/Pixelarity main.css stays
 * untouched and no SCSS recompile is required.
 */

/* --- Hero spacing -------------------------------------------------------- */
/* The featured hero's inner has no max-width (unlike every other section,
   which caps at 72em) and the wrapper gets 0 horizontal padding above
   1280px, so on wide screens the avatar sits flush against the viewport
   edge. Cap the hero width so it stays a centred block with room on both
   sides, matching the rest of the page. */

#intro.wrapper.featured > .inner {
	max-width: 72em;
}

/* A little more breathing room above the portrait. Bumps only the intro's
   top padding, scaled per breakpoint so it stays in proportion with the
   template's responsive wrapper padding. */

#intro {
	padding-top: 11em;
}

@media screen and (max-width: 1280px) {
	#intro {
		padding-top: 9em;
	}
}

@media screen and (max-width: 736px) {
	#intro {
		padding-top: 6em;
	}
}

/* --- Competencies (icon row with visible labels) ------------------------- */

ul.competencies {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2em 2.75em;
	list-style: none;
	padding: 0;
	margin: 3.5em 0 0 0;
}

ul.competencies li {
	padding: 0;
	display: flex;
}

ul.competencies .icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 9.5em;
	text-align: center;
}

ul.competencies .icon:before {
	border: solid 1px;
	border-radius: 100%;
	width: 3.25em;
	height: 3.25em;
	line-height: 3.25em;
	display: inline-block;
	text-align: center;
	font-size: 1.75rem;
}

ul.competencies .label {
	display: block !important;
	margin-top: 0.9em;
	font-size: 0.9em;
	line-height: 1.4;
	letter-spacing: 0.075em;
}

/* --- Current Focus band -------------------------------------------------- */
/* Reuse style3's inverted text colours, but drop the exoplanet photo for a
   clean dark gradient that reads as "security" rather than "space". */

#current-focus.wrapper.style3 {
	background-image: linear-gradient(135deg, #4a4a4a 0%, #2e2e2e 100%);
	background-attachment: scroll;
}

#current-focus .focus-statement {
	max-width: 42em;
	margin-left: auto;
	margin-right: auto;
}

/* --- Certifications grid ------------------------------------------------- */

ul.certs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.75em;
	list-style: none;
	padding: 0;
	margin: 3em 0 0 0;
}

ul.certs > li {
	padding: 0;
	display: flex;
	width: 13em;
	max-width: 100%;
}

.cert {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	background: #ffffff;
	border: solid 1px rgba(86, 86, 86, 0.15);
	border-radius: 0.5rem;
	padding: 1.75em 1.25em;
	cursor: pointer;
	transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.cert:hover {
	transform: translateY(-0.35em);
	box-shadow: 0 0.75em 1.5em rgba(0, 0, 0, 0.1);
}

/* Make the whole card click-/tap-able: stretch the verify link over it.
   Keeps a single real <a> (no nested links) and full keyboard access. */
.cert-verify::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.cert-emblem {
	width: 7.5em;
	height: 7.5em;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1em;
}

.cert-emblem img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cert-name {
	font-weight: 500;
	color: #565656;
	line-height: 1.35;
}

.cert-meta {
	font-size: 0.8em;
	color: #8a8a8a;
	margin-top: 0.4em;
}

.cert-verify {
	display: inline-block;
	margin-top: 0.9em;
	font-size: 0.8em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-bottom: dotted 1px;
}

/* --- Off the clock: drone license ---------------- */
/* Deliberately understated: reduced band padding and muted text so it reads
   as a footnote, not a headline feature. */

#drone-license {
	padding-top: 3.5em;
	padding-bottom: 3.5em;
}

.drone-license {
	max-width: 40em;
	margin: 0 auto;
	text-align: center;
	color: #909090;
	font-size: 0.95em;
	line-height: 1.7;
}

/* Inline SVG drone glyph (Tabler Icons, MIT). Sized to the text and coloured
   via currentColor; a slightly thinner stroke keeps the light line look. */
.drone-license-icon {
	width: 1.4em;
	height: 1.4em;
	vertical-align: -0.32em;
	margin-right: 0.5em;
	color: #565656;
	stroke-width: 1.75;
}
