/* ============================================
   UNIFIED STYLESHEET
   Lance Korsun - Presidential Theme
   ============================================ */

/* ============================================
   CSS VARIABLES - THEME COLORS
   ============================================ */
:root {
	/* Light Mode (Default) */
	--bg: #FDFCFA;
	--bg-alt: #F8F7F5;
	--surface: #FFFFFF;
	--surface-alt: #F8F7F5;
	--text: #1C2632;
	--text-muted: #5C6670;
	--text-subtle: #8A9199;
	--accent: #B8965C;
	--accent-hover: #A68548;
	--border: #E8E6E3;
	--border-subtle: #F0EEEB;
	--nav-bg: rgba(253, 252, 250, 0.97);
	--card-shadow: 0 12px 32px rgba(0,0,0,0.08);
	--logo-bg: rgba(28,38,50,0.06);
	--duration-bg: rgba(28,38,50,0.75);
	--btn-text: #FFFFFF;
	
	/* Article-specific */
	--shadow: rgba(28, 38, 50, 0.08);
	--shadow-strong: rgba(28, 38, 50, 0.12);
	--code-bg: #F4F3F1;
	--table-header: #F8F7F5;
	--table-stripe: #FDFCFA;
	--callout-bg: rgba(184, 150, 92, 0.08);
	--callout-border: rgba(184, 150, 92, 0.3);
}

[data-theme="dark"] {
	--bg: #0F1318;
	--bg-alt: #171C23;
	--surface: #171C23;
	--surface-alt: #1E242C;
	--text: #F5F4F2;
	--text-muted: #A8ADB5;
	--text-subtle: #6B7280;
	--accent: #C9A962;
	--accent-hover: #D4B872;
	--border: #2A3140;
	--border-subtle: #232933;
	--nav-bg: rgba(15, 19, 24, 0.97);
	--card-shadow: 0 12px 32px rgba(0,0,0,0.3);
	--logo-bg: rgba(255,255,255,0.08);
	--duration-bg: rgba(0,0,0,0.6);
	--btn-text: #0F1318;
	
	/* Article-specific */
	--shadow: rgba(0, 0, 0, 0.25);
	--shadow-strong: rgba(0, 0, 0, 0.4);
	--code-bg: #232933;
	--table-header: #1E242C;
	--table-stripe: #171C23;
	--callout-bg: rgba(201, 169, 98, 0.1);
	--callout-border: rgba(201, 169, 98, 0.3);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	background: var(--bg);
	color: var(--text);
	overflow-x: hidden;
	transition: background 0.3s ease, color 0.3s ease;
	line-height: 1.6;
}

/* Article pages use serif body font */
body.article-page {
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 19px;
	line-height: 1.75;
}

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

button {
	font-family: inherit;
	cursor: pointer;
}

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

