/*
Theme Name: Arte Robotico
Theme URI: https://arterobotico.com
Description: Child theme of Hello Elementor for the Arte Robotico website.
Author: Joaku De Sotavento
Author URI: https://arterobotico.com
Template: hello-elementor
Version: 0.7.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arte-robotico

Child theme inheriting the Hello Elementor structure with the Somatic Instrument
visual direction: dark surface, cold neutrals, muted red, monospace display type,
and purposeful signal-wash gradients.
*/

/* ------------------------------------------------------------------ *
 * Palette and tokens — imported from tokens.css
 * ------------------------------------------------------------------ */

@import url('tokens.css');

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

body {
	background-color: var(--ar-paper);
	color: var(--ar-ink);
	font-family: var(--ar-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: var(--ar-red);
	color: #fff;
}

a {
	color: #e05060;
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
}

a:hover {
	color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--ar-red);
	outline-offset: 2px;
}

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

/* ------------------------------------------------------------------ *
 * Site header
 * ------------------------------------------------------------------ */

.site-header.dynamic-header {
	background: var(--ar-black);
	border-bottom: 2px solid var(--ar-red);
	box-shadow: none;
}

.site-header .header-inner {
	padding: 1.4rem 1.5rem;
}

.site-header .site-title a {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--ar-ink);
	font-family: var(--ar-display);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-header .site-title a::before {
	content: "";
	display: block;
	width: 0.7rem;
	height: 0.7rem;
	background: var(--ar-red);
	flex: none;
}

.site-header .site-title a:hover {
	color: var(--ar-red);
}

/* ------------------------------------------------------------------ *
 * Main layout
 * ------------------------------------------------------------------ */

.site-main {
	max-width: 1080px;
	margin: 0 auto;
	padding: 2.75rem 1.5rem 5rem;
}

/* ------------------------------------------------------------------ *
 * Page header + language switcher
 * ------------------------------------------------------------------ */

.page-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	border-bottom: 2px solid var(--ar-red);
	margin-bottom: 2.25rem;
	padding-bottom: 1.1rem;
}

.page-header h1.entry-title {
	flex: 1 1 auto;
	margin: 0;
	color: var(--ar-ink);
	font-family: var(--ar-display);
	font-size: clamp(1.9rem, 4.5vw, 3rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.08;
	text-transform: uppercase;
}

.lang-switcher {
	display: inline-flex;
	align-items: center;
	flex: none;
	gap: 0.35rem;
	font-family: var(--ar-mono);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.lang-item {
	display: inline-block;
	border: 1px solid transparent;
	color: var(--ar-ink);
	padding: 0.18rem 0.45rem;
	text-decoration: none;
}

a.lang-item:hover {
	border-color: var(--ar-ink);
	color: var(--ar-ink);
}

.lang-item.is-active {
	background: var(--ar-red);
	border-color: var(--ar-red);
	color: #fff;
}

.lang-item.is-missing {
	border-color: var(--ar-line);
	color: var(--ar-neutral);
	cursor: not-allowed;
}

/* ------------------------------------------------------------------ *
 * Device single
 * ------------------------------------------------------------------ */

.device-entry .page-content > * {
	margin-bottom: 2.5rem;
}

.device-entry .page-content > *:last-child {
	margin-bottom: 0;
}

.device-main-image img {
	display: block;
	border: 1px solid var(--ar-red);
	width: 100%;
}

.device-entry .page-content h2 {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 0.9rem;
	color: var(--ar-ink);
	font-family: var(--ar-mono);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.device-entry .page-content h2::before {
	content: "";
	flex: none;
	width: 1.2rem;
	height: 1.2rem;
	background: transparent;
	border: 2px solid var(--ar-red);
}

/* Data-sheet metadata */

.device-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	border: 1px solid var(--ar-red);
	background: var(--ar-red);
	gap: 1px;
	margin-bottom: 0;
}

.device-meta p {
	background: var(--ar-black);
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0;
	padding: 0.85rem 1rem;
}

.device-meta strong {
	color: var(--ar-red);
	font-family: var(--ar-mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Summary lead */

.device-short-description {
	border-left: 3px solid var(--ar-red);
	padding-left: 1.4rem;
}

.device-short-description p,
.device-description p {
	font-size: 1.18rem;
	line-height: 1.6;
}

/* Gallery */

.device-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.1rem;
}

.device-gallery-item {
	margin: 0;
	border: 1px solid var(--ar-line);
	background: var(--ar-black);
}

.device-gallery-item a {
	display: block;
}

.device-gallery-item img {
	display: block;
	width: 100%;
}

/* Video */

.device-video-wrapper {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--ar-black);
	border: 1px solid var(--ar-line);
}

.device-video-wrapper iframe {
	position: absolute;
	inset: 0;
	border: 0;
	height: 100%;
	width: 100%;
}

/* Inquiry call to action */

.device-inquiry {
	position: relative;
	border: 1px solid var(--ar-red);
	background: var(--ar-black);
	padding: 1.75rem 1.75rem 1.5rem;
}

.device-inquiry::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--ar-red);
}

