/* ==========================================================================
   Aurelia — main stylesheet
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--c-ink: #141824;
	--c-ink-2: #262b3a;
	--c-accent: #b08d57;
	--c-accent-ink: #8a6b3c;
	--c-bg: #ffffff;
	--c-soft: #f6f3ee;
	--c-line: #e8e3da;
	--c-muted: #6b6f7b;
	--c-text: #2b2f3a;
	--c-success: #2f7a52;
	--c-error: #b3261e;

	--f-serif: "Cormorant Garamond", "Times New Roman", serif;
	--f-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--container: 1280px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 6px;
	--radius-lg: 14px;
	--header-h: 76px;

	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--dur: .35s;

	--shadow-sm: 0 1px 2px rgba(20, 24, 36, .06), 0 2px 8px rgba(20, 24, 36, .04);
	--shadow: 0 10px 30px -10px rgba(20, 24, 36, .18);
	--shadow-lg: 0 30px 60px -20px rgba(20, 24, 36, .3);

	--safe-b: env(safe-area-inset-bottom, 0px);
	--safe-t: env(safe-area-inset-top, 0px);
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--f-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-tap-highlight-color: transparent;
	overflow-x: hidden;
}

/* iOS-safe scroll lock (set by JS when a drawer is open) */
body.is-locked {
	position: fixed;
	left: 0;
	right: 0;
	overflow: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--c-accent-ink); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-serif);
	font-weight: 600;
	line-height: 1.15;
	color: var(--c-ink);
	margin: 0 0 .5em;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1.2em; }

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

::selection { background: var(--c-accent); color: #fff; }

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

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus, .skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	top: 8px; left: 8px; padding: 12px 18px; background: #fff; color: var(--c-ink);
	box-shadow: var(--shadow);
}

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
}
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(56px, 8vw, 110px); }
.section--soft { background: var(--c-soft); }
.section--dark { background: var(--c-ink); color: rgba(255, 255, 255, .78); }
.section--dark .section-title, .section--dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head--split {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
	text-align: left; max-width: none;
}
.section-title { margin-bottom: .3em; }
.section-title--sm { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-sub { color: var(--c-muted); margin: 0; }

.eyebrow {
	display: inline-block;
	font-family: var(--f-sans);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--c-accent-ink);
	margin-bottom: 14px;
}
.eyebrow--light { color: var(--c-accent); }