::selection {
	background: var(--accent);
	color: var(--bg);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: var(--nav-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	z-index: 1000;
	padding: 0 48px;
	transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 72px;
}

/* Simplified nav for article pages */
.nav--article .nav-container {
	height: 64px;
}

.nav-logo {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 20px;
	font-weight: 500;
	color: var(--text);
	transition: color 0.3s ease;
}

.nav-logo:hover {
	color: var(--accent);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 40px;
}

.nav-menu {
	display: flex;
	gap: 32px;
}

.nav-menu a {
	font-size: 14px;
	color: var(--text-muted);
	font-weight: 500;
	padding: 8px 0;
	transition: color 0.2s ease;
}

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

.nav-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.theme-toggle {
	background: none;
	border: none;
	padding: 8px;
	color: var(--text-subtle);
	display: flex;
	align-items: center;
	transition: color 0.2s ease;
}

.theme-toggle:hover {
	color: var(--text);
}

/* Rounded theme toggle variant for article pages */
.theme-toggle--rounded {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: var(--surface);
	justify-content: center;
}

.theme-toggle--rounded:hover {
	border-color: var(--accent);
	transform: scale(1.05);
}

.theme-toggle--rounded svg {
	width: 18px;
	height: 18px;
}

.nav-divider {
	width: 1px;
	height: 20px;
	background: var(--border);
}

.nav-social {
	display: flex;
	gap: 12px;
}

.nav-social a {
	color: var(--text-subtle);
	display: flex;
	align-items: center;
	padding: 8px;
	transition: color 0.2s ease;
}

.nav-social a:hover {
	color: var(--accent);
}

/* TODO: Replace with your actual headshot */
.nav-headshot {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--surface-alt);
	border: 2px solid var(--border);
	margin-left: 8px;
	overflow: hidden;
	transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-headshot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Theme toggle icons */
.sun-icon { display: none; }
.moon-icon { display: block; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* Mobile Nav */
.mobile-nav-actions {
	display: none;
	align-items: center;
	gap: 8px;
}

.hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	padding: 12px;
	cursor: pointer;
}

.hamburger span {
	width: 24px;
	height: 2px;
	background: var(--text);
	transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
	display: none;
	position: absolute;
	top: 64px;
	left: 0;
	right: 0;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	padding: 20px;
}

.mobile-menu.active {
	display: block;
	animation: fadeIn 0.2s ease-out;
}

.mobile-menu a {
	display: block;
	padding: 16px 0;
	font-size: 16px;
	color: var(--text);
	font-weight: 500;
	border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu-social {
	display: flex;
	gap: 20px;
	padding-top: 20px;
	justify-content: center;
}

.mobile-menu-social a {
	color: var(--text-muted);
	padding: 12px;
	border: none;
}

/* ============================================
   HERO SECTION (Index Page)
   ============================================ */
.hero {
	padding: 140px 24px 48px;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.hero-label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.hero-label-line {
	width: 32px;
	height: 1px;
	background: var(--accent);
}

.hero-label-text {
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 600;
}

.hero h1 {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 56px;
	font-weight: 400;
	margin: 0 0 16px 0;
	letter-spacing: -1px;
	line-height: 1.15;
}

.hero-description {
	font-size: 18px;
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 36px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	background: var(--accent);
	color: var(--btn-text);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	border: none;
	min-height: 48px;
	transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
	transform: translateY(-2px);
}

.btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	background: transparent;
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	min-height: 52px;
	transition: border-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
	border-color: var(--text-muted);
	transform: translateY(-2px);
}

/* ============================================
   BRANDS / WORKED WITH SECTION
   ============================================ */
.brands {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: var(--surface);
	padding: 56px 0;
	transition: background 0.3s ease, border-color 0.3s ease;
}

.brands-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 48px;
}

.brands-label {
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--text-subtle);
	text-align: center;
	margin-bottom: 32px;
	font-weight: 600;
}

.brands-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 32px;
	justify-items: center;
	align-items: center;
}

.brand-item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0.5;
	transition: opacity 0.3s ease;
	width: 100%;
}

.brand-item:hover {
	opacity: 1;
}

/* TODO: Replace text with actual logo images */
.brand-logo {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand-logo img {
	max-height: 100%;
	max-width: 120px;
	object-fit: contain;
	/* Add grayscale filter for consistency */
	filter: grayscale(100%);
	transition: filter 0.3s ease;
}

.brand-item:hover .brand-logo img {
	filter: grayscale(0%);
}

/* Placeholder text style - remove when using images */
.brand-logo-text {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	letter-spacing: 0.5px;
}

/* ============================================
   WORK SECTION
   ============================================ */
.work {
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 48px;
}

.work-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 40px;
}

.work-title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 36px;
	font-weight: 400;
	margin: 0 0 8px 0;
	letter-spacing: -0.5px;
}

.work-subtitle {
	font-size: 15px;
	color: var(--text-muted);
	margin: 0;
}

.work-filters {
	display: flex;
	gap: 8px;
}

.filter-btn {
	padding: 10px 20px;
	background: transparent;
	color: var(--text-muted);
	border: 1px solid var(--border);
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	min-height: 44px;
	transition: all 0.2s ease;
}

.filter-btn:hover {
	border-color: var(--text-muted);
}

