/*!
Theme Name: OnLion
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: onlion
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

OnLion is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
# Design System Variables
--------------------------------------------------------------*/
:root {
	/* Colors - Cinematic Brutalism */
	--color-bg: #0A0A0A;
	--color-surface: #141414;
	--color-text-main: #EAEAEA;
	--color-text-muted: #888888;
	--color-accent: #D4AF37;
	--color-border: #2A2A2A;
	--color-error: #FF4444;

	/* Typography */
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-mono: 'Space Mono', 'Courier New', monospace;

	/* Spacing (Grid System) */
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 2rem;
	--spacing-lg: 4rem;
	--spacing-xl: 8rem;

	/* Borders */
	--border-radius-sm: 4px;
	--border-radius-lg: 12px;
	--border-width: 1px;

	/* Transitions */
	--transition-fast: 0.2s ease;
	--transition-smooth: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text-main);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: var(--font-body);
	line-height: 1.1;
	color: var(--color-text-main);
}

h1 {
	font-size: clamp(2.5rem, 5vw, 6rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

h2 {
	font-size: clamp(2rem, 3vw, 4rem);
	font-weight: 600;
}

h3 {
	font-size: 1.75rem;
	font-weight: 600;
}

h4 {
	font-size: 1.25rem;
	font-weight: 600;
}

h5 {
	font-size: 1rem;
	font-weight: 600;
}

h6 {
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 0 1.5em;
	padding-left: var(--spacing-md);
	border-left: 3px solid var(--color-accent);
	color: var(--color-text-muted);
	font-style: italic;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: var(--color-surface);
	font-family: var(--font-mono);
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--border-radius-sm);
}

code,
kbd,
tt,
var {
	font-family: var(--font-mono);
}

abbr,
acronym {
	border-bottom: 1px dotted var(--color-text-muted);
	cursor: help;
}

mark,
ins {
	background: var(--color-accent);
	color: var(--color-bg);
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Global Focus Reset
--------------------------------------------- */
button:focus,
a:focus,
input:focus,
textarea:focus {
	outline: none !important;
	box-shadow: none !important;
}

/* Elements
--------------------------------------------- */
body {
	background-color: var(--color-bg);
}

hr {
	background-color: var(--color-border);
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--color-accent);
	transition: color var(--transition-fast);
}

a:visited {
	color: var(--color-accent);
}

a:hover,
a:focus,
a:active {
	color: var(--color-text-main);
}

a:focus {
	outline: thin dotted var(--color-accent);
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: var(--border-width) solid var(--color-accent);
	border-radius: var(--border-radius-sm);
	background: var(--color-accent);
	color: var(--color-bg);
	font-family: var(--font-mono);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1;
	padding: 0.75em 1.5em;
	cursor: pointer;
	transition: all var(--transition-fast);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: transparent;
	color: var(--color-accent);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	background: var(--color-accent);
	color: var(--color-bg);
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: var(--color-text-main);
	background-color: var(--color-surface);
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--border-radius-sm);
	padding: 0.75em 1em;
	transition: border-color var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	border-color: var(--color-accent);
	outline: none;
}

select {
	background-color: var(--color-surface);
	color: var(--color-text-main);
	border: var(--border-width) solid var(--color-border);
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Site Header - Glassmorphism
--------------------------------------------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background: rgba(10, 10, 10, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	z-index: 1000;
}

/* Adjust for WordPress admin bar */
.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.header-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--spacing-md);
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--spacing-md);
}

/* Add padding to body for fixed header */
body {
	padding-top: 80px;
}

/* Adjust body padding for admin bar */
.admin-bar body,
body.admin-bar {
	padding-top: 112px; /* 80px header + 32px admin bar */
}

@media screen and (max-width: 782px) {
	.admin-bar body,
	body.admin-bar {
		padding-top: 126px; /* 80px header + 46px admin bar */
	}
}

/* Prevent scrolling when mobile menu is open */
body.mobile-menu-open {
	overflow: hidden;
}

/* Logo / Site Branding */
.site-branding {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
}

.site-branding .custom-logo {
	height: 40px;
	width: auto;
}

.site-title {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--color-text-main);
	text-decoration: none;
	margin: 0;
}

.site-title:hover,
.site-title:focus {
	color: var(--color-accent);
}

.site-description {
	display: none;
}

/* Main Navigation */
.main-navigation {
	display: none;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: var(--spacing-md);
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.9rem;
	color: var(--color-text-muted);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: var(--spacing-xs) 0;
	transition: color var(--transition-fast);
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a {
	color: var(--color-accent);
}

/* Dropdown Menus */
.main-navigation ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: rgba(20, 20, 20, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-sm);
	padding: var(--spacing-xs) 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all var(--transition-fast);
}

.main-navigation li:hover > ul,
.main-navigation li.focus > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-navigation ul ul a {
	padding: var(--spacing-xs) var(--spacing-sm);
}

.main-navigation ul ul ul {
	top: 0;
	left: 100%;
}

/* Header CTA Button */
.header-cta {
	display: inline-block;
	padding: 0.3em 0.6em;
	font-size: 0.6rem;
	white-space: nowrap;
}

/* Ensure menu toggle stays visible on mobile */
@media screen and (max-width: 767px) {
	.header-cta {
		padding: 0.25em 0.5em;
		font-size: 0.55rem;
	}

	.header-inner {
		gap: var(--spacing-xs);
	}
}

/* Hamburger Menu Toggle */
.menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: none;
	cursor: pointer;
}

.hamburger-box {
	position: relative;
	display: inline-block;
	width: 24px;
	height: 18px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
	position: absolute;
	width: 24px;
	height: 2px;
	background-color: var(--color-text-main);
	border-radius: 2px;
	transition: all var(--transition-fast);
}

.hamburger-inner {
	top: 50%;
	transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
	content: '';
	display: block;
}

.hamburger-inner::before {
	top: -8px;
}

.hamburger-inner::after {
	bottom: -8px;
}

/* Hamburger Active State */
.menu-toggle[aria-expanded="true"] .hamburger-inner {
	background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger-inner::before {
	top: 0;
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-inner::after {
	bottom: 0;
	transform: rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
	position: fixed;
	top: 80px;
	left: 0;
	width: 100%;
	height: calc(100vh - 80px);
	background: rgba(10, 10, 10, 0.98);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	opacity: 0;
	visibility: hidden;
	transition: all var(--transition-smooth);
	z-index: 999;
}

/* Adjust mobile overlay for admin bar */
.admin-bar .mobile-menu-overlay {
	top: 112px;
	height: calc(100vh - 112px);
}

@media screen and (max-width: 782px) {
	.admin-bar .mobile-menu-overlay {
		top: 126px;
		height: calc(100vh - 126px);
	}
}

.mobile-menu-overlay.is-active {
	opacity: 1;
	visibility: visible;
}

.mobile-navigation {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: var(--spacing-lg);
}

.mobile-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.mobile-navigation li {
	margin-bottom: var(--spacing-md);
}

.mobile-navigation a {
	font-family: var(--font-body);
	font-size: 2rem;
	font-weight: 600;
	color: var(--color-text-main);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.mobile-navigation a:hover,
.mobile-navigation a:focus {
	color: var(--color-accent);
}

.mobile-cta {
	margin-top: var(--spacing-lg);
}

/* Desktop Breakpoint */
@media screen and (min-width: 768px) {
	.main-navigation {
		display: block;
	}

	.header-cta {
		display: inline-block;
		padding: 0.6em 1.25em;
		font-size: 0.85rem;
	}

	.menu-toggle {
		display: none;
	}

	.mobile-menu-overlay {
		display: none;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Site Footer
--------------------------------------------- */
.site-footer {
	background-color: #0F0F0F;
	border-top: 1px solid var(--color-border);
	margin-top: var(--spacing-xl);
}

.footer-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: var(--spacing-lg) var(--spacing-md);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-lg);
}

@media screen and (min-width: 768px) {
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
	}
}

/* Footer Column */
.footer-col {
	display: flex;
	flex-direction: column;
}

/* Footer Identity Column */
.footer-logo {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--color-accent);
	text-decoration: none;
	margin-bottom: var(--spacing-sm);
	transition: color var(--transition-fast);
}

.footer-logo:hover {
	color: var(--color-text-main);
}

.footer-branding {
	display: block;
	margin-bottom: 20px;
}

.footer-logo-link img {
	width: 150px;
	height: auto;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.footer-logo-link img:hover {
	opacity: 1;
}

.footer-tagline {
	color: var(--color-text-muted);
	font-size: 0.95rem;
	margin-bottom: var(--spacing-sm);
}

.footer-address {
	font-style: normal;
	color: var(--color-text-muted);
	font-size: 0.875rem;
}

/* Footer Headings */
.footer-heading {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-text-muted);
	margin-bottom: 1.5rem;
}

/* Footer Menus */
.footer-sitemap ul,
.footer-legal ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-sitemap li,
.footer-legal li {
	margin-bottom: 0.8rem;
}

.footer-sitemap a,
.footer-legal a {
	color: var(--color-text-muted);
	text-decoration: none;
	font-size: 0.95rem;
	transition: color var(--transition-fast);
}

.footer-sitemap a:hover,
.footer-legal a:hover {
	color: var(--color-text-main);
}

/* Footer Newsletter */
.footer-newsletter-text {
	color: var(--color-text-muted);
	font-size: 0.95rem;
	margin-bottom: var(--spacing-sm);
}

.newsletter-form {
	display: flex;
	align-items: stretch;
}

.newsletter-form input[type="email"] {
	flex: 1;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-border);
	border-radius: 0;
	padding: 10px 0;
	width: 100%;
	color: var(--color-text-main);
	font-size: 0.95rem;
	outline: none;
	transition: border-color var(--transition-fast);
}