/* ------------------------------------------------------------------ *
 * Device archive
 * ------------------------------------------------------------------ */

.device-archive-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 17rem);
	grid-template-rows: auto auto auto auto;
	column-gap: 2rem;
	row-gap: 0.4rem;
	align-items: center;
	border-top: 2px solid var(--ar-line);
	padding: 1.9rem 0;
}

.device-archive-item:last-of-type {
	border-bottom: 2px solid var(--ar-line);
}

.device-archive-item .entry-title {
	margin: 0;
	font-family: var(--ar-display);
	font-size: clamp(1.35rem, 2.6vw, 1.95rem);
	line-height: 1.15;
	text-transform: uppercase;
}

.device-archive-item .entry-title a {
	color: var(--ar-ink);
	text-decoration: none;
}

.device-archive-item .entry-title a:hover {
	color: var(--ar-red);
}

.device-archive-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.8rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.device-archive-meta .device-year {
	color: var(--ar-red);
	font-family: var(--ar-mono);
}

.device-archive-meta .device-category {
	color: var(--ar-neutral);
}

.device-archive-meta .device-lang {
	border: 1px solid var(--ar-line);
	color: var(--ar-ink);
	padding: 0.05rem 0.4rem;
}

.device-archive-image {
	grid-column: 2;
	grid-row: 1 / span 4;
	align-self: stretch;
}

.device-archive-image img {
	display: block;
	height: 100%;
	max-height: 16rem;
	width: 100%;
	object-fit: cover;
	border: 1px solid var(--ar-line);
}

.device-archive-description {
	margin: 0;
	max-width: 62ch;
}

.device-archive-link {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.device-archive-link::after {
	content: " \2192";
}

/* Archive pagination */

.pagination {
	margin-top: 2.5rem;
	border-top: 2px solid var(--ar-line);
	padding-top: 1.5rem;
	font-weight: 700;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.pagination .page-numbers {
	border: 1px solid transparent;
	padding: 0.3rem 0.6rem;
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--ar-red);
	border-color: var(--ar-red);
	color: #fff;
}

.pagination a.page-numbers:hover {
	border-color: var(--ar-red);
	color: var(--ar-red-dark);
}

/* ------------------------------------------------------------------ *
 * Generic single entry (Performances, Collaborations, Writing, News)
 * ------------------------------------------------------------------ */

.entry-single .page-content > * {
	margin-bottom: 2.5rem;
}

.entry-single .page-content > *:last-child {
	margin-bottom: 0;
}

.entry-kicker {
	margin: 0 0 0.35rem;
	color: var(--ar-red);
	font-family: var(--ar-mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* Section headings share the Device block style */

.entry-section-title {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 0.9rem;
	color: var(--ar-ink);
	font-family: var(--ar-mono);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.entry-section-title::before {
	content: "";
	flex: none;
	width: 1.2rem;
	height: 1.2rem;
	background: transparent;
	border: 2px solid var(--ar-red);
}

.entry-main-image img {
	display: block;
	border: 1px solid var(--ar-line);
	width: 100%;
}

.entry-description p,
.entry-block p {
	font-size: 1.05rem;
	line-height: 1.65;
}

.entry-lead {
	border-left: 3px solid var(--ar-red);
	font-size: 1.18rem;
	line-height: 1.6;
	padding-left: 1.4rem;
}

/* Data-sheet rows */

.entry-sheet {
	display: grid;
	grid-template-columns: minmax(9rem, 1fr) minmax(0, 2.4fr);
	border: 1px solid var(--ar-line);
	margin: 0 0 1.4rem;
}

.entry-sheet-term {
	background: var(--ar-black);
	color: var(--ar-ink);
	font-family: var(--ar-mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.7rem 1rem;
}

.entry-sheet dd {
	margin: 0;
	padding: 0.7rem 1rem;
	border-left: 1px solid var(--ar-line);
}

.entry-sheet dt + dt,
.entry-sheet dt + dd,
.entry-sheet dd + dt,
.entry-sheet dd + dd {
	border-top: 1px solid var(--ar-line);
}

/* Gallery and video reuse the Device treatment */

.entry-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.1rem;
}

.entry-gallery-item {
	margin: 0;
	border: 1px solid var(--ar-line);
	background: var(--ar-black);
}

.entry-gallery-item img {
	display: block;
	width: 100%;
}

.entry-video-wrapper {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--ar-black);
	border: 1px solid var(--ar-line);
}

.entry-video-wrapper iframe {
	position: absolute;
	inset: 0;
	border: 0;
	height: 100%;
	width: 100%;
}

/* Links, files, and call-to-action */

.entry-link a,
.entry-file a {
	font-weight: 700;
	letter-spacing: 0.04em;
}

.entry-cta {
	position: relative;
	border: 1px solid var(--ar-red);
	background: var(--ar-black);
	padding: 1.75rem 1.75rem 1.5rem;
}

.entry-cta::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--ar-red);
}

.entry-section-cta .entry-section-title::before {
	background: transparent;
	border-color: var(--ar-red);
}

/* ------------------------------------------------------------------ *
 * Generic archive (Performances, Collaborations, Writing, News)
 * ------------------------------------------------------------------ */

.entry-archive-list > * + * {
	border-top: 2px solid var(--ar-line);
}

.entry-archive-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 17rem);
	grid-template-rows: auto auto auto auto;
	column-gap: 2rem;
	row-gap: 0.4rem;
	align-items: center;
	padding: 1.9rem 0;
}

