/* ===========================================================
   Atelier - Editorial Minimal theme for interior design
   =========================================================== */

:root {
	--bg:        #f6f4f0; /* soft warm white */
	--bg-alt:    #ebe6dd; /* deeper greige */
	--ink:       #14110d; /* rich near-black */
	--ink-soft:  #4a443c;
	--taupe:     #b28a44; /* GOLD accent (ABK brand: black - white - gold) */
	--gold:      #b28a44;
	--gold-soft: #caa869;
	--line:      #e1dacd;
	--white:     #ffffff;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans:  "Jost", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	--maxw: 1200px;
	--pad: clamp(1.25rem, 4vw, 4rem);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--radius: 14px;      /* rounded corners for images / cards */
	--btn-radius: 999px; /* pill-shaped buttons */
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: .01em; }

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

.eyebrow {
	font-family: var(--sans);
	font-size: .72rem;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--taupe);
	margin: 0 0 1.1rem;
}

.section { padding-block: clamp(4rem, 10vw, 9rem); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	font-family: var(--sans);
	font-size: .78rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	padding: 1rem 2.1rem;
	border: 1px solid transparent;
	border-radius: var(--btn-radius);
	transition: all .35s var(--ease);
	cursor: pointer;
}
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--taupe); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--bg); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	padding-block: 1.5rem;
	transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled {
	background: rgba(246,243,238,.92);
	backdrop-filter: blur(10px);
	padding-block: .9rem;
	box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; }
.site-brand { margin-right: auto; }
.brand-word, .footer-word {
	font-family: var(--serif); font-size: 1.6rem; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase; color: var(--white);
}
.site-header.is-scrolled .brand-word { color: var(--ink); }
.custom-logo { max-height: 46px; width: auto; }

.nav-menu { list-style: none; display: flex; gap: 2.2rem; margin: 0; padding: 0; }
.nav-menu a {
	font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
	color: var(--white); position: relative; padding-block: .3rem;
}
.site-header.is-scrolled .nav-menu a { color: var(--ink); }
.nav-menu a::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
	background: currentColor; transition: width .35s var(--ease);
}
.nav-menu a:hover::after, .nav-menu .current-menu-item a::after { width: 100%; }

.nav-cta {
	font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
	border: 1px solid rgba(255,255,255,.55); padding: .65rem 1.3rem; color: var(--white);
	border-radius: var(--btn-radius);
	transition: all .35s var(--ease);
}
.nav-cta:hover { background: var(--white); color: var(--ink); }
.site-header.is-scrolled .nav-cta { border-color: var(--ink); color: var(--ink); }
.site-header.is-scrolled .nav-cta:hover { background: var(--ink); color: var(--bg); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--white); transition: all .3s var(--ease); }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
	position: fixed; inset: 0; z-index: 99; background: var(--bg);
	display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.5rem;
	transform: translateY(-100%); transition: transform .5s var(--ease); pointer-events: none;
}
.mobile-nav.is-open { transform: translateY(0); pointer-events: auto; }
.mobile-nav-menu { list-style: none; padding: 0; margin: 0; text-align: center; }
.mobile-nav-menu li { margin: 1rem 0; }
.mobile-nav-menu a { font-family: var(--serif); font-size: 2rem; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100vh; display: flex; align-items: flex-end;
	background-image: var(--hero-img); background-size: cover; background-position: center;
	color: var(--white); overflow: hidden;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,.25) 0%, rgba(20,18,15,.15) 40%, rgba(20,18,15,.62) 100%); }