.newsletter-form input[type="email"]::placeholder {
	color: var(--color-text-muted);
}

.newsletter-form input[type="email"]:focus {
	border-bottom-color: var(--color-accent);
}

.newsletter-form button {
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-border);
	padding: 10px;
	color: var(--color-text-muted);
	cursor: pointer;
	transition: all var(--transition-fast);
}

.newsletter-form button:hover {
	color: var(--color-accent);
}

.newsletter-form:focus-within button {
	border-bottom-color: var(--color-accent);
}

/* Footer Intelligence */
.footer-intelligence-text {
	color: var(--color-text-muted);
	font-size: 0.95rem;
	margin-bottom: var(--spacing-sm);
}

.footer-intelligence-link {
	display: inline-block;
	font-family: 'Space Mono', monospace;
	font-size: 0.9rem;
	color: var(--color-text-muted);
	text-decoration: none;
	margin-top: 1rem;
	transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-intelligence-link:hover {
	color: #fff;
	transform: translateX(5px);
}

/* Sub-Footer */
.sub-footer {
	border-top: 1px solid var(--color-border);
}

.sub-footer-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: var(--spacing-md) var(--spacing-md);
	text-align: center;
}

.copyright {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--color-text-muted);
	margin: 0;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--color-surface);
	border-radius: var(--border-radius-sm);
	box-shadow: 0 0 2px 2px var(--color-accent);
	clip: auto !important;
	clip-path: none;
	color: var(--color-text-main);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Front Page Sections
--------------------------------------------------------------*/

/* Front Page Main */
.front-page {
	padding-top: 0;
}

.front-page .site-main {
	padding: 0;
}

/* Section Heading */
.section-heading {
	text-align: center;
	margin-bottom: var(--spacing-lg);
}

/* Hero Section
--------------------------------------------- */
.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-top: -80px;
	padding-top: 80px;
	background-color: transparent !important;
}

.admin-bar .hero-section {
	margin-top: -112px;
	padding-top: 112px;
}

@media screen and (max-width: 782px) {
	.admin-bar .hero-section {
		margin-top: -126px;
		padding-top: 126px;
	}
}

/* Hero Video Background */
.hero-video-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	overflow: hidden;
}

.hero-video-wrapper video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 900px;
	padding: var(--spacing-md);
}

.hero-title {
	font-size: clamp(2.5rem, 6vw, 5rem);
	margin-bottom: var(--spacing-md);
}

.hero-subtitle {
	font-size: 1.25rem;
	color: var(--color-text-muted);
	margin: 0 auto var(--spacing-lg);
	line-height: 1.7;
	white-space: nowrap;
}

.hero-buttons {
	display: flex;
	gap: var(--spacing-sm);
	justify-content: center;
	flex-wrap: wrap;
}

/* Ghost Button Style for Hero */
.hero-buttons .btn {
	background: transparent;
	border: 1px solid var(--color-accent);
	color: var(--color-text-main);
}

.hero-buttons .btn:hover,
.hero-buttons .btn:active {
	background: var(--color-accent);
	color: var(--color-bg);
}

.hero-buttons .btn:focus:not(:hover) {
	background: var(--color-accent);
	color: var(--color-bg);
	outline: none !important;
}

@media screen and (max-width: 767px) {
	.hero-subtitle {
		white-space: normal;
		font-size: 1rem;
	}
}

.hero-scroll-indicator {
	position: absolute;
	bottom: var(--spacing-lg);
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
}

.hero-scroll-indicator span {
	display: block;
	width: 24px;
	height: 40px;
	border: 2px solid var(--color-text-muted);
	border-radius: 12px;
	position: relative;
}

.hero-scroll-indicator span::before {
	content: '';
	position: absolute;
	top: 8px;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 8px;
	background: var(--color-text-muted);
	border-radius: 2px;
	animation: scrollIndicator 2s infinite;
}

@keyframes scrollIndicator {
	0%, 100% {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
	50% {
		opacity: 0.5;
		transform: translateX(-50%) translateY(10px);
	}
}

/* Trust Section
--------------------------------------------- */
.trust-section {
	position: relative;
	padding: var(--spacing-lg) var(--spacing-md);
	border-bottom: 1px solid var(--color-border);
	background-color: var(--color-bg);
}

.trust-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--spacing-lg);
	flex-wrap: wrap;
	opacity: 0.6;
}

.trust-label {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-text-muted);
}

.trust-logos {
	display: flex;
	align-items: center;
	gap: var(--spacing-lg);
	flex-wrap: wrap;
}

.trust-logo {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--color-text-main);
}

/* Model Section (Bento Grid)
--------------------------------------------- */
.model-section {
	position: relative;
	padding: var(--spacing-xl) var(--spacing-md);
	background-color: var(--color-bg);
}

.model-inner {
	max-width: 1400px;
	margin: 0 auto;
}

.bento-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-md);
}

@media screen and (min-width: 768px) {
	.bento-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.bento-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: var(--spacing-lg);
	text-align: center;
}

.bento-card {
	cursor: default;
}

.bento-card-icon {
	color: var(--color-accent);
	margin-bottom: var(--spacing-md);
}

.bento-card-title {
	font-family: var(--font-mono);
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-bottom: var(--spacing-sm);
}

.bento-card-text {
	font-family: var(--font-mono);
	font-size: 0.9rem;
	color: var(--color-text-muted);
	margin: 0;
}

/* Portfolio Section
--------------------------------------------- */
/* Portfolio Section */
.portfolio-section {
	padding: var(--spacing-xl) 0;
	background: var(--color-surface);
	overflow: hidden;
}

.portfolio-header {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--spacing-md) var(--spacing-lg);
}

/* Marquee Container */
.marquee-container {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.marquee-track {
	display: flex;
	gap: 2rem;
	width: max-content;
	animation: marquee-scroll 40s linear infinite;
	will-change: transform;
}

.marquee-track:hover {
	animation-play-state: paused;
}

@keyframes marquee-scroll {
	0% {
		transform: translate3d(0, 0, 0);
	}
	100% {
		transform: translate3d(-50%, 0, 0);
	}
}

/* Industrial Card */
.project-card {
	display: block;
	flex-shrink: 0;
	width: 400px;
	text-decoration: none;
	color: var(--color-text-main);
	border: 1px solid #333;
	background: transparent;
	transition: border-color var(--transition-fast);
}

.project-card:hover {
	border-color: var(--color-accent);
}

.project-card-image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(135deg, var(--color-border) 0%, var(--color-surface) 100%);
}

.project-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: grayscale(100%);
	transition: filter var(--transition-smooth), transform var(--transition-smooth);
}

.project-card:hover .project-card-image img {
	filter: grayscale(0%);
	transform: scale(1.03);
}

/* Meta Bar */
.card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
	border-top: 1px solid #333;
}

.card-meta-title {
	font-family: var(--font-sans);
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin: 0;
	color: var(--color-text-main);
}

.card-meta-category {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--color-accent);
	white-space: nowrap;
}

.portfolio-empty {
	text-align: center;
	padding: var(--spacing-xl);
	color: var(--color-text-muted);
}

.portfolio-cta {
	text-align: center;
	margin-top: var(--spacing-lg);
	padding: 0 var(--spacing-md);
}

.portfolio-cta .btn {
	background: transparent;
	border: 1px solid var(--color-accent);
	color: var(--color-text-main);
}

.portfolio-cta .btn:hover,
.portfolio-cta .btn:active {
	background: var(--color-accent);
	color: var(--color-bg);
}

.portfolio-cta .btn:focus:not(:hover) {
	background: var(--color-accent);
	color: var(--color-bg);
	outline: none !important;
}

/* Pagination Dots (Hidden on desktop) */
.marquee-dots {
	display: none;
}

/* Marquee Mobile: Center Focus Carousel */
@media screen and (max-width: 767px) {
	.marquee-track {
		animation: none;
		width: auto;
		padding-right: 10vw;
	}

	.marquee-container {
		display: flex;
		overflow-x: scroll;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding: 0 5vw;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	.marquee-container::-webkit-scrollbar {
		display: none;
	}

	.project-card {
		min-width: 80vw;
		width: 80vw;
		scroll-snap-align: center;
		margin-right: 20px;
	}

	.project-card:last-child {
		margin-right: 0;
	}

	/* Pagination Dots */
	.marquee-dots {
		display: flex;
		justify-content: center;
		gap: 8px;
		margin-top: 15px;
	}

	.marquee-dot {
		width: 8px;
		height: 8px;
		background: #333;
		border-radius: 50%;
		transition: all 0.3s;
	}

	.marquee-dot.active {
		background: #E5B80B;
		transform: scale(1.2);
	}
}

/* CTA Section
--------------------------------------------- */
.cta-section {
	padding: var(--spacing-xl) var(--spacing-md);
	background: var(--color-bg);
	text-align: center;
}

.cta-inner {
	max-width: 800px;
	margin: 0 auto;
}

.cta-heading {
	font-size: clamp(1.75rem, 4vw, 3rem);
	margin-bottom: var(--spacing-lg);
}

.btn--large {
	padding: 1em 2.5em;
	font-size: 1rem;
}

@media screen and (max-width: 480px) {
	.btn--large {
		display: inline-block;
		width: auto;
	}
}

/* Ghost Button Style for CTA */
.cta-section .btn {
	background: transparent;
	border: 1px solid var(--color-accent);
	color: var(--color-text-main);
}

.cta-section .btn:hover,
.cta-section .btn:active {
	background: var(--color-accent);
	color: var(--color-bg);
}

.cta-section .btn:focus:not(:hover) {
	background: var(--color-accent);
	color: var(--color-bg);
	outline: none !important;
}

/*--------------------------------------------------------------
# Single Project Template
--------------------------------------------------------------*/

.single-project {
	padding-top: 0;
}

/* 1. Cinematic Header
--------------------------------------------- */
.project-header {
	position: relative;
	height: 60vh;
	min-height: 400px;
	display: flex;
	align-items: flex-end;
	margin-top: -80px;
	overflow: hidden;
}

.admin-bar .project-header {
	margin-top: -112px;
}

@media screen and (max-width: 782px) {
	.admin-bar .project-header {
		margin-top: -126px;
	}
}

.project-header-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

.project-header-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.project-header-content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: var(--spacing-lg) var(--spacing-md);
}

