/*
Theme Name: Edison Archive
Theme URI: https://thomasedisonbiography.com/
Author: Thomas Edison Biography
Author URI: https://thomasedisonbiography.com/
Description: A bespoke historical editorial theme for Thomas Edison Biography.
Version: 1.2.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: edison-archive
*/

:root {
	--ink: #171815;
	--ink-soft: #45443e;
	--paper: #f3efe5;
	--paper-light: #fbf9f3;
	--paper-deep: #e3dac8;
	--brass: #b78a3f;
	--brass-dark: #79571f;
	--red: #8d2f24;
	--line: rgba(23, 24, 21, 0.16);
	--serif: Georgia, "Times New Roman", Times, serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--shadow: 0 18px 50px rgba(31, 28, 20, 0.12);
	--content: 1180px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		linear-gradient(rgba(255,255,255,.42), rgba(255,255,255,.42)),
		repeating-linear-gradient(0deg, rgba(40,35,25,.018) 0, rgba(40,35,25,.018) 1px, transparent 1px, transparent 4px),
		var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.72;
}

a {
	color: var(--red);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--brass-dark);
}

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

button,
input,
select,
textarea {
	font: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: var(--paper-light);
	color: var(--ink);
}

.site-shell {
	min-height: 100vh;
}

.site-header {
	position: relative;
	z-index: 20;
	background: var(--ink);
	color: #fff;
	border-bottom: 4px solid var(--brass);
}

.header-utility {
	border-bottom: 1px solid rgba(255,255,255,.12);
}

.header-utility__inner,
.masthead,
.primary-nav__inner,
.site-main,
.footer-inner {
	width: min(calc(100% - 40px), var(--content));
	margin-inline: auto;
}

.header-utility__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 38px;
	color: rgba(255,255,255,.68);
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.archive-mark {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.archive-mark::before {
	width: 7px;
	height: 7px;
	border: 1px solid var(--brass);
	border-radius: 50%;
	content: "";
	box-shadow: 0 0 0 3px rgba(183,138,63,.12);
}

.masthead {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 28px;
	align-items: center;
	padding-block: 28px;
}

.site-branding {
	min-width: 0;
}

.site-title {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(2rem, 5vw, 3.45rem);
	font-weight: 400;
	line-height: .98;
	letter-spacing: -.035em;
}

.site-title a {
	color: #fff;
	text-decoration: none;
}

.site-description {
	max-width: 620px;
	margin: 11px 0 0;
	color: rgba(255,255,255,.66);
	font-family: var(--serif);
	font-size: 15px;
	font-style: italic;
}

.bulb-seal {
	position: relative;
	width: 88px;
	height: 88px;
	border: 1px solid rgba(183,138,63,.55);
	border-radius: 50%;
	opacity: .95;
}

.bulb-seal::before,
.bulb-seal::after {
	position: absolute;
	content: "";
}

.bulb-seal::before {
	top: 21px;
	left: 29px;
	width: 28px;
	height: 34px;
	border: 2px solid var(--brass);
	border-radius: 50% 50% 42% 42%;
	box-shadow: inset 0 0 18px rgba(183,138,63,.18);
}

.bulb-seal::after {
	bottom: 19px;
	left: 34px;
	width: 18px;
	height: 7px;
	border-top: 2px solid var(--brass);
	border-bottom: 2px solid var(--brass);
}

.bulb-seal span {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--brass);
	font-family: var(--serif);
	font-size: 28px;
	letter-spacing: -.08em;
}

.bulb-seal--monogram::before,
.bulb-seal--monogram::after {
	display: none;
}

.bulb-seal span::after {
	position: absolute;
	right: 25px;
	bottom: 23px;
	left: 25px;
	height: 1px;
	background: rgba(183,138,63,.68);
	content: "";
}

.primary-nav {
	background: #23241f;
}

.primary-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 54px;
}

