/*!
Theme Name: benign-malevolence
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: benign-malevolence
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.

benign-malevolence 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/
*/

/*--------------------------------------------------------------
>>> 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

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

/*--------------------------------------------------------------
# Design Tokens — CSS Custom Properties
--------------------------------------------------------------*/

:root {

	/* ── Colours ──────────────────────────────────────────── */
	--color-bg-primary:     #3D2B1F;
	--color-bg-content:     #FFF8DC;
	--color-text-primary:   #000000;
	--color-text-on-dark:   #FFF8DC;
	--color-text-secondary: #DAA520;
	--color-accent:         #DAA520;
	--color-accent-green:   #228B22;
	--color-accent-hover:   #800020;
	--color-border:         #DAA520;
	--color-canvas-overlay: rgba(0, 0, 0, 0.45);
	--color-canvas-title:   #FFF8DC;
	--color-footer-bg:      #3D2B1F;
	--color-footer-text:    #FFF8DC;

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

	--font-size-base:      18px;
	--line-height-body:    1.7;
	--line-height-heading: 1.2;

	/* Type scale — base 18 px, ratio 1.25 */
	--text-xs:  0.64rem;   /* ≈ 11.5 px */
	--text-sm:  0.8rem;    /* ≈ 14.4 px */
	--text-md:  1.25rem;   /* ≈ 22.5 px */
	--text-lg:  1.5625rem; /* ≈ 28.1 px */
	--text-xl:  1.953rem;  /* ≈ 35.2 px */
	--text-2xl: 2.441rem;  /* ≈ 43.9 px */
	--text-3xl: 3.052rem;  /* ≈ 54.9 px */

	/* ── Spacing (unit: 8 px) ─────────────────────────────── */
	--space-1:  8px;
	--space-2:  16px;
	--space-3:  24px;
	--space-4:  32px;
	--space-5:  40px;
	--space-6:  48px;
	--space-8:  64px;
	--space-10: 80px;
	--space-12: 96px;
	--space-16: 128px;

	/* ── Layout ───────────────────────────────────────────── */
	--container-max:  1200px;
	--content-narrow: 720px;
}

/* Base overrides — apply tokens globally */
html {
	font-size: var(--font-size-base);
}

body {
	background-color: var(--color-bg-primary);
	color: var(--color-text-on-dark);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: var(--line-height-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	line-height: var(--line-height-heading);
	color: inherit;
}

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

a {
	color: var(--color-accent);
	transition: color 0.2s ease;
}

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

/*--------------------------------------------------------------
# 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: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

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

hr {
	background-color: #ccc;
	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: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

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 {
	border-color: #aaa #bbb #bbb;
}

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: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

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 {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

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

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

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.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%;
}

/* 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: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	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;
}

/*--------------------------------------------------------------
# Site Header
--------------------------------------------------------------*/

.site-header {
	background-color: var(--color-bg-primary);
	position: sticky;
	top: 0;
	z-index: 1000;
	transform: translateY(0);
	transition: transform 0.3s ease;
	border-bottom: 1px solid rgba(218, 165, 32, 0.15);
}

.site-header--hidden {
	transform: translateY(-100%);
}

.site-header__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: var(--space-3) var(--space-4);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-2);
}

/* Logo */
.site-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.site-logo-link img {
	height: 128px;
	width: auto;
	display: block;
}

.site-logo-text {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	color: var(--color-text-on-dark);
	letter-spacing: 0.03em;
}

/* Primary navigation */
.main-navigation {
	width: 100%;
}

.main-navigation ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	color: var(--color-text-on-dark);
	text-decoration: none;
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: var(--space-1) var(--space-2);
	transition: color 0.2s ease;
}

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

/* Hamburger toggle — hidden on desktop */
.menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid rgba(255, 248, 220, 0.25);
	border-radius: 4px;
	cursor: pointer;
	padding: 10px;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
}

