/* ═══════════════════════════════════════════════════════════
   NOTRE HISTOIRE — Dark luxury · cinematic scroll
   ═══════════════════════════════════════════════════════════ */

:root {
	--nh-bg:        #0a0a0a;
	--nh-bg2:       #0f0f0f;
	--nh-gold:      #c9a96e;
	--nh-gold-lite: #e8c98a;
	--nh-white:     #f5f0ea;
	--nh-muted:     #6a6460;
	--nh-border:    rgba(201,169,110,0.14);
	--nh-serif:     'Cormorant Garamond', 'Georgia', serif;
	--nh-sans:      'Montserrat', 'Helvetica Neue', sans-serif;
	--nh-ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── BASE ─────────────────────────────────────────────────── */
.nh-root *, .nh-root *::before, .nh-root *::after { box-sizing: border-box; margin: 0; padding: 0; }
.nh-root {
	background: var(--nh-bg);
	color: var(--nh-white);
	font-family: var(--nh-sans);
	font-size: 15px;
	line-height: 1.7;
	overflow: visible;
}

/* ── SCROLL PROGRESS LINE ─────────────────────────────────── */
.nh-progress {
	position: fixed;
	top: 0; left: 0;
	height: 2px;
	width: 0%;
	background: linear-gradient(90deg, var(--nh-gold), var(--nh-gold-lite));
	z-index: 9999;
	transition: width 0.1s linear;
	pointer-events: none;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.nh-root h2 {
	font-family: var(--nh-serif);
	font-size: clamp(2.2rem, 4.5vw, 3.8rem);
	font-weight: 400;
	line-height: 1.1;
	color: var(--nh-white);
}
.nh-overline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--nh-gold);
	margin-bottom: 1.2rem;
}
.nh-overline::before {
	content: '';
	display: inline-block;
	width: 28px;
	height: 1px;
	background: var(--nh-gold);
	flex-shrink: 0;
}
.nh-text {
	color: rgba(245,240,234,0.65);
	font-size: 0.93rem;
	line-height: 1.9;
}

/* ── FADE-UP (simple IO reveal) ───────────────────────────── */
.nh-fade-up {
	opacity: 0;
	transform: translateY(36px);
	transition: opacity 0.9s var(--nh-ease), transform 0.9s var(--nh-ease);
}
.nh-fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* ── SPLIT HEADING (word-by-word reveal via JS) ───────────── */
.nh-split-heading {
	overflow: hidden;
	margin: 0.6rem 0 1.4rem;
}
.nh-split-heading .word {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
	margin-right: 0.25em;
}
.nh-split-heading .word span {
	display: inline-block;
	transform: translateY(110%);
	transition: transform 0.75s var(--nh-ease);
}
.is-visible .nh-split-heading .word span { transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   STICKY CINEMATIC SECTIONS
   ═══════════════════════════════════════════════════════════ */
.nh-sticky-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 100vh;
	position: relative;
}
.nh-sticky-wrap--flip { direction: rtl; }
.nh-sticky-wrap--flip > * { direction: ltr; }

/* Sticky image panel */
.nh-sticky-img {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow: hidden;
}
.nh-sticky-img img {
	width: 100%;
	height: 110%;
	object-fit: cover;
	display: block;
	will-change: transform;
	transition: filter 1.2s ease;
	filter: brightness(0.75) saturate(0.8);
}
.nh-sticky-img__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(10,10,10,0.55) 0%, transparent 60%);
	pointer-events: none;
}
.nh-sticky-wrap--flip .nh-sticky-img__veil {
	background: linear-gradient(to left, rgba(10,10,10,0.55) 0%, transparent 60%);
}
.nh-sticky-img__grain {
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
	pointer-events: none;
	opacity: 0.4;
}

/* Stories panel */
.nh-sticky-stories {
	display: flex;
	flex-direction: column;
}
.nh-story {
	min-height: 100vh;
	display: flex;
	align-items: center;
}
.nh-story__inner {
	padding: clamp(60px, 8vw, 100px) clamp(32px, 5vw, 72px);
	max-width: 820px;
}
.nh-story__inner--quote {
	display: flex;
	align-items: center;
}

