/* ═══════════════════════════════════════════════════════════
   1M FRAGRANCE — SINGLE-PAGE THEME  v1.0
   Carried-over brand system: gold/black, Playfair + Inter.
   Tokens preserved exactly from index-CHuBJwaA.css (v40).
   ═══════════════════════════════════════════════════════════ */

:root {
	--gold: #d4af37;
	--gold-light: #f0d68a;
	--gold-dark: #b8960c;
	--black: #050505;
	--black-2: #101010;
	--black-3: #191919;
	--cream: #fbf7ef;
	--ivory: #fffaf0;
	--text: #f7f0df;
	--muted: #b7aa8a;
	--line: #d4af3747;
	--shadow: 0 24px 80px #00000059;
	--serif: "Playfair Display", Georgia, serif;
	--sans: "Inter", Arial, sans-serif;
	--radius: 16px;
	--header-h: 106px;
	--marquee-h: 34px;
}

/* ── Reset-ish ─────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body.onemf {
	background: var(--black);
	color: var(--text);
	font-family: var(--sans);
	font-weight: 300;
	line-height: 1.7;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; overflow: visible; }
h1, h2 { padding-bottom: 0.08em; } /* protect serif descenders */

.eyebrow {
	font-size: 0.72rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 14px;
}
.section-title { font-size: clamp(1.7rem, 4.6vw, 2.9rem); color: var(--ivory); }
.section-lede { color: var(--muted); max-width: 56ch; margin-top: 12px; }
.gold-rule {
	width: 72px; height: 1px; margin: 26px 0;
	background: linear-gradient(90deg, var(--gold), transparent);
}

/* ── Marquee bar ───────────────────────────── */
.marquee {
	position: fixed; inset: 0 0 auto 0; z-index: 60;
	height: var(--marquee-h);
	background: var(--gold);
	color: var(--black);
	overflow: hidden;
	display: flex; align-items: center; justify-content: center;
}
/* Static, centered — no scroll animation. The markup still repeats the
   text 3x (kept for easy revert to a scrolling marquee later); only the
   first copy is shown and it's centered in the bar. */
.marquee-track {
	display: flex; justify-content: center; white-space: nowrap;
	font-size: 0.72rem; font-weight: 500;
	letter-spacing: 0.18em; text-transform: uppercase;
	width: 100%;
}
.marquee-track span { padding-inline: 12px; }
.marquee-track span:nth-child(n+2) { display: none; }
@media (max-width: 700px) {
	:root { --marquee-h: 54px; }
	.marquee-track { white-space: normal; text-align: center; line-height: 1.35; padding-inline: 18px; }
	.marquee-track span { padding-inline: 0; }
}

/* ── Header ────────────────────────────────── */
.site-header {
	position: fixed; top: var(--marquee-h); left: 0; right: 0; z-index: 50;
	background: transparent;
	transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
	border-bottom: 1px solid transparent;
}
.site-header.is-solid {
	background: rgba(5, 5, 5, 0.92);
	backdrop-filter: blur(12px);
	border-bottom-color: var(--line);
}
.header-inner {
	max-width: 1240px; margin-inline: auto;
	height: var(--header-h);
	padding-inline: clamp(20px, 4vw, 48px);
	padding-block: 8px;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
@media (min-width: 701px)  { :root { --header-h: 134px; } }
@media (min-width: 1200px) { :root { --header-h: 148px; } }
.brand { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; justify-content: center; height: 100%; }
.brand-logo { max-height: 88px; width: auto; transition: max-height 0.3s ease; }
@media (min-width: 701px) { .brand-logo { max-height: 116px; } }
@media (min-width: 1200px) { .brand-logo { max-height: 130px; } }
.brand-name { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-light); }

