/*
Theme Name: Ibiza Gold Atelier
Theme URI: https://ibizaimperialjewelry.com/
Author: Ibiza Gold
Description: Editorial showcase theme for Ibiza Gold fine jewellery. WooCommerce-ready.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: ibiza-gold-atelier
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #11100f;
	--ink-2: #1c1a17;
	--ink-3: #2a2723;
	--paper: #f7f4ee;
	--sand: #ede6da;
	--white: #fff;
	--gold: #b08d57;
	--gold-2: #d6b67e;
	--gold-3: #8a6a3a;
	--muted: #6f685e;
	--muted-light: rgba(247, 244, 238, .68);
	--line: rgba(17, 16, 15, .12);
	--line-light: rgba(247, 244, 238, .16);

	--serif: "Cormorant Garamond", "Times New Roman", serif;
	--sans: "Inter", "Helvetica Neue", Arial, sans-serif;

	--container: 1320px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--section: clamp(5rem, 11vw, 9.5rem);
	--header-h: 84px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--radius: 2px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1rem/1.7 var(--sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-variant-numeric: lining-nums;
	overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-2); color: var(--ink); }

.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0 !important; }
.wp-block-post-content > * { margin-block: 0; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1.25rem; background: var(--gold); color: var(--ink); font-size: .85rem; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

/* ---------- Type ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .9rem;
	margin: 0 0 1.4rem;
	color: var(--gold);
	font: 500 .72rem/1.2 var(--sans);
	letter-spacing: .28em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .7; }
.display {
	font-family: var(--serif); font-weight: 400;
	font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .98; letter-spacing: -.015em;
}
.h2 { font-family: var(--serif); font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.01em; }
.h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.3vw, 2rem); line-height: 1.15; }
.display em, .h2 em, .h3 em { color: var(--gold); }
.lead { max-width: 36rem; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.75; color: var(--muted-light); }
.lead-dark { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.45; color: var(--ink); }
.muted { color: var(--muted); }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
	min-height: 3.3rem; padding: .9rem 1.9rem;
	border: 1px solid transparent; border-radius: var(--radius);
	font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
	cursor: pointer; white-space: nowrap;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn .icon { width: 1.05rem; height: 1.05rem; transition: transform .3s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--gold); color: var(--ink); }
.btn--light { border-color: var(--line-light); color: var(--paper); background: rgba(247, 244, 238, .04); backdrop-filter: blur(6px); }
.btn--light:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn--outline { border-color: currentColor; color: inherit; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { min-height: 2.6rem; padding: .7rem 1.2rem; font-size: .66rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.link-arrow {
	display: inline-flex; align-items: center; gap: .6rem;
	color: var(--gold-3);
	font: 500 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
.link-arrow .icon { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
a.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(5px); }

.rule { display: block; width: 1px; height: 4.5rem; margin: 0 auto 2.5rem; background: linear-gradient(var(--gold), transparent); }

/* ---------- Top bar & header ---------- */
.topbar { position: relative; z-index: 51; background: var(--ink); color: var(--muted-light); border-bottom: 1px solid var(--line-light); }
.topbar p { margin: 0; padding: .6rem var(--gutter); text-align: center; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }

.site-header {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50;
	height: var(--header-h);
	color: var(--paper);
	background: linear-gradient(rgba(17, 16, 15, .55), rgba(17, 16, 15, 0));
	transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled, body.menu-open .site-header { background: rgba(17, 16, 15, .94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-light); }
.site-header__inner { display: flex; align-items: center; gap: 2rem; height: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }

.brand { display: inline-flex; align-items: center; gap: .85rem; flex-shrink: 0; }
.brand__mark { width: 44px; height: auto; }
.brand__name { font: 500 1.45rem/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); white-space: nowrap; }

.nav { display: flex; justify-content: center; gap: clamp(1.5rem, 3vw, 2.75rem); flex: 1; }
.nav a { position: relative; padding: .5rem 0; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 244, 238, .86); transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-2); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.header-cta { color: var(--paper); border-color: var(--line-light); }