.filter-btn.active {
	background: var(--text);
	color: var(--btn-text);
	border: none;
}

.work-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.work-card {
	background: var(--surface);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border);
	cursor: pointer;
	transition: all 0.3s ease;
}

.work-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--card-shadow);
}

.work-card-media {
	height: 180px;
	background: var(--surface-alt);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	border-bottom: 1px solid var(--border-subtle);
	transition: background 0.3s ease;
}

.work-card-play {
	width: 60px;
	height: 60px;
	background: var(--accent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

.work-card:hover .work-card-play {
	transform: scale(1.08);
}

.work-card-play svg {
	color: var(--btn-text);
	margin-left: 4px;
}

.work-card-type {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #000;
	color: #fff;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.work-card-duration {
	position: absolute;
	bottom: 12px;
	right: 12px;
	background: var(--duration-bg);
	color: #FFFFFF;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 500;
}

.work-card-case-study {
	font-size: 13px;
	color: var(--text-subtle);
	letter-spacing: 2px;
	text-transform: uppercase;
}

.work-card-content {
	padding: 24px;
}

.work-card-title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 18px;
	margin: 0 0 8px 0;
	font-weight: 500;
	line-height: 1.35;
}

.work-card-desc {
	font-size: 14px;
	color: var(--text-muted);
	margin: 0;
	line-height: 1.5;
}

/* Hidden state for filtered items */
.work-card.hidden {
	display: none;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
	background: var(--surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	transition: background 0.3s ease, border-color 0.3s ease;
}

.about-container {
	max-width: 900px;
	margin: 0 auto;
	padding: 80px 48px;
	text-align: center;
}

.about-title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 36px;
	font-weight: 400;
	margin: 0 0 20px 0;
	letter-spacing: -0.5px;
}

.about-text {
	font-size: 17px;
	color: var(--text-muted);
	line-height: 1.8;
	margin-bottom: 24px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.about-expanded {
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.8;
	margin-bottom: 24px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	display: none;
}

.about-expanded.active {
	display: block;
	animation: fadeIn 0.3s ease-out;
}

.about-expanded p {
	margin-bottom: 16px;
}

.about-expanded p:last-child {
	margin-bottom: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
	max-width: 700px;
	margin: 0 auto;
	padding: 100px 48px;
	text-align: center;
}

.contact-title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 36px;
	font-weight: 400;
	margin: 0 0 16px 0;
	letter-spacing: -0.5px;
}

.contact-text {
	font-size: 17px;
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 36px;
}

.contact-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
	border-top: 1px solid var(--border);
	padding: 32px 48px;
	background: var(--surface);
	transition: background 0.3s ease, border-color 0.3s ease;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-copyright {
	font-size: 13px;
	color: var(--text-subtle);
}

.footer-social {
	display: flex;
	gap: 20px;
}

.footer-social a {
	color: var(--text-subtle);
	display: flex;
	align-items: center;
	padding: 8px;
	transition: color 0.2s ease;
}

.footer-social a:hover {
	color: var(--accent);
}

/* Centered footer variant for article pages */
.footer--centered .footer-container {
	flex-direction: column;
	gap: 24px;
	text-align: center;
}

.footer-logo {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 18px;
	font-weight: 600;
	color: var(--text);
	letter-spacing: -0.02em;
}

.footer-links {
	display: flex;
	gap: 32px;
}

.footer-link {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 14px;
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-link:hover {
	color: var(--accent);
}


/* ============================================
   ARTICLE PAGE STYLES
   ============================================ */

/* Article Layout */
.article {
	padding-top: 100px;
	padding-bottom: 80px;
}

.article-header {
	max-width: 720px;
	margin: 0 auto;
	padding: 60px 24px 48px;
	text-align: center;
}

.article-series {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 13px;
	font-weight: 500;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 24px;
}

.article-series-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--accent);
}

.article-title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: clamp(32px, 6vw, 52px);
	font-weight: 600;
	line-height: 1.15;
	color: var(--text);
	letter-spacing: -0.025em;
	margin-bottom: 28px;
}

