
/* ===========================================
  1728 Studios LLC
  Global Stylesheet
  Version 1.0
  ============================================ */


/* 01.  BRAND AND THERE VARIABLES */

:root {
    --slate: #17232E;
    --steel: #42657A;
    --bronze: #D5B78A;
    --cream: #F6F5F2;
    --cool-white: #F3F5F6;
    --graphite: #475764;

    --background: var(--cream);
    --surface: #FFFFF;
    --text: var(--graphite);
    --heading: var(--slate);
    --accent: var(steel);
    --border: #DCE1E4;

    --button-bg: var(--steel);
    --button-text: #FFFFFF;

    --font-primary: system-ui, -apple-system,
    	BlinMacSystemFont, "Segoe UI", sans-serif;

    --max-width: 1200px;
    --radius: 6px;

    color-scheme: light;
}


/* 02. DARK MODE */
@media (prefers-color-scheme: dark) {
    :root {
	--background: #17232E;
	--surface: #223340;
	--text: #C4FD8;
	--heading: #F3F5F6;
	--accent: #D5B78A;
	--border: #3A4B59;

	--button-bg: var(--bronze);
	--button-text: var(--slate);

	color-scheme: dark;
    }
}


/* 03. GLOBAL RESET */

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

body {
	margin: 0;
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.65;
	background: var(--background);
	color: var(--text);

	min-height: 100vh;
	disply: flex;
	flex-direction: column;
}

img {
	max-width: 100%;
	height: auto;
}


/* 04. TOPOGRAPHY */
h1, h2, h3, h4 {
	color: var(--heading);
	line-height: 1.2;
	font-weight: 600;
	margin: 0 0 1rem;
}

h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	letter-spacing: -0.03em;
}

h2 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
	font-size: 1.25rem;
}

p {
	margin: 0 0 1rem;
}

a {
	color: var(--accent);
	text-underline-offset: 3px;
}

a:hover {
	text-decoration: none;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}


/* 05. PAGE LAYOUT */
main {
	flex: 1;
}

.container {
	width: 90%;
	max-width: var(--max-width);
	margin-inline: auto;
}

.section {
	padding-block: 4rem;
}

.section-alt {
	background: var(--surface);
}

.content-width {
	max-width: 75ch;
}

.grid {
	disply: grid;
	grid-template-columns:
		repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 1.5rem;
}


/* 06. HEADER */

.site-header {
	background: var(--slate);
	color: var(--cool-white);
	border-bottom: 1px solid #3A4B59;
	--accent: var(b--bronze);
	--text: #C4CFD8;
}

.header-inner {
	min-height: 80px;
	disply: flex;
	align-items: cetner;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	padding-block: 1rem;
}

.brand {
	color: var(--cool-white);
	font-size: 1.5rem;
	font-weight: 600;
	text-decoration: none;
	letter-spacing: 0.04em;
}

.brand span {
	color: var(--bronze);
}


/* 07. NAVIGATION */

.site-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
	color: var(--bronze);
}


/* 08. HERO SECTION */

.hero {
	max-width: 65ch;
	font-size: 1.15rem;
}

.eyebrow {
	color: var(--accent);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}


/* 09. BUTTONS */

.button {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background: var(--button-bg);
	color: var(--button-text);
	border: 1px solid transparent;
	border-radius: var(--radius);
	font: inherit;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
}

.button:hover {
	filter: brightness(0.9);
}

.button-secondary {
	background: transparent;
	color: var(--accent);
	border-color: var(--accent);
}


/* 10. COPNTENT CARDS */

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.75rem;
}

.project-status {
	color: var(--accent);
	font-size: 0.85rem;
	font-weight:500;
}


/* 11. FOOTER */

.site-footer {
	background: var(--slate);
	color: #B6C3CC;
	padding-block: 2rem;
	font-size: 0.9rem;
	--accent: var(--bronze);
}

.site-footer p {
	margin: 0;
}

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


/* 12. RESPONSIVE DESIGN */

@media (max-width:768px) {
	.header-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-nav {
		gap: 1rem;
	}

	.hero {
		padding-block: 4rem;
	}

	.section {
		padding-block: 2.5rem;
	}
}