.menu-toggle {
	display: none;
	padding: 10px 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.nav-menu,
.primary-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	align-items: center;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-nav a {
	display: block;
	padding: 15px 16px;
	color: rgba(255,255,255,.82);
	font-size: 13px;
	font-weight: 650;
	letter-spacing: .06em;
	text-decoration: none;
	text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a:focus,
.primary-nav .current-menu-item > a {
	background: rgba(255,255,255,.06);
	color: #fff;
}

.nav-search {
	color: var(--brass);
	font-family: var(--serif);
	font-size: 13px;
	font-style: italic;
	white-space: nowrap;
}

.site-main {
	padding-block: 54px 76px;
}

.home-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
	min-height: 410px;
	margin-bottom: 58px;
	overflow: hidden;
	background: var(--ink);
	box-shadow: var(--shadow);
	color: #fff;
}

.home-hero__copy {
	position: relative;
	z-index: 2;
	padding: clamp(42px, 7vw, 82px);
}

.eyebrow {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 0 0 20px;
	color: var(--brass);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .17em;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 42px;
	height: 1px;
	background: currentColor;
	content: "";
}

.home-hero h1 {
	max-width: 770px;
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(2.7rem, 6.5vw, 5.7rem);
	font-weight: 400;
	line-height: .93;
	letter-spacing: -.052em;
}

.home-hero__intro {
	max-width: 650px;
	margin: 28px 0 0;
	color: rgba(255,255,255,.72);
	font-family: var(--serif);
	font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.button-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 18px;
	border: 1px solid var(--brass);
	background: var(--brass);
	color: var(--ink);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .11em;
	text-decoration: none;
	text-transform: uppercase;
}

.button-link:hover,
.button-link:focus {
	background: #d3aa63;
	color: var(--ink);
}

.button-link--ghost {
	background: transparent;
	color: #fff;
}

.button-link--ghost:hover,
.button-link--ghost:focus {
	background: rgba(255,255,255,.08);
	color: #fff;
}

.home-hero__art {
	position: relative;
	min-height: 270px;
	background:
		radial-gradient(circle at 50% 48%, rgba(183,138,63,.2) 0, rgba(183,138,63,.04) 32%, transparent 63%),
		linear-gradient(135deg, #262722, #0e0f0d);
}

.home-hero__art::before {
	position: absolute;
	inset: 12%;
	border: 1px solid rgba(183,138,63,.28);
	border-radius: 50%;
	content: "";
	box-shadow:
		0 0 0 28px rgba(183,138,63,.035),
		0 0 0 74px rgba(183,138,63,.025);
}

.filament {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 122px;
	height: 155px;
	border: 4px solid var(--brass);
	border-bottom: 0;
	border-radius: 55% 55% 40% 40%;
	transform: translate(-50%, -58%);
	box-shadow: 0 0 46px rgba(183,138,63,.16), inset 0 0 38px rgba(183,138,63,.1);
}

.filament::before {
	position: absolute;
	right: 24px;
	bottom: -32px;
	left: 24px;
	height: 34px;
	border-top: 4px solid var(--brass);
	border-bottom: 4px double var(--brass);
	content: "";
}

.filament::after {
	position: absolute;
	bottom: 20px;
	left: 50%;
	width: 43px;
	height: 62px;
	border-right: 2px solid var(--brass);
	border-left: 2px solid var(--brass);
	content: "";
	transform: translateX(-50%) skew(-13deg);
	opacity: .78;
}

.hero-fact {
	position: absolute;
	right: 22px;
	bottom: 22px;
	left: 22px;
	padding-top: 16px;
	border-top: 1px solid rgba(255,255,255,.14);
	color: rgba(255,255,255,.58);
	font-size: 11px;
	letter-spacing: .12em;
	text-align: center;
	text-transform: uppercase;
}

.section-heading {
	display: flex;
	gap: 24px;
	align-items: end;
	justify-content: space-between;
	padding-bottom: 16px;
	margin-bottom: 30px;
	border-bottom: 1px solid var(--line);
}

.section-heading h2,
.archive-header h1 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: -.035em;
}

.section-heading p {
	max-width: 510px;
	margin: 0;
	color: var(--ink-soft);
	font-family: var(--serif);
	font-style: italic;
}

.home-chapters {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin-bottom: 64px;
	background: var(--line);
	border: 1px solid var(--line);
}

.home-chapter {
	padding: clamp(28px, 4vw, 44px);
	background: var(--paper-light);
}

.chapter-number {
	display: block;
	margin-bottom: 28px;
	color: var(--brass-dark);
	font-family: var(--serif);
	font-size: 14px;
	font-style: italic;
}

.home-chapter h2 {
	margin: 0 0 14px;
	font-family: var(--serif);
	font-size: clamp(1.7rem, 3vw, 2.35rem);
	font-weight: 400;
	line-height: 1.06;
}

.home-chapter p {
	margin: 0 0 18px;
	color: var(--ink-soft);
	font-size: 15px;
}

.text-link {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
}

.timeline-section,
.inventions-section,
.authority-section {
	margin-top: 68px;
	scroll-margin-top: 32px;
}

.timeline {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.timeline li {
	position: relative;
	padding: 26px 18px 22px 0;
	border-right: 1px solid var(--line);
}

.timeline li:last-child {
	border-right: 0;
}

.timeline li::before {
	position: absolute;
	top: -5px;
	left: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--red);
	content: "";
}

.timeline-year {
	display: block;
	margin-bottom: 8px;
	color: var(--red);
	font-family: var(--serif);
	font-size: 26px;
}

.timeline-event {
	display: block;
	color: var(--ink-soft);
	font-size: 12px;
	line-height: 1.5;
}

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

.invention-card {
	position: relative;
	min-height: 260px;
	padding: 34px;
	overflow: hidden;
	background: var(--ink);
	color: #fff;
}

.invention-card::after {
	position: absolute;
	right: -50px;
	bottom: -70px;
	width: 180px;
	height: 180px;
	border: 1px solid rgba(183,138,63,.25);
	border-radius: 50%;
	content: "";
}

.invention-card__year {
	color: var(--brass);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.invention-card h3 {
	margin: 42px 0 12px;
	font-family: var(--serif);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.05;
}

.invention-card p {
	margin: 0;
	color: rgba(255,255,255,.66);
	font-size: 14px;
}

.invention-card a {
	position: relative;
	z-index: 2;
	display: inline-block;
	margin-top: 19px;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
}

.authority-section {
	display: grid;
	grid-template-columns: .75fr 1.25fr;
	gap: clamp(30px, 6vw, 72px);
	padding: clamp(34px, 6vw, 62px);
	background: var(--paper-deep);
	border-left: 5px solid var(--brass);
}

.authority-section h2 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(2rem, 4vw, 3.1rem);
	font-weight: 400;
	line-height: 1.05;
}

.authority-copy p {
	margin-top: 0;
	color: var(--ink-soft);
}

.authority-links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 20px;
	padding: 0;
	list-style: none;
}