/* Big quote — glass card */
.nh-big-quote {
	position: relative;
	background: rgba(255,255,255,0.04);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	border: 1px solid rgba(201,169,110,0.18);
	border-radius: 4px;
	padding: clamp(2rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3rem);
	box-shadow:
		0 8px 40px rgba(0,0,0,0.45),
		inset 0 1px 0 rgba(255,255,255,0.07);
}
.nh-big-quote::before {
	content: '\201C';
	position: absolute;
	top: -0.55em;
	left: 1.8rem;
	font-family: var(--nh-serif);
	font-size: 5rem;
	line-height: 1;
	color: var(--nh-gold);
	opacity: 0.55;
	pointer-events: none;
}
.nh-big-quote p {
	font-family: var(--nh-serif);
	font-size: clamp(1.3rem, 2.2vw, 1.85rem);
	font-style: italic;
	line-height: 1.6;
	color: var(--nh-white);
}
.nh-big-quote__attr {
	display: block;
	margin-top: 1.4rem;
	font-family: var(--nh-sans);
	font-size: 0.6rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--nh-gold);
	opacity: 0.7;
}


/* ═══════════════════════════════════════════════════════════
   VALUES — HORIZONTAL SCROLL CARDS
   ═══════════════════════════════════════════════════════════ */
.nh-values-section {
	padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px);
	background: var(--nh-bg);
}
.nh-values-header {
	max-width: 100%;
	margin-bottom: 3rem;
}
.nh-values-header__text {
	max-width: 700px;
	margin-bottom: 3rem;
}
.nh-values-header__text h2 {
	margin-top: 0.6rem;
}

.nh-vgrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	border: 1px solid var(--nh-border);
}

/* individual card */
.nh-vcard {
	position: relative;
	background: var(--nh-bg2);
	padding: 2.8rem 2.2rem 2.4rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 0;
	transition: background 0.5s ease;
}

/* gold top bar — grows in on hover */
.nh-vcard::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--nh-gold), var(--nh-gold-lite));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.55s var(--nh-ease);
}
.nh-vcard:hover::before { transform: scaleX(1); }
.nh-vcard:hover { background: #121212; }

/* subtle radial glow on hover */
.nh-vcard::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 30% 0%, rgba(201,169,110,0.07) 0%, transparent 65%);
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}
.nh-vcard:hover::after { opacity: 1; }

.nh-vcard__icon {
	font-size: 1.6rem;
	line-height: 1;
	margin-bottom: 2rem;
	transition: transform 0.5s var(--nh-ease);
}
.nh-vcard__icon i,
.nh-vcard__icon i::before,
.nh-vcard__icon svg {
	color: var(--nh-gold) !important;
	fill: var(--nh-gold) !important;
	width: 1.6rem;
	height: 1.6rem;
	display: block;
	opacity: 0.55;
	transition: opacity 0.4s ease;
}
.nh-vcard:hover .nh-vcard__icon { transform: translateY(-3px); }
.nh-vcard:hover .nh-vcard__icon i,
.nh-vcard:hover .nh-vcard__icon i::before,
.nh-vcard:hover .nh-vcard__icon svg { opacity: 1; }

.nh-vcard__title {
	font-family: var(--nh-serif);
	font-size: clamp(1.35rem, 1.8vw, 1.65rem);
	font-weight: 400;
	color: var(--nh-white);
	line-height: 1.25;
	margin-bottom: 1.1rem;
	transition: color 0.35s ease;
}
.nh-vcard:hover .nh-vcard__title { color: var(--nh-gold-lite); }

.nh-vcard__line {
	width: 24px;
	height: 1px;
	background: var(--nh-gold);
	opacity: 0.4;
	margin-bottom: 1.1rem;
	transition: width 0.4s var(--nh-ease), opacity 0.4s ease;
}
.nh-vcard:hover .nh-vcard__line { width: 40px; opacity: 0.8; }