/* Language switcher */
.lang { position: relative; }
.lang__toggle {
	display: inline-flex; align-items: center; gap: .45rem;
	height: 2.6rem; padding: 0 .8rem;
	border: 1px solid transparent; border-radius: var(--radius); background: none;
	color: var(--paper); cursor: pointer;
	font-size: .72rem; font-weight: 500; letter-spacing: .14em;
	transition: border-color .25s, color .25s;
}
.lang__toggle:hover, .lang__toggle[aria-expanded="true"] { border-color: var(--line-light); color: var(--gold-2); }
.lang__toggle .icon--globe { width: 1.05rem; height: 1.05rem; }
.lang__toggle .icon--chevron { width: .85rem; height: .85rem; transition: transform .25s; }
.lang__toggle[aria-expanded="true"] .icon--chevron { transform: rotate(180deg); }
.lang__panel {
	position: absolute; top: calc(100% + .6rem); right: 0; z-index: 60;
	width: 20rem; padding: 1.25rem;
	background: var(--paper); color: var(--ink);
	border-radius: var(--radius);
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45), 0 0 0 1px var(--line);
	transform-origin: top right;
	animation: pop .22s var(--ease);
}
.lang__title { margin: 0 0 .8rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; }
.lang__list { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; }
.lang__list a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .7rem; border-radius: var(--radius); font-size: .9rem; transition: background .2s; }
.lang__list a:hover { background: var(--sand); }
.lang__list a.is-current { background: var(--ink); color: var(--gold-2); }
.lang__code { color: var(--muted); font-size: .66rem; letter-spacing: .12em; }
.lang__list a.is-current .lang__code { color: var(--gold-2); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* Mobile menu */
.menu-toggle { display: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-toggle__bars { display: grid; gap: 7px; width: 26px; margin: auto; }
.menu-toggle__bars span { height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
	position: fixed; inset: 0; z-index: 45;
	display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
	padding: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px) + 2rem) var(--gutter) 2rem;
	background: var(--ink); color: var(--paper);
	overflow-y: auto;
	animation: fade .3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav { display: grid; gap: .25rem; }
.mobile-menu__nav a { font: 400 clamp(2.2rem, 9vw, 3rem)/1.2 var(--serif); padding: .25rem 0; border-bottom: 1px solid var(--line-light); }
.mobile-menu__nav a[aria-current="page"] { color: var(--gold-2); font-style: italic; }
.mobile-menu__foot { display: grid; gap: 1.25rem; }
.mobile-menu__foot .eyebrow { margin: 0; }
.mobile-menu__langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.mobile-menu__langs a { display: block; padding: .7rem 0; border: 1px solid var(--line-light); text-align: center; font-size: .78rem; letter-spacing: .14em; }
.mobile-menu__langs a.is-current { border-color: var(--gold); background: var(--gold); color: var(--ink); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Hero ---------- */
.hero, .page-hero, .not-found {
	position: relative; isolation: isolate;
	display: flex; align-items: center;
	margin-top: calc(var(--header-h) * -1);
	padding: calc(var(--header-h) + 4rem) 0 5rem;
	background: var(--ink); color: var(--paper);
	overflow: hidden;
}
.hero { min-height: max(640px, calc(100svh - 2.2rem)); }
.hero__bg, .page-hero__bg, .not-found__bg, .soon__bg, .quote__bg {
	position: absolute; inset: 0; z-index: -2;
	width: 100%; height: 100%; object-fit: cover;
}
.hero__bg { object-position: 70% 50%; animation: kenburns 18s var(--ease) both; }
.hero::after, .page-hero::after, .not-found::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(17, 16, 15, .88) 0%, rgba(17, 16, 15, .55) 45%, rgba(17, 16, 15, .1) 100%), linear-gradient(0deg, rgba(17, 16, 15, .6), transparent 40%);
}
.hero__content .display { max-width: 11ch; margin-bottom: 1.75rem; }
.hero__content .lead { margin-bottom: 2.5rem; }
.hero__scroll {
	position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
	display: grid; justify-items: center; gap: .75rem;
	color: var(--muted-light); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
}
.hero__scroll::after { content: ""; width: 1px; height: 3rem; background: linear-gradient(var(--gold-2), transparent); animation: scrollcue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.page-hero { min-height: clamp(460px, 68vh, 640px); }
.page-hero__content .display { max-width: 14ch; margin-bottom: 1.5rem; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.page-hero--plain { min-height: 0; padding-bottom: 4rem; padding-top: calc(var(--header-h) + 5rem); }
.page-hero--plain::after { display: none; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-top: 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-head--split { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 2rem 4rem; max-width: none; }
.section-head--split > p { max-width: 26rem; margin: 0; color: var(--muted); justify-self: end; }

/* Statement */
.statement { text-align: center; }
.statement__text { margin-bottom: 1.8rem; font: 400 clamp(1.9rem, 4vw, 3.2rem)/1.2 var(--serif); letter-spacing: -.01em; }
.statement__text em { color: var(--gold-3); }
.statement__sign { color: var(--muted); font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; }

/* Collection cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.card { display: flex; flex-direction: column; }
.card__media { display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { display: grid; gap: .45rem; padding-top: 1.4rem; }
.card__num { color: var(--gold); font-size: .7rem; letter-spacing: .2em; }
.card__title { font: 400 1.9rem/1.1 var(--serif); }
.card__text { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.card .link-arrow { margin-top: .6rem; }

/* Split */
.split { background: var(--white); }
.split__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.split__media { position: relative; }
.split__media > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__inset { position: absolute; right: -2.5rem; bottom: -3rem; width: 42%; aspect-ratio: 3 / 4; object-fit: cover; border: 10px solid var(--white); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.split__text .h2 { margin-bottom: 1.75rem; }
.split__text > p { color: var(--muted); }
.split__text .lead-dark { color: var(--ink); }
.split--reverse .split__media { order: 2; }
.checklist { display: grid; gap: .9rem; margin: 2rem 0 2.25rem; }
.checklist li { display: flex; align-items: flex-start; gap: .85rem; }
.checklist .icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: .15rem; color: var(--gold); }

/* Stats */
.stats { background: var(--ink); color: var(--paper); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: grid; gap: .5rem; padding: clamp(2.5rem, 5vw, 4rem) 1.5rem; text-align: center; border-left: 1px solid var(--line-light); }
.stat:first-child { border-left: 0; }
.stat__value { font: 400 clamp(2.8rem, 5vw, 4.2rem)/1 var(--serif); color: var(--gold-2); }
.stat__label { color: var(--muted-light); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; }

/* Quote band */
.quote { position: relative; isolation: isolate; padding-block: clamp(7rem, 16vw, 13rem); color: var(--paper); text-align: center; overflow: hidden; }
.quote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(17, 16, 15, .55); }
.quote__bg { transform: scale(1.15); will-change: transform; }
.quote__content { margin: 0 auto; }
.quote blockquote { margin: 0 0 1.5rem; }
.quote blockquote p { font: italic 400 clamp(2.2rem, 5vw, 4.4rem)/1.1 var(--serif); }
.quote blockquote p::before { content: "“"; display: block; height: .6em; color: var(--gold-2); font-size: 1.6em; line-height: 1; }
.quote figcaption { color: var(--gold-2); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; }

/* Process */
.process__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.process__media { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 1.5rem; }
.process__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.process__step:hover .process__media img { transform: scale(1.05); }
.process__num { display: block; margin-bottom: .6rem; color: var(--gold); font-size: .72rem; letter-spacing: .2em; }
.process__step .h3 { margin-bottom: .75rem; }
.process__step p { color: var(--muted); }

/* Coming soon */
.soon { position: relative; isolation: isolate; padding-block: clamp(6rem, 12vw, 9rem); background: var(--ink); color: var(--paper); overflow: hidden; }
.soon::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17, 16, 15, .92) 30%, rgba(17, 16, 15, .35)); }
.soon__content { max-width: calc(620px + var(--gutter) * 2); margin-left: max(0px, calc((100% - var(--container) - var(--gutter) * 2) / 2)); }
.soon .h2 { margin-bottom: 1.5rem; }
.soon p:not(.eyebrow) { margin-bottom: 2.25rem; color: var(--muted-light); }