.project-header-inner {
	max-width: 1400px;
	margin: 0 auto;
}

.project-meta-tags {
	display: flex;
	gap: var(--spacing-sm);
	margin-bottom: var(--spacing-sm);
	flex-wrap: wrap;
}

.project-meta-tag {
	background: rgba(255, 255, 255, 0.1);
	padding: 0.25em 0.75em;
	border-radius: var(--border-radius-sm);
}

.project-title {
	font-size: clamp(2.5rem, 6vw, 5rem);
	margin: 0;
	max-width: 900px;
}

/* 2. Project Specs (Data Bar)
--------------------------------------------- */
.project-specs {
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	padding: 2rem 0;
	margin-bottom: 2rem;
}

.project-specs-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--spacing-md);
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

@media screen and (min-width: 768px) {
	.project-specs-inner {
		grid-template-columns: repeat(4, 1fr);
	}
}

.project-spec {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-xs);
}

.project-spec-label {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-text-muted);
}

.project-spec-value {
	font-family: var(--font-mono);
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-text-main);
}

/* 3. Project Content (Narrative)
--------------------------------------------- */
.project-content {
	padding: 1rem var(--spacing-md) var(--spacing-xl);
}

.project-content-inner {
	max-width: 800px;
	margin: 0 auto;
}

.project-content-inner p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 1.5em;
}

.project-content-inner h2 {
	margin-top: var(--spacing-lg);
	margin-bottom: var(--spacing-md);
}

.project-content-inner h3 {
	margin-top: var(--spacing-md);
	margin-bottom: var(--spacing-sm);
}

.project-content-inner blockquote {
	margin: var(--spacing-lg) 0;
	padding: var(--spacing-md) var(--spacing-lg);
	border-left: 4px solid var(--color-accent);
	background: var(--color-surface);
	border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.project-content-inner blockquote p {
	font-size: 1.25rem;
	margin-bottom: 0;
}

.project-content-inner img {
	border-radius: var(--border-radius-lg);
	margin: var(--spacing-lg) 0;
}

.project-content-inner figure {
	margin: var(--spacing-lg) 0;
}

.project-content-inner figcaption {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--color-text-muted);
	text-align: center;
	margin-top: var(--spacing-sm);
}

/* 4. Project Navigation
--------------------------------------------- */
.project-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	padding: 4rem 0;
	border-top: 1px solid #333;
	margin-top: 4rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--spacing-md);
	padding-right: var(--spacing-md);
}

.project-navigation a {
	font-family: var(--font-mono);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-accent);
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
	white-space: nowrap;
	transition: color 0.3s ease;
}

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

/* All Projects (Center Link) */
.nav-all {
	letter-spacing: 2px;
	color: #fff;
}

.nav-all:hover {
	color: #E5B80B;
}

.project-navigation .arrow {
	display: inline-block;
	transition: transform 0.3s ease;
}

.nav-prev a:hover .arrow {
	transform: translateX(-3px);
}

.nav-next a:hover .arrow {
	transform: translateX(3px);
}

/* Single Project — Mobile */
@media screen and (max-width: 768px) {
	.project-title {
		font-size: 2.5rem;
		word-break: break-word;
	}

	.project-specs {
		margin-bottom: 2rem;
	}
}

/*--------------------------------------------------------------
# Custom Page Templates
--------------------------------------------------------------*/

/* Page Model Template (The Model - 6 Sections)
--------------------------------------------- */
.page-model {
	padding-top: 0;
}

/* Section 1: Cinematic Hero (Split Layout)
--------------------------------------------- */
.model-hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: var(--color-bg);
	margin-top: -80px;
	padding-top: 80px;
	overflow: hidden;
}

@media screen and (max-width: 768px) {
	.model-hero {
		padding-top: 140px;
	}
}

.admin-bar .model-hero {
	margin-top: -112px;
	padding-top: 112px;
}

@media screen and (max-width: 782px) {
	.admin-bar .model-hero {
		margin-top: -126px;
		padding-top: 126px;
	}
}

.model-hero-inner {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: var(--spacing-lg) var(--spacing-md);
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-xl);
	align-items: center;
}

@media screen and (min-width: 768px) {
	.model-hero-inner {
		grid-template-columns: 1fr 1fr;
	}
}

.model-hero-content {
	max-width: 600px;
}

.model-hero-label {
	display: inline-block;
	color: var(--color-accent);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: var(--spacing-md);
}

.model-hero-label.meta-text {
	color: var(--color-accent);
}

.model-hero-title {
	font-family: var(--font-body);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: var(--spacing-md);
}

.model-hero-intro {
	font-size: 1.25rem;
	color: var(--color-text-muted);
	line-height: 1.7;
	margin: 0;
}

.model-hero-visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.model-hero-media {
	position: relative;
	width: 100%;
	max-width: 500px;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.model-hero-shape {
	width: 80%;
	height: 80%;
	background: linear-gradient(135deg, var(--color-accent) 0%, rgba(212, 175, 55, 0.2) 100%);
	border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
	animation: heroBreath 6s ease-in-out infinite;
}

@keyframes heroBreath {
	0%, 100% {
		border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
		transform: scale(1);
	}
	50% {
		border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
		transform: scale(1.05);
	}
}

/* Section 2: Core Model (Our Three Pillars)
--------------------------------------------- */
.core-model {
	padding: var(--spacing-xl) var(--spacing-md);
	background: var(--color-bg);
}

.core-model-inner {
	max-width: 1400px;
	margin: 0 auto;
}

.core-model .section-heading {
	text-align: center;
	margin-bottom: var(--spacing-xl);
}

/* Core Model Grid */
.core-model-grid {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

@media screen and (min-width: 768px) {
	.core-model-grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
}

/* Core Card (Super-Card) */
.core-card {
	position: relative;
	width: 100%;
	min-height: auto;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 2rem;
	padding-top: 5rem;
	overflow: visible;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media screen and (min-width: 768px) {
	.core-card {
		min-height: 360px;
		padding-top: 6rem;
	}
}

/* Card Watermark Number - Always Visible (Top-Right) */
.card-number {
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	font-family: var(--font-mono);
	font-size: 6rem;
	font-weight: 700;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px var(--color-accent);
	opacity: 0.15;
	pointer-events: none;
	z-index: 0;
	transition: opacity var(--transition-smooth);
}

@media screen and (min-width: 768px) {
	.card-number {
		font-size: 8rem;
	}
}

/* Card Icon */
.card-icon {
	color: var(--color-accent);
	margin-bottom: var(--spacing-md);
	position: relative;
	z-index: 1;
}

/* Card Heading Group */
.card-heading {
	position: relative;
	z-index: 1;
	margin-bottom: var(--spacing-sm);
}

.card-heading h3 {
	font-family: var(--font-body);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--color-text-main);
	margin: 0 0 var(--spacing-xs);
}

.card-heading h4 {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 400;
	color: var(--color-accent);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}

/* Card Details (Reveal Content) */
.card-details {
	position: relative;
	z-index: 1;
	overflow: hidden;
	transition: all 0.4s ease;
}

.card-details p {
	font-size: 0.95rem;
	color: var(--color-text-muted);
	line-height: 1.7;
	margin: 0;
	padding-top: var(--spacing-sm);
	border-top: 1px solid var(--color-border);
}

/* Desktop: Hover Reveal */
@media screen and (min-width: 768px) {
	.card-details {
		max-height: 0;
		opacity: 0;
	}

	.core-card:hover {
		background: radial-gradient(circle at center, rgba(30, 25, 10, 1) 0%, var(--color-surface) 100%);
		border-color: var(--color-accent);
		transform: scale(1.025);
		z-index: 10;
		box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
	}

	.core-card:hover .card-number {
		opacity: 0.25;
	}

	.core-card:hover .card-details {
		max-height: 200px;
		opacity: 1;
		margin-top: var(--spacing-sm);
	}
}

/* Mobile Expand Button - Minimal Text Toggle */
.mobile-expand-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0;
	margin-top: var(--spacing-md);
	font-family: var(--font-mono);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--color-text-main);
	cursor: pointer;
	outline: none;
	-webkit-tap-highlight-color: transparent;
	transition: color 0.2s ease;
	position: relative;
	z-index: 1;
}

.mobile-expand-btn:hover,
.mobile-expand-btn:focus,
.mobile-expand-btn:active {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	outline: none;
}

/* CSS Chevron Arrow */
.mobile-expand-btn .btn-arrow {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.3s ease;
	margin-bottom: 2px;
}