.hero-content { position: relative; padding-bottom: clamp(3rem, 5vh, 4.5rem); padding-top: 6rem; }
.hero-title { font-size: clamp(2.9rem, 6vw, 6rem); font-weight: 500; margin: .3rem 0 1.3rem; }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.35rem); max-width: 42ch; color: rgba(255,255,255,.92); margin: 0 0 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.scroll-hint {
	position: absolute; right: var(--pad); bottom: 2.2rem; z-index: 2;
	font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.8);
	writing-mode: vertical-rl;
}
.scroll-hint::after { content: ""; display: block; width: 1px; height: 46px; margin: .8rem auto 0; background: rgba(255,255,255,.6); animation: scrollline 2s var(--ease) infinite; }
@keyframes scrollline { 0%,100% { transform: scaleY(.3); opacity: .4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }

/* ---------- Intro ---------- */
.intro { background: var(--bg); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.intro-grid .eyebrow { margin-bottom: 1.6rem; }
.intro-statement { font-size: clamp(1.6rem, 2.9vw, 2.6rem); font-weight: 400; max-width: 24ch; line-height: 1.25; }
.intro-link { display: inline-block; margin-top: 2rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 4px; transition: opacity .3s var(--ease); }
.intro-link:hover { opacity: .65; }
.intro-media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-alt); box-shadow: 0 30px 70px rgba(20,18,15,.18); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.intro-media:hover img { transform: scale(1.04); }
@media (max-width: 800px) {
	.intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
	.intro-media { max-width: 460px; }
	.intro-statement { max-width: none; }
}

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title { font-size: clamp(2rem, 5vw, 3.4rem); }

/* ---------- Services ---------- */
.services { background: var(--bg-alt); }
.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 3vw, 3rem); }
.service { flex: 1 1 260px; max-width: 340px; border-top: 1px solid var(--line); padding-top: 1.8rem; }
.service-num { font-family: var(--serif); font-size: 1rem; color: var(--taupe); letter-spacing: .1em; }
.service h3 { font-size: 1.7rem; margin: .8rem 0 .9rem; }
.service p { color: var(--ink-soft); margin: 0; }

/* ---------- Projects ---------- */
.projects-grid, .post-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2.2rem);
}
.project-card { display: block; }
.project-media { display: block; overflow: hidden; aspect-ratio: 4/5; background: var(--bg-alt); border-radius: var(--radius); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.06); }
.project-meta { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1rem; }
.project-name { font-family: var(--serif); font-size: 1.45rem; }
.project-cat { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(3rem, 7vw, 5rem); line-height: 1; }
.stat-label { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(246,243,238,.7); margin-top: .8rem; display: block; }

/* ---------- Quote ---------- */
.quote { background: var(--bg); text-align: center; }
.quote blockquote {
	font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 3rem); font-style: italic;
	font-weight: 400; line-height: 1.3; max-width: 22ch; margin: 0 auto; color: var(--ink);
}
.quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-top: 1.8rem; }