.hamburger-bar {
	display: block;
	width: 22px;
	height: 2px;
	background-color: var(--color-text-on-dark);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Animate bars when menu is open */
.main-navigation.toggled .hamburger-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.main-navigation.toggled .hamburger-bar:nth-child(2) {
	opacity: 0;
}

.main-navigation.toggled .hamburger-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile — slide-out panel from the right */
@media (max-width: 768px) {

	.site-header__inner {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		padding: var(--space-2) var(--space-3);
		gap: 0;
	}

	.main-navigation {
		flex: 0 0 auto;
	}

	.menu-toggle {
		display: flex;
		position: relative;
		z-index: 10001;
	}

	.main-navigation ul {
		position: fixed;
		top: 0;
		right: 0;
		width: min(300px, 90vw);
		height: 100vh;
		background-color: var(--color-bg-primary);
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		flex-wrap: nowrap;
		padding: var(--space-10) var(--space-4) var(--space-6);
		z-index: 10000;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform 0.3s ease;
		pointer-events: none;
		visibility: hidden;
		border-left: 1px solid rgba(218, 165, 32, 0.25);
		box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
	}

	.main-navigation.toggled ul {
		transform: translateX(0);
		pointer-events: auto;
		visibility: visible;
	}

	.main-navigation a {
		padding: var(--space-2) 0;
		font-size: var(--text-md);
		text-align: left;
		border-bottom: 1px solid rgba(255, 248, 220, 0.06);
		letter-spacing: 0.05em;
	}
}

/*--------------------------------------------------------------
# Site Footer
--------------------------------------------------------------*/

.site-footer {
	background-color: var(--color-footer-bg);
	color: var(--color-footer-text);
	font-family: var(--font-body);
}

/* Contact link in footer col 1 */
.footer-contact-link {
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--color-footer-text);
	border: 2px solid var(--color-accent);
	border-radius: 3px;
	padding: 10px var(--space-4);
	display: inline-block;
	transition: background 0.15s ease, color 0.15s ease;
}

.footer-contact-link:hover {
	background-color: var(--color-accent);
	color: #000000;
}

.site-footer__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: var(--space-10) var(--space-4) var(--space-8);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-8);
}

.footer-col__heading {
	font-family: var(--font-heading);
	font-size: var(--text-md);
	font-weight: 700;
	color: var(--color-accent);
	line-height: var(--line-height-heading);
	margin: 0 0 var(--space-3);
	padding-bottom: var(--space-2);
	border-bottom: 1px solid rgba(218, 165, 32, 0.25);
}

.footer-col a {
	color: var(--color-footer-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

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

/* Newsletter */
.footer-newsletter__desc {
	font-size: var(--text-sm);
	line-height: var(--line-height-body);
	color: rgba(255, 248, 220, 0.7);
	margin: 0 0 var(--space-3);
}

/* Social links */
.footer-social {
	margin-top: var(--space-4);
}

.footer-social__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
}

.footer-social__link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	font-size: var(--text-sm);
	font-weight: 500;
}

.footer-social__link::before {
	content: '→';
	color: var(--color-accent);
}

/* Recent posts */
.footer-recent-posts {
	list-style: none;
	margin: 0 0 var(--space-4);
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.footer-recent-posts li {
	font-size: var(--text-sm);
	line-height: 1.4;
	padding: var(--space-1) 0;
	border-bottom: 1px solid rgba(255, 248, 220, 0.06);
}

/* Contact email */
.footer-contact-email {
	font-size: var(--text-sm);
	margin: var(--space-3) 0 0;
}

.footer-contact-email a {
	color: var(--color-accent);
}

/* Legal column */
.footer-tagline {
	font-family: var(--font-heading);
	font-style: italic;
	font-size: var(--text-md);
	line-height: var(--line-height-heading);
	color: var(--color-text-on-dark);
	margin: 0 0 var(--space-4);
}

.footer-copyright {
	font-size: var(--text-xs);
	color: rgba(255, 248, 220, 0.55);
	margin: 0 0 var(--space-2);
}

.footer-license {
	font-size: var(--text-xs);
	margin: 0;
}

.footer-license a {
	color: rgba(255, 248, 220, 0.55);
	text-decoration: underline;
	text-underline-offset: 3px;
}

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

/* Responsive */
@media (max-width: 900px) {
	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-6);
	}

	.footer-col--3 {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: var(--space-6);
		padding: var(--space-8) var(--space-3) var(--space-6);
	}

	.footer-col--3 {
		grid-column: auto;
	}
}