/* ---------- Buttons ---------- */
.btn, .button, button.button, input[type="submit"] {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	border: 1px solid var(--c-ink);
	border-radius: var(--radius);
	background: var(--c-ink);
	color: #fff;
	font-family: var(--f-sans);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform .2s var(--ease), box-shadow var(--dur) var(--ease);
	touch-action: manipulation;
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.btn:active { transform: scale(.97); }
@media (hover: hover) {
	.btn:hover { color: #fff; }
	.btn:hover .icon-arrow { transform: translateX(4px); }
	.btn::after {
		content: ""; position: absolute; inset: 0; z-index: -1;
		background: var(--c-accent);
		transform: translateY(101%);
		transition: transform .45s var(--ease-out);
	}
	.btn:hover::after { transform: translateY(0); }
	.btn--dark:hover, .btn:not([class*="btn--"]):hover { border-color: var(--c-accent); }
}

.btn--accent { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
@media (hover: hover) { .btn--accent::after { background: var(--c-ink); } .btn--accent:hover { border-color: var(--c-ink); } }

.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
@media (hover: hover) { .btn--ghost::after { background: var(--c-ink); } .btn--ghost:hover { border-color: var(--c-ink); } }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
@media (hover: hover) { .btn--outline-light::after { background: #fff; } .btn--outline-light:hover { color: var(--c-ink); border-color: #fff; } }

.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .74rem; }
.btn--lg { min-height: 56px; padding: 16px 34px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row--center { justify-content: center; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--c-ink);
	white-space: nowrap;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

.icon-btn {
	-webkit-appearance: none; appearance: none;
	display: inline-grid; place-items: center;
	width: 44px; height: 44px;
	border: 0; background: transparent; color: inherit;
	border-radius: 50%;
	cursor: pointer;
	position: relative;
	transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
	touch-action: manipulation;
}
.icon-btn .icon { width: 22px; height: 22px; }
@media (hover: hover) { .icon-btn:hover { background: rgba(20, 24, 36, .06); color: inherit; } }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="date"], textarea, select {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: #fff;
	font-size: 16px; /* prevents iOS zoom on focus */
	line-height: 1.4;
	color: var(--c-ink);
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
textarea { min-height: 140px; resize: vertical; }
select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141824' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}
input:focus, textarea:focus, select:focus {
	outline: none;
	border-color: var(--c-accent);
	box-shadow: 0 0 0 3px rgba(176, 141, 87, .18);
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--c-accent); width: 18px; height: 18px; vertical-align: middle; }
label { font-size: .88rem; font-weight: 600; color: var(--c-ink); }

.form .field { margin: 0 0 18px; }
.form .field label { display: block; margin-bottom: 6px; }
.form__row { display: grid; gap: 0 18px; grid-template-columns: 1fr 1fr; }
.form__hp { position: absolute; left: -9999px; }
.form-status { padding: 12px 16px; border-radius: var(--radius); font-size: .92rem; margin: 14px 0 0; }
.form-status--ok { background: rgba(47, 122, 82, .1); color: var(--c-success); }
.form-status--error { background: rgba(179, 38, 30, .08); color: var(--c-error); margin: 0 0 18px; }

.search-form { display: flex; position: relative; max-width: 480px; margin-inline: auto; }
.search-form__input { padding-right: 56px; }
.search-form__btn {
	position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; color: var(--c-ink);
	display: grid; place-items: center;
}
.search-form__btn .icon { width: 20px; height: 20px; }

.card {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
	padding: clamp(22px, 4vw, 44px);
	box-shadow: var(--shadow-sm);
}

/* ---------- Announcement ---------- */
.announcement {
	background: var(--c-ink);
	color: rgba(255, 255, 255, .85);
	font-size: .76rem;
	letter-spacing: .08em;
	text-align: center;
	padding: 9px 0;
	padding-top: max(9px, var(--safe-t));
}
.announcement p { margin: 0; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: transform .45s var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
	will-change: transform;
}
.site-header.is-scrolled { border-color: var(--c-line); box-shadow: 0 6px 24px -18px rgba(20, 24, 36, .35); }
.site-header.is-hidden { transform: translateY(-100%); }

.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
	transition: min-height var(--dur) var(--ease);
}
.site-header.is-scrolled .site-header__inner { min-height: 64px; }

.site-header__menu-btn { display: none; }

.site-title {
	font-family: var(--f-serif);
	font-size: 1.85rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--c-ink);
	line-height: 1;
}
.site-title--sm { font-size: 1.35rem; }
.site-title--light { color: #fff; }
.custom-logo { max-height: 52px; width: auto; }

/* Transparent header on home */
.has-transparent-header .site-header:not(.is-scrolled) {
	position: fixed;
	left: 0; right: 0;
	top: auto;
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	color: #fff;
}
.has-transparent-header .site-header:not(.is-scrolled) .site-title,
.has-transparent-header .site-header:not(.is-scrolled) .primary-nav .menu > li > a { color: #fff; }
.has-transparent-header .site-header:not(.is-scrolled) .icon-btn:hover { background: rgba(255, 255, 255, .14); }
.has-transparent-header .site-header.is-scrolled { position: fixed; left: 0; right: 0; top: 0; }

/* Primary nav */
.primary-nav { justify-self: center; }
.primary-nav .menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; display: flex; align-items: center; }
.primary-nav .menu > li > a {
	display: block;
	padding: 10px 14px;
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--c-ink);
	position: relative;
}
.primary-nav .menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: right;
	transition: transform .4s var(--ease-out);
}
.primary-nav .menu > li:hover > a::after,
.primary-nav .menu > li.current-menu-item > a::after,
.primary-nav .menu > li.current-menu-ancestor > a::after { transform: scaleX(1); transform-origin: left; }
.primary-nav .submenu-toggle { display: none; }

.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 50%;
	min-width: 220px;
	list-style: none; margin: 0; padding: 12px;
	background: #fff; color: var(--c-ink);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	opacity: 0; visibility: hidden;
	transform: translate(-50%, 10px);
	transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.primary-nav .sub-menu a {
	display: block; padding: 9px 12px; border-radius: var(--radius);
	font-size: .92rem; color: var(--c-ink);
}
.primary-nav .sub-menu a:hover { background: var(--c-soft); color: var(--c-accent-ink); }

.header-actions { display: flex; align-items: center; gap: 2px; justify-self: end; }
.header-cart { position: relative; }
.cart-count {
	position: absolute; top: 4px; right: 2px;
	min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px;
	background: var(--c-accent); color: #fff;
	font-family: var(--f-sans); font-size: .66rem; font-weight: 700; line-height: 18px; text-align: center;
	transition: transform .3s var(--ease);
}
.cart-count.is-empty { transform: scale(0); }
.cart-count.is-bump { animation: bump .6s var(--ease-out); }
.drawer__title .cart-count { position: static; display: inline-block; vertical-align: middle; margin-left: 6px; }
.drawer__title .cart-count.is-empty { display: none; }

@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.5); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }

