/* style.css */

:root {
	--bg: #f5f5f5;
	--text: #111111;
	--muted: #666666;
	--line: #dddddd;
	--accent: #111111;

	--radius: 16px;
	--max-width: 960px;

    --space-s: 1.0rem;
    --space-m: 1.2rem;
    --space-l: 1.6rem;
    --space-xl: 2.0rem;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.6;

	background: var(--bg);
	color: var(--text);
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: min(100% - 32px, var(--max-width));
	margin-inline: auto;
}

/* Header */

.site-header {
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
	background: white;

	position: sticky;
    z-index: 2000;
	top: 0;
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.logo {
	font-weight: bold;
	font-size: 1.1rem;

	display: inline-flex;
	align-items: center;

    gap: var(--space-l);
}

.logo img {
	height: 100px;
	width: auto;
	display: block;
}



.main-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.main-nav a {
	color: var(--muted);
	font-size: 0.95rem;
}

.main-nav a:hover {
	color: var(--text);
}

/* Hero */

.hero {
	position: relative;

	padding: 96px 0 72px;

	background-image:
		linear-gradient(
			rgba(0, 0, 0, 0.45),
			rgba(0, 0, 0, 0.45)
		),
		url("../img/whale-the-third.jpg");

	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;

	color: white;
}


.hero .intro,
.hero .eyebrow {
	color: rgba(255, 255, 255, 0.8);
}


.eyebrow {
	color: var(--muted);
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.85rem;
}

.hero h1 {
	font-size: clamp(2.2rem, 8vw, 5rem);
	line-height: 1;
	max-width: 10ch;
	margin-bottom: 24px;
}

.intro {
	max-width: 600px;
	color: var(--muted);
	margin-bottom: 32px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 14px 22px;
	border-radius: 999px;

	background: var(--accent);
	color: white;

	font-weight: bold;
}

.button:hover {
	opacity: 0.9;
}

/* Content */

.content-section {
	padding: 72px 0;
	border-top: 0px solid var(--line);
}

.content-section h2 {
	font-size: 1.8rem;
	margin-bottom: 20px;
}

.content-section p,
.content-section ul {
	max-width: 700px;
	color: var(--muted);
}

.content-section ul {
	padding-left: 20px;
	margin-top: 16px;
}

/* Footer */

.site-footer {
	padding: 32px 0;
	border-top: 1px solid var(--line);
	margin-top: 64px;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.site-footer nav {
	display: flex;
	gap: 16px;
}

.site-footer a {
	color: var(--muted);
}

.site-footer a:hover {
	color: var(--text);
}

/* Mobile */

@media (max-width: 640px) {
	.site-header .container,
	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.hero {
		padding-top: 72px;
	}
}