/*--------------------------------------------------------------
# Canvas Page — Infinite Homepage
--------------------------------------------------------------*/

/* ── Desktop: canvas fills remaining viewport (height set by JS) ── */
@media (min-width: 769px) {

	/* Mobile feed hidden; footer visible and reachable by scrolling */
	body.canvas-page .bm-mobile-feed {
		display: none;
	}
}

/* ── Canvas wrapper + canvas surface ────────────────────────── */
.bm-canvas-wrapper {
	width: 100%;
	/* height set dynamically by canvas.js to window.innerHeight − header height */
	overflow: hidden;
	position: relative;
	cursor: grab;
	background-color: var(--color-bg-primary);
	user-select: none;
	-webkit-user-select: none;
	transform: translateZ(0); /* stacking context — keeps overflow:hidden effective on composited children */
}

.bm-canvas-wrapper.is-dragging {
	cursor: grabbing;
}

.bm-canvas {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
}

/* Drag hint badge — sits above the fixed legend bar */
.canvas-drag-hint {
	position: absolute;
	bottom: 52px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 248, 220, 0.4);
	font-family: var(--font-body);
	font-size: var(--text-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	pointer-events: none;
	margin: 0;
	white-space: nowrap;
}

/* ── Canvas nodes — circular; image + category colour overlay ── */
.bm-node {
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 50%;
	overflow: hidden;
	pointer-events: auto;
	cursor: pointer;
	display: block;
	text-decoration: none;
	will-change: transform;
	outline: 3px solid transparent;
	outline-offset: -3px;
	transition: outline-color 0.2s ease, filter 0.2s ease;
	-webkit-touch-callout: none;
}

/* Featured image fills the full circle */
.bm-node img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

/* Category colour tint — 25% opacity set inline by JS */
.bm-node__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
}

/* Title centred inside the coloured circle */
.bm-node__title {
	position: absolute;
	left: 8%;
	right: 8%;
	top: 50%;
	transform: translateY(-50%);
	color: var(--color-canvas-title); /* #FFF8DC */
	font-family: var(--font-heading);
	font-weight: 700;
	text-align: center;
	line-height: 1.2;
	pointer-events: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* ── Hover state ────────────────────────────────────────────── */
.bm-node:hover {
	outline-color: #FFF8DC;
	filter: brightness(1.15);
	z-index: 10;
}

/* ── Legend bar — absolute within canvas wrapper (scrolls with canvas) ── */
.bm-legend {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-4);
	padding: 10px var(--space-4);
	background: transparent;
	border-top: none;
	pointer-events: none;
}