/* ---------- CTA ---------- */
.cta { background: var(--bg-alt); text-align: center; }
.cta-inner h2 { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.cta-inner p { color: var(--ink-soft); margin: 0 0 2.2rem; }

/* ---------- Pages / posts ---------- */
.page-article, .single-article { padding-top: clamp(8rem, 14vw, 11rem); }
.page-head { margin-bottom: 2.5rem; }
.page-title { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.page-hero-img { margin: 0 0 2.5rem; }
.page-hero-img img { width: 100%; }
.entry-content { font-size: 1.08rem; color: var(--ink-soft); }
.entry-content > * + * { margin-top: 1.4rem; }
.entry-content h2 { font-size: 2rem; margin-top: 2.6rem; color: var(--ink); }
.entry-content h3 { font-size: 1.5rem; margin-top: 2rem; color: var(--ink); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { margin-block: 1.6rem; }
.single-foot { margin-top: 3rem; }

/* ---------- Archive / pagination ---------- */
.section.archive { padding-top: clamp(8rem, 14vw, 11rem); }
.pagination { margin-top: 3.5rem; text-align: center; }
.pagination .page-numbers { padding: .5rem .9rem; letter-spacing: .1em; color: var(--taupe); }
.pagination .current { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--bg); padding-top: clamp(4rem, 8vw, 6rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer-word { color: var(--bg); font-size: 2.2rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-tagline { color: rgba(246,243,238,.65); max-width: 32ch; margin-top: 1rem; }
.footer-col h3 { font-family: var(--sans); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(246,243,238,.55); font-weight: 400; margin-bottom: 1.2rem; }
.footer-col p { margin: .3rem 0; color: rgba(246,243,238,.85); }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin: .5rem 0; }
.footer-menu a, .footer-col a { color: rgba(246,243,238,.85); }
.footer-menu a:hover, .footer-col a:hover { color: var(--bg); }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 2rem; border-top: 1px solid rgba(246,243,238,.12); font-size: .76rem; letter-spacing: .1em; color: rgba(246,243,238,.55); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,18,15,.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 82vh; box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.96); transition: transform .4s var(--ease); border-radius: var(--radius); }
.lightbox.is-open img { transform: scale(1); }
.lightbox-close { position: absolute; top: 1.6rem; right: 2rem; background: none; border: 0; color: var(--bg); font-size: 2rem; cursor: pointer; line-height: 1; }
.lightbox-cap { position: absolute; bottom: 1.8rem; left: 0; right: 0; text-align: center; color: rgba(246,243,238,.8); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.services-grid, .projects-grid, .post-grid, .footer-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
	.stats-grid { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; }
}
@media (max-width: 720px) {
	.nav-menu, .nav-cta { display: none; }
	.nav-toggle { display: flex; }
	.services-grid, .projects-grid, .post-grid, .footer-grid, .stats-grid { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; gap: .6rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1 !important; transform: none !important; }
	html { scroll-behavior: auto; }
}

/* ===========================================================
   Motion & polish enhancements (v1.1)
   =========================================================== */

/* ---- Logo sizing + smooth shrink on scroll ---- */
.custom-logo {
	max-height: 74px; width: auto;
	/* Soft light halo separates the charcoal mark from busy/dark hero areas. */
	filter: drop-shadow(0 1px 4px rgba(255,255,255,.55));
	transition: max-height .4s var(--ease), opacity .4s var(--ease), filter .4s var(--ease);
}
.site-header.is-scrolled .custom-logo { max-height: 52px; filter: none; }
@media (max-width: 720px) { .custom-logo { max-height: 52px; } }

/* ---- Header entrance on load ---- */
.site-header { animation: fadeDown 1s var(--ease) both; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }

/* ---- Hero: slow "Ken Burns" drift on the background image ---- */
.hero { background-image: none; background-color: var(--ink); }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background-image: var(--hero-img); background-size: cover; background-position: center;
	transform: scale(1.06); will-change: transform;
	animation: kenburns 24s ease-in-out infinite alternate;
}
.hero-overlay { z-index: 1; }
.hero-content { z-index: 2; }
.hero .scroll-hint { z-index: 2; }
@keyframes kenburns {
	0%   { transform: scale(1.06) translate3d(0, 0, 0); }
	100% { transform: scale(1.16) translate3d(-1.8%, -1.2%, 0); }
}

/* ---- Extra reveal directions (JS adds .is-visible) ---- */
.reveal-left, .reveal-right, .reveal-zoom { opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-left  { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }
.reveal-zoom  { transform: scale(.92); }
.reveal-left.is-visible, .reveal-right.is-visible, .reveal-zoom.is-visible { opacity: 1; transform: none; }

/* ---- Service cards: gentle lift + accent on hover ---- */
.service { transition: transform .5s var(--ease), border-color .5s var(--ease); }
.service:hover { transform: translateY(-6px); border-color: var(--taupe); }
.service:hover .service-num { color: var(--ink); }

/* ---- Project cards: refined hover ---- */
.project-card { transition: transform .5s var(--ease); }
.project-card .project-name { transition: color .35s var(--ease); }
.project-card:hover .project-name { color: var(--taupe); }
.project-media { position: relative; }
.project-media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(20,18,15,0) 55%, rgba(20,18,15,.28) 100%);
	opacity: 0; transition: opacity .5s var(--ease);
}
.project-card:hover .project-media::after { opacity: 1; }

/* ---- Buttons: subtle press feedback ---- */
.btn:active { transform: translateY(1px); }

/* ---- Stat numbers: tabular so counting doesn't jitter width ---- */
.stat-num { font-variant-numeric: tabular-nums; }

/* ---- Nav links: animated underline already present; add CTA shine ---- */
.nav-cta { position: relative; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.reveal-left, .reveal-right, .reveal-zoom { opacity: 1 !important; transform: none !important; }
	.site-header { animation: none !important; }
	.hero::before { animation: none !important; transform: scale(1.04) !important; }
}

/* ===========================================================
   New homepage sections (v1.2)
   =========================================================== */