/* ---------- Drawers (menu, cart, filters) ---------- */
.drawer {
	position: fixed; inset: 0; z-index: 200;
	visibility: hidden;
	pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__overlay {
	position: absolute; inset: 0;
	background: rgba(14, 16, 24, .5);
	opacity: 0;
	transition: opacity .45s var(--ease);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
	position: absolute; top: 0; bottom: 0; z-index: 1;
	width: min(420px, 92vw);
	background: #fff;
	display: flex; flex-direction: column;
	box-shadow: var(--shadow-lg);
	transition: transform .55s var(--ease-out);
	padding-bottom: var(--safe-b);
	padding-top: var(--safe-t);
}
.drawer--right .drawer__panel { right: 0; transform: translateX(105%); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-105%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer.is-closing { visibility: visible; }
.drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 16px 14px 24px;
	border-bottom: 1px solid var(--c-line);
}
.drawer__title { margin: 0; font-size: 1.5rem; }
.drawer__body {
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 20px 24px;
}

/* stagger drawer contents */
.drawer .drawer__body > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease-out); }
.drawer.is-open .drawer__body > * { opacity: 1; transform: none; }
.drawer.is-open .drawer__body > *:nth-child(2) { transition-delay: .08s; }
.drawer.is-open .drawer__body > *:nth-child(3) { transition-delay: .16s; }

.mobile-nav .menu, .mobile-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.mobile-nav .menu > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--c-line); }
.mobile-nav .menu > li > a {
	flex: 1; padding: 16px 0;
	font-family: var(--f-serif); font-size: 1.55rem; font-weight: 600; color: var(--c-ink);
}
.mobile-nav .submenu-toggle {
	width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
	display: grid; place-items: center; color: var(--c-ink);
}
.mobile-nav .submenu-toggle .icon { transition: transform .35s var(--ease); width: 20px; }
.mobile-nav .submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav .sub-menu {
	flex-basis: 100%;
	max-height: 0;
	overflow: hidden;
	transition: max-height .45s var(--ease), padding .45s var(--ease);
}
.mobile-nav li.is-open > .sub-menu { max-height: 640px; padding-bottom: 12px; }
.mobile-nav .sub-menu a { display: block; padding: 8px 0 8px 14px; color: var(--c-muted); }
.mobile-nav__extra { display: grid; gap: 4px; margin: 26px 0; }
.mobile-nav__extra a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 600; }
.mobile-nav__extra .icon { width: 20px; }

/* ---------- Search overlay ---------- */
.search-overlay {
	position: fixed; inset: 0 0 auto; z-index: 210;
	background: #fff;
	padding: calc(28px + var(--safe-t)) 0 32px;
	box-shadow: var(--shadow-lg);
	transform: translateY(-100%);
	visibility: hidden;
	transition: transform .5s var(--ease-out), visibility .5s;
}
.search-overlay.is-open { transform: none; visibility: visible; }
.search-overlay__form {
	display: flex; align-items: center; gap: 12px;
	border-bottom: 2px solid var(--c-ink);
	padding-bottom: 8px;
}
.search-overlay__form > .icon { width: 26px; height: 26px; flex: none; color: var(--c-muted); }
.search-overlay__form input {
	border: 0; box-shadow: none !important; padding: 8px 0;
	font-family: var(--f-serif); font-size: clamp(1.5rem, 4vw, 2.4rem); min-height: 0;
}
.search-overlay__suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: .85rem; color: var(--c-muted); }