.bm-legend__item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 248, 220, 0.65);
	font-family: var(--font-body);
	font-size: var(--text-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bm-legend__swatch {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	flex-shrink: 0;
}

/* ── Mobile fallback — vertical scrolling feed ──────────────── */
@media (max-width: 768px) {

	body.canvas-page .bm-canvas-wrapper {
		display: none;
	}

	/* canvas-drag-hint and .bm-legend are children of .bm-canvas-wrapper — hidden above */
}

.bm-mobile-feed {
	display: none;
}

@media (max-width: 768px) {
	.bm-mobile-feed {
		display: flex;
		flex-direction: column;
		gap: var(--space-1);
		padding: var(--space-3);
		background-color: var(--color-bg-primary);
	}
}

.bm-feed-card {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	padding: var(--space-2);
	text-decoration: none;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	transition: background 0.2s ease;
}

.bm-feed-card:hover {
	background: rgba(218, 165, 32, 0.08);
}

.bm-feed-card__image {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	overflow: hidden;
}

.bm-feed-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bm-feed-card__title {
	color: var(--color-text-on-dark);
	font-family: var(--font-heading);
	font-size: var(--text-md);
	line-height: var(--line-height-heading);
	flex: 1;
}

/* ── Hover preview card ──────────────────────────────────────── */
.bm-preview-card {
	position: fixed;
	z-index: 9999;
	width: 280px;
	background: #1A1008;
	border: 1px solid #DAA520;
	border-radius: 4px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
	cursor: pointer;
	overflow: hidden;
	opacity: 0;
	transform: scale(0.95);
	transform-origin: center center;
	pointer-events: none;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.bm-preview-card.is-visible {
	opacity: 1;
	transform: scale(1);
	pointer-events: auto;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.bm-preview-card__image-wrap {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	display: block;
}

.bm-preview-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bm-preview-card__body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bm-preview-card__title {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 700;
	color: #FFF8DC;
	line-height: 1.35;
	margin: 0;
}

.bm-preview-card__date {
	font-family: var(--font-mono);
	font-size: 0.65rem;
	font-weight: 700;
	color: #DAA520;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0;
}

.bm-preview-card__excerpt {
	font-family: var(--font-body);
	font-size: 0.8rem;
	color: #FFF8DC;
	line-height: 1.55;
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.bm-preview-card__more {
	font-family: var(--font-body);
	font-size: 0.75rem;
	color: #DAA520;
	margin: 4px 0 0;
}

@media (max-width: 768px) {
	.bm-preview-card { display: none; }
}

/*--------------------------------------------------------------
# Content Archive — home.php
--------------------------------------------------------------*/

.content-archive {
	background-color: var(--color-bg-primary);
	min-height: 100vh;
	padding: var(--space-8) 0 var(--space-10);
}

.content-archive__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-4);
}

.content-archive__title {
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--color-canvas-title); /* #FFF8DC */
	margin: 0 0 var(--space-5);
	line-height: var(--line-height-heading);
}

.content-archive__empty {
	color: rgba(255, 248, 220, 0.5);
	font-family: var(--font-body);
	font-size: var(--text-md);
}

/* ── Filter buttons ──────────────────────────────────────────── */
.content-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-bottom: var(--space-5);
}

.content-filter-btn {
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 500;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 8px var(--space-3);
	border: 2px solid var(--color-accent);
	border-radius: 4px;
	background: transparent;
	color: #FFF8DC;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
	line-height: 1;
}

.content-filter-btn.is-active {
	background: var(--color-accent);
	color: #000000;
}

.content-filter-btn:hover:not(.is-active) {
	background: rgba(218, 165, 32, 0.12);
}

/* ── Card grid ───────────────────────────────────────────────── */
.content-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-4);
}

.content-card {
	display: block;
	text-decoration: none;
	background-color: var(--color-bg-primary);
	border: 2px solid transparent;
	border-radius: 4px;
	overflow: hidden;
	transition: border-color 0.2s ease;
}

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

.content-card:hover .content-card__title {
	color: var(--color-accent);
}

/* 16:9 image crop */
.content-card__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.04);
}

.content-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.content-card:hover .content-card__image img {
	transform: scale(1.03);
}

.content-card__image-placeholder {
	width: 100%;
	height: 100%;
	background-color: rgba(218, 165, 32, 0.06);
}

.content-card__title {
	font-family: var(--font-body);
	font-size: var(--text-md);
	font-weight: 500;
	color: #FFF8DC;
	padding: var(--space-2) var(--space-3);
	margin: 0;
	line-height: var(--line-height-heading);
	transition: color 0.2s ease;
}

/* ── Responsive breakpoints ──────────────────────────────────── */
@media (max-width: 900px) {
	.content-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.content-archive {
		padding: var(--space-5) 0 var(--space-8);
	}

	.content-grid {
		grid-template-columns: 1fr;
	}

	.content-archive__title {
		font-size: var(--text-xl);
	}
}

/*--------------------------------------------------------------
# Single Post — single.php
--------------------------------------------------------------*/

.single-post {
	background-color: var(--color-bg-primary);
	min-height: 100vh;
	padding: var(--space-8) 0 var(--space-10);
}

.single-post__inner {
	max-width: var(--content-narrow); /* 720px */
	margin: 0 auto;
	padding: 0 var(--space-4);
}

/* ── Cream reading area ──────────────────────────────────────── */
.single-post__content-area {
	background-color: var(--color-bg-content); /* #FFF8DC */
	padding: 48px;
	border-radius: 4px;
	margin-bottom: var(--space-8);
}

