/*
Theme Name: Cozy Nook 3D
Theme URI: https://cozydecovibes.com/
Author: Cozy Deco Vibes
Author URI: https://cozydecovibes.com/
Description: A warm, fully 3D home decor theme. Real CSS 3D living room in the hero, coverflow category slider, tilting 3D cards, 3D buttons and headings. Works on phones, tablets and desktops. No plugins needed.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cozy-nook-3d
Tags: blog, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, grid-layout
*/

/* ==========================================================
   COLORS AND FONTS - change the look of the whole theme here
   ========================================================== */
:root {
	--cream: #FBF3E6;
	--cream-2: #F4E6D0;
	--paper: #FFFAF2;
	--terra: #C8643B;
	--terra-d: #A44D2B;
	--terra-dd: #7E3A1F;
	--terra-l: #E08A5F;
	--cocoa: #3B2417;
	--cocoa-2: #5A3A28;
	--sage: #7E9A7A;
	--sage-d: #5F7D5B;
	--sage-dd: #456243;
	--sage-l: #A9C0A5;
	--mustard: #E2A93B;
	--mustard-d: #C48A1F;
	--mustard-dd: #98660F;
	--text: #4A3326;
	--muted: #7A6455;
	--line: #ECD9BD;

	--f-head: 'Fraunces', Georgia, 'Times New Roman', serif;
	--f-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--f-script: 'Caveat', 'Segoe Script', cursive;

	--max: 1240px;
	--gut: 20px;

	--ext: 1px 1px 0 #F3DFC3, 2px 2px 0 #ECD0A9, 3px 3px 0 #E2BF8F, 4px 4px 0 #D7AC77, 5px 5px 0 #C99A62, 6px 12px 20px rgba(59, 36, 23, .28);
	--thick: 0 1px 0 #fff inset, 0 3px 0 #ECD9BD, 0 6px 0 #E3CBA8, 0 9px 0 #D9BB91, 0 24px 32px rgba(59, 36, 23, .17);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--cream);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; }
svg { max-width: 100%; }
a { color: var(--terra-d); }
h1, h2, h3, h4 { overflow-wrap: break-word; }
p { overflow-wrap: break-word; }

:focus-visible { outline: 3px solid var(--mustard-d); outline-offset: 2px; }

.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;
}
.skip-link:focus {
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	margin: 0;
	left: 10px;
	top: 10px;
	z-index: 1000;
	background: #fff;
	padding: 12px 18px;
	border-radius: 12px;
}

.container {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gut);
}
.container--narrow { max-width: 880px; }

.site-main { overflow-x: clip; }

.ico { width: 22px; height: 22px; flex: none; }
.ico--sm { width: 16px; height: 16px; }
.ico--lg { width: 34px; height: 34px; }

.h3d {
	color: var(--cocoa);
	text-shadow: var(--ext);
}

/* ==========================================================
   3D BUTTONS
   ========================================================== */