/* Mobile: Toggle interaction */
@media screen and (max-width: 767px) {
	.card-details {
		max-height: 0;
		opacity: 0;
	}

	.core-card.is-expanded .card-details {
		max-height: 200px;
		opacity: 1;
		margin-top: var(--spacing-sm);
	}

	.core-card.is-expanded .mobile-expand-btn {
		color: var(--color-text-muted);
	}

	.core-card.is-expanded .mobile-expand-btn .btn-arrow {
		transform: rotate(-135deg);
	}
}

/* Desktop: Hide mobile button */
@media screen and (min-width: 768px) {
	.mobile-expand-btn {
		display: none;
	}
}

/* Section 4: The Value Shift (Comparison Grid)
--------------------------------------------- */
.model-shift {
	padding: var(--spacing-xl) var(--spacing-md);
	background: #111111;
}

.model-shift .container {
	max-width: 1100px;
	margin: 0 auto;
}

.model-shift .section-heading {
	text-align: center;
	margin-bottom: var(--spacing-xl);
}

/* Comparison Grid */
.comparison-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-md);
	margin-bottom: var(--spacing-xl);
}

@media screen and (min-width: 768px) {
	.comparison-grid {
		grid-template-columns: 1fr 1fr;
		gap: var(--spacing-xl);
	}
}

/* Old Way Column */
.old-way {
	padding: var(--spacing-lg);
	border-radius: var(--radius-md);
	opacity: 0.5;
}

@media screen and (max-width: 767px) {
	.old-way {
		opacity: 0.6;
		padding-bottom: var(--spacing-sm);
	}
}

.old-way .comparison-title {
	font-family: var(--font-mono);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-text-muted);
	margin-bottom: var(--spacing-xs);
}

.old-way .comparison-subtitle {
	display: block;
	margin-bottom: var(--spacing-md);
}

.old-way .comparison-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.old-way .comparison-list li {
	font-family: var(--font-mono);
	font-size: 0.95rem;
	padding: var(--spacing-sm) 0;
	color: var(--color-text-muted);
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
}

.old-way .comparison-list li::before {
	content: '—';
	color: var(--color-text-muted);
	flex-shrink: 0;
}

/* New Way Column */
.new-way {
	padding: var(--spacing-lg);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
}

.new-way .comparison-title {
	font-family: var(--font-body);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--color-text-main);
	margin-bottom: var(--spacing-xs);
}

.new-way .comparison-subtitle {
	display: block;
	margin-bottom: var(--spacing-md);
}

.new-way .comparison-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.new-way .comparison-list li {
	font-size: 1rem;
	padding: var(--spacing-sm) 0;
	color: var(--color-text-main);
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
	border-bottom: 1px solid var(--color-border);
}

.new-way .comparison-list li:last-child {
	border-bottom: none;
}

.new-way .comparison-list li::before {
	content: '✓';
	color: var(--color-accent);
	font-weight: 700;
	flex-shrink: 0;
}

/* Metrics Dashboard */
.metrics-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	border-top: 1px solid var(--color-border);
	margin-top: var(--spacing-xl);
}

@media screen and (min-width: 768px) {
	.metrics-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.metric {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: var(--spacing-lg) var(--spacing-md);
	text-align: center;
	border-right: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

/* Remove right border on last item per row */
.metric:nth-child(2n) {
	border-right: none;
}

@media screen and (min-width: 768px) {
	.metric:nth-child(2n) {
		border-right: 1px solid var(--color-border);
	}

	.metric:last-child {
		border-right: none;
	}

	.metric {
		border-bottom: none;
	}
}

/* Remove bottom border on last row (mobile) */
@media screen and (max-width: 767px) {
	.metric:nth-child(3),
	.metric:nth-child(4) {
		border-bottom: none;
	}
}

.metric-value {
	display: block;
	font-family: var(--font-body);
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-text-main);
	line-height: 1.2;
	margin-bottom: var(--spacing-xs);
}

@media screen and (min-width: 768px) {
	.metric-value {
		font-size: 2.5rem;
		white-space: nowrap;
	}
}

.metric-label {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--color-accent);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

@media screen and (min-width: 768px) {
	.metric-label {
		font-size: 0.85rem;
	}
}

/* Section 6: Closing CTA
--------------------------------------------- */
.model-cta {
	padding: var(--spacing-xl) var(--spacing-md);
	background: var(--color-bg);
	text-align: center;
}

.model-cta-inner {
	max-width: 800px;
	margin: 0 auto;
}

.model-cta .cta-heading {
	margin-bottom: var(--spacing-lg);
}

.model-cta .btn {
	background: transparent;
	border: 1px solid var(--color-accent);
	color: var(--color-text-main);
}

.model-cta .btn:hover,
.model-cta .btn:active {
	background: var(--color-accent);
	color: var(--color-bg);
}

.model-cta .btn:focus:not(:hover) {
	background: var(--color-accent);
	color: var(--color-bg);
	outline: none !important;
}

/* Page Model — Mobile Refinements
--------------------------------------------- */
@media screen and (max-width: 768px) {
	/* 1. Hero Typography */
	.model-hero-title {
		font-size: 36px;
		line-height: 1.1;
	}

	.model-hero-intro {
		font-size: 16px;
		margin-bottom: 20px;
	}

	/* 2. Hero Animation — visible below subheadline */
	.model-hero-inner {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.model-hero-content {
		max-width: 100%;
	}

	.model-hero-visual {
		display: block;
		width: 100%;
		min-height: 300px;
		margin: 20px auto 0;
	}

	.model-hero-media {
		margin: 0 auto;
	}

	/* 3. The Shift — Reduce Gap */
	.model-shift .section-heading {
		margin-bottom: 30px;
	}

	.comparison-grid {
		margin-top: 0;
	}

	/* 4. Stats — Tighter Numbers */
	.metric-value {
		font-size: 2rem;
	}

	.metric-label {
		font-size: 12px;
		letter-spacing: 1px;
	}

	.metrics-grid {
		gap: 0;
	}

	.metric {
		padding: var(--spacing-md) var(--spacing-sm);
	}
}

/* Page About Template
--------------------------------------------- */
.page-about {
	padding-top: 0;
	overflow-x: hidden;
}

/* Remove footer margin on About page */
body.page-template-page-about .site-footer {
	margin-top: 0;
}

/* About Hero Section */
.about-hero {
	min-height: 85vh;
	display: flex;
	align-items: flex-end;
	padding: var(--spacing-xl) var(--spacing-md);
	padding-top: calc(var(--spacing-xl) + 80px);
	padding-bottom: 6rem;
	background-color: #050505;
}

.admin-bar .about-hero {
	padding-top: calc(var(--spacing-xl) + 112px);
}

@media screen and (max-width: 782px) {
	.admin-bar .about-hero {
		padding-top: calc(var(--spacing-xl) + 126px);
	}
}

.about-hero-inner {
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
	margin-bottom: 4rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.about-hero-kicker {
	font-family: var(--font-mono);
	font-size: 0.9rem;
	color: #E5B80B;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: var(--spacing-sm);
	display: block;
}

.about-hero-title {
	font-family: var(--font-body);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	line-height: 1.1;
	margin: 0;
}

.about-hero-desc {
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	color: var(--color-text-muted);
	line-height: 1.7;
	margin-top: var(--spacing-md);
	white-space: nowrap;
}

/* About Origin Section */
.about-origin {
	padding: var(--spacing-xl) var(--spacing-md);
	background: var(--color-surface);
}

.about-origin-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-xl);
	align-items: center;
}

.origin-text .section-heading {
	text-align: left;
	margin-bottom: var(--spacing-md);
}

.origin-content {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--color-text-muted);
}

.origin-visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.origin-image {
	width: 80%;
	max-width: 450px;
	height: auto;
	display: block;
	border-radius: var(--border-radius-lg);
}

.origin-placeholder {
	width: 80%;
	max-width: 450px;
	padding-bottom: 60%;
	background: linear-gradient(135deg, var(--color-border) 0%, #1a1a1a 100%);
	border-radius: var(--border-radius-lg);
}

/* About Evolution Section */
.about-evolution {
	padding: 6rem var(--spacing-md);
	background: var(--color-surface);
}

.about-evolution-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-xl);
	align-items: center;
}

/* Full width when no image */
.about-evolution-inner.evolution-full-width {
	grid-template-columns: 1fr;
	max-width: 900px;
}

.evolution-text-col {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.evolution-title {
	text-align: left;
	margin-bottom: var(--spacing-md);
}

.evolution-content {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--color-text-muted);
}

.evolution-image-col {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.evolution-image {
	width: 80%;
	max-width: 450px;
	height: auto;
	display: block;
	border-radius: var(--border-radius-lg);
}

@media screen and (max-width: 768px) {
	.about-evolution {
		padding: 4rem var(--spacing-sm);
	}

	.about-evolution-inner {
		grid-template-columns: 1fr;
		gap: var(--spacing-lg);
	}

	.evolution-content {
		font-size: 1rem;
	}

	.evolution-image-col {
		order: -1;
	}
}

/* About Pillars Section */
.about-pillars {
	padding: var(--spacing-xl) var(--spacing-md);
}

.about-pillars-inner {
	max-width: 1400px;
	margin: 0 auto;
}

.about-pillars-inner .section-heading {
	text-align: center;
	margin-bottom: var(--spacing-lg);
}

.pillars-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--spacing-lg);
}

.pillar-card {
	padding: var(--spacing-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	transition: border-color var(--transition-fast);
}

.pillar-card:hover {
	border-color: var(--color-accent);
}

.pillar-number {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--color-accent);
	margin-bottom: var(--spacing-sm);
}

.pillar-title {
	font-family: var(--font-mono);
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: var(--spacing-sm);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.pillar-text {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--color-text-muted);
	margin: 0;
}