.article-subtitle {
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 20px;
	font-style: italic;
	color: var(--text-muted);
	line-height: 1.6;
	max-width: 540px;
	margin: 0 auto 32px;
}

.article-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 14px;
	color: var(--text-subtle);
}

.article-meta-divider {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--border);
}

.article-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.author-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 600;
	font-size: 14px;
}

/* Article Hero Image */
.article-hero {
	max-width: 960px;
	margin: 0 auto 56px;
	padding: 0 24px;
}

.article-hero-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: linear-gradient(
		135deg,
		var(--bg-alt) 0%,
		var(--surface) 50%,
		var(--bg-alt) 100%
	);
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	border: 1px solid var(--border-subtle);
}

.article-hero-image::before {
	content: '';
	position: absolute;
	inset: 0;
	background: 
		radial-gradient(circle at 20% 30%, rgba(184, 150, 92, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(28, 38, 50, 0.1) 0%, transparent 50%);
}

.hero-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	color: var(--text-subtle);
}

.hero-placeholder svg {
	width: 48px;
	height: 48px;
	opacity: 0.5;
}

.hero-placeholder span {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* Article Content */
.article-content {
	max-width: 680px;
	margin: 0 auto;
	padding: 0 24px;
}

.article-content p {
	margin-bottom: 28px;
	color: var(--text);
}

.article-content p:first-of-type::first-letter {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 3.5em;
	float: left;
	line-height: 0.8;
	padding-right: 12px;
	padding-top: 6px;
	color: var(--accent);
	font-weight: 500;
}

.article-content h2 {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 28px;
	font-weight: 600;
	color: var(--text);
	margin: 56px 0 24px;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.article-content h3 {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	color: var(--text);
	margin: 40px 0 16px;
	letter-spacing: -0.01em;
}

.article-content a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.3s ease;
}

.article-content a:hover {
	color: var(--accent-hover);
}

.article-content strong {
	font-weight: 600;
	color: var(--text);
}

.article-content em {
	font-style: italic;
}

/* Callout / Pro-Tip */
.callout {
	background: var(--callout-bg);
	border-left: 3px solid var(--accent);
	border-radius: 0 8px 8px 0;
	padding: 24px 28px;
	margin: 36px 0;
}

.callout-label {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent);
	margin-bottom: 8px;
}

.callout p {
	margin-bottom: 0 !important;
	font-size: 17px;
	color: var(--text-muted);
}

/* Video Embed */
.video-embed {
	margin: 40px 0;
}

.video-embed-wrapper {
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.video-embed-wrapper:hover {
	border-color: var(--accent);
	box-shadow: 0 8px 32px var(--shadow);
}

.video-embed-link {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	text-decoration: none;
	color: var(--text);
}

.video-embed-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.video-embed-icon svg {
	width: 20px;
	height: 20px;
	color: white;
	margin-left: 3px;
}

.video-embed-info {
	flex: 1;
	min-width: 0;
}

.video-embed-title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 16px;
	font-weight: 500;
	color: var(--text);
	margin-bottom: 4px;
}

.video-embed-url {
	font-size: 14px;
	color: var(--text-subtle);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.video-embed-arrow {
	width: 24px;
	height: 24px;
	color: var(--text-subtle);
	transition: transform 0.3s ease, color 0.3s ease;
}

.video-embed-wrapper:hover .video-embed-arrow {
	transform: translateX(4px);
	color: var(--accent);
}

/* Data Tables */
.table-wrapper {
	margin: 48px 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.table-title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 18px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 16px;
	text-align: center;
}

.data-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	background: var(--surface);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border);
}

.data-table thead {
	background: var(--table-header);
}

.data-table th {
	font-family: 'Source Serif 4', Georgia, serif;
	font-weight: 600;
	text-align: left;
	padding: 16px 20px;
	color: var(--text);
	font-size: 14px;
	border-bottom: 1px solid var(--border);
}

.data-table th:first-child {
	min-width: 140px;
}

.data-table td {
	padding: 14px 20px;
	color: var(--text-muted);
	border-bottom: 1px solid var(--border-subtle);
	vertical-align: top;
	line-height: 1.5;
}