.btn,
.form-submit .submit,
.comment-reply-link {
	--b1: var(--terra);
	--b2: #A9502E;
	--b3: #7E3A1F;
	--bt: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 50px;
	padding: 0 1.7em;
	border: 0;
	border-radius: 999px;
	background: var(--b1);
	color: var(--bt);
	font: 700 1rem/1 var(--f-body);
	text-decoration: none;
	cursor: pointer;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, .35) inset,
		0 1px 0 var(--b2),
		0 2px 0 var(--b2),
		0 3px 0 var(--b3),
		0 4px 0 var(--b3),
		0 5px 0 var(--b3),
		0 6px 0 var(--b3),
		0 12px 18px rgba(59, 36, 23, .32);
	transition: transform .15s ease, box-shadow .15s ease;
	-webkit-tap-highlight-color: transparent;
}
.btn:hover,
.form-submit .submit:hover { transform: translateY(-2px); color: var(--bt); }
.btn:active,
.form-submit .submit:active,
.comment-reply-link:active {
	transform: translateY(5px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 1px 0 var(--b3), 0 2px 5px rgba(59, 36, 23, .3);
}
.btn--sage { --b1: var(--sage); --b2: var(--sage-d); --b3: var(--sage-dd); }
.btn--mustard { --b1: var(--mustard); --b2: var(--mustard-d); --b3: var(--mustard-dd); --bt: var(--cocoa); }
.btn--cream { --b1: #fff; --b2: #EBD8BC; --b3: #C9AE86; --bt: var(--cocoa); }
.btn--sm { min-height: 44px; padding: 0 1.2em; font-size: .92rem; }
.btn--lg { min-height: 58px; padding: 0 2.1em; font-size: 1.05rem; }
.comment-reply-link { min-height: 44px; padding: 0 1.1em; font-size: .88rem; }

.icon-btn {
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--cocoa);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 1px 0 #fff inset, 0 3px 0 #E3CBA8, 0 5px 0 #D4B78F, 0 9px 12px rgba(59, 36, 23, .18);
	transition: transform .15s ease, box-shadow .15s ease;
	-webkit-tap-highlight-color: transparent;
}
.icon-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #fff inset, 0 1px 0 #D4B78F, 0 2px 4px rgba(59, 36, 23, .18); }

/* ==========================================================
   TOP BAR
   ========================================================== */
.topbar { background: var(--cocoa); color: #F6E7D1; font-size: .84rem; }
.topbar-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 44px;
}
.topbar-text {
	margin: 0;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.social { display: flex; flex: none; gap: 2px; }
.social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: inherit;
	border-radius: 50%;
	transition: background .2s, transform .2s;
}
.social a:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.social .ico { width: 18px; height: 18px; }

/* ==========================================================
   HEADER (sticky, solid background, no filter/transform)
   ========================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--paper);
	box-shadow: 0 2px 0 var(--line), 0 12px 22px -14px rgba(59, 36, 23, .4);
}
.admin-bar .site-header { top: 32px; }

.hdr-in {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 76px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 0 1 auto;
	text-decoration: none;
	color: var(--cocoa);
}
.brand-mark { flex: none; display: inline-flex; filter: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
	font-family: var(--f-head);
	font-weight: 800;
	font-size: 1.35rem;
	line-height: 1.1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.brand-tag {
	display: block;
	max-width: 260px;
	font-size: .74rem;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.custom-logo-link { display: inline-flex; }
.custom-logo-link img { max-height: 56px; width: auto; }

.main-nav { margin-left: auto; min-width: 0; }
.main-nav .menu,
.main-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.main-nav .menu { display: flex; align-items: center; gap: 2px; }
.main-nav .menu li { position: relative; }
.main-nav .menu a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	font-size: .96rem;
	font-weight: 700;
	color: var(--cocoa);
	text-decoration: none;
	transition: background .2s, color .2s;
}
.main-nav .menu a:hover,
.main-nav .menu .current-menu-item > a,
.main-nav .menu .current_page_item > a { background: var(--cream-2); color: var(--terra-d); }
.main-nav .menu-item-has-children > a::after,
.main-nav .page_item_has_children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	margin: -3px 0 0 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}
.main-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 5;
	min-width: 220px;
	padding: 8px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 3px 0 var(--line), 0 20px 30px rgba(59, 36, 23, .18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.main-nav .menu li:hover > .sub-menu,
.main-nav .menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.main-nav .sub-menu .sub-menu { top: 0; left: 100%; }
.main-nav .sub-menu a { border-radius: 12px; }

.hdr-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle,
.nav-close,
.nav-cta { display: none; }

.search-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: 16px 0;
	background: var(--paper);
	border-bottom: 2px solid var(--line);
	box-shadow: 0 18px 24px -16px rgba(59, 36, 23, .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity .25s, transform .25s, visibility 0s linear .25s;
}
.search-open .search-panel {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.search-form { display: flex; gap: 10px; align-items: center; max-width: 640px; margin-inline: auto; }
.search-field {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 50px;
	padding: 0 20px;
	border: 2px solid #E3CBA8;
	border-radius: 999px;
	background: #fff;
	color: var(--cocoa);
	font: 500 1rem var(--f-body);
}
.search-field:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(200, 100, 59, .18); }
.search-submit { flex: none; width: 50px; padding: 0; }

.nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(59, 36, 23, .55);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility 0s linear .3s;
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
	position: relative;
	overflow: hidden;
	padding: 40px 0 56px;
	background:
		radial-gradient(circle at 88% 18%, rgba(226, 169, 59, .24), transparent 42%),
		radial-gradient(circle at 4% 92%, rgba(126, 154, 122, .26), transparent 40%),
		var(--cream);
}
.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hb1 { width: 280px; height: 280px; left: -90px; top: -80px; background: rgba(200, 100, 59, .09); }
.hb2 { width: 220px; height: 220px; right: -60px; bottom: -70px; background: rgba(126, 154, 122, .16); }

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 24px;
	align-items: center;
}
.hero-copy { min-width: 0; }
.hero-copy > * { animation: cn3d-up .8s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * .09s); }

.hero-script {
	display: inline-block;
	margin: 0 0 4px;
	font-family: var(--f-script);
	font-size: 2.1rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--terra);
	transform: rotate(-2deg);
}
.hero-title {
	margin: 0 0 18px;
	font-family: var(--f-head);
	font-weight: 800;
	font-size: clamp(2.1rem, 5.4vw, 4.4rem);
	line-height: 1.05;
}
.hero-title em,
.sec-title em,
.band-title em {
	--ext: 1px 1px 0 #EDB89C, 2px 2px 0 #E49D78, 3px 3px 0 #D98660, 4px 4px 0 #C26F48, 5px 5px 0 #A9552F, 6px 12px 20px rgba(59, 36, 23, .28);
	font-family: var(--f-script);
	font-style: normal;
	font-weight: 700;
	font-size: 1.2em;
	color: var(--terra);
}
.hero-text { max-width: 520px; margin: 0 0 26px; font-size: 1.12rem; color: var(--cocoa-2); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 8px; }

.hero-visual { min-width: 0; }

/* 3D stage: designed at 440 x 540, scaled by --sc so it never gets wider than the screen */
.stage {
	--sc: 1;
	position: relative;
	display: flex;
	justify-content: center;
	height: calc(540px * var(--sc));
}
.stage-in {
	position: relative;
	flex: none;
	width: 440px;
	height: 540px;
	margin-inline: calc(220px * (var(--sc) - 1));
	scale: var(--sc);
	transform-origin: 50% 0;
}
.stage-glow {
	position: absolute;
	left: 30px;
	top: 70px;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(226, 169, 59, .38), transparent 66%);
}
.defs-svg { position: absolute; width: 0; height: 0; overflow: hidden; }