.authority-links a {
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.story-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 28px;
}

.story-card {
	grid-column: span 4;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--paper-light);
	border: 1px solid rgba(23,24,21,.1);
	box-shadow: 0 8px 28px rgba(31,28,20,.06);
	transition: transform .2s ease, box-shadow .2s ease;
}

.story-card:first-child {
	grid-column: span 8;
	display: grid;
	grid-template-columns: minmax(250px, .9fr) minmax(280px, 1.1fr);
}

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

.story-card__image {
	position: relative;
	min-height: 250px;
	overflow: hidden;
	background: var(--paper-deep);
}

.story-card:first-child .story-card__image {
	min-height: 100%;
}

.story-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: sepia(.12) contrast(1.03);
	transition: transform .45s ease;
}

.story-card:hover .story-card__image img {
	transform: scale(1.025);
}

.story-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	min-height: inherit;
	place-items: center;
	background:
		linear-gradient(135deg, transparent 49.5%, rgba(23,24,21,.1) 50%, transparent 50.5%),
		linear-gradient(45deg, transparent 49.5%, rgba(23,24,21,.07) 50%, transparent 50.5%),
		var(--paper-deep);
	color: rgba(23,24,21,.48);
	font-family: var(--serif);
	font-size: 46px;
}

.story-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 27px;
}

