@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900");
@import url("fontawesome-all.min.css");

/* ==================================================
   Reset / Base
   ================================================== */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
	font-size: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	-webkit-text-size-adjust: none;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input,
select,
textarea {
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
}

/* ==================================================
   Base / Basic styles
   ================================================== */

html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

:root {
	--accent: #5ec2e8;
	/* brand accent */
}

body {
	background: #fff;
	overflow-x: hidden;
	/* allow vertical scroll, prevent horizontal overflow */
	overflow-y: auto;

	/* Respect device safe areas (notches, home indicators) */
	padding-left: max(0px, env(safe-area-inset-left));
	padding-right: max(0px, env(safe-area-inset-right));
	padding-top: max(0px, env(safe-area-inset-top));
	padding-bottom: max(0px, env(safe-area-inset-bottom));
}

body.is-preload *,
body.is-preload *:before,
body.is-preload *:after {
	animation: none !important;
	transition: none !important;
}

body,
input,
select,
textarea {
	color: #fff;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 15pt;
	font-weight: 300 !important;
	letter-spacing: -0.025em;
	line-height: 1.75em;
}

a {
	transition: border-color 0.2s ease-in-out;
	border-bottom: dotted 1px;
	color: inherit;
	outline: 0;
	text-decoration: none;
}

a:hover {
	border-color: transparent;
}

/* Icon (Font Awesome helpers) */
.icon {
	text-decoration: none;
	position: relative;
}

.icon:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	text-transform: none !important;
	font-family: 'Font Awesome 5 Free';
	font-weight: 400;
}

.icon>.label {
	display: none;
}

.icon.solid:before {
	font-weight: 900;
}

.icon.brands:before {
	font-family: 'Font Awesome 5 Brands';
}

/* ==================================================
   Layout: Wrapper / Background / Overlay
   ================================================== */

@keyframes wrapperFade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

#wrapper {
	animation: wrapperFade 1.1s forwards;
	height: 100%;
	left: 0;
	opacity: 0;
	position: fixed;
	top: 0;
	width: 100%;
}

/* Background:
   - Scroll attachment by default (better for mobile/tablet)
   - Fixed attachment only on larger screens for “parallaxy” feel */
#bg {
	position: fixed;
	inset: 0;
	background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: scroll;
	/* smoother on mobile/tablet */
	opacity: 1;
}

@media (min-width: 1025px) {
	#bg {
		background-attachment: fixed;
	}
}

/* Optional gradient variant for wide/normal/mobile if you prefer that look */



/* Overlay glow/vignette */
@keyframes overlayIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

#overlay {
	animation: overlayIn 0.9s 0.20s forwards;
	background:
		radial-gradient(1200px 600px at 50% 25%, rgba(255, 255, 255, .10), rgba(0, 0, 0, 0) 60%),
		radial-gradient(1200px 800px at 50% 120%, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 60%);
	background-blend-mode: screen, multiply, normal;
	background-size: cover, cover, auto;
	background-repeat: no-repeat, no-repeat, repeat;
	background-position: center, center, top left;
	position: fixed;
	inset: 0;
	opacity: 0;
}

/* ==================================================
   Main container (flex centered, viewport-safe)
   ================================================== */

/* Main: flex, vertical stack, center content */
#main {
	position: relative;
	min-height: 100svh;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: max(4vh, 2rem) 1rem;
}

/* Remove legacy centering shim */
#main:before {
	content: none;
}

/* ==================================================
   Header / Navigation / Avatar
   ================================================== */

@keyframes headerIn {
	from {
		transform: translate3d(0, 1em, 0);
		opacity: 0;
	}

	to {
		transform: translate3d(0, 0, 0);
		opacity: 1;
	}
}

@keyframes navIconsIn {
	from {
		transform: translate3d(0, 1em, 0);
		opacity: 0;
	}

	to {
		transform: translate3d(0, 0, 0);
		opacity: 1;
	}
}

#header {
	animation: headerIn 0.6s 0.65s forwards;
	backface-visibility: hidden;
	transform: translate3d(0, 0, 0);
	cursor: default;
	display: inline-block;
	opacity: 0;
	position: relative;
	top: -1em;
	vertical-align: middle;
	width: 90%;
	margin: 0 auto;
}

#header h1 {
	font-size: clamp(2rem, 5vw, 4.35em);
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1em;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

#header p {
	font-size: clamp(0.95rem, 2.2vw, 1.25em);
	margin: 0.75em 0 0.25em 0;
	opacity: 0.85;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .2);
}

/* Avatar: circular + centered */
#header .avatar {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center;
	display: block;
	margin: 1rem auto .5rem;
	border: 2px solid rgba(255, 255, 255, .6);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}