.scene {
	position: absolute;
	inset: 0;
	perspective: 1400px;
	perspective-origin: 50% 38%;
}
.mouse {
	position: absolute;
	inset: 0;
	transform-style: preserve-3d;
	transform: rotateX(var(--py, 0deg)) rotateY(var(--px, 0deg));
	transition: transform .25s ease-out;
}
.sway {
	position: absolute;
	inset: 0;
	transform-style: preserve-3d;
	animation: cn3d-sway 9s ease-in-out infinite;
}
.room {
	position: absolute;
	left: 80px;
	top: 130px;
	width: 280px;
	height: 300px;
	transform-style: preserve-3d;
}

.wall { position: absolute; backface-visibility: hidden; }
.wall-back {
	left: 0;
	top: 0;
	width: 280px;
	height: 300px;
	transform: translateZ(-140px);
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 2px, transparent 2px 28px),
		linear-gradient(#F7E9D2, #F0DDBF);
	border-bottom: 14px solid #FFF6E8;
	box-shadow: inset 0 -2px 0 #E2CFB0;
}
.wall-left {
	left: 0;
	top: 0;
	width: 280px;
	height: 300px;
	transform: rotateY(90deg) translateZ(-140px);
	background: linear-gradient(90deg, #DFC8A6, #E9D4B6 60%, #EBD9BC);
	border-bottom: 14px solid #F6E8D2;
	box-shadow: inset 0 -2px 0 #D6BF9B;
}
.wall-floor {
	left: 0;
	top: 10px;
	width: 280px;
	height: 280px;
	transform: rotateX(90deg) translateZ(-150px);
	background:
		repeating-linear-gradient(90deg, rgba(122, 78, 44, .16) 0 2px, transparent 2px 36px),
		linear-gradient(#E3C08F, #D9B27E);
}

.arch {
	position: absolute;
	left: 30px;
	top: 24px;
	width: 120px;
	height: 160px;
	overflow: hidden;
	border: 7px solid var(--terra);
	border-radius: 60px 60px 6px 6px;
	background: #F8D9B6;
	box-shadow: inset 0 0 0 3px var(--cream), 0 6px 0 var(--terra-d), 0 14px 18px rgba(59, 36, 23, .25);
}
.arch img,
.arch svg,
.frame img,
.frame svg { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }

.shelf {
	position: absolute;
	left: 170px;
	top: 122px;
	width: 94px;
	height: 8px;
	border-radius: 3px;
	background: #B07A52;
	box-shadow: 0 4px 0 #8E5E3B, 0 10px 12px rgba(59, 36, 23, .25);
}
.shelf svg { position: absolute; left: 0; bottom: 8px; width: 94px; height: 60px; }

.frame {
	position: absolute;
	left: 100px;
	top: 70px;
	width: 82px;
	height: 82px;
	overflow: hidden;
	border: 6px solid var(--cocoa);
	background: #fff;
	box-shadow: 0 5px 0 #2A190F, 0 12px 14px rgba(59, 36, 23, .3);
}
.frame--sm { left: 204px; top: 96px; width: 42px; height: 54px; border-width: 4px; }

.rug {
	position: absolute;
	left: 40px;
	top: 92px;
	width: 200px;
	height: 150px;
	border: 6px solid var(--terra);
	border-radius: 14px;
	background: repeating-linear-gradient(90deg, #E08A5F 0 12px, #F4E6D0 12px 18px);
	box-shadow: inset 0 0 0 3px var(--cream);
}
.shadow { position: absolute; border-radius: 50%; background: rgba(59, 36, 23, .3); filter: blur(7px); }
.sh-sofa { left: 26px; top: 8px; width: 210px; height: 96px; }
.sh-table { left: 62px; top: 124px; width: 116px; height: 66px; }
.sh-plant { left: 212px; top: 160px; width: 56px; height: 36px; }

/* 3D boxes (six faces each) */
.cub { position: absolute; width: var(--w); height: var(--h); transform-style: preserve-3d; }
.cub i {
	position: absolute;
	display: block;
	background-color: var(--c, #C8643B);
	backface-visibility: hidden;
}
.cub .f { inset: 0; transform: translateZ(calc(var(--d) / 2)); }
.cub .k { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background-image: linear-gradient(rgba(0, 0, 0, .18), rgba(0, 0, 0, .18)); }
.cub .l {
	left: calc((var(--w) - var(--d)) / 2);
	top: 0;
	width: var(--d);
	height: 100%;
	transform: rotateY(-90deg) translateZ(calc(var(--w) / 2));
	background-image: linear-gradient(rgba(0, 0, 0, .24), rgba(0, 0, 0, .24));
}
.cub .r {
	left: calc((var(--w) - var(--d)) / 2);
	top: 0;
	width: var(--d);
	height: 100%;
	transform: rotateY(90deg) translateZ(calc(var(--w) / 2));
	background-image: linear-gradient(rgba(0, 0, 0, .34), rgba(0, 0, 0, .34));
}
.cub .t {
	left: 0;
	top: calc((var(--h) - var(--d)) / 2);
	width: 100%;
	height: var(--d);
	transform: rotateX(90deg) translateZ(calc(var(--h) / 2));
	background-image: linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .22));
}
.cub .b {
	left: 0;
	top: calc((var(--h) - var(--d)) / 2);
	width: 100%;
	height: var(--d);
	transform: rotateX(-90deg) translateZ(calc(var(--h) / 2));
	background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4));
}