.site-nav { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav-link {
	font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--text); opacity: 0.75; padding: 8px 2px;
	border-bottom: 1px solid transparent;
	transition: opacity 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.nav-link:hover { opacity: 1; }
.nav-link.is-active { opacity: 1; color: var(--gold-light); border-bottom-color: var(--gold); }

.nav-toggle {
	display: none;
	width: 44px; height: 40px;
	background: transparent; border: 1px solid var(--line); border-radius: 10px;
	cursor: pointer;
	flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span {
	width: 18px; height: 1.5px; background: var(--gold-light);
	transition: transform 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

/* ── Buttons ───────────────────────────────── */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 30px;
	border-radius: 999px;
	font-size: 0.76rem; font-weight: 600;
	letter-spacing: 0.2em; text-transform: uppercase;
	border: 1px solid var(--gold);
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--gold-light); }
.btn-line:hover { background: rgba(212, 175, 55, 0.12); }

/* ── Hero ──────────────────────────────────── */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex; align-items: center; justify-content: center;
	text-align: center;
	padding: calc(var(--marquee-h) + var(--header-h) + 40px) 22px 72px;
	overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center 30%;
	opacity: 0; transform: scale(1.06);
	transition: opacity 1.6s ease, transform 8s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-veil {
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse at 50% 20%, rgba(212, 175, 55, 0.14), transparent 55%),
		linear-gradient(180deg, rgba(5,5,5,0.72) 0%, rgba(5,5,5,0.55) 45%, rgba(5,5,5,0.88) 100%);
}
.hero-content { position: relative; max-width: 780px; }
.hero-title {
	font-size: clamp(2.6rem, 9vw, 5.4rem);
	color: var(--ivory);
	margin-bottom: 0.3em;
	font-variant-numeric: lining-nums;
	font-feature-settings: "lnum" 1, "case" 1;
}
/* The "lnum"/"case" feature settings above already bring the "1" glyph
   to match the "M" cap-height almost exactly — no extra scaling needed.
   Keeping this class as a no-op hook in case future fine-tuning is needed. */
.hero-title-num {
	font-size: 1em;
}
.hero-lede {
	color: var(--text);
	font-size: clamp(0.95rem, 2.4vw, 1.15rem);
	max-width: 46ch; margin-inline: auto;
}
.hero-actions {
	margin-top: 34px;
	display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ── Sections ──────────────────────────────── */
.section { padding: clamp(72px, 11vw, 130px) 0; }
.section-head { margin-bottom: clamp(34px, 6vw, 60px); }

.about { background: var(--black-2); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-text { text-align: center; }
.about-text .eyebrow { display: block; }
.about-text p { color: var(--text); max-width: 62ch; margin-inline: auto; }
.about-sub { font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--gold-light); margin-bottom: 10px; }
.about .gold-rule { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.about-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ── Collections divider (video/poster banner) ───────────── */
.divider-banner {
	position: relative;
	height: clamp(280px, 46vw, 560px);
	overflow: hidden;
	border-block: 1px solid var(--line);
	background: var(--black-2);
}
.divider-video, .divider-image {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; object-position: center;
}
.divider-veil {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(5,5,5,0.35) 0%, rgba(5,5,5,0.08) 30%, rgba(5,5,5,0.45) 100%);
	pointer-events: none;
}
.divider-banner--empty {
	display: flex; align-items: center; justify-content: center;
	background:
		radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.10), transparent 60%),
		repeating-linear-gradient(135deg, rgba(212,175,55,0.05) 0 2px, transparent 2px 18px),
		var(--black-2);
}
.divider-placeholder {
	position: relative; z-index: 1;
	text-align: center;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	padding: clamp(28px, 5vw, 46px) clamp(30px, 6vw, 64px);
}
.divider-placeholder-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px;
	border: 1px solid var(--gold);
	border-radius: 50%;
	color: var(--gold);
	font-size: 1.1rem;
	margin-bottom: 16px;
}
.divider-placeholder-text {
	font-family: var(--serif); color: var(--gold-light);
	font-size: 1.15rem; margin-bottom: 6px;
}
.divider-placeholder-hint {
	font-size: 0.76rem; letter-spacing: 0.06em; color: var(--muted);
}
@media (max-width: 700px) {
	.divider-banner { height: 320px; }
	.divider-placeholder { padding: 24px 22px; margin-inline: 20px; }
}