/* ── 1. YouTube embed — 16:9 ─────────────────────────────────── */
.single-post__youtube {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin-bottom: var(--space-5);
	background: #000;
}

.single-post__youtube iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ── 2. External link button ─────────────────────────────────── */
.single-post__link-btn {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	background-color: var(--color-accent);
	color: #000000;
	text-decoration: none;
	padding: 10px var(--space-3);
	border-radius: 4px;
	margin-bottom: var(--space-4);
	transition: filter 0.15s ease;
}

.single-post__link-btn:hover {
	filter: brightness(1.1);
	color: #000000;
}

/* ── 3. Artwork image ────────────────────────────────────────── */
.single-post__artwork-img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: var(--space-4);
	border-radius: 2px;
}

/* ── Art metadata definition list ────────────────────────────── */
.single-post__art-meta {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px var(--space-3);
	margin: 0 0 var(--space-5);
	padding: var(--space-3);
	background: rgba(218, 165, 32, 0.07);
	border-left: 3px solid var(--color-accent);
	border-radius: 0 4px 4px 0;
	font-family: var(--font-body);
	font-size: var(--text-sm);
	line-height: 1.5;
}

.single-post__art-meta dt {
	color: var(--color-accent);
	font-weight: 600;
	white-space: nowrap;
	align-self: baseline;
}

.single-post__art-meta dd {
	margin: 0;
	color: #000000;
	align-self: baseline;
}

/* ── Title ───────────────────────────────────────────────────── */
.single-post__title {
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 700;
	color: #000000;
	line-height: var(--line-height-heading);
	margin: 0 0 var(--space-2);
}

/* ── Meta row ────────────────────────────────────────────────── */
.single-post__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px var(--space-2);
	margin-bottom: var(--space-2);
	font-family: var(--font-body);
	font-size: var(--text-sm);
	color: #555555;
}

.single-post__meta-sep {
	color: rgba(0, 0, 0, 0.25);
}

/* ── Category pills ──────────────────────────────────────────── */
.single-post__cats {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1);
	margin-bottom: var(--space-4);
}

.cat-pill {
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background-color: #228B22;
	color: #FFF8DC;
	text-decoration: none;
	padding: 4px 10px;
	border-radius: 20px;
	transition: filter 0.15s ease;
	display: inline-block;
}

.cat-pill:hover,
.cat-pill:focus {
	filter: brightness(1.2);
	color: #FFF8DC;
}

/* ── Body content ────────────────────────────────────────────── */
.single-post__body {
	font-family: var(--font-body);
	font-size: 1rem;      /* 18px via html font-size */
	color: #000000;
	line-height: 1.7;
	margin-bottom: var(--space-6);
}

.single-post__body > * + * {
	margin-top: 1.25em;
}

.single-post__body p {
	margin: 0 0 1.25em;
}

.single-post__body h2,
.single-post__body h3,
.single-post__body h4 {
	font-family: var(--font-heading);
	color: #000000;
	margin-top: 1.8em;
	margin-bottom: 0.4em;
	line-height: var(--line-height-heading);
}

.single-post__body a {
	color: #228B22;
	text-decoration: underline;
}

.single-post__body a:hover {
	color: #000000;
}

.single-post__body img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: var(--space-3) auto;
}

.single-post__body blockquote {
	border-left: 4px solid var(--color-accent);
	margin: var(--space-4) 0;
	padding: var(--space-2) var(--space-3);
	background: rgba(218, 165, 32, 0.08);
	font-style: italic;
	color: #333333;
}

.single-post__body ul,
.single-post__body ol {
	padding-left: var(--space-4);
	margin: 0 0 1.25em;
}

/* ── Share buttons ───────────────────────────────────────────── */
.single-post__share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--space-2);
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	padding-top: var(--space-3);
}

.share-label {
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #555555;
	margin-right: 4px;
}

.share-btn {
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--color-accent);
	background: transparent;
	border: 1px solid var(--color-accent);
	border-radius: 4px;
	padding: 5px 12px;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	line-height: 1.5;
	transition: background 0.15s ease, color 0.15s ease;
}