/* ---- Scrolling marquee band ---- */
.marquee { overflow: hidden; background: var(--ink); color: var(--bg); padding-block: 1.4rem; white-space: nowrap; }
.marquee-track { display: inline-flex; will-change: transform; animation: marquee 30s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.6rem); padding-right: 1rem; letter-spacing: .03em; color: rgba(246,243,238,.92); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---- Process steps ---- */
.process { background: var(--bg); }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.step { position: relative; padding-top: 1.8rem; border-top: 1px solid var(--line); transition: transform .5s var(--ease), border-color .5s var(--ease); }
.step:hover { transform: translateY(-6px); border-color: var(--taupe); }
.step-num { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--taupe); }
.step h3 { font-size: 1.3rem; margin: .8rem 0 .5rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---- Before / After comparison slider ---- */
.beforeafter { background: var(--bg-alt); }
.ba { position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; user-select: none; box-shadow: 0 30px 70px rgba(20,18,15,.18); background: var(--ink); }
.ba .ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--white); z-index: 3; transform: translateX(-50%); pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; background: var(--white); transform: translate(-50%, -50%); box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.ba-handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--ink); font-size: 1.05rem; }
.ba-tag { position: absolute; bottom: 1rem; z-index: 3; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; background: rgba(20,18,15,.6); color: #fff; padding: .32rem .7rem; }
.ba-tag-before { left: 1rem; } .ba-tag-after { right: 1rem; }
.ba-note { text-align: center; color: var(--ink-soft); font-size: .85rem; margin-top: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
	.marquee-track { animation: none !important; }
}

/* ===========================================================
   ABK content pass (v1.3) - gold accents + feature band
   =========================================================== */

/* ---- Gold hairline under section titles / hero eyebrow flourish ---- */
.eyebrow { position: relative; }
.hero .btn-light { background: var(--gold); color: #fff; border-color: var(--gold); }
.hero .btn-light:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }

/* Service numbers + project categories pick up the gold accent automatically
   via --taupe. Give the marquee a subtle gold tint for the keywords. */
.marquee-track span { color: rgba(246,243,238,.9); }
.marquee-track span::after { content: none; }

/* ---- Full-width feature band (replaces the before/after slot) ---- */
.feature {
	position: relative;
	min-height: clamp(420px, 68vh, 760px);
	display: flex; align-items: flex-end;
	background-color: var(--ink);
	background-size: cover; background-position: center;
	overflow: hidden;
}
.feature::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(15,13,10,.15) 0%, rgba(15,13,10,.35) 55%, rgba(15,13,10,.78) 100%);
}
.feature-inner { position: relative; z-index: 1; color: var(--white); padding-block: clamp(2.5rem, 6vw, 5rem); }
.feature .eyebrow { color: var(--gold-soft); }
.feature h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 18ch; margin-bottom: 1.2rem; }
.feature p { color: rgba(255,255,255,.9); max-width: 46ch; margin: 0 0 2rem; }

/* ---- Instagram / social link in footer ---- */
.footer-social { display: flex; gap: 1.1rem; margin-top: 1.2rem; }
.footer-social a { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(246,243,238,.85); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.footer-social a:hover { color: var(--gold-soft); }

/* ===========================================================
   Inner pages (v1.4) - About - Services - Projects - Contact
   =========================================================== */

/* ---- Shared page hero (dark image/video band, always high-contrast) ---- */
.page-hero {
	position: relative; min-height: clamp(46vh, 60vh, 620px);
	display: flex; align-items: flex-end; overflow: hidden;
	background-size: cover; background-position: center; background-color: var(--ink);
	color: var(--white);
}
.page-hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero-overlay { position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(15,13,10,.35) 0%, rgba(15,13,10,.35) 45%, rgba(15,13,10,.8) 100%); }
.page-hero-content { position: relative; z-index: 2; padding-top: clamp(7rem, 13vh, 10rem); padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero-title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 500; margin: .3rem 0 1rem; }
.page-hero-lead { font-size: clamp(1.02rem, 1.8vw, 1.3rem); max-width: 46ch; color: rgba(255,255,255,.92); margin: 0; }

/* ---- About: story ---- */
.about-story { background: var(--bg); }
.about-story .eyebrow { margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem); }
.story-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.story-body p { color: var(--ink-soft); margin: 0 0 1.3rem; font-size: 1.08rem; }
.story-body p:last-child { margin-bottom: 0; }
.story-portrait { margin: 0; }
.story-portrait img { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; object-fit: cover;
	border-radius: var(--radius); display: block; box-shadow: 0 18px 40px rgba(20,18,15,.14); }
.story-portrait figcaption { margin-top: 1rem; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); line-height: 1.2; }
.story-portrait figcaption span { display: block; font-family: var(--sans); font-size: .74rem;
	letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: .4rem; }