.data-table tbody tr:last-child td {
	border-bottom: none;
}

.data-table tbody tr:nth-child(even) {
	background: var(--table-stripe);
}

.data-table tbody tr:hover {
	background: var(--callout-bg);
}

.table-material {
	font-weight: 500;
	color: var(--text);
}

/* Compact Table (Key Players) */
.compact-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	background: var(--surface);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border);
}

.compact-table th {
	font-family: 'Source Serif 4', Georgia, serif;
	font-weight: 600;
	text-align: left;
	padding: 14px 16px;
	background: var(--table-header);
	color: var(--text);
	font-size: 13px;
	border-bottom: 1px solid var(--border);
}

.compact-table td {
	padding: 12px 16px;
	color: var(--text-muted);
	border-bottom: 1px solid var(--border-subtle);
	font-size: 14px;
	line-height: 1.5;
}

.compact-table tbody tr:last-child td {
	border-bottom: none;
}

.compact-table tbody tr:hover {
	background: var(--callout-bg);
}

/* Article Footer */
.article-footer {
	max-width: 680px;
	margin: 64px auto 0;
	padding: 0 24px;
}

.article-divider {
	width: 64px;
	height: 1px;
	background: var(--border);
	margin: 0 auto 48px;
}

.article-note {
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 24px 28px;
	font-size: 15px;
	color: var(--text-muted);
	font-style: italic;
}

.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 32px;
	justify-content: center;
}

.article-tag {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 13px;
	color: var(--text-subtle);
	background: var(--bg-alt);
	padding: 8px 16px;
	border-radius: 20px;
	border: 1px solid var(--border);
	transition: all 0.3s ease;
}

.article-tag:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* Next Article CTA */
.next-article {
	max-width: 680px;
	margin: 80px auto 0;
	padding: 0 24px;
}

.next-article-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 32px;
	text-decoration: none;
	display: block;
	transition: all 0.4s ease;
}

.next-article-card:hover {
	border-color: var(--accent);
	box-shadow: 0 16px 48px var(--shadow);
	transform: translateY(-4px);
}

.next-article-label {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.next-article-title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 24px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 8px;
	line-height: 1.3;
}

.next-article-excerpt {
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.6;
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
	from { 
		opacity: 0; 
		transform: translateY(20px); 
	}
	to { 
		opacity: 1; 
		transform: translateY(0); 
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-in {
	animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }


/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
	.nav {
		padding: 0 32px;
	}
	
	.nav-links {
		gap: 24px;
	}
	
	.nav-menu {
		gap: 20px;
	}
	
	.hero {
		padding: 120px 32px 40px;
	}
	
	.hero h1 {
		font-size: 44px;
	}
	
	.brands-container {
		padding: 0 32px;
	}
	
	.brands-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
	}
	
	.work {
		padding: 64px 32px;
	}
	
	.work-title {
		font-size: 32px;
	}
	
	.work-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.about-container {
		padding: 64px 32px;
	}
	
	.about-title {
		font-size: 32px;
	}
	
	.contact {
		padding: 80px 32px;
	}
	
	.contact-title {
		font-size: 32px;
	}
	
	/* Article tablet */
	body.article-page {
		font-size: 18px;
	}
}

/* Mobile */
@media (max-width: 768px) {
	/* Article mobile */
	body.article-page {
		font-size: 17px;
	}

	.article-header {
		padding: 40px 20px 36px;
	}

	.article-title {
		font-size: clamp(28px, 8vw, 40px);
	}

	.article-subtitle {
		font-size: 18px;
	}

	.article-meta {
		flex-direction: column;
		gap: 12px;
	}

	.article-meta-divider {
		display: none;
	}

	.article-hero {
		padding: 0 16px;
		margin-bottom: 40px;
	}

	.article-content {
		padding: 0 20px;
	}

	.article-content h2 {
		font-size: 24px;
		margin: 40px 0 20px;
	}

	.article-content h3 {
		font-size: 20px;
	}

	.callout {
		padding: 20px 24px;
		margin: 28px 0;
	}

	.data-table {
		font-size: 13px;
	}

	.data-table th,
	.data-table td {
		padding: 12px 14px;
	}

	.compact-table th,
	.compact-table td {
		padding: 10px 12px;
		font-size: 12px;
	}

	.next-article-card {
		padding: 24px;
	}

	.next-article-title {
		font-size: 20px;
	}

	.footer-links {
		flex-direction: column;
		gap: 16px;
	}
}