.share-btn:hover {
	background: var(--color-accent);
	color: #000000;
}

/* ── Related posts ───────────────────────────────────────────── */
.single-related {
	margin-top: var(--space-6);
}

.single-related__heading {
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-weight: 700;
	color: var(--color-canvas-title); /* #FFF8DC */
	margin: 0 0 var(--space-4);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 800px) {
	.single-post__content-area {
		padding: var(--space-4) var(--space-3);
	}

	.single-post__title {
		font-size: var(--text-xl);
	}
}

@media (max-width: 600px) {
	.single-post {
		padding: var(--space-4) 0 var(--space-8);
	}

	.single-post__title {
		font-size: var(--text-lg);
	}

	.single-related .content-grid {
		grid-template-columns: 1fr;
	}
}

/*--------------------------------------------------------------
# Password Protection Page
--------------------------------------------------------------*/

/* ── Full-height flex column so main fills below header ───── */
body.pw-protected-page #page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* ── Main area — centered, fills remaining height ───────────── */
.pw-page {
	flex: 1;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: var(--space-8) var(--space-4);
	background-color: var(--color-bg-primary);
}

/* ── CLASSIFIED watermark — decorative, behind content ─────── */
.pw__watermark {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-8deg);
	font-family: var(--font-mono);
	font-size: clamp(60px, 13vw, 210px);
	font-weight: 700;
	color: var(--color-accent);
	opacity: 0.05;
	white-space: nowrap;
	user-select: none;
	pointer-events: none;
	z-index: 0;
	line-height: 1;
	letter-spacing: 0.06em;
}

/* ── Content stack — sits above watermark ───────────────────── */
.pw__content {
	position: relative;
	z-index: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-3);
}

/* ── Heading — single flicker on load, same as 404 ─────────── */
@keyframes bm-pw-flicker {
	0%   { opacity: 1; }
	18%  { opacity: 0.55; }
	34%  { opacity: 0.92; }
	58%  { opacity: 0.6; }
	78%  { opacity: 0.95; }
	100% { opacity: 1; }
}

.pw__heading {
	font-family: var(--font-heading);
	font-size: clamp(3rem, 9vw, 6rem);
	font-weight: 700;
	color: var(--color-accent);
	line-height: 1;
	margin: 0;
	letter-spacing: 0.06em;
	animation: bm-pw-flicker 0.3s ease-out 0.45s 1 both;
}

/* ── Clearance label ────────────────────────────────────────── */
.pw__label {
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 700;
	color: var(--color-text-on-dark);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	margin: 0;
}

/* ── Body copy ──────────────────────────────────────────────── */
.pw__copy {
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-text-on-dark);
	max-width: 480px;
	line-height: 1.7;
	margin: var(--space-1) 0 0;
}

/* ── Form ───────────────────────────────────────────────────── */
.pw__form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-3);
	margin-top: var(--space-2);
	width: 100%;
}

.pw__input {
	width: 320px;
	max-width: 100%;
	background: transparent;
	border: 1px solid var(--color-accent);
	color: var(--color-text-on-dark);
	font-family: var(--font-body);
	font-size: 1rem;
	padding: 12px 16px;
	outline: none;
	border-radius: 0;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.pw__input::placeholder {
	color: #555555;
}

.pw__input:focus {
	border-color: var(--color-text-on-dark);
}

.pw__submit {
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background-color: var(--color-accent);
	color: #000000;
	border: 2px solid var(--color-accent);
	padding: 12px var(--space-4);
	cursor: pointer;
	border-radius: 0;
	transition: background 0.15s ease, color 0.15s ease;
	display: inline-block;
	line-height: 1.4;
}

.pw__submit:hover {
	background-color: #000000;
	color: var(--color-accent);
}

/* ── Back link ──────────────────────────────────────────────── */
.pw__back {
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-accent);
	text-decoration: none;
	margin-top: var(--space-2);
	transition: color 0.2s ease;
	display: inline-block;
}

.pw__back:hover {
	color: var(--color-text-on-dark);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 400px) {
	.pw__input  { width: 100%; }
	.pw__submit { width: 100%; text-align: center; }
}