.flame {
	position: absolute;
	left: 134px;
	top: 236px;
	width: 7px;
	height: 13px;
	border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
	background: radial-gradient(circle at 50% 70%, #FFF3C2, #E2A93B 60%, #C8643B);
	box-shadow: 0 0 12px 4px rgba(255, 200, 90, .55);
	transform: translateZ(14px);
	transform-origin: 50% 100%;
	animation: cn3d-flicker 1.4s ease-in-out infinite;
}

.plant { position: absolute; left: 208px; top: 180px; width: 64px; height: 120px; transform-style: preserve-3d; }
.plane { position: absolute; inset: 0; }
.plane svg { display: block; width: 64px; height: 120px; max-width: none; }

.lamp {
	position: absolute;
	left: 177px;
	top: 0;
	width: 56px;
	height: 150px;
	transform-style: preserve-3d;
	transform-origin: 50% 0;
	transform: translateZ(-30px);
	animation: cn3d-swing 4.6s ease-in-out infinite;
}
.cord { position: absolute; left: 27px; top: 0; width: 2px; height: 92px; background: var(--cocoa); }
.bulb {
	position: absolute;
	left: -14px;
	top: 112px;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 224, 150, .85), rgba(255, 214, 120, 0) 68%);
}

.ground {
	position: absolute;
	left: 50px;
	top: 448px;
	width: 340px;
	height: 46px;
	border-radius: 50%;
	background: radial-gradient(ellipse, rgba(59, 36, 23, .3), transparent 70%);
}

.spark { position: absolute; animation: cn3d-twinkle 3.2s ease-in-out infinite; transform: translateZ(90px); }
.spark svg { display: block; }
.s1 { left: 34px; top: 96px; }
.s2 { left: 384px; top: 190px; animation-delay: -1s; }
.s3 { left: 52px; top: 410px; animation-delay: -2s; }
.s4 { left: 340px; top: 420px; animation-delay: -.5s; }

.leaf { position: absolute; animation: cn3d-drift 7s ease-in-out infinite; }
.leaf svg { display: block; }
.l1 { left: 18px; top: 250px; }
.l2 { right: 22px; top: 320px; animation-delay: -3s; }

.badge-circle {
	position: absolute;
	right: 8px;
	top: 6px;
	width: 104px;
	height: 104px;
	border-radius: 50%;
	background: var(--cream);
	box-shadow: 0 1px 0 #fff inset, 0 3px 0 #E3CBA8, 0 5px 0 #D4B78F, 0 12px 18px rgba(59, 36, 23, .25);
}
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: cn3d-spin 18s linear infinite; }
.badge-core {
	position: absolute;
	inset: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--terra);
	color: #fff;
	box-shadow: 0 3px 0 var(--terra-dd);
}
.badge-core .ico { width: 20px; height: 20px; }

.chip {
	position: absolute;
	left: 4px;
	bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px 7px 7px;
	border: 1px solid rgba(255, 255, 255, .85);
	border-radius: 999px;
	background: rgba(255, 255, 255, .62);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 3px 0 rgba(200, 100, 59, .25), 0 12px 18px rgba(59, 36, 23, .18);
	font-size: .86rem;
	font-weight: 700;
	color: var(--cocoa);
	animation: cn3d-bob 4s ease-in-out infinite;
}
.chip-ico {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--terra);
	color: #fff;
}
.chip-ico .ico { width: 17px; height: 17px; }

/* ==========================================================
   SECTIONS (shared)
   ========================================================== */
.sec-head { max-width: 700px; margin: 0 auto 34px; text-align: center; }
.sec-title {
	margin: 0 0 10px;
	font-family: var(--f-head);
	font-weight: 800;
	font-size: clamp(1.9rem, 4vw, 3rem);
	line-height: 1.1;
}
.sec-sub { margin: 0; font-size: 1.06rem; color: var(--muted); }
.empty-note { text-align: center; color: var(--muted); }
.center-btn { display: flex; justify-content: center; margin-top: 44px; }

/* ==========================================================
   CATEGORIES: coverflow slider + tiles
   ========================================================== */
.rooms {
	position: relative;
	padding: 64px 0 76px;
	background:
		radial-gradient(circle at 1px 1px, rgba(200, 100, 59, .12) 1.4px, transparent 1.6px) 0 0 / 26px 26px,
		var(--paper);
}
.cat-wrap { position: relative; }
.cat-track {
	--cw: 200px;
	position: relative;
	display: flex;
	gap: 22px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 34px calc(50% - var(--cw) / 2) 46px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	perspective: 1100px;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}
.cat-track::-webkit-scrollbar { display: none; }
.cat-track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.cat-track.is-drag .cat-card { pointer-events: none; }