@media (max-width: 640px) {
	.nav {
		padding: 0 20px;
	}
	
	.nav-container {
		height: 64px;
	}
	
	.nav-logo {
		font-size: 18px;
	}
	
	.nav-links {
		display: none;
	}
	
	.mobile-nav-actions {
		display: flex;
	}
	
	.hamburger {
		display: flex;
	}
	
	.hero {
		padding: 100px 20px 32px;
	}
	
	.hero-label-line {
		width: 24px;
	}
	
	.hero-label-text {
		font-size: 10px;
	}
	
	.hero h1 {
		font-size: 36px;
	}
	
	.hero-description {
		font-size: 16px;
		margin-bottom: 28px;
		padding: 0 8px;
	}
	
	.btn-primary {
		padding: 14px 24px;
	}
	
	.brands {
		padding: 40px 0;
	}
	
	.brands-container {
		padding: 0;
	}
	
	.brands-label {
		margin-bottom: 24px;
		padding: 0 20px;
	}
	
	.brands-grid {
		display: flex;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding: 0 20px;
		gap: 0;
	}
	
	.brands-grid::-webkit-scrollbar {
		display: none;
	}
	
	.brand-item {
		flex-shrink: 0;
		width: calc((100vw - 60px) / 2.5);
		min-width: calc((100vw - 60px) / 2.5);
		padding: 12px 16px;
	}
	
	.brand-logo {
		height: 32px;
	}
	
	.brand-logo-text {
		font-size: 13px;
	}
	
	.work {
		padding: 48px 20px;
	}
	
	.work-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}
	
	.work-title {
		font-size: 28px;
	}
	
	.work-subtitle {
		font-size: 14px;
	}
	
	.work-filters {
		overflow-x: auto;
		width: calc(100% + 40px);
		margin-left: -20px;
		margin-right: -20px;
		padding: 0 20px 4px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	
	.work-filters::-webkit-scrollbar {
		display: none;
	}
	
	.filter-btn {
		padding: 10px 16px;
		flex-shrink: 0;
	}
	
	.work-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	
	.work-card:hover {
		transform: none;
		box-shadow: none;
	}
	
	.work-card-media {
		height: 160px;
	}
	
	.work-card-play {
		width: 52px;
		height: 52px;
	}
	
	.work-card:hover .work-card-play {
		transform: none;
	}
	
	.work-card-content {
		padding: 20px;
	}
	
	.work-card-title {
		font-size: 17px;
	}
	
	.work-card-desc {
		font-size: 13px;
	}
	
	.about-container {
		padding: 48px 20px;
	}
	
	.about-title {
		font-size: 28px;
	}
	
	.about-text {
		font-size: 15px;
	}
	
	.about-expanded {
		font-size: 14px;
	}
	
	.contact {
		padding: 64px 20px;
	}
	
	.contact-title {
		font-size: 28px;
	}
	
	.contact-text {
		font-size: 15px;
		margin-bottom: 28px;
	}
	
	.contact-buttons {
		flex-direction: column;
	}
	
	.footer {
		padding: 24px 20px;
	}
	
	.footer-container {
		flex-direction: column;
		gap: 20px;
	}
	
	.footer-social {
		order: -1;
	}
	
	/* Article mobile small */
	.article-content p:first-of-type::first-letter {
		font-size: 2.8em;
		padding-right: 8px;
	}

	.video-embed-link {
		padding: 16px;
	}

	.video-embed-icon {
		width: 40px;
		height: 40px;
	}

	.video-embed-title {
		font-size: 14px;
	}
}