@media (min-width: 1024px) {
	#header .avatar {
		width: 140px;
		height: 140px;
	}
}

/* CTA Buttons */
.cta {
	margin-top: 1rem;
	display: flex;
	gap: .75rem;
	justify-content: center;
}

.btn {
	border-bottom: none;
	border: 1px solid rgba(255, 255, 255, .75);
	border-radius: 999px;
	background: var(--accent);
	color: #0e2a47;
	padding: .7rem 1.15rem;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

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

.btn:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.btn:not(.ghost):hover {
	filter: brightness(1.05);
}

.btn:focus-visible,
#header nav a:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 4px;
}

/* Nav icons */
#header nav {
	margin: 1.5em 0 0 0;
}

#header nav li {
	animation: navIconsIn 0.5s ease-in-out forwards;
	backface-visibility: hidden;
	transform: translate3d(0, 0, 0);
	display: inline-block;
	width: clamp(3.5em, 8vw, 5.35em);
	height: clamp(3.5em, 8vw, 5.35em);
	line-height: clamp(3.8em, 8.5vw, 5.885em);
	opacity: 0;
	position: relative;
	top: 0;
}

#header nav li:nth-child(1) {
	animation-delay: 1.00s;
}

#header nav li:nth-child(2) {
	animation-delay: 1.12s;
}

#header nav li:nth-child(3) {
	animation-delay: 1.24s;
}

#header nav li:nth-child(4) {
	animation-delay: 1.34s;
}

#header nav a {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-touch-callout: none;
	border: 0;
	display: inline-block;
}

#header nav a:before {
	transition: all 0.2s ease-in-out;
	border-radius: 100%;
	border: solid 1px #fff;
	display: block;
	font-size: clamp(1.2em, 3.2vw, 1.75em);
	width: clamp(2.1em, 6.4vw, 2.5em);
	height: clamp(2.1em, 6.4vw, 2.5em);
	line-height: clamp(2.1em, 6.4vw, 2.5em);
	text-align: center;
	position: relative;
	top: 0;
}

#header nav a:hover {
	font-size: 1.1em;
}

#header nav a:hover:before {
	background-color: rgba(94, 194, 232, 0.18);
	color: #fff;
	border-color: var(--accent);
}

#header nav a:active {
	font-size: 0.95em;
	background: none;
}

#header nav a:active:before {
	background-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

#header nav a span {
	display: none;
}

/* Prevent hover font-size jumps on phones */
@media screen and (max-width: 736px) {

	#header nav a:hover,
	#header nav a:active {
		font-size: inherit;
	}
}

/* Tagline tweak */
#header .tagline {
	margin-top: .25rem;
	opacity: .9;
}

/* ==================================================
   Footer
   ================================================== */

/* Footer: flows after content and sits at the bottom of the viewport area */
#footer {
	position: static;
	margin-top: auto;
	height: auto;
	line-height: normal;
	padding: 2rem 0 1rem;
	text-align: center;
	background: none;
}

#footer .copyright {
	opacity: .85;
	font-size: 0.9em;
}

/* Optional: stick footer to bottom on desktop only */
@media (min-width: 1025px) {
	#footer {
		position: fixed;
		inset: auto 0 0 0;
		height: 64px;
		padding: 0 clamp(16px, 2vw, 24px) calc(0px + env(safe-area-inset-bottom));
		display: flex;
		align-items: center;
		justify-content: center;
		line-height: 1.2;
		background-image: linear-gradient(to bottom,
				rgba(0, 0, 0, 0),
				rgba(0, 0, 0, .45) 75%);
	}

	#main {
		padding-bottom: calc(64px + env(safe-area-inset-bottom));
	}
}

/* ==================================================
   Responsive / Typography base scaling
   ================================================== */

@media screen and (max-width: 1680px) {

	body,
	input,
	select,
	textarea {
		font-size: 13pt;
	}
}

@media screen and (max-width: 1280px) {

	body,
	input,
	select,
	textarea {
		font-size: 12pt;
	}
}

@media screen and (max-width: 736px) {
	body {
		min-width: 320px;
	}

	body,
	input,
	select,
	textarea {
		font-size: 11pt;
	}

	#header h1 {
		font-size: clamp(2rem, 8vw, 2.5em);
	}

	#header p {
		font-size: clamp(0.95rem, 3.4vw, 1em);
	}

	#header nav {
		font-size: 1em;
	}

	#header nav {
		padding: 0 1em;
	}
}