.cat-card {
	display: block;
	flex: 0 0 var(--cw);
	min-width: 0;
	scroll-snap-align: center;
	color: inherit;
	text-decoration: none;
	-webkit-user-drag: none;
	will-change: transform;
}
.cat-in {
	--fc: var(--terra);
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 14px 14px 18px;
	border-radius: 26px;
	background: #fff;
	text-align: center;
	box-shadow: var(--thick);
	transform-style: preserve-3d;
}
.c1 .cat-in { --fc: var(--sage); }
.c2 .cat-in { --fc: var(--mustard); }
.cat-arch {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	border: 5px solid var(--cream-2);
	border-radius: 999px 999px 18px 18px;
	background: var(--fc);
	transform: translateZ(26px);
}
.cat-img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.cat-letter {
	font-family: var(--f-head);
	font-size: 4rem;
	font-weight: 800;
	line-height: 1;
	color: #fff;
	text-shadow: 0 3px 0 rgba(0, 0, 0, .18);
}
.cat-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.5em;
	margin-top: 14px;
	font-family: var(--f-head);
	font-size: 1.04rem;
	font-weight: 800;
	line-height: 1.25;
	color: var(--cocoa);
	overflow-wrap: break-word;
	transform: translateZ(18px);
}
.cat-count {
	margin-top: 8px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--cream-2);
	font-size: .78rem;
	font-weight: 700;
	color: var(--terra-d);
	transform: translateZ(12px);
}
.cat-card.is-center .cat-in { box-shadow: 0 1px 0 #fff inset, 0 3px 0 #ECD9BD, 0 6px 0 #E3CBA8, 0 9px 0 #D9BB91, 0 28px 36px rgba(59, 36, 23, .24); }

.arrow {
	position: absolute;
	top: 42%;
	z-index: 5;
	width: 54px;
	height: 54px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--terra);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 2px 0 #A9502E, 0 4px 0 #8F4122, 0 6px 0 var(--terra-dd), 0 12px 16px rgba(59, 36, 23, .3);
	transition: transform .15s, box-shadow .15s;
}
.arrow:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--terra-dd), 0 2px 4px rgba(59, 36, 23, .3); }
.arrow--prev { left: max(12px, calc(50% - 560px)); }
.arrow--next { right: max(12px, calc(50% - 560px)); }

.tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	margin-top: 22px;
}
.tile {
	--tc: var(--terra-d);
	--tcc: var(--terra-dd);
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	height: 100%;
	min-height: 230px;
	padding: 26px;
	border-radius: 28px;
	background: var(--terra);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 4px 0 var(--tc), 0 8px 0 var(--tcc), 0 24px 32px rgba(59, 36, 23, .26);
	transform-style: preserve-3d;
}
.tile.t1 { background: var(--sage); --tc: var(--sage-d); --tcc: var(--sage-dd); }
.tile.t2 { background: var(--mustard); --tc: var(--mustard-d); --tcc: var(--mustard-dd); color: var(--cocoa); }
.tile-text {
	display: flex;
	flex: 1 1 55%;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	transform: translateZ(30px);
}
.tile-count {
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .24);
	font-size: .8rem;
	font-weight: 700;
}
.tile-name {
	font-family: var(--f-head);
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.1;
	overflow-wrap: break-word;
	text-shadow: 0 2px 0 var(--tcc), 0 5px 0 rgba(0, 0, 0, .12);
}
.t2 .tile-name { text-shadow: 0 2px 0 rgba(255, 255, 255, .45), 0 5px 0 rgba(0, 0, 0, .1); }
.tile-art {
	display: grid;
	flex: 0 0 42%;
	place-items: center;
	max-width: 190px;
	aspect-ratio: 1;
	overflow: hidden;
	border: 5px solid #fff;
	border-radius: 999px 999px 18px 18px;
	background: rgba(255, 255, 255, .26);
	box-shadow: 0 12px 18px rgba(0, 0, 0, .2);
	transform: translateZ(46px);
}
.tile-art .cat-img { height: 100%; }
.tile-btn { pointer-events: none; }

/* ==========================================================
   CARDS (articles) - 3D tilt, glare, layered thickness
   ========================================================== */
.grid-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 24px;
}
.item { min-width: 0; }

.tilt {
	transform-style: preserve-3d;
	transition: transform .22s ease-out, box-shadow .25s;
}
.glare {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	opacity: 0;
	background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%);
	transform: translateZ(1px);
	transition: opacity .25s;
}
@media (hover: hover) and (pointer: fine) {
	.tilt {
		transform: perspective(900px) translateY(var(--ty, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	}
	.tilt:hover { --ty: -6px; }
	.tilt:hover > .glare { opacity: 1; }
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 22px;
	background: #fff;
	box-shadow: var(--thick);
}
.card-media-wrap { position: relative; border-radius: 22px 22px 0 0; transform-style: preserve-3d; }
.card-media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 22px 22px 0 0;
	background: var(--cream-2);
}
.card-media img,
.card-ph svg { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-ph { display: block; width: 100%; height: 100%; }
.card:hover .card-media img { transform: scale(1.05); }

.card-badge {
	position: absolute;
	z-index: 2;
	left: 12px;
	top: 12px;
	display: block;
	max-width: calc(100% - 118px);
	height: 34px;
	line-height: 34px;
	padding: 0 13px;
	border-radius: 999px;
	background: var(--mustard);
	color: var(--cocoa);
	font-size: .76rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: 0 2px 0 var(--mustard-d), 0 4px 0 var(--mustard-dd), 0 9px 12px rgba(0, 0, 0, .22);
	transform: translateZ(34px);
}
.card-badge--static {
	position: static;
	display: inline-block;
	max-width: 100%;
	margin-bottom: 16px;
	transform: none;
}
.pin-btn {
	position: absolute;
	z-index: 2;
	right: 12px;
	top: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 15px 0 12px;
	border-radius: 999px;
	background: #E60023;
	color: #fff;
	font-size: .82rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 2px 0 #B8001B, 0 4px 0 #8C0014, 0 9px 12px rgba(0, 0, 0, .25);
	transform: translateZ(40px);
	transition: filter .2s;
}
.pin-btn:hover { color: #fff; }
.pin-btn .ico { width: 18px; height: 18px; }

.card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 16px 18px 18px;
	transform-style: preserve-3d;
}
.card-title {
	margin: 0;
	font-family: var(--f-head);
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.28;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transform: translateZ(18px);
}
.card-title a { color: var(--cocoa); text-decoration: none; }
.card-title a:hover { color: var(--terra); }
.card-excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	font-size: .92rem;
	line-height: 1.55;
	color: var(--muted);
}
.card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-top: auto;
	padding-top: 6px;
	font-size: .8rem;
	font-weight: 500;
	color: var(--muted);
}
.dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.rt { display: inline-flex; align-items: center; gap: 5px; }