/* ---------- Page curtain + page transitions ---------- */
.page-curtain {
	position: fixed; inset: 0; z-index: 9999;
	background: var(--c-ink);
	pointer-events: none;
	opacity: 0;
	transition: opacity .35s var(--ease);
}
.js .page-curtain { opacity: 1; }
.js body.is-loaded .page-curtain { opacity: 0; transition-duration: .6s; }
.js body.is-leaving .page-curtain { opacity: 1; transition-duration: .3s; }

@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js body.is-loaded #page { animation: pageIn .8s var(--ease-out) both; }


/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity .9s var(--ease), transform 1s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.95); }
.js [data-reveal-delay="1"] { --i: 1; }
.js [data-reveal-delay="2"] { --i: 2; }
.js [data-reveal-delay="3"] { --i: 3; }
.js [data-reveal-delay="4"] { --i: 4; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	color: #fff;
	overflow: hidden;
	background: var(--c-ink);
}
.hero__bg {
	position: absolute; inset: -6% 0;
	background-size: cover; background-position: center;
	animation: kenburns 18s var(--ease) both;
	will-change: transform;
}
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1.02); } }
.hero__shade {
	position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(14, 16, 24, .82) 0%, rgba(14, 16, 24, .55) 45%, rgba(14, 16, 24, .15) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }
.hero__title { color: #fff; font-size: clamp(2.8rem, 7.5vw, 6rem); max-width: 12ch; margin-bottom: .3em; font-weight: 500; }
.hero__text { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; color: rgba(255, 255, 255, .85); }
.hero__anim { opacity: 0; transform: translateY(30px); animation: heroIn 1.1s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * .14s + .35s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero__scroll {
	position: absolute; left: 50%; bottom: calc(28px + var(--safe-b)); z-index: 1;
	width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 14px;
	transform: translateX(-50%);
}
.hero__scroll span {
	position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
	background: #fff; border-radius: 2px;
	animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Page hero ---------- */
.page-hero {
	position: relative;
	padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
	background: var(--c-soft);
	overflow: hidden;
	text-align: center;
}
.page-hero--image { color: #fff; background: var(--c-ink); padding-block: clamp(80px, 13vw, 160px) clamp(60px, 9vw, 110px); }
.page-hero__bg {
	position: absolute; inset: -10% 0;
	background-size: cover; background-position: center;
	opacity: .5;
	will-change: transform;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { margin-bottom: .2em; }
.page-hero--image .page-hero__title { color: #fff; }
.page-hero__subtitle { max-width: 60ch; margin: 0 auto; color: var(--c-muted); font-size: 1.05rem; }
.page-hero--image .page-hero__subtitle { color: rgba(255, 255, 255, .85); }

.breadcrumbs {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
	font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--c-muted);
	margin-bottom: 18px;
}
.breadcrumbs a:hover { color: var(--c-accent-ink); }
.page-hero--image .breadcrumbs { color: rgba(255, 255, 255, .75); }
.breadcrumbs__sep { opacity: .5; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
.cat-card {
	position: relative; display: block;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--c-soft);
	color: #fff;
	isolation: isolate;
}
/* Feature the first card only when it makes the grid even (5 cards → 3×2). */
.cat-card:first-child:nth-last-child(5) { grid-row: span 2; aspect-ratio: auto; }
.cat-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cat-card::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(14, 16, 24, .7), rgba(14, 16, 24, 0) 55%);
	transition: opacity var(--dur) var(--ease);
}
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(16px, 2.5vw, 28px); display: flex; flex-direction: column; }
.cat-card__name { font-family: var(--f-serif); font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.1; }
.cat-card__count { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: 6px; }
@media (hover: hover) {
	.cat-card:hover { color: #fff; }
	.cat-card:hover .cat-card__img { transform: scale(1.08); }
}

/* ---------- Promo banner ---------- */
.promo { background: var(--c-ink); color: rgba(255, 255, 255, .8); overflow: hidden; }
.promo__inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 90px); padding-block: clamp(56px, 8vw, 110px); }
.promo__media { position: relative; }
.promo__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.promo__badge {
	position: absolute; right: -18px; top: -18px;
	width: 112px; height: 112px; border-radius: 50%;
	background: var(--c-accent); color: #fff;
	display: grid; place-content: center; text-align: center;
	box-shadow: var(--shadow-lg);
	animation: float 5s ease-in-out infinite;
}
.promo__badge strong { font-family: var(--f-serif); font-size: 2rem; line-height: 1; }
.promo__badge span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(4deg); } }
.promo__title { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 500; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
	margin: 0; padding: 34px 30px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, .03);
	display: flex; flex-direction: column;
	transition: transform .5s var(--ease-out), border-color var(--dur) var(--ease), opacity .9s var(--ease) !important;
}
@media (hover: hover) { .testimonial:hover { transform: translateY(-6px); border-color: var(--c-accent); } }
.stars { display: flex; gap: 3px; color: var(--c-accent); margin-bottom: 18px; }
.stars .icon { width: 16px; height: 16px; fill: currentColor; }
.testimonial blockquote { margin: 0 0 24px; flex: 1; }
.testimonial blockquote p { font-family: var(--f-serif); font-size: 1.35rem; line-height: 1.45; color: #fff; margin: 0; }
.testimonial figcaption strong { display: block; color: #fff; }
.testimonial figcaption span { font-size: .85rem; }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.post-card { display: flex; flex-direction: column; }
.post-card__media { display: block; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 16 / 11; background: var(--c-soft); margin-bottom: 20px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
@media (hover: hover) { .post-card:hover .post-card__media img { transform: scale(1.06); } }
.post-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--c-soft), var(--c-line)); }
.post-card__title { font-size: 1.55rem; margin: 8px 0 10px; }
.post-card__title a:hover { color: var(--c-accent-ink); }
.post-card__excerpt { color: var(--c-muted); font-size: .96rem; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.entry-meta__cat { color: var(--c-accent-ink); font-weight: 700; }

.single-post__head { text-align: center; padding-top: clamp(40px, 6vw, 80px); }
.single-post__head .entry-meta { justify-content: center; margin-bottom: 16px; }
.single-post__title { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.single-post__lede { font-size: 1.15rem; color: var(--c-muted); max-width: 60ch; margin-inline: auto; }
.single-post__media { margin: clamp(28px, 4vw, 56px) auto; }
.single-post__media img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius-lg); }
.single-post__foot { border-top: 1px solid var(--c-line); padding-top: 32px; margin: 48px 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag-list a { padding: 6px 14px; border: 1px solid var(--c-line); border-radius: 30px; font-size: .82rem; }
.post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-nav .nav-next { text-align: right; grid-column: 2; }
.post-nav a { display: block; }
.post-nav__label { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.post-nav__title { font-family: var(--f-serif); font-size: 1.3rem; color: var(--c-ink); }

/* Entry content */
.entry-content { font-size: 1.06rem; }
.entry-content > * + h2, .entry-content > * + h3 { margin-top: 1.6em; }
.entry-content a:not(.btn):not(.button) { color: var(--c-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--c-accent); font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.45; color: var(--c-ink); }
.entry-content img { border-radius: var(--radius-lg); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border-bottom: 1px solid var(--c-line); text-align: left; }
.entry-content--wide { font-size: 1rem; }
.alignwide { margin-inline: calc(-1 * min(8vw, 120px)); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.wp-block-image figcaption, .wp-caption-text { font-size: .85rem; color: var(--c-muted); text-align: center; }

/* Pagination */
.pagination, .woocommerce-pagination { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers {
	display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px;
	border: 1px solid var(--c-line); border-radius: var(--radius); font-weight: 600;
	transition: all var(--dur) var(--ease);
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

/* Comments */
.comments-area { margin-top: 56px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .8rem; color: var(--c-muted); margin: 4px 0 10px; }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; margin-bottom: 6px; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ---------- Newsletter ---------- */
.newsletter { padding-block: clamp(56px, 8vw, 100px); background: var(--c-soft); text-align: center; }
.newsletter__inner { max-width: 640px; }
.newsletter p { color: var(--c-muted); }
.newsletter-form { display: flex; gap: 10px; max-width: 520px; margin: 26px auto 0; }
.newsletter-form input { flex: 1; }
.newsletter-form .btn { flex: none; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.stats { background: var(--c-ink); color: #fff; padding-block: clamp(48px, 6vw, 80px); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat__value { display: block; font-family: var(--f-serif); font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1; color: var(--c-accent); }
.stat__label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
	background: #fff; padding: 36px 30px; border-radius: var(--radius-lg); border: 1px solid var(--c-line);
	transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), opacity .9s var(--ease) !important;
}
@media (hover: hover) { .value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); } }
.value-card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-soft); color: var(--c-accent-ink); margin-bottom: 18px; }
.value-card p { color: var(--c-muted); margin: 0; }
.cta-band { background: var(--c-accent); color: #fff; padding-block: clamp(44px, 6vw, 72px); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band .btn--accent { background: var(--c-ink); border-color: var(--c-ink); }
@media (hover: hover) { .cta-band .btn--accent::after { background: #fff; } .cta-band .btn--accent:hover { color: var(--c-ink); border-color: #fff; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__info p { color: var(--c-muted); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--c-accent); }
.contact-list--lg { gap: 22px; margin: 28px 0; }
.contact-list--lg strong { display: block; color: var(--c-ink); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.contact-list--lg span, .contact-list--lg a { color: var(--c-muted); }
.map-embed { margin-top: clamp(48px, 6vw, 80px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; background: var(--c-soft); }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.form-success { text-align: center; padding: 30px 0; }
.form-success__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(47, 122, 82, .12); color: var(--c-success); margin-bottom: 16px; animation: pop .6s var(--ease-out); }
.form-success__icon .icon { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 404 ---------- */
.error-404__inner { text-align: center; padding-block: clamp(56px, 10vw, 120px); max-width: 720px; }
.error-404__code { display: flex; justify-content: center; align-items: center; gap: 4px; font-family: var(--f-serif); font-size: clamp(7rem, 22vw, 13rem); line-height: 1; color: var(--c-ink); font-weight: 600; margin-bottom: 18px; }
.error-404__o { position: relative; width: .62em; height: .62em; border: .07em solid var(--c-accent); border-radius: 50%; margin: 0 .04em; }
.error-404__o span { position: absolute; left: 41%; top: -9%; width: 18%; height: 18%; border-radius: 50%; background: var(--c-accent); transform-origin: 50% 328%; animation: orbit 4s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.error-404__text { color: var(--c-muted); max-width: 52ch; margin-inline: auto; }
.error-404__search { margin: 28px 0 8px; }

.empty-state { text-align: center; padding: 48px 0; max-width: 520px; margin: 0 auto; }
.empty-state__icon { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--c-soft); color: var(--c-accent-ink); margin-bottom: 18px; }
.empty-state__icon .icon { width: 34px; height: 34px; }
.empty-state p { color: var(--c-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: rgba(255, 255, 255, .68); font-size: .94rem; padding-bottom: var(--safe-b); }
.site-footer__features {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
	padding-block: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.feature { display: flex; gap: 14px; align-items: center; }
.feature .icon { width: 32px; height: 32px; flex: none; color: var(--c-accent); }
.feature strong { display: block; color: #fff; font-size: .95rem; }
.feature span { font-size: .84rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 64px 48px; }
.site-footer__brand p { margin: 18px 0 22px; max-width: 34ch; }
.footer-col summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: default; }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary .icon { display: none; width: 18px; color: #fff; transition: transform .3s var(--ease); }
.footer-col__title { font-family: var(--f-sans); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-menu a, .site-footer .contact-list a { color: rgba(255, 255, 255, .68); position: relative; }
.footer-menu a:hover, .site-footer .contact-list a:hover { color: #fff; }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem;
}
.site-footer__bottom p { margin: 0; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-icons span { padding: 4px 9px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 4px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; color: rgba(255, 255, 255, .8); }

.social-links { display: flex; gap: 8px; }
.social-link {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid currentColor; opacity: .75;
	transition: all var(--dur) var(--ease);
}
.social-link .icon { width: 18px; height: 18px; }
.social-link:hover { opacity: 1; background: var(--c-accent); border-color: var(--c-accent); color: #fff; transform: translateY(-3px); }

/* ---------- Back to top + toast ---------- */
.back-to-top {
	position: fixed; right: 20px; bottom: calc(20px + var(--safe-b)); z-index: 80;
	width: 48px; height: 48px; border-radius: 50%; border: 0;
	background: var(--c-ink); color: #fff; cursor: pointer;
	display: grid; place-items: center;
	box-shadow: var(--shadow);
	opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
	transition: opacity .4s var(--ease), transform .4s var(--ease-out), background-color var(--dur);
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--c-accent); }
.back-to-top .icon { width: 20px; }

.toast {
	position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); z-index: 300;
	max-width: calc(100vw - 32px);
	padding: 14px 22px; border-radius: 40px;
	background: var(--c-ink); color: #fff; font-size: .9rem; font-weight: 600;
	box-shadow: var(--shadow-lg);
	transform: translate(-50%, 140%); opacity: 0;
	transition: transform .5s var(--ease-out), opacity .4s var(--ease);
	pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Pills ---------- */
.cat-pill {
	display: inline-flex; align-items: center; padding: 8px 18px; border-radius: 40px;
	border: 1px solid var(--c-line); background: #fff;
	font-size: .82rem; font-weight: 600; white-space: nowrap; color: var(--c-ink);
	transition: all var(--dur) var(--ease);
}
.cat-pill:hover { border-color: var(--c-ink); color: var(--c-ink); }
.cat-pill.is-active { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

/* ---------- Widgets ---------- */
.widget { margin-bottom: 34px; }
.widget-title { font-family: var(--f-sans); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 6px 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.site-header__inner { grid-template-columns: 1fr auto 1fr; gap: 8px; }
	.site-header__menu-btn { display: inline-grid; justify-self: start; margin-left: -10px; }
	.site-branding { justify-self: center; }
	.primary-nav { display: none; }
	.header-actions { margin-right: -10px; }
	.site-title { font-size: 1.5rem; }

	.promo__inner, .split, .contact { grid-template-columns: 1fr; }
	.promo__badge { right: 12px; top: -22px; width: 92px; height: 92px; }
	.testimonial-grid, .post-grid, .values-grid { grid-template-columns: 1fr 1fr; }
	.testimonial-grid > :last-child, .post-grid > :nth-child(3):last-child { grid-column: 1 / -1; }
	.cat-grid { grid-template-columns: 1fr 1fr; }
	.cat-card:first-child:nth-last-child(5) { grid-row: auto; }
	.cat-card:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

@media (max-width: 767px) {
	.header-actions__account { display: none; }
	.section-head--split { flex-direction: column; align-items: flex-start; gap: 10px; }
	.testimonial-grid, .post-grid, .values-grid { grid-template-columns: 1fr; }
	.testimonial-grid > :last-child, .post-grid > :nth-child(3):last-child { grid-column: auto; }
	.hero__inner { padding-bottom: 110px; }
	.hero__shade { background: linear-gradient(180deg, rgba(14, 16, 24, .35) 0%, rgba(14, 16, 24, .82) 100%); }
	.hero .btn-row .btn { flex: 1 1 100%; }
	.form__row { grid-template-columns: 1fr; }
	.newsletter-form { flex-direction: column; }
	.stats__grid { grid-template-columns: 1fr; gap: 32px; }
	.post-nav .nav-links { grid-template-columns: 1fr; }
	.post-nav .nav-next { grid-column: auto; text-align: left; }
	.map-embed { aspect-ratio: 4 / 3; }
	.alignwide { margin-inline: 0; }

	.site-footer__features { gap: 20px; padding-block: 32px; }
	.feature { flex-direction: column; align-items: flex-start; gap: 8px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 0; padding-block: 40px 24px; }
	.site-footer__brand { margin-bottom: 28px; }
	.footer-col { border-top: 1px solid rgba(255, 255, 255, .1); }
	.footer-col summary { cursor: pointer; padding: 18px 0; }
	.footer-col summary .icon { display: block; }
	.footer-col[open] summary .icon { transform: rotate(180deg); }
	.footer-col__title { margin: 0; }
	.footer-col .footer-menu { padding-bottom: 18px; }
	.footer-col--contact { padding-top: 18px; }
	.footer-col--contact .footer-col__title { margin-bottom: 14px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
	.back-to-top { right: 14px; width: 44px; height: 44px; }
}

@media (max-width: 420px) {
	.cat-grid { gap: 10px; }
	.cat-card__count { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal], .hero__anim { opacity: 1 !important; transform: none !important; }
}