/* CTA */
.cta { text-align: center; background: var(--sand); }
.cta__inner { display: grid; justify-items: center; max-width: calc(760px + var(--gutter) * 2); }
.cta__mark { width: 64px; margin-bottom: 2rem; filter: brightness(.75); }
.cta .h2 { margin-bottom: 1.25rem; }
.cta p { max-width: 34rem; margin-bottom: 2.25rem; color: var(--muted); }
.cta .btn-row { justify-content: center; }
.cta .btn .icon--whatsapp { width: 1.1rem; height: 1.1rem; }

/* Values */
.values { background: var(--white); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value { padding: 2.75rem clamp(1.25rem, 3vw, 2.5rem) 0 0; }
.value + .value { padding-left: clamp(1.25rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }
.value__num { display: block; margin-bottom: 1.5rem; color: var(--gold); font: italic 400 2.6rem/1 var(--serif); }
.value .h3 { margin-bottom: .9rem; }
.value p { color: var(--muted); }

/* Collections page */
.collection-tabs { position: sticky; top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px)); z-index: 20; background: rgba(247, 244, 238, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.collection-tabs .container { display: flex; justify-content: center; gap: clamp(1.25rem, 4vw, 3.5rem); overflow-x: auto; scrollbar-width: none; }
.collection-tabs a { flex-shrink: 0; padding: 1.1rem 0; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.collection-tabs a:hover, .collection-tabs a.is-active { color: var(--ink); border-color: var(--gold); }
.collection:nth-of-type(even) { background: var(--white); }
.collection__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.collection--reverse .collection__media { order: 2; }
.collection__media { overflow: hidden; }
.collection__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s var(--ease); }
.collection__media:hover img { transform: scale(1.04); }
.collection__num { display: block; margin-bottom: 1.25rem; color: var(--gold); font: italic 400 1.5rem/1 var(--serif); }
.collection__num span { color: var(--muted); font-size: 1rem; }
.collection .h2 { margin-bottom: 1rem; font-size: clamp(2.8rem, 5.5vw, 4.6rem); }
.collection__short { font: italic 400 1.45rem/1.4 var(--serif); color: var(--gold-3); }
.collection__text > p:not(.collection__short) { color: var(--muted); }

/* Contact */
.contact__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.info-card { padding: 2rem 1.75rem; background: var(--paper); }
.info-card .icon { width: 1.6rem; height: 1.6rem; margin-bottom: 1.25rem; color: var(--gold); }
.info-card__title { margin-bottom: .6rem; font: 500 .7rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.info-card p { font-size: .98rem; line-height: 1.6; }
.info-card a { transition: color .2s; }
.info-card a:hover { color: var(--gold-3); }
.contact__form { padding: clamp(2rem, 4vw, 3.25rem); background: var(--white); box-shadow: 0 40px 80px -50px rgba(17, 16, 15, .35); }
.contact__form .h3 { margin-bottom: .5rem; }
.form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form__hp { position: absolute; left: -9999px; }
.field { display: grid; gap: .45rem; margin: 0; }
.field label { font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; padding: .85rem 0;
	border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
	background: transparent; color: var(--ink);
	font: 400 1rem/1.5 var(--sans);
	transition: border-color .25s;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08d57' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right center / 1rem no-repeat; cursor: pointer; }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.field--check input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--gold); }
.field--check label { font-size: .85rem; letter-spacing: 0; text-transform: none; }
.field--check a { color: var(--gold-3); text-decoration: underline; text-underline-offset: .2em; }
.form .btn { justify-self: start; margin-top: .5rem; }
.notice { margin-top: 1.5rem; padding: 1rem 1.25rem; border-left: 2px solid; font-size: .92rem; }
.notice--ok { border-color: var(--gold); background: rgba(176, 141, 87, .1); }
.notice--error { border-color: #b3261e; background: rgba(179, 38, 30, .07); }
.map iframe { width: 100%; height: clamp(320px, 45vw, 480px); border: 0; filter: grayscale(1) contrast(1.05) sepia(.15); }

/* Privacy */
.prose .h3 { margin: 2.5rem 0 .8rem; }
.prose .h3:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose .muted { margin-top: 3rem; font-size: .85rem; }

/* 404 */
.not-found { min-height: 100svh; text-align: center; justify-content: center; }
.not-found::after { background: rgba(17, 16, 15, .8); }
.not-found__content { display: grid; justify-items: center; max-width: calc(640px + var(--gutter) * 2); }
.not-found__code { margin: 0 0 .5rem; font: italic 400 clamp(6rem, 18vw, 11rem)/1 var(--serif); color: var(--gold-2); }
.not-found .h2 { margin-bottom: 1.25rem; }
.not-found p:not(.not-found__code) { margin-bottom: 2.25rem; color: var(--muted-light); }
.not-found .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(4.5rem, 9vw, 7rem); background: var(--ink); color: var(--muted-light); font-size: .92rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 4rem; }
.site-footer__brand img { width: 150px; margin-bottom: 1.75rem; }
.site-footer__brand p { max-width: 22rem; }
.site-footer__title { margin-bottom: 1.4rem; color: var(--gold-2); font: 500 .7rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.site-footer__links { display: grid; gap: .75rem; }
.site-footer__links a { display: inline-flex; align-items: center; gap: .6rem; transition: color .2s; }
.site-footer__links a:hover { color: var(--paper); }
.site-footer__links .icon { width: 1.1rem; height: 1.1rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.75rem; border-top: 1px solid var(--line-light); font-size: .78rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__langs { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.site-footer__langs a { font-size: .7rem; letter-spacing: .16em; transition: color .2s; }
.site-footer__langs a:hover, .site-footer__langs a[aria-current] { color: var(--gold-2); }

.wa-float {
	position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 40;
	display: grid; place-items: center; width: 3.5rem; height: 3.5rem;
	border-radius: 50%; background: var(--ink); color: var(--gold-2);
	box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5), 0 0 0 1px rgba(214, 182, 126, .35);
	transition: transform .3s var(--ease), background .3s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--gold); color: var(--ink); }
.wa-float .icon { width: 1.5rem; height: 1.5rem; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero .reveal:nth-child(2) { --delay: 120ms; }
.js .hero .reveal:nth-child(3) { --delay: 240ms; }
.js .hero .reveal:nth-child(4) { --delay: 360ms; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nav, .header-cta { display: none; }
	.menu-toggle { display: block; }
	.card-grid { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
	:root { --header-h: 72px; }
	.brand__mark { width: 36px; }
	.brand__name { font-size: 1.2rem; }
	.section-head--split { grid-template-columns: 1fr; }
	.section-head--split > p { justify-self: start; }
	.split__inner, .collection__inner, .contact__inner { grid-template-columns: 1fr; }
	.split--reverse .split__media, .collection--reverse .collection__media { order: 0; }
	.split__media { margin-right: 1.5rem; }
	.split__inset { right: -1.5rem; bottom: -2rem; }
	.split__text { padding-top: 1.5rem; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
	.process__list, .values__grid { grid-template-columns: 1fr; }
	.process__list { row-gap: 3.5rem; }
	.value, .value + .value { padding: 2.25rem 0; border-left: 0; }
	.value + .value { border-top: 1px solid var(--line); }
	.hero::after, .page-hero::after { background: linear-gradient(0deg, rgba(17, 16, 15, .92) 10%, rgba(17, 16, 15, .45) 100%); }
	.hero { align-items: flex-end; }
	.hero__bg { object-position: 62% 50%; }
	.hero__scroll { display: none; }
	.page-hero { align-items: flex-end; }
}
@media (max-width: 560px) {
	.topbar p { font-size: .58rem; letter-spacing: .14em; }
	.brand__name { font-size: 1.05rem; letter-spacing: .16em; }
	.lang__toggle .icon--globe { display: none; }
	.lang__panel { position: fixed; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px) + 2.4rem); width: auto; }
	.card-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1rem; }
	.card__title { font-size: 1.45rem; }
	.card__text { display: none; }
	.btn-row .btn { flex: 1 1 100%; }
	.btn { white-space: normal; text-align: center; line-height: 1.4; }
	.collection-tabs .container { justify-content: flex-start; }
	.contact__cards, .form__row { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
}