/* Scroll-driven entrance (never starts invisible: opacity from .25) */
@supports (animation-timeline: view()) {
	.reveal {
		animation: cn3d-rise linear both;
		animation-timeline: view();
		animation-range: entry 0% entry 55%;
	}
}

/* ==========================================================
   LATEST + TRUST
   ========================================================== */
.latest { padding: 72px 0 80px; background: var(--cream); }

.trust { padding: 72px 0 120px; background: #E6EDDF; }
.trust .sec-head { margin-bottom: 64px; }
.trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 56px 24px;
}
.trust-card {
	--dc: var(--terra);
	--dcd: var(--terra-d);
	--dcdd: var(--terra-dd);
	position: relative;
	height: 100%;
	padding: 56px 22px 28px;
	border-radius: 24px;
	background: #fff;
	text-align: center;
	box-shadow: var(--thick);
	transform-style: preserve-3d;
}
.trust-card.k2 { --dc: var(--sage); --dcd: var(--sage-d); --dcdd: var(--sage-dd); }
.trust-card.k3 { --dc: var(--mustard); --dcd: var(--mustard-d); --dcdd: var(--mustard-dd); }
.trust-card.k4 { --dc: var(--cocoa-2); --dcd: var(--cocoa); --dcdd: #24140B; }
.disc {
	position: absolute;
	left: 50%;
	top: -38px;
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin-left: -38px;
	border-radius: 50%;
	background: var(--dc);
	color: #fff;
	box-shadow: inset 0 3px 6px rgba(255, 255, 255, .35), 0 2px 0 var(--dcd), 0 4px 0 var(--dcd), 0 6px 0 var(--dcdd), 0 16px 20px rgba(59, 36, 23, .25);
	transform: translateZ(46px);
}
.k3 .disc { color: var(--cocoa); }
.trust-title {
	margin: 0 0 8px;
	font-family: var(--f-head);
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.25;
	color: var(--cocoa);
	transform: translateZ(18px);
}
.trust-card p { margin: 0; font-size: .96rem; color: var(--muted); }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
	position: relative;
	padding-top: 64px;
	background: var(--cocoa);
	color: #EBD8BC;
}
.foot-wave {
	position: absolute;
	left: 0;
	top: -80px;
	display: block;
	width: 100%;
	height: 83px;
	color: var(--cocoa);
	pointer-events: none;
}
.foot-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 34px;
}
.foot-col { min-width: 0; }
.foot-logo {
	display: inline-block;
	margin-bottom: 10px;
	font-family: var(--f-head);
	font-size: 1.7rem;
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
	text-decoration: none;
	text-shadow: 1px 1px 0 #C8643B, 2px 2px 0 #A44D2B, 3px 3px 0 #7E3A1F, 4px 8px 12px rgba(0, 0, 0, .35);
}
.foot-brand p { margin: 0 0 12px; max-width: 360px; }
.social--foot { margin-left: -10px; flex-wrap: wrap; }
.social--foot a { color: #fff; }
.foot-title { margin: 0 0 12px; font-family: var(--f-head); font-size: 1.15rem; font-weight: 800; color: #fff; }
.foot-menu { margin: 0; padding: 0; list-style: none; }
.foot-menu a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: #EBD8BC;
	text-decoration: none;
	overflow-wrap: break-word;
}
.foot-menu a:hover { color: var(--mustard); }
.follow-box {
	padding: 22px;
	border: 2px dashed rgba(255, 255, 255, .22);
	border-radius: 24px;
	background: rgba(255, 255, 255, .06);
}
.follow-ico {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: #E60023;
	color: #fff;
	box-shadow: 0 3px 0 #8C0014, 0 8px 12px rgba(0, 0, 0, .3);
}
.follow-title { margin: 0 0 6px; font-family: var(--f-head); font-size: 1.15rem; font-weight: 800; color: #fff; }
.follow-box p { margin: 0 0 14px; font-size: .94rem; }
.foot-bottom { margin-top: 36px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.foot-bottom p { margin: 0; text-align: center; }

.to-top {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 80;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--terra);
	color: #fff;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 2px 0 #A9502E, 0 4px 0 #8F4122, 0 6px 0 var(--terra-dd), 0 14px 18px rgba(59, 36, 23, .32);
	transition: opacity .25s, transform .25s, visibility 0s linear .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* ==========================================================
   INNER PAGES
   ========================================================== */
.page-band {
	padding: 54px 0 44px;
	text-align: center;
	border-bottom: 2px solid var(--line);
	background:
		radial-gradient(circle at 10% 20%, rgba(226, 169, 59, .22), transparent 40%),
		radial-gradient(circle at 92% 80%, rgba(126, 154, 122, .24), transparent 40%),
		var(--cream-2);
}
.band-title {
	margin: 0;
	font-family: var(--f-head);
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 800;
	line-height: 1.1;
}
.band-title--single { font-size: clamp(1.8rem, 4.4vw, 3rem); }
.band-desc { max-width: 620px; margin: 14px auto 0; color: var(--muted); }
.band-desc p { margin: 0; }
.single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 12px;
	margin-top: 18px;
	font-size: .9rem;
	color: var(--muted);
}
.archive-wrap { padding: 56px 0 84px; }
.no-results { max-width: 560px; margin: 0 auto; text-align: center; }

.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 46px; }
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	min-height: 46px;
	padding: 0 14px;
	border-radius: 999px;
	background: #fff;
	color: var(--cocoa);
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 1px 0 #fff inset, 0 3px 0 #E3CBA8, 0 5px 0 #D4B78F, 0 10px 14px rgba(59, 36, 23, .14);
}
.page-numbers.current { background: var(--terra); color: #fff; box-shadow: 0 3px 0 #A9502E, 0 5px 0 var(--terra-dd), 0 10px 14px rgba(59, 36, 23, .25); }
.page-numbers.dots { background: transparent; box-shadow: none; }

.single-body { padding-top: 38px; padding-bottom: 56px; }
.single-thumb { position: relative; margin: 0 0 34px; }
.single-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 24px;
	box-shadow: var(--thick);
}
.single-thumb .pin-btn { top: 16px; right: 16px; transform: none; }