/* About Leadership Section */
.about-leadership {
	padding: var(--spacing-xl) var(--spacing-md);
	background: #000;
}

.about-leadership-inner {
	max-width: 1000px;
	margin: 0 auto;
}

.about-leadership-inner .section-heading {
	margin-bottom: var(--spacing-lg);
}

.leadership-stack {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-lg);
}

.leader-card {
	display: flex;
	gap: var(--spacing-lg);
	padding: var(--spacing-lg);
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	transition: border-color var(--transition-fast);
	height: auto !important;
	min-height: 0;
	overflow: visible !important;
}

.leader-card:hover {
	border-color: var(--color-accent);
}

.leader-portrait {
	flex-shrink: 0;
	width: 200px;
	height: 260px;
	overflow: hidden;
	border-radius: var(--border-radius);
}

.leader-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
	mix-blend-mode: luminosity;
	transition: filter var(--transition-smooth), mix-blend-mode var(--transition-smooth);
}

.leader-card:hover .leader-image {
	filter: grayscale(0%);
	mix-blend-mode: normal;
}

.leader-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--color-border) 0%, #1a1a1a 100%);
}

.leader-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.leader-name {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: var(--spacing-xs);
}

.leader-role {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-bg);
	background: var(--color-accent);
	padding: 0.25em 0.6em;
	border-radius: 2px;
	margin-bottom: var(--spacing-sm);
	align-self: flex-start;
}

/* Leader Short Description (Visible on card) */
.leader-desc {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-text-muted);
	margin: var(--spacing-sm) 0 0 0;
}

/* Leader Bio Toggle Button */
.bio-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	padding: 0;
	margin-top: var(--spacing-sm);
	font-family: 'Space Mono', monospace;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #888;
	cursor: pointer;
	transition: color var(--transition-fast);
}

.bio-toggle:hover,
.bio-toggle:focus {
	color: #fff;
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
}

.bio-toggle:active {
	outline: none !important;
	border: none !important;
}

.bio-toggle-arrow {
	display: inline-block;
	transition: transform var(--transition-fast);
}

.bio-toggle.is-active .bio-toggle-arrow {
	transform: rotate(180deg);
}

/* Hidden Bio Content */
.bio-content {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
	margin-top: 0;
}

.bio-content.is-visible {
	max-height: 2000px;
	overflow: visible !important;
	opacity: 1;
	margin-top: var(--spacing-md);
}

/* Add spacing between paragraphs in the expanded bio */
.bio-content p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-text-muted);
	margin-bottom: 1.5rem;
}

/* Remove margin from the very last paragraph so it sits flush */
.bio-content p:last-child {
	margin-bottom: 0;
}

/* About Page Responsive */
@media screen and (max-width: 991px) {
	.about-origin-inner {
		grid-template-columns: 1fr;
		gap: var(--spacing-lg);
	}

	.origin-visual {
		order: -1;
	}

	.origin-image,
	.origin-placeholder {
		width: 70%;
		max-width: 350px;
	}

	.evolution-image {
		width: 70%;
		max-width: 350px;
	}

	.pillars-grid {
		grid-template-columns: 1fr;
		gap: var(--spacing-md);
	}

	.leader-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.leader-portrait {
		width: 180px;
		height: 235px;
	}

	.leader-role {
		align-self: center;
	}
}

@media screen and (max-width: 767px) {
	.about-hero {
		min-height: 70vh;
		padding: var(--spacing-lg) var(--spacing-sm);
		padding-top: calc(var(--spacing-lg) + 80px);
		padding-bottom: 4rem;
	}

	.about-hero-inner {
		margin-bottom: 3rem;
	}

	.about-hero-title {
		font-size: clamp(2rem, 6vw, 2.5rem);
		word-wrap: break-word;
		overflow-wrap: break-word;
		hyphens: auto;
	}

	.about-hero-kicker {
		font-size: 0.8rem;
	}

	.about-hero-desc {
		font-size: 1rem;
		white-space: normal;
	}

	.about-origin,
	.about-pillars,
	.about-leadership {
		padding: var(--spacing-lg) var(--spacing-sm);
	}

	.pillar-card {
		padding: var(--spacing-md);
	}

	.pillar-title {
		font-size: 1.1rem;
	}

	.leader-card {
		padding: var(--spacing-md);
	}

	.leader-portrait {
		width: 150px;
		height: 195px;
	}

	.leader-name {
		font-size: 1.25rem;
	}

	.leader-desc,
	.bio-content p {
		font-size: 0.9rem;
	}
}

/* Page Contact Template
--------------------------------------------- */
.page-contact {
	padding-top: 0;
	overflow-x: hidden;
}

.contact-section {
	padding: var(--spacing-xl) var(--spacing-md);
	padding-top: calc(var(--spacing-xl) + 80px);
	min-height: 100vh;
}

.admin-bar .contact-section {
	padding-top: calc(var(--spacing-xl) + 112px);
}

@media screen and (max-width: 782px) {
	.admin-bar .contact-section {
		padding-top: calc(var(--spacing-xl) + 126px);
	}
}

.contact-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-xl);
}

@media screen and (min-width: 768px) {
	.contact-inner {
		grid-template-columns: 40% 60%;
		align-items: start;
	}
}

/* Contact Info - Left Column */
.contact-info {
	max-width: 500px;
}

.contact-title {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 800;
	margin-bottom: var(--spacing-md);
	letter-spacing: -0.02em;
	line-height: 1;
}

.contact-subtitle {
	font-size: 1.1rem;
	color: var(--color-text-muted);
	margin-bottom: var(--spacing-xl);
	line-height: 1.7;
}

.contact-details {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-lg);
}

.contact-detail-label {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-accent);
	margin-bottom: var(--spacing-xs);
}

.contact-detail-value {
	font-style: normal;
	font-size: 1rem;
	line-height: 1.8;
	margin: 0;
}

.contact-detail-value a {
	color: var(--color-text-main);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.contact-detail-value a:hover {
	color: var(--color-accent);
}

/* Contact Form - Right Column */
.contact-form-wrapper {
	background: #111111;
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: var(--spacing-xl);
}

.contact-form .form-group {
	margin-bottom: var(--spacing-lg);
}

.contact-form label {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-text-muted);
	margin-bottom: var(--spacing-sm);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid #333333;
	border-radius: 0;
	padding: var(--spacing-sm) 0;
	color: var(--color-text-main);
	font-family: var(--font-body);
	font-size: 1rem;
	transition: border-color var(--transition-fast);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: #555555;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-bottom-color: var(--color-accent);
}

/* Force Autofill to match Dark Theme */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 30px #0A0A0A inset !important;
	-webkit-text-fill-color: #ffffff !important;
	transition: background-color 5000s ease-in-out 0s;
	caret-color: #ffffff;
}

.contact-form select {
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23E5B80B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0 center;
	background-size: 20px;
	padding-right: 30px;
}

.contact-form select option {
	background: #111111;
	color: var(--color-text-main);
	padding: var(--spacing-sm);
}

.contact-form textarea {
	resize: vertical;
	min-height: 140px;
	line-height: 1.6;
}

/* Submit Button - Matches Work Page "Read Case Study" Style */
.contact-form .btn--submit,
#contact-submit {
	width: 100%;
	margin-top: var(--spacing-md);
	background: var(--color-accent);
	color: var(--color-bg);
	border: 2px solid var(--color-accent);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 1em 2em;
	cursor: pointer;
	transition: all 0.3s ease;
}

.contact-form .btn--submit:hover,
#contact-submit:hover {
	background: transparent;
	border-color: var(--color-accent);
	color: var(--color-text-main);
}

.contact-form .btn--submit:focus,
#contact-submit:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.contact-form .btn--submit:active,
#contact-submit:active {
	transform: translateY(1px);
}

/* Contact Page Mobile Responsive */
@media screen and (max-width: 767px) {
	.contact-section {
		padding: var(--spacing-lg) 1.5rem;
		padding-top: calc(var(--spacing-lg) + 80px);
	}

	.contact-title {
		font-size: 2.5rem;
	}

	.contact-subtitle {
		font-size: 1rem;
	}

	.contact-form-wrapper {
		padding: 1.5rem;
	}

	.contact-form .form-group {
		margin-bottom: var(--spacing-md);
	}

	.contact-form input[type="text"],
	.contact-form input[type="email"],
	.contact-form select,
	.contact-form textarea {
		font-size: 1rem;
	}
}

/* Legal / Privacy Page Template
--------------------------------------------- */
.legal-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 160px 2rem 10rem;
	padding-top: calc(160px + 80px);
}

.admin-bar .legal-container {
	padding-top: calc(160px + 112px);
}

@media screen and (max-width: 782px) {
	.admin-bar .legal-container {
		padding-top: calc(160px + 126px);
	}
}

.legal-title {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 800;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: -0.02em;
	margin-bottom: 4rem;
}

.legal-content {
	color: #cccccc;
	font-size: 1.05rem;
	line-height: 1.7;
}