/* ---- Dark quote band ---- */
.band { background: var(--ink); color: var(--bg); padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band .eyebrow { color: var(--gold-soft); }
.band-quote { font-family: var(--serif); font-style: italic; font-weight: 400;
	font-size: clamp(1.5rem, 3.6vw, 2.6rem); line-height: 1.3; max-width: 26ch; margin: 0; color: #fff; }
.band--split .band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: stretch; }
.band--split .band-quote { max-width: 30ch; }
.band-media { margin: 0; position: relative; min-height: 320px; overflow: hidden;
	border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
	.band--split .band-grid { grid-template-columns: 1fr; }
	.band-media { position: static; min-height: 0; aspect-ratio: 16 / 10; }
	.band-media img { position: static; }
}

/* ---- About: values ---- */
.values { background: var(--bg-alt); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.value { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.value-num { font-family: var(--serif); font-size: 1rem; color: var(--gold); letter-spacing: .1em; }
.value h3 { font-size: 1.6rem; margin: .7rem 0 .7rem; }
.value p { color: var(--ink-soft); margin: 0; }

/* ---- About: in-motion video wall (overlaid quote) ---- */
.about-showcase { position: relative; overflow: hidden; background: var(--ink);
	min-height: clamp(600px, 84vh, 860px); display: flex; align-items: center; }
.showcase-wall { position: absolute; inset: 0; z-index: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.showcase-wall .hv { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase-wall .hv + .hv { box-shadow: -1px 0 0 rgba(255,255,255,.06); }
.showcase-overlay { position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(20,18,15,.58) 0%, rgba(20,18,15,.42) 45%, rgba(20,18,15,.68) 100%); }
.showcase-content { position: relative; z-index: 2; text-align: center;
	padding-block: clamp(4rem, 9vw, 7rem); }
.about-showcase .eyebrow { color: var(--gold-soft); }
.showcase-quote { font-family: var(--serif); font-style: italic; font-weight: 400;
	font-size: clamp(1.7rem, 3.8vw, 3.1rem); line-height: 1.24; letter-spacing: .01em;
	max-width: 24ch; margin: .9rem auto 0; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
@media (max-width: 900px) {
	.showcase-wall { grid-template-columns: repeat(2, 1fr); }
	.showcase-wall .hv:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
	.showcase-wall { grid-template-columns: 1fr; }
	.showcase-wall .hv:nth-child(2), .showcase-wall .hv:nth-child(3) { display: none; }
}

/* ---- Services: alternating rows ---- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; margin-bottom: clamp(3rem, 7vw, 6rem); }
.svc-row:last-child { margin-bottom: 0; }
.svc-row.is-reversed .svc-media { order: 2; }
.svc-media { overflow: hidden; border-radius: var(--radius); }
.svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc-row:hover .svc-media img { transform: scale(1.05); }
.svc-num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); letter-spacing: .1em; }
.svc-text h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: .5rem 0 1rem; }
.svc-text p { color: var(--ink-soft); margin: 0 0 1.5rem; font-size: 1.05rem; }
.link-arrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.link-arrow:hover { color: var(--gold); }

/* ---- Projects: features ---- */
.proj-feature { padding-bottom: clamp(3rem, 6vw, 5rem); margin-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.proj-feature:last-child { border-bottom: 0; margin-bottom: 0; }
.proj-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.proj-title { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.proj-cat { color: var(--gold); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; margin: .5rem 0 0; }
.proj-meta { color: var(--ink-soft); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.proj-blurb { color: var(--ink-soft); max-width: 60ch; margin: 1.3rem 0 2rem; font-size: 1.05rem; }
.proj-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(.6rem, 1.5vw, 1rem); }
.proj-shot { overflow: hidden; background: var(--bg-alt); border-radius: var(--radius); }
.proj-shot img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .8s var(--ease); }
.proj-shot:hover img { transform: scale(1.07); }

/* ---- Projects: walkthrough reels ---- */
.reels { background: var(--bg-alt); }
.reels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); max-width: 900px; margin-inline: auto; }
.reel { margin: 0; }
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); display: block; box-shadow: 0 20px 50px rgba(20,18,15,.18); border-radius: var(--radius); }
.reel figcaption { text-align: center; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 1rem; }

/* ---- Contact ---- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-intro { color: var(--ink-soft); font-size: 1.08rem; margin: 0 0 2.2rem; max-width: 42ch; }
.contact-block { margin-bottom: 2rem; }
.contact-block h3 { font-family: var(--sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 0 0 .6rem; }
.contact-block p { margin: .2rem 0; color: var(--ink-soft); }
.contact-block a { color: var(--ink); border-bottom: 1px solid var(--line); }
.contact-block a:hover { border-color: var(--gold); color: var(--gold); }
.contact-form { background: var(--white); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.6rem); border-radius: var(--radius); }
.contact-form .field { margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-form label { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem; }
.contact-form input, .contact-form select, .contact-form textarea {
	width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
	padding: .8rem .9rem; border: 1px solid var(--line); background: var(--bg); border-radius: 8px;
	transition: border-color .3s var(--ease); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { resize: vertical; }
.contact-form .btn-dark { margin-top: .4rem; border: 0; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin: 1rem 0 0; }
.map-band { line-height: 0; }
.map-band iframe { display: block; width: 100%; filter: grayscale(.2); }

/* ---- Inner-page responsive ---- */
@media (max-width: 900px) {
	.story-grid, .contact-grid { grid-template-columns: 1fr; }
	.story-aside { position: static; }
	.values-grid, .reels-grid { grid-template-columns: 1fr 1fr; }
	.svc-row { grid-template-columns: 1fr; }
	.svc-row.is-reversed .svc-media { order: 0; }
}
@media (max-width: 600px) {
	.values-grid, .reels-grid, .field-row { grid-template-columns: 1fr; }
	.proj-head { align-items: flex-start; }
}

/* ---- Header top scrim: keeps nav legible over bright hero images/video ---- */
.site-header::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 150px; z-index: -1;
	background: linear-gradient(180deg, rgba(15,13,10,.5) 0%, rgba(15,13,10,0) 100%);
	transition: opacity .4s var(--ease); pointer-events: none;
}
.site-header.is-scrolled::before { opacity: 0; }

/* ===========================================================
   Products page (v1.5) — individual furniture & décor catalogue
   =========================================================== */
.products .product-cat { margin-bottom: clamp(3rem, 7vw, 6rem); }
.products .product-cat:last-child { margin-bottom: 0; }
.product-cat-head { margin-bottom: clamp(1.4rem, 3vw, 2.4rem); border-top: 1px solid var(--line); padding-top: 1.6rem; }
.product-cat-title { font-size: clamp(1.6rem, 4vw, 2.6rem); }
.product-cat-note { color: var(--ink-soft); margin: .6rem 0 0; max-width: 54ch; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(1rem, 2.2vw, 1.8rem); }
.product-card { display: block; transition: transform .5s var(--ease); }
.product-media { display: block; overflow: hidden; aspect-ratio: 4/5; background: var(--bg-alt); border-radius: var(--radius); position: relative; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(20,18,15,0) 60%, rgba(20,18,15,.28) 100%);
	opacity: 0; transition: opacity .5s var(--ease);
}
.product-card:hover .product-media::after { opacity: 1; }
.product-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .85rem; }
.product-name { font-family: var(--serif); font-size: 1.2rem; transition: color .35s var(--ease); }
.product-card:hover .product-name { color: var(--gold); }
.product-price { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
@media (max-width: 520px) { .product-grid { grid-template-columns: 1fr 1fr; } }

/* ===========================================================
   WooCommerce (v1.6) — brand overrides on the default shop styles
   =========================================================== */
.woocommerce-products-header__title,
.woocommerce h1.entry-title,
.woocommerce-page h1.entry-title { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 1.6rem; }
.woocommerce-products-header { margin-bottom: 1.5rem; }

/* Shop product grid */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2.4rem); margin: 0 !important; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; text-align: left; }
.woocommerce ul.products li.product a img { border-radius: var(--radius); margin: 0 0 1rem; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; padding: 0 0 .35rem; }
.woocommerce ul.products li.product .price { color: var(--ink-soft); font-size: 1rem; }
.woocommerce ul.products li.product .price .amount { color: var(--gold); font-weight: 500; }
.woocommerce ul.products li.product .onsale { background: var(--gold); border-radius: 999px; }