.entry-content { font-size: 1.1rem; line-height: 1.8; overflow-wrap: break-word; }
.entry-content > * { max-width: 100%; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 1.8em 0 .6em;
	font-family: var(--f-head);
	font-weight: 800;
	line-height: 1.2;
	color: var(--cocoa);
}
.entry-content h2 { font-size: 1.9rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.25rem; }
.entry-content p { margin: 0 0 1.3em; }
.entry-content a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content img { border-radius: 16px; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption,
.wp-caption-text { margin-top: 8px; font-size: .88rem; text-align: center; color: var(--muted); }
.entry-content ul,
.entry-content ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--terra); font-weight: 700; }
.entry-content blockquote {
	margin: 1.8em 0;
	padding: 18px 24px;
	border-left: 6px solid var(--mustard);
	border-radius: 0 18px 18px 0;
	background: #fff;
	box-shadow: 0 3px 0 var(--line), 0 12px 20px rgba(59, 36, 23, .08);
	font-family: var(--f-head);
	font-size: 1.2rem;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.entry-content th,
.entry-content td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.entry-content pre { overflow-x: auto; padding: 16px; border-radius: 14px; background: #fff; font-size: .95rem; }
.entry-content code { font-size: .92em; }
.entry-content .alignleft { float: left; margin: 0 1.2em 1em 0; }
.entry-content .alignright { float: right; margin: 0 0 1em 1.2em; }
.entry-content .aligncenter { display: block; margin-inline: auto; }
.entry-content::after { content: ""; display: block; clear: both; }
.page-links { margin: 1.5em 0; font-weight: 700; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; padding-top: 26px; border-top: 2px dashed var(--line); }
.share-label { font-family: var(--f-head); font-weight: 800; color: var(--cocoa); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 999px;
	background: #fff;
	color: var(--terra-d);
	font-size: .9rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 2px 0 #E3CBA8, 0 4px 0 #D4B78F;
}
.related { padding: 60px 0 76px; background: var(--paper); border-top: 2px solid var(--line); }

.comments-wrap { padding: 52px 0 80px; }
.comments-title { margin: 0 0 24px; font-family: var(--f-head); font-size: 1.8rem; font-weight: 800; }
.comment-list { margin: 0 0 30px; padding: 0; list-style: none; }
.comment-list .children { margin: 0; padding-left: 22px; list-style: none; }
.comment-body { margin-bottom: 16px; padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: 0 3px 0 var(--line); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 8px; font-size: .88rem; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--cocoa); }
.comment-author img { border-radius: 50%; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.comment-content p { margin: 0 0 .8em; }
.comment-respond { padding: 24px; border-radius: 24px; background: #fff; box-shadow: var(--thick); }
.comment-reply-title { margin: 0 0 14px; font-family: var(--f-head); font-size: 1.4rem; font-weight: 800; color: var(--cocoa); }
.comment-form label { display: block; margin-bottom: 4px; font-weight: 700; font-size: .92rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 16px;
	border: 2px solid #E3CBA8;
	border-radius: 16px;
	background: var(--paper);
	color: var(--cocoa);
	font: inherit;
}
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(200, 100, 59, .18); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; }
.comment-form-cookies-consent label { margin: 0; font-weight: 500; }
.comment-form-cookies-consent input { margin-top: 6px; }

.not-found { padding: 70px 0 80px; }
.nf-num {
	margin: 0;
	font-family: var(--f-head);
	font-size: clamp(5rem, 22vw, 10rem);
	font-weight: 800;
	line-height: 1;
	color: var(--terra);
	text-shadow: 1px 1px 0 #EDB89C, 2px 2px 0 #E49D78, 3px 3px 0 #D98660, 4px 4px 0 #C26F48, 5px 5px 0 #A9552F, 6px 7px 0 #7E3A1F, 8px 18px 24px rgba(59, 36, 23, .3);
}
.nf-search { max-width: 520px; margin: 26px auto 22px; }

/* WordPress core helpers */
.sticky { display: block; }
.gallery-caption { font-size: .88rem; }
.bypostauthor { display: block; }
.wp-block-image img { height: auto; }

/* ==========================================================
   ANIMATIONS
   ========================================================== */
@keyframes cn3d-up { from { opacity: 0; transform: translateY(26px); } }
@keyframes cn3d-rise {
	from { opacity: .25; transform: translateY(46px) rotateX(14deg) scale(.95); }
	to { opacity: 1; transform: none; }
}
@keyframes cn3d-sway {
	0%, 100% { transform: rotateX(-14deg) rotateY(-32deg); }
	50% { transform: rotateX(-11deg) rotateY(-17deg); }
}
@keyframes cn3d-swing {
	0%, 100% { transform: translateZ(-30px) rotateZ(-6deg); }
	50% { transform: translateZ(-30px) rotateZ(6deg); }
}
@keyframes cn3d-flicker {
	0%, 100% { transform: translateZ(14px) scale(1, 1); }
	40% { transform: translateZ(14px) scale(.9, 1.12); }
	70% { transform: translateZ(14px) scale(1.06, .94); }
}
@keyframes cn3d-twinkle {
	0%, 100% { transform: translateZ(90px) scale(.6) rotate(0deg); opacity: .6; }
	50% { transform: translateZ(90px) scale(1.15) rotate(20deg); opacity: 1; }
}
@keyframes cn3d-drift {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	50% { transform: translate(10px, 22px) rotate(28deg); }
}
@keyframes cn3d-spin { to { transform: rotate(360deg); } }
@keyframes cn3d-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1180px) {
	.grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
	.trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tiles { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
	.foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stage { --sc: .92; }
}

@media (max-width: 1024px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 110;
		display: flex;
		flex-direction: column;
		width: min(86vw, 340px);
		height: 100vh;
		height: 100dvh;
		margin: 0;
		padding: 78px 18px 28px;
		overflow-y: auto;
		background: var(--paper);
		transform: translateX(100%);
		visibility: hidden;
		box-shadow: none;
		transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .32s;
	}
	body.nav-open .main-nav {
		transform: none;
		visibility: visible;
		box-shadow: -18px 0 40px rgba(59, 36, 23, .3);
		transition-delay: 0s;
	}
	.admin-bar .main-nav { top: 32px; height: calc(100vh - 32px); height: calc(100dvh - 32px); }
	.nav-close {
		position: absolute;
		top: 16px;
		right: 16px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		border: 0;
		border-radius: 50%;
		background: var(--terra);
		color: #fff;
		cursor: pointer;
		box-shadow: 0 2px 0 #A9502E, 0 4px 0 var(--terra-dd), 0 8px 12px rgba(59, 36, 23, .3);
	}
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.main-nav .menu a { min-height: 48px; padding: 0 16px; border-radius: 14px; font-size: 1.05rem; }
	.main-nav .sub-menu,
	.main-nav .sub-menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0 14px;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.main-nav .menu-item-has-children > a::after,
	.main-nav .page_item_has_children > a::after { display: none; }
	.nav-cta { display: inline-flex; margin-top: 20px; }
}

@media (max-width: 900px) {
	.hero { padding: 32px 0 44px; }
	.hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
	.hero-text { margin-inline: auto; }
	.hero-btns { justify-content: center; }
	.stage { --sc: .9; }
}

@media (max-width: 820px) {
	.grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .main-nav { top: 46px; height: calc(100vh - 46px); height: calc(100dvh - 46px); }
}

@media (max-width: 700px) {
	.hdr-cta,
	.brand-tag,
	.arrow { display: none; }
	.hdr-in { gap: 10px; }
	.stage { --sc: .8; }
	.cat-track { --cw: 180px; }
}

@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
	.admin-bar .main-nav { top: 0; height: 100vh; height: 100dvh; }
}