.story-card:first-child .story-card__body {
	justify-content: center;
	padding: clamp(30px, 5vw, 55px);
}

.post-kicker {
	margin-bottom: 12px;
	color: var(--red);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.post-kicker a {
	color: inherit;
	text-decoration: none;
}

.story-card h2,
.story-card h3 {
	margin: 0 0 14px;
	font-family: var(--serif);
	font-size: clamp(1.5rem, 2.4vw, 2.15rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -.026em;
}

.story-card h2 a,
.story-card h3 a {
	color: var(--ink);
	text-decoration: none;
}

.story-card p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 15px;
	line-height: 1.65;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 13px;
	margin-top: 22px;
	color: #75736b;
	font-size: 11px;
	font-weight: 650;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.post-meta a {
	color: inherit;
	text-decoration: none;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: clamp(38px, 6vw, 78px);
	align-items: start;
}

.archive-header {
	padding-bottom: 26px;
	margin-bottom: 34px;
	border-bottom: 3px double var(--line);
}

.archive-description {
	max-width: 740px;
	color: var(--ink-soft);
	font-family: var(--serif);
	font-size: 18px;
}

.archive-list {
	display: grid;
	gap: 28px;
}

.archive-item {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--line);
}

.archive-item__image {
	min-height: 170px;
	overflow: hidden;
	background: var(--paper-deep);
}

.archive-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.archive-item h2 {
	margin: 2px 0 10px;
	font-family: var(--serif);
	font-size: clamp(1.65rem, 3vw, 2.4rem);
	font-weight: 400;
	line-height: 1.08;
}

.archive-item h2 a {
	color: var(--ink);
	text-decoration: none;
}

.archive-item p {
	margin: 0;
	color: var(--ink-soft);
}

.sidebar {
	position: sticky;
	top: 32px;
	padding: 26px;
	background: rgba(255,255,255,.42);
	border-top: 4px solid var(--brass);
}

.widget {
	margin-bottom: 35px;
}

.widget:last-child {
	margin-bottom: 0;
}

.widget-title,
.widget h2 {
	padding-bottom: 9px;
	margin: 0 0 14px;
	border-bottom: 1px solid var(--line);
	font-family: var(--serif);
	font-size: 20px;
	font-weight: 400;
}

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

.widget li {
	padding-block: 8px;
	border-bottom: 1px dotted var(--line);
	font-size: 14px;
}

.widget a {
	color: var(--ink-soft);
	text-decoration: none;
}

.search-form {
	display: flex;
}

.search-field {
	min-width: 0;
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--line);
	background: var(--paper-light);
	color: var(--ink);
}