/* ── Collections / cards ───────────────────── */
.collection-alt { background: var(--black-2); border-block: 1px solid var(--line); }
.grid { display: grid; gap: clamp(16px, 2.6vw, 28px); }
.grid-week      { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-signature { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.card {
	background: var(--black-3);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card:hover {
	transform: translateY(-5px);
	border-color: var(--gold);
	box-shadow: var(--shadow);
}
.card-media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--black-2);
}
.card-media img {
	width: 100%; height: 100%;
	object-fit: cover; object-position: center 32%;
	transition: transform 0.6s ease;
}
.card:hover .card-media img { transform: scale(1.045); }
.card-size {
	position: absolute; top: 12px; right: 12px;
	font-size: 0.66rem; letter-spacing: 0.18em;
	padding: 5px 12px; border-radius: 999px;
	background: rgba(5, 5, 5, 0.72); color: var(--gold-light);
	border: 1px solid var(--line);
	backdrop-filter: blur(4px);
}
.card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-name {
	font-size: 1.3rem; color: var(--ivory);
	display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.card-name-ar { font-size: 0.9rem; color: var(--muted); font-family: var(--sans); font-weight: 300; }
.card-tagline {
	font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--gold);
}
.card-desc { font-size: 0.92rem; color: var(--text); opacity: 0.85; }
.card-spec {
	font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--muted);
}
.card-spec .sep { color: var(--gold); padding-inline: 8px; }
.card-note { font-size: 0.8rem; color: var(--muted); font-style: italic; }
.card-cta { margin-top: auto; align-self: stretch; }

/* ── Contact ───────────────────────────────── */
.contact-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: clamp(18px, 3vw, 32px);
}
.contact-block {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 24px;
	background: linear-gradient(180deg, rgba(212, 175, 55, 0.06), transparent);
}
.contact-label {
	font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
	color: var(--gold); margin-bottom: 14px;
	font-family: var(--sans); font-weight: 500;
}
.contact-list li { display: flex; justify-content: space-between; gap: 14px; padding-block: 7px; border-bottom: 1px solid rgba(212,175,55,0.14); }
.contact-list li:last-child { border-bottom: none; }
.contact-country { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-list a:hover, .contact-mail:hover { color: var(--gold-light); }
.contact-mail { font-size: 1.02rem; }
.socials { display: flex; gap: 12px; }
.socials a {
	border: 1px solid var(--line); border-radius: 999px;
	padding: 9px 20px;
	font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
	transition: border-color 0.3s ease, background 0.3s ease;
}
.socials a:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.1); }

/* ── Footer ────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 34px; background: var(--black); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: center; }
.footer-nav a {
	font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--muted); transition: color 0.3s ease;
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-line { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.footer-copy { font-size: 0.78rem; color: var(--muted); }

/* ── Reveal on scroll ──────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Accessibility floor ───────────────────── */
a:focus-visible, button:focus-visible {
	outline: 2px solid var(--gold); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
	.reveal { opacity: 1; transform: none; }
}

/* ── Mobile ────────────────────────────────── */
@media (max-width: 860px) {
	.nav-toggle { display: flex; }
	.site-nav {
		position: fixed;
		top: calc(var(--marquee-h) + var(--header-h));
		left: 0; right: 0;
		flex-direction: column; gap: 0;
		background: rgba(5, 5, 5, 0.97);
		backdrop-filter: blur(14px);
		border-bottom: 1px solid var(--line);
		padding: 10px 24px 18px;
		transform: translateY(-12px);
		opacity: 0; pointer-events: none;
		transition: opacity 0.3s ease, transform 0.3s ease;
	}
	.site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
	.nav-link { padding: 13px 4px; font-size: 0.82rem; border-bottom: 1px solid rgba(212,175,55,0.12); }
	.nav-link.is-active { border-bottom-color: var(--gold); }

	.grid-week, .grid-signature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
	.card-body { padding: 14px 12px 18px; }
	.card-name { font-size: 1.05rem; flex-direction: column; align-items: flex-start; gap: 2px; }
	.card-desc { font-size: 0.85rem; }
	.btn { min-height: 46px; padding: 0 22px; font-size: 0.7rem; }

	.about-grid { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.hero-actions { flex-direction: column; align-items: stretch; width: min(320px, 100%); margin-inline: auto; }
}

@media (max-width: 420px) {
	.grid-week, .grid-signature { grid-template-columns: 1fr; }
}