/* Buttons → brand pill */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background: var(--ink); color: var(--white); border: 0; border-radius: var(--btn-radius);
	font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
	padding: .85rem 1.7rem; font-weight: 400; transition: all .35s var(--ease); cursor: pointer;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--gold); color: #fff; }
.woocommerce ul.products li.product .button { margin-top: .5rem; display: inline-block; }

/* Single product */
.woocommerce div.product .product_title { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--gold); font-size: 1.5rem; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce div.product .quantity .qty { border: 1px solid var(--line); border-radius: 8px; padding: .6rem; }
.woocommerce .woocommerce-tabs ul.tabs li { border-radius: 8px 8px 0 0; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--gold); border-radius: 8px; }
.woocommerce table.shop_table { border-radius: var(--radius); overflow: hidden; }
.woocommerce-breadcrumb { font-size: .78rem; letter-spacing: .04em; color: var(--taupe); margin-bottom: 1.5rem; }

/* Header cart link + count badge */
.nav-cart { display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); transition: color .35s var(--ease); }
.site-header.is-scrolled .nav-cart { color: var(--ink); }
.nav-cart:hover { color: var(--gold); }
.nav-cart .cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #fff; font-size: .66rem; letter-spacing: 0; }

@media (max-width: 900px) { .woocommerce ul.products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .woocommerce ul.products { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .nav-cart .nav-cart-label { display: none; } }

/* ===========================================================
   Hero video + Featured band + Shine sweep (v1.7)
   =========================================================== */

/* No accidental horizontal overflow anywhere */
html, body { overflow-x: hidden; max-width: 100%; }

/* Hero always fits the screen (video covers, never spills out) */
.hero { width: 100%; max-width: 100%; min-height: 100vh; overflow: hidden; }
.hero-video {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; z-index: 0; pointer-events: none;
}
@media (max-width: 768px) { .hero-video { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* ---- Hero portrait video wall (multiple clips fill the full width) ---- */
.hero-videos { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); pointer-events: none; }
.hero-videos .hv { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-videos .hv + .hv { box-shadow: -1px 0 0 rgba(255,255,255,.05); }
@media (max-width: 900px) {
	.hero-videos { grid-template-columns: repeat(2, 1fr); }
	.hero-videos .hv:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
	.hero-videos { grid-template-columns: 1fr; }
	.hero-videos .hv:nth-child(2), .hero-videos .hv:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-videos { display: none; } }

/* Short viewports: keep the big title, only trim spacing so buttons still fit */
@media (max-height: 760px) {
	.hero-content { padding-top: 5.4rem; padding-bottom: clamp(1.8rem, 3vh, 2.6rem); }
	.hero .eyebrow { margin-bottom: .6rem; }
	.hero-title { margin-bottom: 1rem; }
	.hero-sub { margin-bottom: 1.3rem; }
}
@media (max-height: 640px) {
	.hero-content { padding-top: 5rem; }
	.hero-sub { margin-bottom: 1rem; }
}

/* ---- Featured Piece band (after Services) ---- */
.featured-band { position: relative; background-size: cover; background-position: center; overflow: hidden; }
.featured-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,13,10,.85) 0%, rgba(15,13,10,.62) 48%, rgba(15,13,10,.38) 100%); }
.featured-wrap { position: relative; z-index: 1; padding-block: clamp(4rem, 9vw, 6.5rem); }
.featured-slider { display: grid; }
.featured-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease); }
.featured-slide.is-active { opacity: 1; visibility: visible; }
.featured-dots { display: flex; justify-content: center; gap: .6rem; margin-top: 2.4rem; }
.featured-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s var(--ease), transform .3s var(--ease); }
.featured-dot:hover { background: rgba(255,255,255,.6); }
.featured-dot.is-active { background: var(--gold-soft); transform: scale(1.25); }
.featured-card { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5); background: var(--bg-alt); aspect-ratio: 4/5; }
.featured-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.featured-card:hover img { transform: scale(1.05); }
.featured-text { color: var(--white); }
.featured-text .eyebrow { color: var(--gold-soft); }
.featured-text h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 .6rem; }
.featured-price { color: var(--gold-soft); font-size: 1.4rem; margin: 0 0 1rem; }
.featured-price .amount, .featured-price bdi { color: var(--gold-soft) !important; }
.featured-desc { color: rgba(255,255,255,.85); max-width: 44ch; margin: 0 0 1.9rem; }
.featured-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 760px) {
	.featured-slide { grid-template-columns: 1fr; }
	.featured-card { max-width: 300px; }
	.featured-overlay { background: linear-gradient(180deg, rgba(15,13,10,.55), rgba(15,13,10,.88)); }
}