.search-submit {
	padding: 11px 15px;
	border: 0;
	background: var(--red);
	color: #fff;
	cursor: pointer;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.article {
	max-width: 820px;
	margin-inline: auto;
	background: var(--paper-light);
	box-shadow: var(--shadow);
}

.article-header {
	padding: clamp(38px, 7vw, 74px) clamp(28px, 8vw, 88px) 32px;
}

.article-title {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(2.5rem, 6vw, 5rem);
	font-weight: 400;
	line-height: .98;
	letter-spacing: -.048em;
}

.article-featured {
	margin: 0;
	background: var(--paper-deep);
}

.article-featured img {
	width: 100%;
	max-height: 620px;
	object-fit: cover;
	filter: sepia(.1) contrast(1.03);
}

.article-content {
	padding: clamp(34px, 7vw, 78px) clamp(28px, 8vw, 88px);
	font-family: var(--serif);
	font-size: clamp(1.08rem, 2vw, 1.22rem);
	line-height: 1.82;
}

.article-content > *:first-child {
	margin-top: 0;
}

.article-content > p:first-child::first-letter {
	float: left;
	padding: 10px 10px 0 0;
	color: var(--red);
	font-size: 4.6rem;
	line-height: .7;
}

.article-content h2,
.article-content h3 {
	margin: 1.7em 0 .65em;
	color: var(--ink);
	font-weight: 400;
	line-height: 1.12;
}

.article-content h2 {
	font-size: clamp(1.8rem, 4vw, 2.75rem);
}

.article-content h3 {
	font-size: clamp(1.45rem, 3vw, 2rem);
}

.article-content blockquote {
	padding: 6px 0 6px 28px;
	margin: 2em 0;
	border-left: 4px solid var(--brass);
	color: var(--ink-soft);
	font-size: 1.22em;
	font-style: italic;
}

.article-content figure {
	margin: 2em 0;
}

.article-content figcaption {
	margin-top: 8px;
	color: #77736b;
	font-family: var(--sans);
	font-size: 12px;
	line-height: 1.5;
}

.article-footer {
	padding: 0 clamp(28px, 8vw, 88px) 54px;
}

.post-tags a {
	display: inline-block;
	padding: 5px 9px;
	margin: 4px;
	border: 1px solid var(--line);
	color: var(--ink-soft);
	font-size: 11px;
	letter-spacing: .06em;
	text-decoration: none;
	text-transform: uppercase;
}

.post-navigation {
	max-width: 820px;
	margin: 34px auto 0;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.post-navigation a {
	display: block;
	padding: 22px;
	background: rgba(255,255,255,.45);
	color: var(--ink);
	font-family: var(--serif);
	text-decoration: none;
}

.nav-next {
	text-align: right;
}

.related-stories {
	max-width: 1040px;
	margin: 64px auto 0;
}

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

.related-card {
	background: var(--paper-light);
	border: 1px solid var(--line);
}

.related-card__image {
	display: block;
	height: 190px;
	overflow: hidden;
	background: var(--paper-deep);
}

.related-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-card__body {
	padding: 22px;
}

.related-card h3 {
	margin: 0 0 10px;
	font-family: var(--serif);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.12;
}

.related-card h3 a {
	color: var(--ink);
	text-decoration: none;
}

.related-card p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 13px;
}

.trusted-archives {
	max-width: 820px;
	padding: 26px 30px;
	margin: 34px auto 0;
	background: var(--paper-deep);
	border-left: 4px solid var(--brass);
}

.trusted-archives h2 {
	margin: 0 0 6px;
	font-family: var(--serif);
	font-size: 24px;
	font-weight: 400;
}

.trusted-archives p {
	margin: 0 0 14px;
	color: var(--ink-soft);
	font-size: 13px;
}

.trusted-archives ul {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 18px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.trusted-archives a {
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.breadcrumbs {
	max-width: 820px;
	margin: 0 auto 18px;
	color: #6f6d65;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}

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

:focus-visible {
	outline: 3px solid var(--brass);
	outline-offset: 3px;
}

.edison-contact-form {
	max-width: 46rem;
	margin-top: 2rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--line);
	background: var(--paper-light);
}

.edison-contact-form label {
	display: block;
	font-family: var(--sans);
	font-weight: 700;
}

.edison-contact-form input[type="text"],
.edison-contact-form input[type="email"],
.edison-contact-form textarea {
	display: block;
	width: 100%;
	margin-top: 0.4rem;
	padding: 0.75rem;
	border: 1px solid var(--ink-soft);
	border-radius: 2px;
	background: #fff;
	color: var(--ink);
	font: inherit;
}

.edison-contact-form input:focus,
.edison-contact-form textarea:focus {
	border-color: var(--red);
	box-shadow: 0 0 0 3px rgba(23, 68, 92, 0.16);
	outline: 0;
}

.contact-consent label {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.65rem;
	align-items: start;
	font-weight: 400;
}

.contact-consent input {
	margin-top: 0.35rem;
}

.contact-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.contact-notice {
	max-width: 46rem;
	margin: 1rem 0;
	padding: 0.8rem 1rem;
	border-left: 4px solid var(--red);
	background: var(--paper-light);
}

.contact-notice--error {
	border-left-color: #a12b28;
}

.pagination {
	margin-top: 40px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: inline-grid;
	min-width: 42px;
	min-height: 42px;
	padding: 7px;
	place-items: center;
	border: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
}

.page-numbers.current {
	background: var(--ink);
	color: #fff;
}

.comments-area {
	max-width: 820px;
	padding: 34px;
	margin: 34px auto 0;
	background: var(--paper-light);
}

.site-footer {
	background: var(--ink);
	color: rgba(255,255,255,.66);
	border-top: 4px solid var(--brass);
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 50px;
	padding-block: 48px;
}

.footer-title {
	margin: 0 0 10px;
	color: #fff;
	font-family: var(--serif);
	font-size: 27px;
	font-weight: 400;
}

.footer-note {
	max-width: 600px;
	margin: 0;
	font-family: var(--serif);
	font-size: 14px;
	font-style: italic;
}

.footer-meta {
	text-align: right;
}

.footer-meta a {
	color: rgba(255,255,255,.78);
}

.no-results {
	padding: 42px;
	background: var(--paper-light);
	border-top: 4px solid var(--brass);
}

.alignwide {
	width: min(1040px, calc(100vw - 40px));
	max-width: none;
	margin-right: 50%;
	margin-left: 50%;
	transform: translateX(-50%);
}

.alignfull {
	width: 100vw;
	max-width: none;
	margin-right: 50%;
	margin-left: 50%;
	transform: translateX(-50%);
}

@media (max-width: 940px) {
	.home-hero {
		grid-template-columns: 1fr;
	}

	.home-hero__art {
		min-height: 300px;
	}

	.story-card,
	.story-card:first-child {
		grid-column: span 6;
		display: flex;
	}

	.story-card:first-child .story-card__image {
		min-height: 250px;
	}

	.home-chapters,
	.invention-grid,
	.related-grid {
		grid-template-columns: 1fr 1fr;
	}

	.home-chapter:last-child,
	.invention-card:last-child,
	.related-card:last-child {
		grid-column: 1 / -1;
	}

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

	.timeline li:nth-child(3) {
		border-right: 0;
	}

	.authority-section {
		grid-template-columns: 1fr;
	}

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

	.sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
}

@media (max-width: 680px) {
	body {
		font-size: 16px;
	}

	.header-utility__inner,
	.masthead,
	.primary-nav__inner,
	.site-main,
	.footer-inner {
		width: min(calc(100% - 28px), var(--content));
	}

	.header-utility__inner {
		justify-content: center;
	}

	.header-utility__inner span:last-child,
	.bulb-seal,
	.nav-search {
		display: none;
	}

	.masthead {
		grid-template-columns: 1fr;
		padding-block: 23px;
	}

	.site-title {
		font-size: 2.2rem;
	}

	.primary-nav__inner {
		display: block;
	}

	.menu-toggle {
		display: block;
		width: 100%;
		text-align: left;
	}

	.nav-menu,
	.primary-nav ul {
		display: none;
		padding-bottom: 12px;
	}

	.primary-nav.toggled .nav-menu,
	.primary-nav.toggled ul {
		display: block;
	}

	.primary-nav a {
		padding: 10px 0;
	}

	.site-main {
		padding-block: 30px 50px;
	}

	.home-hero {
		margin-bottom: 42px;
	}

	.home-hero__copy {
		padding: 38px 27px;
	}

	.home-hero__art {
		min-height: 245px;
	}

	.section-heading {
		display: block;
	}

	.section-heading p {
		margin-top: 12px;
	}

	.story-grid {
		display: block;
	}

	.story-card,
	.story-card:first-child {
		margin-bottom: 24px;
	}

	.home-chapters,
	.invention-grid,
	.related-grid,
	.authority-links {
		grid-template-columns: 1fr;
	}

	.home-chapter:last-child,
	.invention-card:last-child,
	.related-card:last-child {
		grid-column: auto;
	}

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

	.timeline li:nth-child(3) {
		border-right: 1px solid var(--line);
	}

	.timeline li:nth-child(even) {
		border-right: 0;
	}

	.archive-item {
		grid-template-columns: 1fr;
	}

	.archive-item__image {
		min-height: 230px;
	}

	.sidebar,
	.footer-inner {
		display: block;
	}

	.footer-meta {
		margin-top: 28px;
		text-align: left;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.nav-next {
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition: none !important;
	}
}
