/* =========================================================
   atelier1280 - theme-extras.css
   Bespoke styling uit de goedgekeurde mockup, vertaald naar
   het FSE-thema. Gescoped met a1280-classes die ook in de
   templates staan. Rustig Montserrat-400 karakter, open tracking.
   ========================================================= */

:root {
	--a1280-ground: var(--wp--preset--color--ground, #F3EDE1);
	--a1280-ground-2: var(--wp--preset--color--ground-2, #EDE5D5);
	--a1280-ground-3: var(--wp--preset--color--ground-3, #E6DCC8);
	--a1280-ink: var(--wp--preset--color--ink, #2B2A26);
	--a1280-accent: var(--wp--preset--color--accent, #3B4A3F);
	--a1280-secondary: var(--wp--preset--color--secondary, #A85A3C);
	--a1280-taupe: var(--wp--preset--color--taupe, #C7B29A);
	--a1280-walnut: var(--wp--preset--color--walnut, #5B4636);
	--a1280-line: rgba(91, 70, 54, .18);
	--a1280-line-soft: rgba(91, 70, 54, .10);
	--a1280-radius: 14px;
	--a1280-ease: cubic-bezier(.22, .61, .36, 1);
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

/* Gedeelde eyebrow */
.a1280-eyebrow {
	font-size: .74rem !important;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--a1280-secondary);
	margin-bottom: .4em;
}

.a1280-sec-lede {
	opacity: .82;
	max-width: 52ch;
}

/* =============== Header =============== */
.a1280-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(243, 237, 225, .82);
	-webkit-backdrop-filter: saturate(150%) blur(10px);
	backdrop-filter: saturate(150%) blur(10px);
	border-bottom: 1px solid var(--a1280-line-soft);
}

.a1280-nav {
	min-height: 76px;
}

.a1280-header .wp-block-site-title,
.a1280-brand {
	font-weight: 600;
	font-size: 1.5rem;
	letter-spacing: -.02em;
	color: var(--a1280-ink);
}

.a1280-header .wp-block-site-title a {
	color: var(--a1280-ink);
	text-decoration: none;
}

/* Navigatielinks met roestbruine onderstreping bij hover */
.a1280-links .wp-block-navigation-item__content {
	font-weight: 500;
	color: var(--a1280-ink);
	position: relative;
	padding: 4px 0;
	transition: color .3s var(--a1280-ease);
}

.a1280-links .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	height: 1.5px;
	width: 0;
	background: var(--a1280-secondary);
	transition: width .35s var(--a1280-ease);
}

.a1280-links .wp-block-navigation-item:hover .wp-block-navigation-item__content {
	color: var(--a1280-secondary);
}

.a1280-links .wp-block-navigation-item:hover .wp-block-navigation-item__content::after {
	width: 100%;
}

/* Zoekknop in de header, rond */
.a1280-nav-right .a1280-search .wp-block-search__button {
	width: 42px;
	height: 42px;
	min-width: 42px;
	padding: 0;
	border-radius: 999px;
	border: 1px solid var(--a1280-line);
	background: transparent;
	color: var(--a1280-ink);
	display: grid;
	place-items: center;
	transition: border-color .3s var(--a1280-ease), color .3s var(--a1280-ease), background .3s var(--a1280-ease);
}

.a1280-nav-right .a1280-search .wp-block-search__button:hover {
	border-color: var(--a1280-secondary);
	color: var(--a1280-secondary);
	background: var(--a1280-ground-2);
}

/* =============== Knoppen =============== */
.a1280-btn-ghost .wp-block-button__link,
.wp-block-button.is-style-outline.a1280-btn-ghost .wp-block-button__link {
	background: transparent;
	color: var(--a1280-accent);
	border: 1px solid var(--a1280-line);
	border-radius: 999px;
	font-weight: 600;
}

.a1280-btn-ghost .wp-block-button__link:hover {
	color: var(--a1280-secondary);
	border-color: var(--a1280-secondary);
	background: transparent;
}

.wp-block-button__link {
	transition: background .35s var(--a1280-ease), transform .35s var(--a1280-ease), box-shadow .35s var(--a1280-ease), color .3s var(--a1280-ease), border-color .3s var(--a1280-ease);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(168, 90, 60, .22);
}

/* =============== Hero =============== */
.a1280-hero {
	position: relative;
	overflow: hidden;
}

.a1280-hero-title {
	margin: .35em 0 .5em;
}

.a1280-hero-title em {
	font-style: italic;
	color: var(--a1280-secondary);
	font-weight: 500;
}

.a1280-lede {
	max-width: 34ch;
	opacity: .86;
}

.a1280-signature {
	color: var(--a1280-walnut);
}

.a1280-sig-name {
	font-style: italic;
	color: var(--a1280-ink);
	margin: 0;
}

/* Hero-illustratie: gestapelde materiaalvlakken met houtnerf, kast, stempel */
.a1280-hero-art {
	position: relative;
	aspect-ratio: 4/5;
	border-radius: 20px;
	overflow: hidden;
	background: linear-gradient(150deg, var(--a1280-ground-3), var(--a1280-taupe) 70%, #b89f83);
	border: 1px solid var(--a1280-line);
	box-shadow: 0 30px 60px -30px rgba(91, 70, 54, .5);
	max-width: 460px;
	margin-inline: auto;
}

.a1280-hero-art::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(255, 250, 240, .55), transparent 45%);
	z-index: 3;
	pointer-events: none;
}

.a1280-hero-art .wood {
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(96deg, rgba(91, 70, 54, .10) 0 2px, rgba(91, 70, 54, 0) 2px 9px),
		repeating-linear-gradient(96deg, rgba(91, 70, 54, .05) 0 1px, rgba(91, 70, 54, 0) 1px 22px);
	z-index: 1;
}

.a1280-hero-art .cabinet {
	position: absolute;
	left: 14%;
	right: 14%;
	bottom: 0;
	top: 16%;
	background: linear-gradient(160deg, #6d5540, #5B4636 60%, #4a3829);
	border-radius: 8px 8px 0 0;
	box-shadow: inset 0 2px 0 rgba(255, 240, 220, .14), 0 20px 40px -20px rgba(43, 42, 38, .6);
	z-index: 2;
	overflow: hidden;
}

.a1280-hero-art .drawer {
	position: absolute;
	left: 9%;
	right: 9%;
	height: 15%;
	background: linear-gradient(160deg, rgba(255, 240, 220, .06), rgba(0, 0, 0, .14));
	border-radius: 4px;
	border-top: 1px solid rgba(255, 240, 220, .10);
	box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .2);
}

.a1280-hero-art .drawer::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 38px;
	height: 7px;
	border-radius: 999px;
	background: linear-gradient(var(--a1280-taupe), #9c8467);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .3);
}

.a1280-hero-art .door {
	position: absolute;
	left: 9%;
	width: 38%;
	top: 8%;
	height: 44%;
	background: linear-gradient(160deg, rgba(255, 240, 220, .05), rgba(0, 0, 0, .10));
	border-radius: 4px;
	border: 1px solid rgba(255, 240, 220, .08);
}

.a1280-hero-art .door.r {
	left: auto;
	right: 9%;
}

.a1280-hero-art .stamp {
	position: absolute;
	z-index: 4;
	right: 20%;
	bottom: 10%;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	border: 1.5px solid rgba(243, 237, 225, .55);
	display: grid;
	place-items: center;
	text-align: center;
	color: rgba(243, 237, 225, .85);
	transform: rotate(-8deg);
	background: rgba(43, 42, 38, .10);
}

.a1280-hero-art .s-top {
	font-size: .5rem;
	letter-spacing: .28em;
	text-transform: uppercase;
	line-height: 1;
}

.a1280-hero-art .s-num {
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.4;
}

.a1280-hero-art .s-bot {
	font-size: .42rem;
	letter-spacing: .24em;
	text-transform: uppercase;
}

.a1280-hero-art .dust {
	position: absolute;
	inset: 0;
	z-index: 4;
	pointer-events: none;
}

.a1280-hero-art .dust span {
	position: absolute;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: rgba(255, 248, 235, .7);
	opacity: 0;
	animation: a1280-float 9s linear infinite;
}

@keyframes a1280-float {
	0% { opacity: 0; transform: translateY(20px); }
	15% { opacity: .9; }
	85% { opacity: .5; }
	100% { opacity: 0; transform: translateY(-120px); }
}

/* =============== Materiaal-strip =============== */
.a1280-materials {
	border-top: 1px solid var(--a1280-line-soft);
	border-bottom: 1px solid var(--a1280-line-soft);
	gap: 14px 40px !important;
}

.a1280-m {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: .86rem;
	color: var(--a1280-walnut);
	font-weight: 500;
	letter-spacing: .02em;
}

.a1280-m .swatch {
	width: 22px;
	height: 22px;
	border-radius: 6px;
	border: 1px solid var(--a1280-line);
	display: inline-block;
	flex: 0 0 auto;
}

/* =============== Pijler-grid =============== */
.a1280-pillar-grid {
	gap: 22px;
}

.a1280-card {
	background: var(--a1280-ground-2);
	border: 1px solid var(--a1280-line-soft);
	border-radius: var(--a1280-radius);
	padding: 30px 26px 28px;
	position: relative;
	overflow: hidden;
	transition: transform .4s var(--a1280-ease), box-shadow .4s var(--a1280-ease), border-color .4s var(--a1280-ease);
}

.a1280-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 3px;
	background: var(--a1280-taupe);
	transition: background .4s var(--a1280-ease), width .4s var(--a1280-ease);
}

.a1280-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 40px -24px rgba(91, 70, 54, .45);
	border-color: var(--a1280-line);
}

.a1280-card:hover::before {
	background: var(--a1280-secondary);
	width: 4px;
}

.a1280-p-num {
	font-size: .85rem !important;
	color: var(--a1280-secondary);
	letter-spacing: .1em;
	margin: 0 0 4px;
}

.a1280-card h3 {
	margin: 14px 0 10px;
}

.a1280-card p {
	font-size: .95rem;
	opacity: .82;
}

.a1280-p-link a {
	font-size: .9rem;
	font-weight: 600;
	color: var(--a1280-accent);
	text-decoration: none;
	transition: color .3s var(--a1280-ease);
}

.a1280-card:hover .a1280-p-link a {
	color: var(--a1280-secondary);
}

/* =============== Verhaalband =============== */
.a1280-story {
	position: relative;
	overflow: hidden;
}

.a1280-story::after {
	content: "1280";
	position: absolute;
	right: -2%;
	bottom: -8%;
	font-weight: 600;
	font-size: 22vw;
	line-height: 1;
	color: rgba(243, 237, 225, .045);
	letter-spacing: .02em;
	pointer-events: none;
	z-index: 0;
}

.a1280-story > .wp-block-columns {
	position: relative;
	z-index: 2;
}

.a1280-story .a1280-eyebrow {
	color: var(--a1280-taupe);
}

.a1280-story-quote {
	font-style: italic;
	font-size: 1.45rem;
	line-height: 1.5;
	margin: 22px 0;
	border-left: 2px solid var(--a1280-secondary);
	padding-left: 22px;
}

.a1280-story-quote p {
	font-style: italic;
}

.a1280-story-body {
	color: rgba(243, 237, 225, .86);
	font-size: 1.02rem;
	max-width: 52ch;
}

/* Persona-blok Lieke */
.a1280-author {
	background: rgba(243, 237, 225, .06);
	border: 1px solid rgba(243, 237, 225, .14);
	border-radius: 18px;
	padding: 30px;
	gap: 22px;
	flex-wrap: nowrap;
}

.a1280-avatar {
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #d8c3a6, var(--a1280-taupe) 55%, #8f7659);
	border: 2px solid rgba(243, 237, 225, .3);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.a1280-avatar span {
	font-size: 2rem;
	color: var(--a1280-walnut);
	font-weight: 600;
}

.a1280-author-body {
	flex: 1 1 auto;
}

.a1280-a-name {
	margin: 0;
}

.a1280-a-role {
	margin: 3px 0 10px;
	letter-spacing: .02em;
}

.a1280-a-bio {
	color: rgba(243, 237, 225, .8);
	line-height: 1.6;
	margin: 0;
}

.a1280-badges {
	gap: 8px;
	margin-top: 14px;
}

.a1280-badge {
	font-size: .72rem;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(243, 237, 225, .1);
	border: 1px solid rgba(243, 237, 225, .16);
	color: var(--a1280-ground);
	letter-spacing: .03em;
	display: inline-block;
}

/* =============== Laatste artikelen =============== */
.a1280-art-grid {
	gap: 26px;
}

.a1280-post {
	background: var(--a1280-ground-2);
	border: 1px solid var(--a1280-line-soft);
	border-radius: var(--a1280-radius);
	overflow: hidden;
	transition: transform .4s var(--a1280-ease), box-shadow .4s var(--a1280-ease);
	display: flex;
	flex-direction: column;
}

.a1280-post:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 44px -26px rgba(91, 70, 54, .5);
}

.a1280-thumb {
	margin: 0;
	border-bottom: 1px solid var(--a1280-line-soft);
	background: linear-gradient(155deg, #c9b498, #a98a63);
}

.a1280-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.a1280-post-body {
	padding: 22px 24px 26px;
	flex: 1;
}

.a1280-meta {
	font-size: .78rem !important;
	color: var(--a1280-secondary);
	letter-spacing: .04em;
	margin-bottom: 9px;
}

.a1280-meta a {
	color: var(--a1280-secondary);
	text-decoration: none;
}

.a1280-post-title {
	line-height: 1.25;
	margin: 0 0 10px;
}

.a1280-post-title a {
	color: var(--a1280-ink);
	text-decoration: none;
	transition: color .3s var(--a1280-ease);
}

.a1280-post-title a:hover {
	color: var(--a1280-secondary);
}

.a1280-post-excerpt {
	font-size: .9rem;
	opacity: .85;
}

.a1280-post-excerpt .wp-block-post-excerpt__more-link {
	display: inline-block;
	margin-top: 12px;
	font-weight: 600;
	color: var(--a1280-accent);
	opacity: 1;
	text-decoration: none;
}

/* =============== Single / Page =============== */
.a1280-single-title {
	max-width: 20ch;
}

.a1280-post-meta {
	color: var(--a1280-walnut);
	opacity: .9;
}

.a1280-post-meta .wp-block-post-author-name a {
	color: var(--a1280-secondary);
	text-decoration: none;
}

.a1280-content {
	margin-top: 8px;
}

.a1280-content > * {
	margin-top: 1.5em;
}

/* Auteursbox onder artikel */
.a1280-author-box {
	gap: 22px;
	flex-wrap: nowrap;
}

.a1280-author-box .wp-block-avatar {
	flex: 0 0 88px;
}

.a1280-author-box .wp-block-avatar img {
	border-radius: 50%;
}

.a1280-author-box-body {
	flex: 1 1 auto;
}

.a1280-author-bio {
	opacity: .82;
	margin-top: 8px;
}

.a1280-post-nav {
	padding-top: 24px;
}

.a1280-post-nav a {
	color: var(--a1280-accent);
	text-decoration: none;
	font-weight: 600;
	font-size: .95rem;
}

.a1280-post-nav a:hover {
	color: var(--a1280-secondary);
}

/* =============== Footer =============== */
.a1280-footer .wp-block-site-title,
.a1280-footer .wp-block-site-title a {
	color: var(--a1280-ground);
	font-size: 1.6rem;
	font-weight: 600;
}

.a1280-foot-brand p {
	color: rgba(243, 237, 225, .68);
	max-width: 34ch;
	line-height: 1.6;
	margin-top: 16px;
}

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

.a1280-foot-list li {
	margin: 0;
}

.a1280-foot-list a {
	display: block;
	font-size: .92rem;
	color: rgba(243, 237, 225, .78);
	padding: 6px 0;
	text-decoration: none;
	transition: color .3s var(--a1280-ease), padding-left .3s var(--a1280-ease);
}

.a1280-foot-list a:hover {
	color: var(--a1280-secondary);
	padding-left: 4px;
}

.a1280-foot-bottom {
	color: rgba(243, 237, 225, .55);
}

.a1280-legal .wp-block-navigation-item__content {
	color: rgba(243, 237, 225, .55);
}

.a1280-legal .wp-block-navigation-item:hover .wp-block-navigation-item__content {
	color: var(--a1280-taupe);
}

/* =============== Query-title / pagination =============== */
.a1280-pagination {
	gap: 8px;
}

.a1280-pagination .wp-block-query-pagination-numbers .page-numbers {
	padding: 6px 12px;
	border-radius: 8px;
	color: var(--a1280-ink);
	text-decoration: none;
}

.a1280-pagination .page-numbers.current {
	background: var(--a1280-accent);
	color: var(--a1280-ground);
}

/* =============== Scroll-reveal (JS-gated) =============== */
.js .reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s var(--a1280-ease), transform .7s var(--a1280-ease);
}

.js .reveal.in {
	opacity: 1;
	transform: none;
}

/* Zonder JS altijd zichtbaar */
.no-js .reveal,
html:not(.js) .reveal {
	opacity: 1;
	transform: none;
}

/* =============== Responsive =============== */
@media (max-width: 960px) {
	.a1280-hero-art {
		max-width: 420px;
	}
}

@media (max-width: 781px) {
	.a1280-hero {
		padding-top: 48px !important;
		padding-bottom: 64px !important;
	}
	.a1280-author,
	.a1280-author-box {
		flex-direction: column;
		text-align: center;
		align-items: center;
		flex-wrap: wrap;
	}
	.a1280-story::after {
		font-size: 34vw;
	}
}

@media (prefers-reduced-motion: reduce) {
	.js .reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.a1280-hero-art .dust {
		display: none;
	}
	* {
		animation: none !important;
	}
}