.entry-archive-item .entry-title {
	margin: 0;
	font-family: var(--ar-display);
	font-size: clamp(1.35rem, 2.6vw, 1.95rem);
	line-height: 1.15;
	text-transform: uppercase;
}

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

.entry-archive-item .entry-title a:hover {
	color: var(--ar-red);
}

.entry-archive-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.8rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.entry-archive-meta-item {
	color: var(--ar-neutral);
}

.entry-archive-meta-item:first-child {
	color: var(--ar-red);
	font-family: var(--ar-mono);
}

.entry-archive-lang {
	border: 1px solid var(--ar-line);
	color: var(--ar-ink);
	padding: 0.05rem 0.4rem;
}

.entry-archive-image {
	grid-column: 2;
	grid-row: 1 / span 4;
	align-self: stretch;
}

.entry-archive-image img {
	display: block;
	height: 100%;
	max-height: 16rem;
	width: 100%;
	object-fit: cover;
	border: 1px solid var(--ar-line);
}

.entry-archive-description {
	margin: 0;
	max-width: 62ch;
}

.entry-archive-link {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.entry-archive-link::after {
	content: " \2192";
}

.entry-empty {
	border: 1px dashed var(--ar-line);
	color: var(--ar-neutral);
	padding: 1.5rem;
}

/* ------------------------------------------------------------------ *
 * Forms (email-only inquiry forms)
 * ------------------------------------------------------------------ */

.ar-form {
	max-width: 46rem;
}

.ar-form-field {
	margin: 0 0 1.25rem;
}

.ar-form-field label {
	display: block;
	color: var(--ar-ink);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin-bottom: 0.4rem;
	text-transform: uppercase;
}

.ar-form-required {
	color: var(--ar-red);
}

.ar-form-control {
	background: var(--ar-black);
	border: 1px solid var(--ar-neutral);
	box-sizing: border-box;
	color: var(--ar-ink);
	font: inherit;
	padding: 0.65rem 0.75rem;
	width: 100%;
}

.ar-form-control:focus {
	border-color: var(--ar-red);
	outline: 3px solid var(--ar-red);
	outline-offset: 1px;
}

.ar-form-control.has-error {
	border-color: var(--ar-red-dark);
}

textarea.ar-form-control {
	resize: vertical;
}

.ar-form-check {
	align-items: flex-start;
	display: flex;
	gap: 0.6rem;
}

.ar-form-check input {
	flex: none;
	margin-top: 0.25rem;
}

.ar-form-check label {
	margin-bottom: 0;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.5;
}

.ar-form-error {
	border: 1px solid var(--ar-red);
	background: rgba(160, 0, 16, 0.1);
	color: var(--ar-ink);
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
}

.ar-form-error-title {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 0.4rem;
	text-transform: uppercase;
}

.ar-form-error ul {
	margin: 0;
	padding-left: 1.2rem;
}

.ar-form-success {
	background: var(--ar-black);
	border: 1px solid var(--ar-red);
	font-size: 1.05rem;
	padding: 1.25rem 1.5rem;
}

.ar-form-failure {
	border: 2px solid var(--ar-red);
	font-weight: 700;
	padding: 1.25rem 1.5rem;
}

.ar-form-button {
	background: var(--ar-red);
	border: 0;
	color: #fff;
	cursor: pointer;
	font-family: var(--ar-body);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	padding: 0.9rem 1.6rem;
	text-transform: uppercase;
}

.ar-form-button:hover,
.ar-form-button:focus {
	background: var(--ar-red-dark);
}

.ar-form-honeypot {
	clip: rect(0, 0, 0, 0);
	height: 1px;
	left: -9999px;
	opacity: 0;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

.ar-form-note {
	color: var(--ar-neutral);
	font-size: 0.85rem;
	max-width: 46rem;
}

.ar-form-missing {
	color: var(--ar-red);
}

/* ------------------------------------------------------------------ *
 * Site footer
 * ------------------------------------------------------------------ */

.site-footer.dynamic-footer {
	border-top: 2px solid var(--ar-red);
	background: var(--ar-black);
}

.site-footer .footer-inner {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.site-footer .copyright {
	color: var(--ar-neutral);
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 820px) {
	.device-gallery-grid,
	.entry-gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.entry-sheet {
		grid-template-columns: 1fr;
	}

	.entry-sheet dd {
		border-left: 0;
	}

	.device-archive-item,
	.entry-archive-item {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.device-archive-image,
	.entry-archive-image {
		grid-column: 1;
		grid-row: auto;
		max-width: 22rem;
	}
}

@media (max-width: 560px) {
	.site-main {
		padding-top: 1.75rem;
	}

	.device-gallery-grid,
	.entry-gallery {
		grid-template-columns: 1fr;
	}

	.page-header {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* ------------------------------------------------------------------ *
 * Newsletter signup
 * ------------------------------------------------------------------ */

.ar-newsletter-footer {
	background: #0a0b0b;
	color: var(--ar-paper);
	border-top: 4px solid var(--ar-red);
}

.ar-newsletter-footer-inner {
	max-width: var(--ar-content-max, 1180px);
	margin: 0 auto;
	padding: 2rem 1.5rem 2.5rem;
}

.ar-newsletter {
	color: var(--ar-paper);
}

.ar-newsletter-intro {
	max-width: 56ch;
}

.ar-newsletter-title {
	margin: 0 0 0.5rem;
	font-family: var(--ar-display, "Roboto Slab", serif);
	font-size: 1.4rem;
	line-height: 1.2;
	color: var(--ar-paper);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ar-newsletter-purpose,
.ar-newsletter-note {
	color: var(--ar-cream);
}

.ar-newsletter-form {
	margin-top: 1rem;
	max-width: 640px;
}

.ar-newsletter-form .ar-form-field {
	margin: 0 0 0.9rem;
}

.ar-newsletter-label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: var(--ar-paper);
}

.ar-newsletter .ar-form-control {
	width: 100%;
	max-width: 420px;
	background: var(--ar-ink);
	color: var(--ar-black);
	border: 1px solid var(--ar-neutral);
}

.ar-newsletter .ar-form-check label {
	color: var(--ar-cream);
}

.ar-newsletter-submit {
	margin: 1rem 0 0;
}

.ar-newsletter .ar-form-button {
	background: var(--ar-red);
	color: #fff;
	border-color: var(--ar-red-dark);
}

.ar-newsletter .ar-form-button:hover,
.ar-newsletter .ar-form-button:focus {
	background: var(--ar-red-dark);
	color: #fff;
}

.ar-newsletter-note {
	margin-top: 0.6rem;
	font-size: 0.8rem;
	opacity: 0.85;
}

.ar-newsletter-success {
	border-left: 4px solid var(--ar-red);
	padding-left: 1rem;
}

.ar-newsletter-error {
	border-left: 4px solid var(--ar-red);
	padding-left: 1rem;
	background: rgba(196, 0, 18, 0.1);
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

/* ------------------------------------------------------------------ *
 * Homepage composition (Body / Device)
 * ------------------------------------------------------------------ */

.ar-home-inner {
	max-width: var(--ar-content-max, 1180px);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.ar-home-hero {
	position: relative;
	padding: 2.5rem 0 1.5rem;
	border-bottom: 3px solid var(--ar-red);
	margin-bottom: 2rem;
}

.ar-home-lang {
	position: absolute;
	top: 2.5rem;
	right: 0;
}

@media (max-width: 560px) {
	.ar-home-lang {
		position: static;
		display: inline-flex;
		margin-bottom: 1rem;
	}
}

.ar-home-kicker {
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ar-red);
	margin: 0 0 0.75rem;
	font-size: 0.85rem;
}

.ar-home-title {
	font-family: var(--ar-display, "Roboto Slab", serif);
	font-size: clamp(1.9rem, 5vw, 3rem);
	line-height: 1.08;
	margin: 0 0 1rem;
	color: var(--ar-ink);
	max-width: 22ch;
}

.ar-home-lede {
	font-size: clamp(1rem, 2.2vw, 1.15rem);
	line-height: 1.6;
	color: var(--ar-ink);
	max-width: 62ch;
}

.ar-composition {
	padding: 2rem 0 1rem;
}

.ar-composition-kicker {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ar-red);
	margin: 0 0 0.5rem;
}

.ar-composition-title {
	font-family: var(--ar-display, "Roboto Slab", serif);
	font-size: clamp(1.4rem, 3vw, 2rem);
	margin: 0 0 0.5rem;
	color: var(--ar-ink);
}

.ar-composition-intro {
	margin: 0 0 1.5rem;
	max-width: 58ch;
	color: var(--ar-neutral);
}

.ar-composition-body {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 1.5rem;
	align-items: stretch;
}

.ar-probe-nodes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ar-probe-node {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: var(--ar-ink);
	border: 1px solid var(--ar-line);
	border-left: 4px solid var(--ar-neutral);
	padding: 0.65rem 0.8rem;
	background: var(--ar-paper);
	transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.ar-probe-node:hover,
.ar-probe-node:focus-visible,
.ar-probe-node.is-active {
	border-left-color: var(--ar-red);
	background: var(--ar-red);
	color: #fff;
	outline: none;
}

.ar-probe-node:focus-visible {
	box-shadow: 0 0 0 3px rgba(196, 0, 18, 0.35);
}

.ar-node-glyph {
	font-size: 1.3rem;
	line-height: 1;
	color: var(--ar-red);
	flex: 0 0 auto;
}

.ar-node-label {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.ar-node-part {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.95rem;
}

.ar-node-tag {
	font-size: 0.8rem;
	color: var(--ar-neutral);
}

.ar-probe-node:hover .ar-node-tag,
.ar-probe-node:focus-visible .ar-node-tag,
.ar-probe-node.is-active .ar-node-tag {
	color: var(--ar-cream);
}

.ar-probe {
	position: relative;
	background: #0a0b0b;
	color: var(--ar-paper);
	border: 1px solid var(--ar-line);
	min-height: 340px;
	overflow: hidden;
}

.ar-probe::before {
	content: "";
	position: absolute;
	top: -20%;
	right: -8%;
	width: 46%;
	height: 140%;
	background: repeating-linear-gradient(
		-45deg,
		rgba(160, 0, 16, 0.1) 0 18px,
		transparent 18px 42px
	);
	pointer-events: none;
}

.ar-probe::after {
	content: "DEVICE / LIVE 01";
	position: absolute;
	bottom: 0.6rem;
	right: 0.9rem;
	font-family: var(--ar-mono);
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	color: var(--ar-red);
	pointer-events: none;
	z-index: 3;
}

.ar-probe-panel {
	padding: clamp(1.2rem, 3vw, 2.2rem);
	padding-bottom: clamp(2.6rem, 5vw, 3.4rem);
	position: relative;
	z-index: 2;
}

.ar-js .ar-probe-panel {
	display: none;
}

.ar-js .ar-probe-panel.is-active {
	display: block;
}

.ar-probe-media {
	margin: 0 0 0.9rem;
	max-width: 62%;
	position: relative;
	z-index: 2;
}

.ar-probe-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 1px solid rgba(246, 241, 230, 0.18);
}

.ar-probe-type {
	margin: 0 0 0.6rem;
	font-family: var(--ar-mono);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ar-red);
}

.ar-probe-lang {
	display: inline-block;
	margin-left: 0.5rem;
	padding: 0.05rem 0.4rem;
	border: 1px solid var(--ar-neutral);
	color: var(--ar-cream);
	font-size: 0.7rem;
}

.ar-probe-title {
	font-family: var(--ar-display, "Roboto Slab", serif);
	font-size: clamp(1.2rem, 2.6vw, 1.7rem);
	margin: 0 0 0.35rem;
	color: var(--ar-cream);
	line-height: 1.2;
}

.ar-probe-year {
	margin: 0 0 0.8rem;
	color: var(--ar-cream);
	font-size: 0.9rem;
	letter-spacing: 0.08em;
}

.ar-probe-desc {
	margin: 0 0 1rem;
	max-width: 60ch;
	color: var(--ar-cream);
}

.ar-probe-actions {
	margin: 1.1rem 0 0;
}

.ar-probe-open {
	display: inline-block;
	text-decoration: none;
	color: var(--ar-paper);
	background: var(--ar-red);
	padding: 0.55rem 1rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	transition: background-color 0.16s ease, color 0.16s ease;
}

.ar-probe-open:hover,
.ar-probe-open:focus-visible {
	background: var(--ar-red-dark);
	color: var(--ar-paper);
	outline: none;
	box-shadow: 0 0 0 3px rgba(196, 0, 18, 0.35);
}

.ar-home-static-list {
	margin-top: 1.5rem;
	padding: 1.25rem 0;
	border-top: 1px solid var(--ar-line);
}

.ar-home-static-title {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ar-neutral);
	margin: 0 0 0.6rem;
}

.ar-home-static-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.6rem;
}

.ar-home-static-list a {
	color: var(--ar-ink);
	text-underline-offset: 3px;
}

.ar-home-static-list a:hover,
.ar-home-static-list a:focus-visible {
	color: var(--ar-red);
}

@media (max-width: 860px) {
	.ar-composition-body {
		grid-template-columns: 1fr;
	}

	.ar-probe-nodes {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.ar-probe-node {
		flex: 1 1 42%;
	}

	.ar-probe {
		min-height: 0;
	}

	.ar-probe-media {
		max-width: 100%;
	}
}

@media (max-width: 560px) {
	.ar-probe-node {
		flex: 1 1 100%;
	}
}

/* ------------------------------------------------------------------ *
 * Homepage background — image layer + signal wash
 * ------------------------------------------------------------------ */

/* Optional full-bleed image behind the homepage (set in Pages → Homepage). */
body.ar-front::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	filter: grayscale(1) contrast(1.1) brightness(0.5) blur(2px);
	opacity: 0.3;
}

/* Red signal wash over the image (or over the plain canvas when no image). */
.ar-home {
	position: relative;
	overflow: hidden;
}

.ar-home::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -1;
	background:
		radial-gradient(ellipse 80% 60% at 15% 40%, rgba(160, 0, 16, 0.25) 0%, transparent 70%),
		radial-gradient(ellipse 50% 70% at 85% 25%, rgba(160, 0, 16, 0.18) 0%, transparent 60%),
		radial-gradient(ellipse 90% 50% at 50% 90%, rgba(107, 101, 96, 0.2) 0%, transparent 60%),
		linear-gradient(165deg, rgba(160, 0, 16, 0.12) 0%, transparent 40%);
}

.ar-home > * {
	position: relative;
	z-index: 1;
}

/* Device main image glow */
.device-main-image img {
	box-shadow: 0 0 30px rgba(160, 0, 16, 0.15);
}

/* ------------------------------------------------------------------ *
 * Partner logos
 * ------------------------------------------------------------------ */

.entry-logos {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ar-line);
}

.logo-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
}

.entry-logo {
	margin: 0;
	padding: 0;
}

.entry-logo img {
	display: block;
	max-height: 3rem;
	width: auto;
	opacity: 0.55;
	filter: grayscale(100%);
	transition: opacity 0.2s ease, filter 0.2s ease;
}

.entry-logo img:hover {
	opacity: 0.85;
	filter: grayscale(50%);
}

/* ------------------------------------------------------------------ *
 * Reduced motion
 * ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		scroll-behavior: auto !important;
		transition: none !important;
	}
}