.legal-content p {
	margin-bottom: 1.5rem;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content h5,
.legal-content h6 {
	color: var(--color-text-main);
	margin-top: 3rem;
	margin-bottom: 1rem;
	font-weight: 700;
}

.legal-content h2 {
	font-size: 1.5rem;
}

.legal-content h3 {
	font-size: 1.25rem;
}

.legal-content h4 {
	font-size: 1.1rem;
}

.legal-content ul,
.legal-content ol {
	margin: 1.5rem 0;
	padding-left: 2rem;
}

.legal-content ul {
	list-style-type: disc;
}

.legal-content ol {
	list-style-type: decimal;
}

.legal-content li {
	margin-bottom: 0.5rem;
	padding-left: 0.5rem;
}

.legal-content ul ul,
.legal-content ol ol,
.legal-content ul ol,
.legal-content ol ul {
	margin: 0.5rem 0;
}

.legal-content a {
	color: var(--color-accent);
	text-decoration: none;
	transition: color var(--transition-fast);
}

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

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

.legal-content blockquote {
	border-left: 3px solid var(--color-accent);
	padding-left: 1.5rem;
	margin: 2rem 0;
	font-style: italic;
	color: var(--color-text-muted);
}

.legal-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
}

.legal-content th,
.legal-content td {
	padding: 0.75rem;
	border: 1px solid var(--color-border);
	text-align: left;
}

.legal-content th {
	background: var(--color-surface);
	color: var(--color-text-main);
	font-weight: 600;
}

/* Legal Page Mobile */
@media screen and (max-width: 767px) {
	.legal-container {
		padding: 100px 1.5rem 6rem;
		padding-top: calc(100px + 80px);
	}

	.legal-title {
		font-size: 2rem;
		margin-bottom: 3rem;
	}

	.legal-content {
		font-size: 1rem;
	}

	.legal-content h2 {
		font-size: 1.3rem;
	}

	.legal-content h3 {
		font-size: 1.15rem;
	}

	.legal-content ul,
	.legal-content ol {
		padding-left: 1.5rem;
	}
}

/* Page Cookies Template
--------------------------------------------- */
.page-cookies {
	padding-top: 0;
	background: var(--color-bg);
}

/* Cookies Hero */
.cookies-hero {
	padding: 200px 2rem 4rem;
	text-align: center;
	background: var(--color-bg);
}

.admin-bar .cookies-hero {
	padding-top: calc(200px + 32px);
}

@media screen and (max-width: 782px) {
	.admin-bar .cookies-hero {
		padding-top: calc(200px + 46px);
	}
}

.cookies-kicker {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--color-text-muted);
	margin-bottom: var(--spacing-sm);
}

.cookies-title {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	color: var(--color-text-main);
}

/* Cookies Body */
.cookies-body {
	padding: 0 2rem 8rem;
}

.cookie-system-wrapper {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.7;
	color: #cccccc;
}

/* Headings */
.cookie-system-wrapper h1,
.cookie-system-wrapper h2,
.cookie-system-wrapper h3,
.cookie-system-wrapper h4,
.cookie-system-wrapper h5,
.cookie-system-wrapper h6 {
	color: var(--color-text-main);
	font-family: var(--font-sans);
	font-weight: 700;
	margin-top: 3rem;
	margin-bottom: 1rem;
}

.cookie-system-wrapper h2 {
	font-size: 1.5rem;
}

.cookie-system-wrapper h3 {
	font-size: 1.25rem;
}

.cookie-system-wrapper h4 {
	font-size: 1.1rem;
}

/* Paragraphs */
.cookie-system-wrapper p {
	margin-bottom: 1.5rem;
}

/* Links */
.cookie-system-wrapper a {
	color: var(--color-accent);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.cookie-system-wrapper a:hover {
	color: var(--color-text-main);
}

/* Lists */
.cookie-system-wrapper ul,
.cookie-system-wrapper ol {
	margin: 1.5rem 0;
	padding-left: 2rem;
}

.cookie-system-wrapper ul {
	list-style-type: disc;
}

.cookie-system-wrapper ol {
	list-style-type: decimal;
}

.cookie-system-wrapper li {
	margin-bottom: 0.5rem;
	padding-left: 0.5rem;
}

/* Tables (Plugin output) */
.cookie-system-wrapper table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	background: transparent;
}

.cookie-system-wrapper th,
.cookie-system-wrapper td {
	padding: 0.75rem;
	border: 1px solid var(--color-border);
	text-align: left;
	color: var(--color-text-main);
	font-size: 0.85rem;
}

.cookie-system-wrapper th {
	background: var(--color-surface);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
}

.cookie-system-wrapper td {
	color: #cccccc;
}

/* Strong */
.cookie-system-wrapper strong {
	color: var(--color-text-main);
	font-weight: 700;
}

/* Placeholder */
.cookie-placeholder {
	text-align: center;
	color: var(--color-text-muted);
	font-style: italic;
	padding: 4rem 0;
	border: 1px dashed var(--color-border);
	border-radius: var(--border-radius);
}

/* Cookies Mobile */
@media screen and (max-width: 767px) {
	.cookies-hero {
		padding: 140px 1.5rem 3rem;
	}

	.cookies-title {
		font-size: 2rem;
	}

	.cookies-body {
		padding: 0 1.5rem 5rem;
	}

	.cookie-system-wrapper {
		font-size: 0.85rem;
	}

	.cookie-system-wrapper h2 {
		font-size: 1.3rem;
	}

	.cookie-system-wrapper h3 {
		font-size: 1.15rem;
	}

	.cookie-system-wrapper ul,
	.cookie-system-wrapper ol {
		padding-left: 1.5rem;
	}

	.cookie-system-wrapper th,
	.cookie-system-wrapper td {
		padding: 0.5rem;
		font-size: 0.75rem;
	}
}

/* Portfolio Archive Template
--------------------------------------------- */
.archive-project {
	padding-top: 0;
}

.archive-header {
	padding: var(--spacing-xl) var(--spacing-md);
	padding-top: calc(var(--spacing-xl) + 80px);
	text-align: center;
}

.admin-bar .archive-header {
	padding-top: calc(var(--spacing-xl) + 112px);
}

@media screen and (max-width: 782px) {
	.admin-bar .archive-header {
		padding-top: calc(var(--spacing-xl) + 126px);
	}
}

.archive-header-inner {
	max-width: 800px;
	margin: 0 auto;
}

.archive-title {
	font-size: clamp(2.5rem, 5vw, 4rem);
	margin-bottom: var(--spacing-md);
}

.archive-description {
	font-size: 1.1rem;
	color: var(--color-text-muted);
	line-height: 1.7;
}

/* Portfolio Filter */
.portfolio-filter {
	padding: var(--spacing-md) var(--spacing-md);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 80px;
	background: var(--color-bg);
	z-index: 100;
}

.admin-bar .portfolio-filter {
	top: 112px;
}

@media screen and (max-width: 782px) {
	.admin-bar .portfolio-filter {
		top: 126px;
	}
}

.portfolio-filter-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	gap: var(--spacing-sm);
	flex-wrap: wrap;
	justify-content: center;
}

.filter-btn {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.5em 1em;
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-sm);
	color: var(--color-text-muted);
	cursor: pointer;
	transition: all var(--transition-fast);
}

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

.filter-btn.is-active {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-bg);
}

/* Portfolio Archive Grid */
.portfolio-archive {
	padding: var(--spacing-lg) var(--spacing-md);
}

.portfolio-archive-inner {
	max-width: 1400px;
	margin: 0 auto;
}

.portfolio-archive-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-md);
}

@media screen and (min-width: 600px) {
	.portfolio-archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1024px) {
	.portfolio-archive-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.portfolio-archive-card {
	position: relative;
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.portfolio-archive-card a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.portfolio-archive-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform var(--transition-smooth);
}

.portfolio-archive-image--placeholder {
	background: linear-gradient(135deg, var(--color-border) 0%, var(--color-surface) 100%);
}

.portfolio-archive-card:hover .portfolio-archive-image {
	transform: scale(1.05);
}

.portfolio-archive-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 50%);
	opacity: 0;
	transition: opacity var(--transition-fast);
}

.portfolio-archive-card:hover .portfolio-archive-overlay {
	opacity: 1;
}

.portfolio-archive-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: var(--spacing-md);
	transform: translateY(20px);
	opacity: 0;
	transition: all var(--transition-fast);
}

.portfolio-archive-card:hover .portfolio-archive-content {
	transform: translateY(0);
	opacity: 1;
}

.portfolio-archive-meta {
	display: inline-block;
	margin-bottom: var(--spacing-xs);
}

.portfolio-archive-title {
	font-size: 1.25rem;
	margin: 0;
	color: var(--color-text-main);
}

/* Page Work (Selected Works) Template - Network Model
--------------------------------------------- */
.page-work {
	padding-top: 0;
	overflow-x: hidden;
}

/* ==========================================================================
   SECTION 1: Hero (Split Layout - Same as Model Page)
   ========================================================================== */
.work-hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: var(--spacing-xl) var(--spacing-md);
	background-color: var(--color-bg);
}

@media screen and (max-width: 767px) {
	.work-hero {
		padding-top: 140px;
		min-height: auto;
	}
}

.admin-bar .work-hero {
	margin-top: -112px;
	padding-top: 112px;
}

@media screen and (max-width: 782px) {
	.admin-bar .work-hero {
		margin-top: -46px;
		padding-top: 46px;
	}
}

.work-hero-inner {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-xl);
	align-items: center;
}

@media screen and (min-width: 992px) {
	.work-hero-inner {
		grid-template-columns: 1fr 1fr;
	}
}

.work-hero-content {
	max-width: 600px;
}

.work-hero-label {
	display: inline-block;
	color: var(--color-accent);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: var(--spacing-md);
}

.work-hero-label.meta-text {
	color: var(--color-accent);
}

.work-hero-title {
	font-family: var(--font-body);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: var(--spacing-md);
}

.work-hero-intro {
	font-size: 1.25rem;
	color: var(--color-text-muted);
	line-height: 1.7;
	margin-bottom: var(--spacing-lg);
}