/* "Book your consultation" button under the process steps */
.process-cta { text-align: center; margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ---- Shop thumbnail wrapper (rounded + shine host) ---- */
.woo-thumb { display: block; border-radius: var(--radius); overflow: hidden; margin: 0 0 1rem; background: var(--bg-alt); }
.woo-thumb img { border-radius: 0 !important; margin: 0 !important; width: 100%; display: block; }

/* ---- Shine sweep: a gold light streak from bottom-right to top-left ---- */
.shine { position: relative; overflow: hidden; }
.shine::before {
	content: ""; position: absolute; z-index: 3; top: -50%; left: -50%; width: 200%; height: 200%;
	background: linear-gradient( 45deg,
		transparent 43%,
		rgba(255,255,255,.28) 47%,
		rgba(202,168,106,.70) 49%,
		rgba(255,255,255,.95) 50%,
		rgba(202,168,106,.70) 51%,
		rgba(255,255,255,.28) 53%,
		transparent 57% );
	transform: translate3d(60%, 60%, 0);
	opacity: 0; pointer-events: none; mix-blend-mode: screen;
}
@keyframes abkShine {
	0%   { transform: translate3d(60%, 60%, 0);   opacity: 0; }
	18%  { opacity: 1; }
	100% { transform: translate3d(-60%, -60%, 0);  opacity: 0; }
}
.shine:hover::before, .shine.shine-in::before { animation: abkShine .9s ease-out; }
@media (prefers-reduced-motion: reduce) { .shine::before { display: none; } }

/* ===========================================================
   Contact tweak + mobile CTA + Shop filter/search (v1.8)
   =========================================================== */
.field-opt { color: var(--taupe); font-size: .7rem; letter-spacing: .06em; text-transform: none; }

/* "Let's talk" inside the mobile nav (nav-cta is hidden on mobile) */
.mobile-nav-cta { display: inline-block; margin-top: 1.6rem; font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); border-radius: var(--btn-radius); padding: .8rem 2rem; }

