/* ===================================
   Ethix Design - Stylesheet
   =================================== */

/* CSS Custom Properties */
:root {
	--color-bg: #e6e7e9;
	--color-text: #424242;
	--color-link: #0064c7;
	--color-line: #424242;
	
	--font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
	
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 6.25rem;
	
	--line-height-tight: 0.9;
	--line-height-normal: 1.4;
}

/* Reset & Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
}

body {
	background: var(--color-bg);
	font-family: var(--font-sans);
	font-weight: 700;
	line-height: var(--line-height-tight);
	color: var(--color-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Fluid Images */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Container */
.container {
	width: 86.45%;
	max-width: 1232px;
	margin: 0 auto;
	padding: 0 2.275%;
}

/* Header & Logo */
header {
	margin-bottom: var(--space-lg);
}

.logo {
	width: 100%;
	max-width: 51.5625rem; /* 825px */
	margin-left: -0.625rem; /* -10px */
}

/* Content Area */
.content {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	margin-bottom: var(--space-xl);
}

/* Typography */
.text-large {
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: var(--line-height-tight);
	letter-spacing: -0.05em;
	color: var(--color-text);
	margin: var(--space-sm) 0;
}

.text-small {
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	color: var(--color-text);
	margin: var(--space-xs) 0;
}

/* Links */
a,
a:visited {
	color: var(--color-link);
	text-decoration: none;
	opacity: 0.8;
	transition: opacity 0.2s ease;
}

a:hover,
a:focus {
	opacity: 0.5;
	text-decoration: none;
}

a:focus {
	outline: 2px solid var(--color-link);
	outline-offset: 2px;
}

/* Social Icons */
.socials {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.socials svg {
	fill: var(--color-link);
	width: 1.5rem;
	height: 1.5rem;
	transition: opacity 0.2s ease;
}

.socials:hover svg,
.socials:focus svg {
	opacity: 0.5;
}

/* Line Separator */
.line {
	width: 100%;
	border-bottom: 4px solid var(--color-line);
}

/* Visibility Utilities */
.mobile-only {
	display: inline-block;
}

.desktop-only {
	display: none;
}

/* Prevent flash of unstyled time/status */
#time:empty,
#status:empty {
	display: inline-block;
	min-width: 4.5em;
}
 
#time:empty::after {
	content: '—';
	opacity: 0.3;
}
 
#status:empty::after {
	content: '—';
	opacity: 0.3;
}
 
/* Footer */
footer p {
	white-space: normal;
}

/* Responsive Typography & Layout */
@media (min-width: 30rem) { /* 480px */
	.container {
		width: 90.675%;
		padding: 0 1.1625%;
	}
	
	.text-large {
		font-size: clamp(2.5rem, 6vw, 3.9rem);
	}
}

@media (min-width: 48rem) { /* 768px */
	.container {
		width: 88.5%;
		padding: 0 0.75%;
	}
	
	.text-small {
		font-size: clamp(1.25rem, 3vw, 2rem);
	}
	
	.mobile-only {
		display: none;
	}
	
	.desktop-only {
		display: inline-block;
	}
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Print Styles */
@media print {
	body {
		background: white;
		color: black;
	}
	
	a {
		text-decoration: underline;
	}
	
	.line {
		border-color: black;
	}
}