/* Hero Actions (Dual CTA) */
.work-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--spacing-md);
}

.work-hero-actions .btn--primary {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-bg);
}

.work-hero-actions .btn--primary:hover {
	background: transparent;
	color: var(--color-text-main);
}

.work-hero-actions .btn--primary:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.work-hero-link {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	transition: color var(--transition-fast);
}

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

/* Hero Visual (Right Column) */
.work-hero-visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.work-hero-media {
	position: relative;
	width: 100%;
	max-width: 600px;
	aspect-ratio: 16 / 10;
	border-radius: var(--radius-md);
	overflow: hidden;
}

.work-hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius-md);
}

.work-hero-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
}

/* Hero Mobile */
@media screen and (max-width: 991px) {
	.work-hero-inner {
		text-align: center;
	}

	.work-hero-content {
		max-width: 100%;
	}

	.work-hero-actions {
		justify-content: center;
	}

	.work-hero-media {
		max-width: 500px;
		margin: 0 auto;
	}
}

@media screen and (max-width: 767px) {
	.work-hero-title {
		font-size: clamp(2rem, 6vw, 2.5rem);
		word-wrap: break-word;
		overflow-wrap: break-word;
		hyphens: auto;
	}

	.work-hero-intro {
		font-size: 1rem;
	}

	.work-hero-actions {
		gap: var(--spacing-sm);
	}

	.work-hero-media {
		aspect-ratio: 16 / 9;
	}
}

/* ==========================================================================
   SECTION 2: The Broadcast Network (Logo Layout Cards)
   ========================================================================== */
.work-network {
	padding: var(--spacing-xl) var(--spacing-md);
	background: #0A0A0A;
}

.work-network-inner {
	max-width: 1400px;
	margin: 0 auto;
}

.work-network .section-heading {
	text-align: center;
	margin-bottom: var(--spacing-xl);
}

.network-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-lg);
}

@media screen and (min-width: 600px) {
	.network-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1024px) {
	.network-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Network Card (Magazine Cover Layout) */
.network-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #111111;
	border: 1px solid #222222;
	border-radius: var(--radius-md);
	padding: 2rem;
}

/* Top Row: Logo (Left) — Tag (Right) */
.card-top-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1.5rem;
}

/* Logo */
.network-logo {
	height: 56px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
	mix-blend-mode: screen;
}

.network-logo-placeholder {
	height: 56px;
	width: 56px;
}

/* Status Tag (Top Right) */
.network-tag {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 8px;
	border: 1px solid var(--color-accent);
	border-radius: 2px;
	color: var(--color-accent);
	white-space: nowrap;
}

.network-tag.tag--completed {
	border-color: rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.5);
}

.network-tag.tag--active,
.network-tag.tag--official {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

/* Cards 5 & 6: Gray status tags */
.network-card:nth-child(5) .network-tag,
.network-card:nth-child(6) .network-tag {
	border-color: rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.5);
}

/* Title (Big Headline) */
.network-title {
	font-family: var(--font-body);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-text-main);
	margin: 0 0 1rem;
}

/* Description */
.network-desc {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.6;
	margin: 0;
}

/* Footer Link (Pushed to Bottom) */
.card-footer {
	margin-top: auto;
	padding-top: 2rem;
}

.visit-link {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.visit-link:visited {
	color: rgba(255, 255, 255, 0.6);
}

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

/* Network Card Mobile */
@media screen and (max-width: 767px) {
	.network-grid {
		gap: 1rem;
	}

	.network-card {
		padding: 1.5rem;
	}

	.card-top-row {
		margin-bottom: 1rem;
	}

	.network-logo {
		height: 40px;
		max-width: 120px;
	}

	.network-tag {
		font-size: 0.55rem;
		padding: 3px 6px;
	}

	.network-title {
		font-size: 1.1rem;
		margin-bottom: 0.5rem;
	}

	.network-desc {
		font-size: 0.8rem;
		line-height: 1.5;
	}

	.card-footer {
		padding-top: 1rem;
	}

	.visit-link {
		font-size: 0.7rem;
	}
}

/* ==========================================================================
   SECTION 3: Strategic Ventures (Data Table)
   ========================================================================== */
.work-ventures {
	padding: var(--spacing-xl) var(--spacing-md);
	background: var(--color-bg);
}

.work-ventures-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.work-ventures .section-heading {
	margin-bottom: var(--spacing-lg);
}

.ventures-table {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.ventures-table-header,
.ventures-row {
	display: grid;
	grid-template-columns: 80px 1fr 180px;
	gap: var(--spacing-md);
	padding: var(--spacing-md) var(--spacing-lg);
	font-family: var(--font-mono);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	transition: all var(--transition-fast);
}

/* Tablet: Ventures Table */
@media screen and (max-width: 991px) {
	.ventures-table-header,
	.ventures-row {
		grid-template-columns: 60px 1fr 120px;
		font-size: 0.75rem;
		gap: var(--spacing-sm);
	}
}

.ventures-table-header {
	background: var(--color-surface);
	color: var(--color-text-muted);
	font-weight: 700;
	border-bottom: 1px solid var(--color-border);
}

.ventures-row {
	color: var(--color-text-main);
	border-bottom: 1px solid var(--color-border);
	cursor: default;
}

.ventures-row:last-child {
	border-bottom: none;
}

.ventures-row:hover {
	background: #111111;
}

.col-year {
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.5);
}

.col-venture {
	font-weight: 500;
}

.col-venture a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition-fast);
}

.col-venture a:hover {
	color: var(--color-accent);
}

.col-role {
	color: rgba(255, 255, 255, 0.5);
	text-align: right;
}

/* Clickable Venture Rows */
.ventures-row--linked {
	cursor: pointer;
}

.ventures-row--linked:hover .col-venture {
	color: var(--color-accent);
}

/* Mobile: Ventures Table */
@media screen and (max-width: 767px) {
	.work-ventures {
		padding: var(--spacing-lg) var(--spacing-sm);
	}

	.ventures-table-header,
	.ventures-row {
		grid-template-columns: 40px 1fr 80px;
		padding: var(--spacing-sm);
		font-size: 0.65rem;
		gap: 8px;
	}

	.col-year {
		font-size: 0.6rem;
	}

	.col-venture {
		font-size: 0.65rem;
	}

	.col-role {
		display: block !important;
		font-size: 0.55rem;
		text-align: right;
	}
}

/* ==========================================================================
   SECTION 4: Work CTA
   ========================================================================== */
.work-cta {
	padding: var(--spacing-xl) var(--spacing-md);
	background: var(--color-surface);
	text-align: center;
}

.work-cta-inner {
	max-width: 800px;
	margin: 0 auto;
}

.work-cta .cta-heading {
	margin-bottom: var(--spacing-lg);
}

.work-cta .btn {
	background: transparent;
	border: 1px solid var(--color-accent);
	color: var(--color-text-main);
}

.work-cta .btn:hover {
	background: var(--color-accent);
	color: var(--color-bg);
}

.work-cta .btn:focus:not(:hover) {
	outline: none !important;
	box-shadow: none !important;
}

/* ==========================================================================
   Case Study Modal (ONLION Design)
   ========================================================================== */

/* Force dialog to be hidden when closed */
dialog:not([open]) {
	display: none !important;
}

/* Dialog focus cleanup */
dialog:focus {
	outline: none;
}

/* Backdrop with blur */
.case-study-modal::backdrop {
	background-color: rgba(0, 0, 0, 0.85) !important;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

/* Dialog Container - only styled when open */
.case-study-modal[open] {
	display: flex;
	flex-direction: column;
	width: 90vw;
	max-width: 1000px;
	max-height: 90vh;
	margin: auto;
	padding: 0;
	background-color: #0f0f0f;
	border: 1px solid #333333;
	border-radius: var(--radius-md);
	box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9);
	overflow: hidden;
	outline: none;
}


/* Modal Content Wrapper - Scrollable area */
.case-study-modal .modal-content {
	padding: 4rem;
	overflow-y: auto;
	flex: 1;
}

/* Custom Scrollbar on modal-content */
.case-study-modal .modal-content::-webkit-scrollbar {
	width: 6px;
}

.case-study-modal .modal-content::-webkit-scrollbar-track {
	background: transparent;
}

.case-study-modal .modal-content::-webkit-scrollbar-thumb {
	background-color: var(--color-accent);
	border-radius: 4px;
}

.case-study-modal .modal-content {
	scrollbar-width: thin;
	scrollbar-color: var(--color-accent) transparent;
}

/* Text Layout - Comfortable reading width */
.case-study-modal .modal-body {
	max-width: 80ch;
	margin: 0 auto;
	color: var(--color-text-main);
	line-height: 1.7;
}

/* Close button - Fixed in top right corner */
.case-study-modal .modal-close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.5);
	font-size: 2rem;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: color var(--transition-fast);
	z-index: 10;
}

.case-study-modal .modal-close:hover {
	color: var(--color-text-main);
}

.case-study-modal .modal-close:focus {
	outline: none;
}

.case-study-modal .modal-close:hover {
	color: var(--color-text-main);
}

.case-study-modal .modal-close:focus {
	outline: none;
}

/* Modal Body Typography */
.case-study-modal .modal-body h2,
.case-study-modal .modal-body h3,
.case-study-modal .modal-body h4 {
	margin-top: var(--spacing-lg);
	margin-bottom: var(--spacing-sm);
}

.case-study-modal .modal-body h2:first-child,
.case-study-modal .modal-body h3:first-child {
	margin-top: 0;
}

.case-study-modal .modal-body p {
	margin-bottom: var(--spacing-md);
}