/* ---- Shop filter bar + live search ---- */
.shop-filter { margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.shop-search { position: relative; max-width: 440px; margin-bottom: 1.4rem; }
.shop-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; font-size: 0; pointer-events: none; }
.shop-search-icon::before { content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border: 1.6px solid var(--taupe); border-radius: 50%; }
.shop-search-icon::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 6px; height: 1.6px; background: var(--taupe); transform: rotate(45deg); transform-origin: right center; }
.shop-search input { width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .85rem 1.1rem .85rem 2.5rem; transition: border-color .3s var(--ease); }
.shop-search input:focus { outline: none; border-color: var(--gold); }
.shop-cats { display: flex; flex-wrap: wrap; gap: .6rem; }
.shop-cat { font-family: var(--sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; cursor: pointer; transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.shop-cat:hover { border-color: var(--gold); color: var(--ink); }
.shop-cat.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.shop-noresults { margin-top: 1.6rem; color: var(--ink-soft); font-size: 1.02rem; }

/* ---- Projects: 3 photos per card, switch on hover zone (left / centre / right) ---- */
.project-media.hover3 { position: relative; }
.hover3 .pm-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease), transform 1.1s var(--ease); }
.hover3 .pm-img-1 { opacity: 1; }
.hover3 .pm-zone { position: absolute; top: 0; bottom: 0; width: 33.34%; z-index: 4; }
.hover3 .pm-zone:nth-child(1) { left: 0; }
.hover3 .pm-zone:nth-child(2) { left: 33.33%; }
.hover3 .pm-zone:nth-child(3) { left: 66.66%; }
.hover3 .pm-zone:nth-child(2):hover ~ .pm-img-1 { opacity: 0; }
.hover3 .pm-zone:nth-child(2):hover ~ .pm-img-2 { opacity: 1; }
.hover3 .pm-zone:nth-child(3):hover ~ .pm-img-1 { opacity: 0; }
.hover3 .pm-zone:nth-child(3):hover ~ .pm-img-3 { opacity: 1; }
/* little indicator dots */
.hover3 .pm-dots { position: absolute; bottom: .8rem; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 5; pointer-events: none; }
.hover3 .pm-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); transition: background .3s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.hover3 .pm-dots i:nth-child(1) { background: #fff; }
.hover3 .pm-zone:nth-child(2):hover ~ .pm-dots i:nth-child(1) { background: rgba(255,255,255,.5); }
.hover3 .pm-zone:nth-child(2):hover ~ .pm-dots i:nth-child(2) { background: #fff; }
.hover3 .pm-zone:nth-child(3):hover ~ .pm-dots i:nth-child(1) { background: rgba(255,255,255,.5); }
.hover3 .pm-zone:nth-child(3):hover ~ .pm-dots i:nth-child(3) { background: #fff; }
/* keep the card's hover-zoom working on whichever image is visible */
.project-card:hover .hover3 .pm-img { transform: scale(1.05); }
