:root {
	--rosewood: #7F0C0F;
	--cosmic-latte: #FDF3DE;
	--rick-black: #001625;
	--gold: #C9A154;
	--paynes-green: #3C5A5A;
	--muted: rgba(253, 243, 222, 0.82);
	--line: rgba(253, 243, 222, 0.16);
	--max: 1000px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }

body {
	background: var(--rick-black);
	color: var(--cosmic-latte);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

h1, h2 {
	font-family: "Anton", "LT Energy", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin: 0;
}

.brand-container {
	width: min(var(--max), calc(100% - 40px));
	margin: 0 auto;
}

.brand-header {
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

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

.brand-back {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.8;
}
.brand-back:hover { opacity: 1; color: var(--gold); text-decoration: none; }

.brand-header-mark { height: 28px; width: auto; display: block; }

.brand-hero { padding: 64px 0 24px; }
.brand-kicker {
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 10px;
	font-weight: 500;
}
.brand-hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1; }
.brand-lede { margin: 14px 0 0; color: var(--muted); max-width: 56ch; font-size: 16px; }

.brand-section { padding: 56px 0; }
.brand-section-alt { background: var(--paynes-green); }
.brand-section h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 24px; }

.brand-note { margin: 20px 0 0; font-size: 13px; color: var(--muted); }

/* DOWNLOAD */
.brand-download-card {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(253, 243, 222, 0.04);
	transition: border-color 0.15s ease, background 0.15s ease;
}
.brand-download-card:hover {
	border-color: var(--gold);
	background: rgba(253, 243, 222, 0.08);
	text-decoration: none;
}
.brand-download-icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--cosmic-latte);
	color: var(--rick-black);
	font-size: 20px;
}
.brand-download-body { display: flex; flex-direction: column; gap: 4px; }
.brand-download-title { font-weight: 500; font-size: 16px; }
.brand-download-sub { font-size: 13px; color: var(--muted); }

.brand-download-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* COLORS */
.brand-swatch-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}
.brand-swatch {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(253, 243, 222, 0.04);
}
.brand-swatch-chip {
	display: block;
	width: 100%;
	height: 56px;
	border-radius: 8px;
	border: 1px solid var(--line);
}
.brand-swatch-name { font-weight: 500; font-size: 14px; }
.brand-swatch-hex { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.brand-swatch-use { font-size: 12px; color: var(--muted); }

/* FONTS */
.brand-font-list { display: flex; flex-direction: column; gap: 18px; }
.brand-font-row {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(253, 243, 222, 0.04);
}
.brand-font-sample {
	flex: 0 0 auto;
	width: 64px;
	font-size: 34px;
	text-align: center;
}
.brand-font-info { display: flex; flex-direction: column; gap: 4px; }
.brand-font-name { font-weight: 500; font-size: 14px; }
.brand-font-detail { font-size: 13px; color: var(--muted); }
.brand-font-detail a { text-decoration: underline; text-underline-offset: 2px; }

/* LOGOS */
.brand-logo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}
.brand-logo-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(0, 22, 37, 0.25);
	text-align: center;
}
.brand-logo-preview {
	width: 100%;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.brand-logo-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-logo-label { margin: 0; font-size: 13px; font-weight: 500; }
.brand-logo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border: 1px solid var(--cosmic-latte);
	border-radius: 999px;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.brand-logo-btn:hover {
	background: var(--cosmic-latte);
	color: var(--rick-black);
	text-decoration: none;
}

.brand-footer {
	padding: 32px 0 48px;
	border-top: 1px solid var(--line);
}
.brand-footer-text { margin: 0; font-size: 12px; color: var(--muted); }

@media (max-width: 600px) {
	.brand-hero { padding: 48px 0 16px; }
	.brand-section { padding: 40px 0; }
}