@media (max-width: 560px) {
	:root {
		--ext: 1px 1px 0 #F3DFC3, 2px 2px 0 #E8C9A0, 3px 3px 0 #D9B27E, 4px 8px 12px rgba(59, 36, 23, .28);
	}
	.grid-cards { grid-template-columns: minmax(0, 1fr); }
	.trust-grid { grid-template-columns: minmax(0, 1fr); }
	.foot-grid { grid-template-columns: minmax(0, 1fr); }
	.hero-btns .btn { width: 100%; }
	.stage { --sc: .72; }
	.tile { flex-direction: column-reverse; align-items: center; text-align: center; }
	.tile-text { align-items: center; }
	.tile-art { flex: none; width: 140px; }
	.share .btn { flex: 1 1 auto; }
	.comment-respond { padding: 18px; }
	.entry-content { font-size: 1.04rem; }
	.entry-content .alignleft,
	.entry-content .alignright { float: none; display: block; margin: 1em auto; }
}

@media (max-width: 420px) {
	.stage { --sc: .66; }
	.brand-name { font-size: 1.15rem; }
}

@media (max-width: 370px) {
	.stage { --sc: .6; }
	.cat-track { --cw: 168px; }
}

/* ==========================================================
   REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
	.sway { transform: rotateX(-13deg) rotateY(-26deg); }
	.lamp { transform: translateZ(-30px); }
	.reveal { opacity: 1; transform: none; }
}