.case-study-modal .modal-body ul,
.case-study-modal .modal-body ol {
	margin-bottom: var(--spacing-md);
	padding-left: var(--spacing-lg);
}

.case-study-modal .modal-body li {
	margin-bottom: var(--spacing-xs);
}

@media screen and (max-width: 767px) {
	.case-study-modal {
		width: 95vw;
		max-height: 85vh;
	}

	.case-study-modal .modal-content {
		padding: 2rem;
		padding-top: 3rem;
	}

	.case-study-modal .modal-close {
		top: 0.75rem;
		right: 0.75rem;
		width: 36px;
		height: 36px;
		font-size: 1.25rem;
	}
}

/* Typography Utilities
--------------------------------------------- */

/* Meta text - for tags, dates, categories, etc. */
.meta-text {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-text-muted);
}

/* Button utility class */
.btn {
	display: inline-block;
	font-family: var(--font-mono);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.75em 1.5em;
	border: var(--border-width) solid var(--color-accent);
	border-radius: var(--border-radius-sm);
	background: var(--color-accent);
	color: var(--color-bg);
	text-decoration: none;
	cursor: pointer;
	transition: all var(--transition-fast);
}

.btn:hover {
	background: transparent;
	color: var(--color-accent);
}

.btn:active {
	background: var(--color-accent);
	color: var(--color-bg);
}

.btn:focus:not(:hover) {
	background: var(--color-accent);
	color: var(--color-bg);
	outline: none !important;
}

.btn--outline {
	background: transparent;
	color: var(--color-accent);
}

.btn--outline:hover {
	background: var(--color-accent);
	color: var(--color-bg);
}

.btn--outline:active {
	background: var(--color-accent);
	color: var(--color-bg);
}

.btn--outline:focus:not(:hover) {
	background: transparent !important;
	color: var(--color-accent) !important;
	outline: none !important;
}

/* Project Visit Button */
.project-visit-btn {
	margin-top: var(--spacing-md);
}


/* ==========================================================================
   STANDARD PAGE TEMPLATE (page.php)
   ========================================================================== */

.page-standard {
	background: var(--color-bg);
	min-height: 100vh;
}

.page-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 120px var(--spacing-md) var(--spacing-xl);
}

/* Admin bar adjustment */
.admin-bar .page-content {
	padding-top: 152px;
}

/* Page Title */
.page-standard .page-title {
	font-family: var(--font-body);
	font-size: 3rem;
	font-weight: 800;
	line-height: 1.1;
	color: var(--color-text-main);
	margin: 0 0 var(--spacing-md);
}

/* Page Body Content */
.page-body {
	color: var(--color-text-main);
}

.page-body p {
	font-size: 1.125rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

.page-body h2 {
	font-family: var(--font-body);
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-text-main);
	margin-top: var(--spacing-lg);
	margin-bottom: var(--spacing-sm);
}

.page-body h3 {
	font-family: var(--font-body);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--color-text-main);
	margin-top: var(--spacing-md);
	margin-bottom: var(--spacing-xs);
}

.page-body h4 {
	font-family: var(--font-body);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-text-main);
	margin-top: var(--spacing-md);
	margin-bottom: var(--spacing-xs);
}

/* Lists */
.page-body ul,
.page-body ol {
	margin: 0 0 1.5rem 1.5rem;
	padding: 0;
	line-height: 1.7;
}

.page-body ul {
	list-style-type: disc;
}

.page-body ol {
	list-style-type: decimal;
}

.page-body li {
	font-size: 1.125rem;
	margin-bottom: 0.5rem;
	color: var(--color-text-main);
}

.page-body ul ul,
.page-body ol ol,
.page-body ul ol,
.page-body ol ul {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

/* Blockquotes */
.page-body blockquote {
	margin: var(--spacing-md) 0;
	padding: var(--spacing-sm) var(--spacing-md);
	border-left: 3px solid var(--color-accent);
	background: var(--color-surface);
	font-style: italic;
}

.page-body blockquote p {
	margin-bottom: 0;
}

/* Links */
.page-body a {
	color: var(--color-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color var(--transition-fast);
}

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

/* Images */
.page-body img {
	max-width: 100%;
	height: auto;
	margin: var(--spacing-md) 0;
	border-radius: var(--radius-sm);
}

/* Code */
.page-body code {
	font-family: var(--font-mono);
	font-size: 0.875em;
	background: var(--color-surface);
	padding: 0.2em 0.4em;
	border-radius: var(--radius-sm);
}

.page-body pre {
	background: var(--color-surface);
	padding: var(--spacing-md);
	overflow-x: auto;
	border-radius: var(--radius-sm);
	margin: var(--spacing-md) 0;
}

.page-body pre code {
	background: transparent;
	padding: 0;
}

/* Tables */
.page-body table {
	width: 100%;
	border-collapse: collapse;
	margin: var(--spacing-md) 0;
}

.page-body th,
.page-body td {
	padding: var(--spacing-sm);
	text-align: left;
	border-bottom: 1px solid var(--color-border);
}

.page-body th {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-text-muted);
}

/* Horizontal Rule */
.page-body hr {
	border: none;
	border-top: 1px solid var(--color-border);
	margin: var(--spacing-lg) 0;
}

/* Responsive */
@media (max-width: 768px) {
	.page-content {
		padding: 100px var(--spacing-sm) var(--spacing-lg);
	}

	.admin-bar .page-content {
		padding-top: 146px;
	}

	.page-standard .page-title {
		font-size: 2.25rem;
	}

	.page-body p,
	.page-body li {
		font-size: 1rem;
	}

	.page-body h2 {
		font-size: 1.75rem;
	}

	.page-body h3 {
		font-size: 1.25rem;
	}
}

/* Careers Page
--------------------------------------------- */
.careers-hero-sub {
	font-size: 1.25rem;
	line-height: 1.7;
	color: var(--color-text-muted);
	margin-bottom: var(--spacing-xl);
}

.careers-roles {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-lg);
	border-top: 1px solid var(--color-border);
	padding-top: var(--spacing-xl);
	margin-bottom: var(--spacing-xl);
}

@media screen and (min-width: 768px) {
	.careers-roles {
		grid-template-columns: 1fr 2fr;
	}
}

.careers-roles-heading {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-text-muted);
	margin: 0;
}

.careers-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.careers-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--color-border);
	font-family: var(--font-sans);
	font-size: 1.1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--color-text-main);
	transition: color var(--transition-fast);
}

.careers-list li:first-child {
	border-top: 1px solid var(--color-border);
}

.careers-list li:hover {
	color: var(--color-accent);
}

.careers-list .role-arrow {
	font-size: 1.25rem;
	color: var(--color-text-muted);
	transition: transform 0.3s ease, color 0.3s ease;
}

.careers-list li:hover .role-arrow {
	color: var(--color-accent);
	transform: translateX(4px);
}

.careers-cta {
	border-top: 1px solid var(--color-border);
	padding-top: var(--spacing-lg);
	text-align: center;
}

.careers-cta p {
	font-family: var(--font-mono);
	font-size: 0.9rem;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.careers-cta a {
	color: var(--color-accent);
	text-decoration: none;
	transition: color var(--transition-fast);
}

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

.email-link {
	text-transform: none;
	font-family: 'Courier New', monospace;
	color: #E5B80B;
}

.careers-status-heading {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-text-main);
	margin: 0 0 var(--spacing-sm);
}

.careers-status-text {
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--color-text-muted);
	margin: 0;
}

@media screen and (max-width: 767px) {
	.careers-hero-sub {
		font-size: 1rem;
	}

	.careers-list li {
		font-size: 1rem;
	}
}

/* ==========================================================================
   Force Single Project Button Styles (Global Override)
   ========================================================================== */
.single-project .project-visit-btn {
	background-color: transparent !important;
	border: 1px solid #fff !important;
	color: #fff !important;
	box-shadow: none !important;
}

.single-project .project-visit-btn:hover {
	background-color: #E5B80B !important;
	border-color: #E5B80B !important;
	color: #000 !important;
}

/* ==========================================================================
   Mobile Menu Refinements
   ========================================================================== */
@media screen and (max-width: 768px) {
	/* 1. Hide Header CTA Button on Mobile */
	.header-cta {
		display: none !important;
	}

	/* 2. Clean Up Menu Toggle (Hamburger/Close) */
	.menu-toggle {
		border: none !important;
		box-shadow: none !important;
		background: transparent !important;
	}

	.menu-toggle:focus,
	.menu-toggle:active {
		outline: none;
		border: none !important;
		box-shadow: none !important;
	}

	/* 3. Refine Mobile Menu Typography - Match Desktop */
	.mobile-navigation a {
		font-family: var(--font-mono);
		font-size: 1rem;
		font-weight: 400;
		color: var(--color-text-muted);
		text-transform: uppercase;
		letter-spacing: 0.05em;
	}

	.mobile-navigation a:hover,
	.mobile-navigation a:focus {
		color: var(--color-accent);
	}

	.mobile-navigation li {
		margin-bottom: 1.25rem;
	}

	/* 4. Mobile CTA Button - Gold Outline Style */
	.mobile-cta {
		background-color: transparent !important;
		border: 1px solid #E5B80B !important;
		color: #E5B80B !important;
		box-shadow: none !important;
		font-family: 'Space Mono', monospace;
		font-size: 0.65rem;
		font-weight: 400;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		padding: 0.5rem 1rem;
		white-space: nowrap;
	}

	.mobile-cta:hover,
	.mobile-cta:active {
		background-color: #E5B80B !important;
		border-color: #E5B80B !important;
		color: #000 !important;
	}
}