.nh-vcard__text {
	font-size: 0.83rem;
	line-height: 1.85;
	color: rgba(245,240,234,0.45);
	transition: color 0.4s ease;
}
.nh-vcard:hover .nh-vcard__text { color: rgba(245,240,234,0.7); }

/* number badge bottom-right */
.nh-vcard__corner {
	position: absolute;
	bottom: 1.6rem;
	right: 1.8rem;
	font-family: var(--nh-serif);
	font-size: 3.5rem;
	font-weight: 300;
	line-height: 1;
	color: var(--nh-gold);
	opacity: 0.05;
	transition: opacity 0.5s ease;
	pointer-events: none;
	user-select: none;
}
.nh-vcard:hover .nh-vcard__corner { opacity: 0.1; }


/* ═══════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════ */
.nh-cta {
	position: relative;
	text-align: center;
	padding: clamp(100px, 14vw, 180px) clamp(24px, 5vw, 80px);
	overflow: hidden;
	background: var(--nh-bg2);
}
.nh-cta__noise {
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
	pointer-events: none;
}
.nh-cta__glow {
	position: absolute;
	width: 600px; height: 600px;
	left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	background: radial-gradient(ellipse, rgba(201,169,110,0.1) 0%, transparent 70%);
	pointer-events: none;
	animation: nh-glow-pulse 4s ease-in-out infinite;
}
@keyframes nh-glow-pulse {
	0%, 100% { transform: translate(-50%,-50%) scale(1);   opacity: 1; }
	50%       { transform: translate(-50%,-50%) scale(1.2); opacity: 0.6; }
}
.nh-cta__content {
	position: relative;
	z-index: 1;
	max-width: 700px;
	margin: 0 auto;
}
.nh-cta__content h2 {
	margin-bottom: 1rem;
	font-size: clamp(2.2rem, 5vw, 4rem);
}
.nh-cta__content p {
	color: rgba(245,240,234,0.55);
	font-size: 0.95rem;
	margin-bottom: 3rem;
}

/* Magnetic button */
.nh-magnetic-wrap { display: inline-block; }
.nh-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	padding: 18px 48px;
	border: 1px solid var(--nh-gold);
	color: var(--nh-gold);
	font-family: var(--nh-sans);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	transition: color 0.4s ease, box-shadow 0.4s ease;
}
.nh-cta-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--nh-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--nh-ease);
}
.nh-cta-btn:hover::before { transform: scaleX(1); }
.nh-cta-btn:hover {
	color: var(--nh-bg);
	box-shadow: 0 0 40px rgba(201,169,110,0.25);
}
.nh-cta-btn__text { position: relative; z-index: 1; }
.nh-cta-btn__arrow {
	position: relative;
	z-index: 1;
	width: 30px;
	height: auto;
	transition: transform 0.35s ease;
}
.nh-cta-btn:hover .nh-cta-btn__arrow { transform: translateX(8px); }
.nh-cta-btn__ripple {
	position: absolute;
	border-radius: 50%;
	background: rgba(201,169,110,0.3);
	transform: scale(0);
	pointer-events: none;
	animation: none;
}
.nh-cta-btn__ripple.ripple-go {
	animation: nh-ripple 0.7s linear forwards;
}
@keyframes nh-ripple {
	to { transform: scale(4); opacity: 0; }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
	.nh-sticky-wrap,
	.nh-sticky-wrap--flip { grid-template-columns: 1fr; direction: ltr; }

	.nh-sticky-img {
		position: relative;
		height: 55vw;
		min-height: 280px;
	}
	.nh-sticky-img img { height: 100%; }
	.nh-sticky-img__veil {
		background: linear-gradient(to bottom, transparent, rgba(10,10,10,0.6)) !important;
	}
	.nh-sticky-stories { order: 1; }
	.nh-story { min-height: auto; }
	.nh-story__inner { padding: 48px 24px; max-width: 100%; }
	.nh-vgrid { grid-template-columns: repeat(2, 1fr); }
	.nh-vcard { height: 360px; }
}
@media (max-width: 560px) {
	.nh-vgrid { grid-template-columns: 1fr; }
	.nh-vcard { height: 300px; }
}