/* Tablet (Portrait 768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
	#header {
		width: 92%;
	}

	#header .avatar {
		width: 132px;
		height: 132px;
	}

	.cta {
		gap: .6rem;
	}
}

/* ==================================================
   Motion & Accessibility
   ================================================== */

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

	#wrapper,
	#overlay,
	#header,
	#header nav li,
	#bg {
		animation: none !important;
		transition: none !important;
	}
}

/* Phones & tablets: start hero lower */
@media (max-width: 1024px) {
	#main {
		justify-content: flex-start;
		padding-top: calc(clamp(72px, 13vh, 150px)
				/* push hero down */
				+ env(safe-area-inset-top));
	}

	#header nav {
		margin-top: 1.75em;
	}

}

/* Narrow phones: a touch more space */
@media (max-width: 430px) {
	#main {
		padding-top: calc(clamp(88px, 16vh, 180px) + env(safe-area-inset-top));
	}

	/* tiny breathing tweak for the big name on small screens */
	#header h1 {
		line-height: 1.05;
	}
}

/* Phones (≤430px): make the social icons ~15–20% larger */
@media (max-width: 430px) {
	#header nav li {
		width: clamp(4.1em, 12vw, 5.6em);
		height: clamp(4.1em, 12vw, 5.6em);
		line-height: clamp(4.3em, 12.5vw, 6em);
	}

	#header nav a:before {
		width: clamp(2.6em, 8.2vw, 3.0em);
		height: clamp(2.6em, 8.2vw, 3.0em);
		line-height: clamp(2.6em, 8.2vw, 3.0em);
		font-size: clamp(1.35em, 4.4vw, 1.9em);
	}

	#footer .copyright {
		font-size: 0.85em;
	}
}

/* Small tablets (431–768px): a lighter bump so balance matches header */
@media (min-width: 431px) and (max-width: 768px) {
	#header nav li {
		width: clamp(3.8em, 10vw, 5.5em);
		height: clamp(3.8em, 10vw, 5.5em);
		line-height: clamp(4.0em, 10.5vw, 5.9em);
	}

	#header nav a:before {
		width: clamp(2.4em, 7.4vw, 2.8em);
		height: clamp(2.4em, 7.4vw, 2.8em);
		line-height: clamp(2.4em, 7.4vw, 2.8em);
		font-size: clamp(1.28em, 3.8vw, 1.82em);
	}
}

/* iPad Pro 12.9" landscape + other large tablets */
@media screen and (min-width: 1024px) and (max-width: 1400px) and (orientation: landscape) {

	/* start hero a bit lower like tablet */
	#main {
		justify-content: flex-start;
		padding-top: clamp(64px, 11vh, 140px);
	}

	/* add breathing room under the button */
	#header nav {
		margin-top: 1.5em;
	}

	/* lightly upsize the social buttons so they don’t feel tiny on the big canvas */
	#header nav li {
		width: clamp(3.7em, 6vw, 5.2em);
		height: clamp(3.7em, 6vw, 5.2em);
		line-height: clamp(3.9em, 6.3vw, 5.7em);
	}

	#header nav a:before {
		width: clamp(2.4em, 4.2vw, 2.9em);
		height: clamp(2.4em, 4.2vw, 2.9em);
		line-height: clamp(2.4em, 4.2vw, 2.9em);
		font-size: clamp(1.25em, 2.2vw, 1.8em);
	}
}

/* 1) Smooth, noticeable hover on desktop/laptop (cursor devices) */
@media (hover: hover) and (pointer: fine) {
	#header nav a:before {
		transition: transform 120ms ease, background-color 120ms ease,
			border-color 120ms ease, box-shadow 120ms ease;
	}

	#header nav a:hover:before {
		transform: translateY(-2px) scale(1.03);
		box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
		background-color: rgba(94, 194, 232, 0.18);
		border-color: var(--accent);
	}
}

/* 2) Strong tap feedback on phones/tablets (no-hover devices) */
@media (hover: none) and (pointer: coarse) {

	/* use an accent tap highlight instead of fully disabling it */
	a {
		-webkit-tap-highlight-color: rgba(94, 194, 232, 0.35);
	}

	#header nav a:before {
		transition: transform 90ms ease, background-color 90ms ease,
			border-color 90ms ease, box-shadow 90ms ease;
	}

	/* tap/press */
	#header nav a:active:before {
		transform: scale(1.04);
		background-color: rgba(94, 194, 232, 0.28);
		border-color: var(--accent);
		box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
	}

	/* keyboard focus (external keyboards on iPad) */
	#header nav a:focus-visible:before {
		transform: scale(1.04);
		background-color: rgba(94, 194, 232, 0.24);
		border-color: var(--accent);
		box-shadow: 0 0 0 3px rgba(94, 194, 232, .45);
	}
}