/* ===========================================================================
   OG SCENTS — main.css
   Paper-white editorial. Fraunces × Inter Tight. Roman numeral chapters.
   No gold, no terracotta, no glass, no neon.
   =========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--paper:   #FCFBF8;        /* base background, warm white */
	--paper-2: #F5F2EC;        /* secondary surface, bone */
	--ink:     #0F0E0C;        /* near-black, warm */
	--ink-2:   #2A2723;        /* secondary text */
	--ash:     #6B665E;        /* muted warm gray */
	--haze:    #E8E4DC;        /* hairline dividers */
	--blush:   #D4C4B6;        /* the ONE warm-beige used as a hairline accent */
	--rule:    rgba(15, 14, 12, 0.12);

	--ff-display: "Fraunces", "Times New Roman", serif;
	--ff-body:    "Inter Tight", "Helvetica Neue", Arial, sans-serif;

	--max:    1480px;
	--gutter: clamp(20px, 4vw, 56px);

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

/* ---------- Reset (light) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
	margin: 0;
	font-family: var(--ff-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-display); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; }

/* paper grain — extremely subtle */
.ogs-grain {
	position: fixed; inset: 0; z-index: 1; pointer-events: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.07  0 0 0 0 0.06  0 0 0 0 0.05  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	opacity: 0.55;
	mix-blend-mode: multiply;
}

.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; }

/* ===========================================================================
   Curtain (page-load reveal)
   =========================================================================== */
/* ===========================================================================
   Curtain (page-load reveal — logo construction)
   Mirrors the real header logo's structure (OG / rule / Scents) at a
   larger scale, rather than a generic loading word. Each piece starts
   in a hidden state for JS to animate in sequence: the O and G mask-
   wipe up letter by letter, the rule draws left-to-right, "Scents"
   resolves in italic after — same order your eye reads the real header
   logo, just slowed down into a moment instead of being instant.
   =========================================================================== */
.ogs-curtain {
	position: fixed; inset: 0; z-index: 9999; pointer-events: none;
	display: grid; place-items: center;
}
.ogs-curtain__panel {
	position: absolute; inset: 0; background: var(--paper);
	transform-origin: top center;
}
.ogs-curtain__mark {
	position: relative; z-index: 2;
	display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 22px);
	font-family: var(--ff-display);
	font-size: clamp(32px, 6vw, 64px);
	letter-spacing: -0.01em;
	color: var(--ink);
}
.ogs-curtain__og {
	display: inline-flex;
	font-weight: 500;
	overflow: hidden; /* clips each .ch for the mask-wipe */
}
.ogs-curtain__og .ch {
	display: inline-block;
	transform: translateY(110%);
	will-change: transform;
}
.ogs-curtain__rule {
	display: inline-block;
	width: clamp(28px, 4vw, 48px);
	height: 1px;
	background: var(--ink);
	transform: scaleX(0);
	transform-origin: left center;
	will-change: transform;
}
.ogs-curtain__scents {
	display: inline-block;
	font-style: italic; font-weight: 400;
	opacity: 0;
	transform: translateY(10px);
	will-change: transform, opacity;
}
body.is-loaded .ogs-curtain { pointer-events: none; }

/* Safety net: if JS never runs revealCurtain() for any reason (a script
   failed to load, a CDN is down, etc.), this animation forcibly hides
   the whole curtain after a few seconds regardless. Without this, a
   JS failure would leave the entire page permanently covered by an
   inert curtain — worse than just losing the animation. JS-driven
   reveal still runs first and normally finishes well before this. */
@keyframes ogs-curtain-failsafe {
	from { opacity: 1; visibility: visible; }
	to   { opacity: 0; visibility: hidden; }
}
.ogs-curtain {
	animation: ogs-curtain-failsafe 0.4s 4.5s forwards;
}

/* ===========================================================================
   Cursor
   =========================================================================== */
.ogs-cursor { position: fixed; top: 0; left: 0; z-index: 9000; pointer-events: none; mix-blend-mode: difference; }
.ogs-cursor__dot, .ogs-cursor__ring {
	position: absolute; left: 0; top: 0;
	border-radius: 50%; transform: translate3d(-50%, -50%, 0);
}
.ogs-cursor__dot  { width: 6px;  height: 6px;  background: #fff; }
.ogs-cursor__ring { width: 38px; height: 38px; border: 1px solid #fff; opacity: 0.5; transition: width .25s var(--ease), height .25s var(--ease), opacity .2s; }
.ogs-cursor__label {
	position: absolute; left: 22px; top: 14px;
	font-family: var(--ff-body); font-size: 11px; color: #fff;
	text-transform: uppercase; letter-spacing: 0.14em;
	white-space: nowrap; opacity: 0;
}
.ogs-cursor.is-hover .ogs-cursor__ring { width: 70px; height: 70px; opacity: 1; }
.ogs-cursor.is-hover .ogs-cursor__label { opacity: 1; }
@media (hover: none) { .ogs-cursor { display: none; } }

/* ---------- Scent mist trail (sprays as the cursor moves) ----------
   Colorful on purpose: a warm rose-gold core fading through blush to
   transparent. The old version started from near-white, which all but
   disappeared against the paper-white page background — color needs
   to read immediately at the center, not just at the fading edge. */
.ogs-mist-layer {
	position: fixed; inset: 0; z-index: 8999;
	pointer-events: none; overflow: hidden;
	mix-blend-mode: normal;
}
.ogs-mist-drop {
	position: absolute; left: 0; top: 0;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, rgba(232,120,142,0.95), rgba(212,99,140,0.75) 45%, rgba(196,108,180,0.4) 70%, rgba(196,108,180,0) 85%);
	will-change: transform, opacity;
	transform: translate3d(-50%, -50%, 0);
}
@media (hover: none) { .ogs-mist-layer { display: none; } }

/* ===========================================================================
   Header
   =========================================================================== */
.ogs-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	padding: 18px var(--gutter) 14px;
	background: rgba(252, 251, 248, 0);
	transition: background .35s var(--ease), padding .35s var(--ease);
}
.ogs-header.is-stuck { background: rgba(252, 251, 248, 0.92); backdrop-filter: blur(8px); padding: 12px var(--gutter); }
.ogs-header__inner {
	max-width: var(--max); margin: 0 auto;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.ogs-header__rule {
	max-width: var(--max); margin: 14px auto 0;
	border-top: 1px solid var(--rule);
	opacity: 0; transition: opacity .35s var(--ease);
}
.ogs-header.is-stuck .ogs-header__rule { opacity: 1; }

.ogs-logo {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--ff-display); font-size: 20px;
	letter-spacing: -0.01em;
}
.ogs-logo__og { font-weight: 500; }
.ogs-logo__rule { width: 18px; height: 1px; background: var(--ink); }
.ogs-logo__scents { font-style: italic; font-weight: 400; }

.ogs-nav__list { display: flex; gap: clamp(18px, 3vw, 40px); justify-content: center; }
.ogs-nav__list a, .ogs-nav__list li > a {
	font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em;
	position: relative; padding: 4px 0;
}
.ogs-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: var(--ink); transform: scaleX(0); transform-origin: right center;
	transition: transform .35s var(--ease);
}
.ogs-nav__list a:hover::after { transform: scaleX(1); transform-origin: left center; }

.ogs-utility { display: flex; gap: 18px; justify-content: flex-end; align-items: center; }
.ogs-search-toggle { padding: 6px; }
.ogs-cart {
	display: inline-flex; gap: 10px; align-items: center;
	font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em;
}
.ogs-cart-count {
	min-width: 18px; height: 18px; padding: 0 5px;
	display: inline-grid; place-items: center;
	font-family: var(--ff-body); font-size: 11px;
	border: 1px solid var(--ink); border-radius: 9999px;
}

/* Mobile hamburger — hidden on desktop */
.ogs-nav-toggle {
	display: none;
	width: 30px; height: 22px; padding: 0;
	position: relative; flex-direction: column; justify-content: space-between;
}
.ogs-nav-toggle span {
	display: block; width: 100%; height: 1px; background: var(--ink);
	transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.ogs-nav-toggle.is-open span:first-child { transform: translateY(10px) rotate(45deg); }
.ogs-nav-toggle.is-open span:last-child  { transform: translateY(-11px) rotate(-45deg); }

@media (max-width: 860px) {
	.ogs-header__inner { grid-template-columns: auto 1fr auto; gap: 14px; }
	.ogs-nav-toggle { display: flex; order: 1; }
	.ogs-logo { order: 0; }
	.ogs-utility { order: 2; }

	.ogs-nav {
		position: fixed; inset: 0; top: 0; left: 0;
		width: 100%; height: 100vh;
		background: var(--paper);
		display: flex; align-items: center; justify-content: center;
		opacity: 0; visibility: hidden; pointer-events: none;
		transform: translateY(-8px);
		transition: opacity .4s var(--ease), visibility .4s, transform .4s var(--ease);
		z-index: 95;
	}
	.ogs-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
	.ogs-nav__list {
		flex-direction: column; align-items: center; gap: 28px;
	}
	.ogs-nav__list a, .ogs-nav__list li > a { font-size: clamp(22px, 5vw, 32px); font-family: var(--ff-display); font-style: italic; letter-spacing: -0.01em; text-transform: none; }
	.ogs-cart span:first-child { display: none; }
}

/* Search overlay */
.ogs-search-overlay {
	position: fixed; inset: 0; z-index: 200; background: var(--paper);
	display: grid; place-items: center;
	opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.ogs-search-overlay.is-open { opacity: 1; pointer-events: all; }
.ogs-search-overlay__close {
	position: absolute; top: 24px; right: 24px;
	font-size: 32px; line-height: 1; padding: 8px 16px;
}
.ogs-search-form { width: min(800px, 90vw); display: flex; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.ogs-search-form input {
	flex: 1; border: 0; background: transparent;
	font-family: var(--ff-display); font-size: clamp(24px, 4vw, 48px);
	color: var(--ink); outline: none;
}
.ogs-search-form input::placeholder { color: var(--ash); font-style: italic; }
.ogs-search-form button { font-size: 28px; }

/* ===========================================================================
   Generic chapter marker
   =========================================================================== */
.ogs-chapter {
	display: inline-flex; align-items: center; gap: 14px;
	font-family: var(--ff-body); font-size: 12px;
	text-transform: uppercase; letter-spacing: 0.18em; color: var(--ash);
}
.ogs-chapter__num {
	font-family: var(--ff-display); font-style: italic; font-size: 14px;
	color: var(--ink); letter-spacing: 0.06em;
}
.ogs-chapter__rule { width: 56px; height: 1px; background: var(--blush); }
.ogs-chapter__label { color: var(--ash); }

/* ===========================================================================
   Section base
   =========================================================================== */
.ogs-main { position: relative; z-index: 2; }
.ogs-section {
	position: relative;
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(120px, 18vh, 220px) var(--gutter);
}
.ogs-section + .ogs-section { border-top: 1px solid var(--rule); }

@media (max-width: 600px) {
	.ogs-section { padding: 88px var(--gutter) 80px; }
}


/* ===========================================================================
   I — The Reveal
   White paper stage (matches --paper, not a separate pure-white) — one
   signature moment: the bottle settles in, then sprays once on load.
   The mist is a canvas overlay positioned over the nozzle area only,
   not a full-hero effect, so it reads as something the bottle is doing
   rather than ambient background motion.
   =========================================================================== */
.ogs-reveal {
	position: relative;
	min-height: 100vh;
	background: var(--paper); /* fallback: shown before video loads, or permanently if it fails/is blocked */
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(110px, 14vh, 170px) var(--gutter) clamp(60px, 8vh, 96px);
	overflow: hidden;
}

/* Full-bleed video, behind every other hero layer. Explicit z-index:0
   here, and explicit z-index on every content layer below — this used
   to rely on plain DOM order (fine when nothing else was absolutely
   positioned), but introducing this layer means stacking needs to be
   explicit, not assumed. */
.ogs-reveal__video-mount {
	position: absolute; inset: 0;
	z-index: 0;
	overflow: hidden;
}
.ogs-reveal__video {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.ogs-reveal__video-tint {
	position: absolute; inset: 0;
	/* soft white tint so the paper-stage feel survives over the video —
	   text/bottle still read clearly regardless of what's playing */
	background: linear-gradient(
		180deg,
		rgba(252,251,248,0.82) 0%,
		rgba(252,251,248,0.55) 35%,
		rgba(252,251,248,0.6) 70%,
		rgba(252,251,248,0.85) 100%
	);
}

/* .ogs-grain is sitewide (position: fixed, defined near the top of this
   file) and already sits above this section's background — no override
   needed here. */

.ogs-reveal__overline {
	position: relative; z-index: 2;
	align-self: flex-start;
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--ff-body); font-size: 12px;
	text-transform: uppercase; letter-spacing: 0.22em; color: var(--ash);
	margin-bottom: clamp(20px, 4vh, 48px);
}
.ogs-reveal__overline .dot { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; }

.ogs-reveal__stage {
	position: relative;
	z-index: 2;
	display: grid; place-items: center;
	width: 100%;
	max-width: 520px;
	min-height: 38vh;
}
.ogs-reveal__stencil{
	position:absolute;
	inset:0;

	width:100%;
	height:100%;

	z-index:5;

	pointer-events:none;
}


.ogs-reveal__bottle{

	opacity:0;

	filter:blur(20px);

	transition:

	opacity 1.4s,

	filter 1.4s;
}

.ogs-reveal__spray {
	position: absolute;
	left: 50%; top: 8%;
	width: 220px; height: 220px;
	margin-left: -110px;
	pointer-events: none;
	z-index: 2;
}

.ogs-reveal__bottle {
	position: relative;
	z-index: 1;
	width: clamp(180px, 20vw, 320px);
	margin: 0;
	display: flex; flex-direction: column; align-items: center;
	opacity: 0;
	transform: translateY(24px) scale(0.96);
}
.ogs-reveal__bottle-link { display: block; }
.ogs-reveal__bottle-img { width: 100%; height: auto; object-fit: contain; aspect-ratio: 3/4; }

.ogs-reveal__bottle-shadow {
	position: absolute;
	bottom: -4%; left: 50%;
	width: 68%; height: 12%;
	transform: translateX(-50%);
	background: radial-gradient(ellipse at center, rgba(15,14,12,0.16) 0%, rgba(15,14,12,0) 75%);
	pointer-events: none;
}

.ogs-reveal__headline {
	position: relative; z-index: 2;
	margin-top: clamp(24px, 4vh, 48px);
	font-size: clamp(40px, 7vw, 104px);
	line-height: 0.98;
	letter-spacing: -0.04em;
	font-weight: 300;
	text-align: center;
	color: var(--ink);
}
.ogs-reveal__headline .word { display: inline-block; white-space: nowrap; }
.ogs-reveal__headline .word-sp { display: inline-block; width: 0.3em; }
.ogs-reveal__headline .ch {
	display: inline-block;
	will-change: transform, opacity;
}
.ogs-reveal__headline .word:nth-child(2) { font-style: italic; }

.ogs-reveal__cap {
	position: relative; z-index: 2;
	margin-top: clamp(16px, 2.5vh, 28px);
	display: inline-flex; align-items: center; gap: 14px;
	font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
	color: var(--ash);
	transition: color .3s var(--ease);
}
.ogs-reveal__cap .line { width: 40px; height: 1px; background: var(--blush); }
.ogs-reveal__cap:hover { color: var(--ink); }

.ogs-reveal__foot {
	position: relative; z-index: 2;
	margin-top: clamp(36px, 6vh, 64px);
	width: 100%;
	max-width: var(--max);
	display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end;
}
.ogs-reveal__sub {
	max-width: 460px;
	font-family: var(--ff-display); font-size: clamp(15px, 1.3vw, 18px);
	line-height: 1.55; color: var(--ink-2);
}
.ogs-reveal__scroll {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ash);
}
.ogs-reveal__scroll .arrow { animation: ogs-bob 1.8s var(--ease) infinite; display: inline-block; }

@media (max-width: 768px) {
	.ogs-reveal { padding-top: 110px; }
	.ogs-reveal__headline { font-size: clamp(34px, 11vw, 56px); }
	.ogs-reveal__foot { grid-template-columns: 1fr; gap: 16px; }
	.ogs-reveal__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ogs-reveal__spray { display: none; }
	.ogs-reveal__bottle { opacity: 1 !important; transform: none !important; }
}

.ogs-reveal__hint{
position:absolute;
left:50%;
bottom:-45px;

transform:translateX(-50%);

font-size:12px;

letter-spacing:.18em;

text-transform:uppercase;

color:rgba(0,0,0,.45);

z-index:20;

pointer-events:none;
}


.ogs-reveal__bottle{

opacity:0;

filter:blur(16px);

transition:

1.6s ease;
}


.ogs-reveal__stencil{

position:absolute;

inset:0;

pointer-events:none;

z-index:10;
}

.ogs-reveal__bottle{

opacity:0;

filter:blur(12px);

}


.ogs-reveal__hint{

position:absolute;

bottom:-48px;

left:50%;

transform:translateX(-50%);

font-size:11px;

letter-spacing:.22em;

text-transform:uppercase;

color:rgba(0,0,0,.45);

pointer-events:none;

z-index:50;

}

/* ===========================================================================
   II — Memory
   Body lines reveal via a mask-wipe (overflow:hidden wrapper + inner
   span translateY), driven per-line by ScrollTrigger rather than one
   blanket fade for the whole block. The plate is two stacked images —
   a back layer at lower depth/opacity, a front layer that tilts toward
   the cursor on hover (real perspective, not a drop-shadow trick).
   =========================================================================== */
.ogs-memory { padding-top: clamp(180px, 24vh, 320px); padding-bottom: clamp(180px, 24vh, 320px); }
.ogs-memory__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	grid-template-areas:
		"head head"
		"col plate";
	gap: 64px 80px;
	margin-top: 64px;
}
.ogs-memory__head {
	grid-area: head;
	font-size: clamp(64px, 10vw, 160px);
	line-height: 0.95;
	letter-spacing: -0.03em;
	font-weight: 300;
}
.ogs-memory__head em { font-style: italic; }

.ogs-memory__col { grid-area: col; max-width: 540px; display: flex; flex-direction: column; gap: 36px; }

.ogs-memory__pull {
	font-family: var(--ff-display);
	font-style: italic;
	font-size: clamp(22px, 2.4vw, 32px);
	line-height: 1.35;
	color: var(--ink);
	will-change: opacity, transform;
}

.ogs-memory__rule { width: 100%; height: 1px; background: var(--rule); }

.ogs-memory__body { display: flex; flex-direction: column; gap: 4px; }
.ogs-memory__body p {
	position: relative;
	font-family: var(--ff-body);
	font-size: clamp(15px, 1.1vw, 17px);
	line-height: 1.6;
	margin: 0;
	padding: 14px 0 14px 40px;
	color: var(--ink-2);
	border-top: 1px solid var(--rule);
}
.ogs-memory__body p:first-child { border-top: none; }
.ogs-memory__mark {
	position: absolute; left: 0; top: 14px;
	font-size: 11px; letter-spacing: 0.12em; color: var(--ash);
	font-family: var(--ff-body);
	opacity: 0;
	transform: translateY(8px);
	will-change: opacity, transform;
}

/* mask-wipe: outer clips, inner carries the actual reveal motion */
.ogs-memory__line-mask {
	display: block;
	overflow: hidden;
}
.ogs-memory__line-text {
	display: block;
	transform: translateY(105%);
	will-change: transform;
}

.ogs-memory__plate {
	grid-area: plate;
	position: relative;
	align-self: start;
	perspective: 1400px;
}
.ogs-memory__plate-back {
	position: absolute;
	top: 8%; left: 10%;
	width: 78%;
	z-index: 1;
	opacity: 0.55;
	filter: saturate(0.85) brightness(1.02);
	transform: translateZ(-80px) scale(0.92);
	pointer-events: none;
}
.ogs-memory__plate-front {
	position: relative;
	display: block;
	z-index: 2;
	transform-style: preserve-3d;
	transform: rotateX(var(--plate-tilt-x, 0deg)) rotateY(var(--plate-tilt-y, 0deg));
	transition: transform .4s var(--ease-out);
	box-shadow: 0 30px 60px -30px rgba(15, 14, 12, 0.22);
}
.ogs-memory__plate-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.ogs-memory__plate-cap {
	margin-top: 14px;
	position: relative; z-index: 2;
	display: flex; justify-content: space-between; align-items: baseline;
	font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ash);
}
.ogs-memory__plate-cap strong { color: var(--ink); font-family: var(--ff-display); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }

@media (max-width: 900px) {
	.ogs-memory__grid {
		grid-template-columns: 1fr;
		grid-template-areas: "head" "plate" "col";
		gap: 40px;
	}
	.ogs-memory__col { max-width: none; }
	.ogs-memory__plate { perspective: none; }
	.ogs-memory__plate-back { display: none; }
	.ogs-memory__plate-front { transform: none !important; }
}

/* ===========================================================================
   III — Bestsellers (horizontal pin)
   =========================================================================== */
.ogs-bestsellers { padding: 0; max-width: none; overflow: hidden; }
.ogs-bestsellers > .ogs-chapter {
	position: absolute; top: 40px; left: var(--gutter); z-index: 3;
}
.ogs-bestsellers__pin {
	position: relative;
	height: 100vh;
	width: 100%;
	overflow: hidden;
}
.ogs-bestsellers__track {
	display: flex;
	gap: clamp(40px, 6vw, 96px);
	padding: 0 var(--gutter);
	height: 100%;
	align-items: center;
	will-change: transform;
	perspective: 1200px;
}
.ogs-bestsellers__track .panel { flex: 0 0 auto; }
.ogs-bestsellers__intro {
	width: clamp(360px, 36vw, 540px);
	display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.ogs-bestsellers__head {
	font-size: clamp(40px, 5vw, 80px);
	line-height: 1.02;
	letter-spacing: -0.025em;
	font-weight: 300;
}
.ogs-bestsellers__intro p {
	font-family: var(--ff-display); font-size: 20px; color: var(--ink-2); line-height: 1.45;
	max-width: 380px;
}
.ogs-bestsellers__count { font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ash); }
.ogs-bestsellers__now {
	display: block; margin-top: 4px;
	font-family: var(--ff-display); font-style: italic; font-size: 13px; color: var(--ink-2);
}
.ogs-bestsellers__now span { font-weight: 500; font-style: normal; }

.ogs-bestseller {
	width: clamp(280px, 28vw, 440px);
	display: grid; grid-template-rows: 1fr auto; gap: 16px;
	transform-style: preserve-3d;
	transform: rotateX(var(--card-tilt-x, 0deg)) rotateY(var(--card-tilt-y, 0deg));
	transition: transform .4s var(--ease-out);
}
.ogs-bestseller__media {
	display: block;
	aspect-ratio: 3/4;
	overflow: hidden;
	background: var(--paper-2);
	position: relative;
}
.ogs-bestseller__media img {
	width: 100%; height: 100%; object-fit: cover;
	will-change: transform;
	/* scale on hover is driven by JS (gsap.to) so it can compose cleanly
	   with the magnetic tilt above rather than fighting a CSS :hover rule
	   for the same transform */
}
.ogs-bestseller__meta { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.ogs-bestseller__n {
	font-family: var(--ff-display); font-style: italic; color: var(--ash);
	font-size: 14px;
}
.ogs-bestseller__meta h3 {
	font-size: clamp(20px, 1.6vw, 26px); flex: 1; font-weight: 400;
}
.ogs-bestseller__meta h3 em { font-style: italic; }
.ogs-bestseller__price { font-family: var(--ff-body); font-size: 13px; color: var(--ash); text-align: right; min-width: 80px; }

.ogs-bestsellers__outro {
	width: clamp(240px, 22vw, 360px);
	display: grid; place-items: center;
}
.ogs-bestsellers__all {
	font-family: var(--ff-display); font-style: italic;
	font-size: clamp(28px, 3.4vw, 56px);
	line-height: 1.05; text-align: center; padding: 28px 36px;
	border: 1px solid var(--rule);
	transition: background .3s var(--ease), color .3s var(--ease);
}
.ogs-bestsellers__all span { font-style: normal; }
.ogs-bestsellers__all:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 768px) {
	.ogs-bestsellers__pin { height: auto; }
	.ogs-bestsellers__track { flex-direction: column; gap: 60px; padding: 80px var(--gutter); }
	.ogs-bestsellers__intro, .ogs-bestseller, .ogs-bestsellers__outro { width: 100%; }
}

/* ===========================================================================
   IV — Mood
   =========================================================================== */
.ogs-mood { padding-top: clamp(120px, 18vh, 220px); padding-bottom: clamp(120px, 18vh, 220px); }
.ogs-mood__head { margin: 40px 0 56px; }
.ogs-mood__head h2 {
	font-size: clamp(40px, 5.5vw, 88px); font-weight: 300; letter-spacing: -0.025em; max-width: 900px;
}
.ogs-mood__inner { display: grid; grid-template-columns: 280px 1fr; gap: clamp(40px, 5vw, 80px); }
.ogs-mood__nav { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.ogs-mood__btn {
	position: relative;
	display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
	padding: 18px 0; text-align: left;
	border-bottom: 1px solid var(--rule);
	transition: padding .3s var(--ease), color .3s var(--ease);
}
.ogs-mood__btn-label {
	font-family: var(--ff-display);
	font-size: clamp(22px, 1.8vw, 30px); line-height: 1.1;
}
.ogs-mood__btn-sub {
	font-size: 12px; color: var(--ash); letter-spacing: 0.04em;
	opacity: 0; max-height: 0; overflow: hidden;
	transition: opacity .3s var(--ease), max-height .3s var(--ease), margin-top .3s var(--ease);
}
.ogs-mood__btn-track {
	position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px;
	background: transparent; overflow: hidden;
}
.ogs-mood__btn-progress {
	display: block; width: 100%; height: 100%;
	background: var(--ink); transform: scaleX(0); transform-origin: left center;
}
.ogs-mood__btn:hover { padding-left: 12px; }
.ogs-mood__btn.is-active { padding-left: 12px; }
.ogs-mood__btn.is-active .ogs-mood__btn-label { font-style: italic; }
.ogs-mood__btn.is-active .ogs-mood__btn-sub { opacity: 1; max-height: 40px; margin-top: 4px; }

.ogs-mood__stage { position: relative; min-height: 520px; }
.ogs-mood__panel {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	position: absolute; inset: 0;
	opacity: 0; pointer-events: none;
}
.ogs-mood__panel.is-active { opacity: 1; pointer-events: auto; position: relative; }
@media (max-width: 900px) {
	.ogs-mood__inner { grid-template-columns: 1fr; }
	.ogs-mood__nav { flex-direction: row; overflow-x: auto; gap: 28px; border: 0; padding-bottom: 12px; }
	.ogs-mood__btn { border: 0; padding: 6px 0; white-space: nowrap; }
	.ogs-mood__btn-sub { display: none; }
	.ogs-mood__panel { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ===========================================================================
   Product card (used in mood, shop entry, etc)
   =========================================================================== */
.ogs-card { display: grid; gap: 14px; }
.ogs-card__media {
	display: block; position: relative;
	aspect-ratio: 3/4; overflow: hidden;
	background: var(--paper-2);
}
.ogs-card__img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .8s var(--ease-out);
}
.ogs-card:hover .ogs-card__img { transform: scale(1.05); }
.ogs-card__noimg { display: block; aspect-ratio: 3/4; background: var(--paper-2); }
.ogs-card__meta { display: grid; gap: 6px; }
.ogs-card__title { font-family: var(--ff-display); font-size: 18px; font-weight: 400; line-height: 1.2; }
.ogs-card__title a:hover { font-style: italic; }
.ogs-card__sub { font-size: 13px; color: var(--ash); }
.ogs-card__foot {
	margin-top: 4px;
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.ogs-card__price { font-size: 14px; color: var(--ink); }
.ogs-card__cta {
	font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
	padding: 6px 14px; border: 1px solid var(--ink); border-radius: 9999px;
	transition: background .25s var(--ease), color .25s var(--ease);
}
.ogs-card__cta:hover { background: var(--ink); color: var(--paper); }
.ogs-card__cta.added { background: var(--ink); color: var(--paper); }
/* WC injects extra .added_to_cart link — keep it subtle */
.added_to_cart { display: none; }

/* ===========================================================================
   V — Notes
   =========================================================================== */
.ogs-notes { padding-top: clamp(140px, 18vh, 220px); padding-bottom: clamp(140px, 18vh, 220px); }
.ogs-notes__head {
	margin: 40px 0 64px;
	font-size: clamp(48px, 7vw, 110px); font-weight: 300; letter-spacing: -0.03em;
}
.ogs-notes__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(32px, 4vw, 64px) clamp(32px, 4vw, 80px);
}
.ogs-note {
	position: relative;
	display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding-top: 28px; border-top: 1px solid var(--rule);
	transition: padding-left .5s var(--ease);
}
.ogs-note__art {
	position: relative;
	width: 80px; height: 80px; color: var(--ink);
	transform-origin: center;
}
.ogs-note__art svg { width: 100%; height: 100%; position: relative; z-index: 1; }
.ogs-note__art::before {
	content: "";
	position: absolute;
	inset: -30%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--note-tint, 212, 158, 96), 0.5) 0%, rgba(var(--note-tint, 212, 158, 96), 0) 70%);
	opacity: 0;
	transition: opacity .6s var(--ease);
	pointer-events: none;
	z-index: 0;
}
.ogs-note.is-diffusing { padding-left: 6px; }
.ogs-note.is-diffusing .ogs-note__art::before { opacity: 1; }
.ogs-note__kind { font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ash); }
.ogs-note h3 { font-family: var(--ff-display); font-size: 28px; margin: 6px 0 10px; font-weight: 400; }
.ogs-note h3 { font-style: italic; }
.ogs-note p { font-family: var(--ff-display); font-size: 16px; color: var(--ink-2); line-height: 1.45; }
.ogs-note__samples { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.ogs-note__samples li { font-size: 12px; }
.ogs-note__samples a {
	border-bottom: 1px solid var(--rule);
	padding-bottom: 2px; color: var(--ash);
}
.ogs-note__samples a:hover { color: var(--ink); border-color: var(--ink); }

@media (max-width: 900px) {
	.ogs-notes__grid { grid-template-columns: 1fr; }
}

/* ===========================================================================
   VI — Collections
   =========================================================================== */
.ogs-collections { padding: 0; max-width: none; overflow: hidden; }
.ogs-collections > .ogs-chapter,
.ogs-collections__head { position: absolute; z-index: 3; }
.ogs-collections > .ogs-chapter { top: 40px; left: var(--gutter); }
.ogs-collections__head {
	top: 80px; left: var(--gutter); right: var(--gutter);
	font-size: clamp(40px, 6vw, 96px); font-weight: 300; letter-spacing: -0.025em; pointer-events: none;
}

.ogs-collections__pin { position: relative; height: 100vh; width: 100%; }
.ogs-collection {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	padding: clamp(110px, 14vh, 160px) var(--gutter) clamp(24px, 4vh, 48px);
	/* No opacity/visibility/transition here on purpose — JS (main.js,
	   the `collections` IIFE) owns opacity every scroll frame via
	   gsap.set(c, { autoAlpha: ... }), which writes inline styles.
	   A CSS transition on the same property would fight that: GSAP
	   sets a new target every frame, the CSS transition tries to ease
	   toward it over time, and the two never agree — which is exactly
	   what produced collections bleeding into each other on scroll.
	   .is-active is now purely a styling hook (e.g. for child elements
	   that DO want a CSS-driven detail), not an opacity switch. */
}
.ogs-collection__layout {
	max-width: var(--max); width: 100%;
	max-height: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: minmax(0, 1fr) auto;
	grid-template-areas:
		"caption plate"
		"row     row";
	gap: clamp(16px, 2.4vh, 32px) clamp(40px, 5vw, 80px);
	align-items: center;
}
.ogs-collection__caption { grid-area: caption; }
.ogs-collection__roman { font-family: var(--ff-display); font-style: italic; font-size: 14px; color: var(--ash); }
.ogs-collection__title {
	font-size: clamp(38px, 5.6vw, 90px); line-height: 1.0;
	letter-spacing: -0.03em; margin: 12px 0 16px; font-weight: 300;
}
.ogs-collection__desc { font-family: var(--ff-display); font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-2); max-width: 420px; line-height: 1.5; }
.ogs-collection__link {
	display: inline-block; margin-top: 20px;
	font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em;
	border-bottom: 1px solid var(--ink); padding-bottom: 4px;
}
.ogs-collection__plate {
	grid-area: plate;
	aspect-ratio: 4/5;
	max-width: 420px;
	max-height: 46vh;
	margin-left: auto;
	overflow: hidden;
	background: var(--paper-2);
}
.ogs-collection__plate img { width: 100%; height: 100%; object-fit: cover; }
.ogs-collection__row {
	grid-area: row; margin-top: 0;
	display: flex; gap: 16px; overflow-x: auto; padding-bottom: 4px;
}
.ogs-collection__chip { display: grid; gap: 6px; min-width: 96px; flex-shrink: 0; }
.ogs-collection__chip img { aspect-ratio: 3/4; object-fit: cover; background: var(--paper-2); width: 96px; }
.ogs-collection__chip span { font-size: 11px; color: var(--ink-2); display: block; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ogs-collections__progress {
	position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
	display: flex; gap: 16px;
	z-index: 4;
}
.ogs-collections__progress .dot { width: 24px; height: 1px; background: var(--rule); transition: background .35s var(--ease); cursor: pointer; }
.ogs-collections__progress .dot.is-active { background: var(--ink); }

@media (max-width: 900px) {
	.ogs-collections__pin { height: auto; }
	.ogs-collection { position: relative; padding: 80px var(--gutter); opacity: 1; visibility: visible; max-height: none; }
	.ogs-collection__layout {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		grid-template-areas: "caption" "plate" "row";
		max-height: none;
	}
	.ogs-collection__plate { max-width: 100%; max-height: none; margin-left: 0; }
	.ogs-collections__head { position: relative; top: auto; padding: 0 var(--gutter); margin: 100px 0 -40px; }
	.ogs-collections > .ogs-chapter { position: relative; top: auto; left: auto; padding: 100px var(--gutter) 0; display: flex; }
	.ogs-collections__progress { display: none; }
}

/* ===========================================================================
   VII — Testimonials
   =========================================================================== */
.ogs-testimonials { padding-top: clamp(140px, 18vh, 220px); padding-bottom: clamp(140px, 18vh, 220px); }
.ogs-testimonials__head {
	margin: 40px 0 64px;
	font-size: clamp(40px, 6vw, 96px); font-weight: 300; letter-spacing: -0.025em;
}
.ogs-testimonials__head em { font-style: italic; }
.ogs-testimonials__spread {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 40px;
}
.ogs-quote {
	position: relative;
	transition: opacity .4s var(--ease);
}
.ogs-quote.is-dimmed { opacity: 0.4; }
.ogs-quote.is-spotlit { opacity: 1; }
.ogs-quote:nth-child(1) { grid-column: 1 / span 6; }
.ogs-quote:nth-child(2) { grid-column: 7 / span 6; margin-top: 80px; }
.ogs-quote:nth-child(3) { grid-column: 2 / span 5; }
.ogs-quote:nth-child(4) { grid-column: 8 / span 5; margin-top: 60px; }
.ogs-quote__mark {
	position: absolute; top: -50px; left: -10px;
	font-family: var(--ff-display); font-style: italic;
	font-size: clamp(80px, 14vw, 160px); line-height: 1; color: var(--blush);
	pointer-events: none;
}
.ogs-quote blockquote {
	margin: 0;
	font-family: var(--ff-display); font-size: clamp(20px, 1.9vw, 28px);
	line-height: 1.4; color: var(--ink); font-style: italic;
}
.ogs-quote figcaption {
	margin-top: 22px;
	display: flex; gap: 12px; align-items: center;
	font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ash);
}
.ogs-quote figcaption strong { font-family: var(--ff-display); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink); font-style: normal; }

@media (max-width: 900px) {
	.ogs-quote:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
	.ogs-testimonials__spread { gap: 60px; }
}

/* ===========================================================================
   VIII — Shop entry
   =========================================================================== */
.ogs-shop-entry { padding-top: clamp(140px, 18vh, 220px); padding-bottom: clamp(160px, 22vh, 280px); }
.ogs-shop-entry__head {
	display: grid; grid-template-columns: 1fr auto; align-items: end;
	margin: 40px 0 56px; gap: 24px;
}
.ogs-shop-entry__head h2 {
	font-size: clamp(48px, 7vw, 120px); font-weight: 300; letter-spacing: -0.03em;
}
.ogs-shop-entry__head p { font-family: var(--ff-display); font-style: italic; color: var(--ash); font-size: 20px; }

.ogs-shop-entry__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}
@media (max-width: 900px) { .ogs-shop-entry__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 540px) { .ogs-shop-entry__grid { grid-template-columns: 1fr; } }

.ogs-shop-entry__foot { margin-top: 80px; text-align: center; }
.ogs-shop-entry__all {
	display: inline-flex; align-items: center; gap: 28px;
	font-family: var(--ff-display); font-style: italic;
	font-size: clamp(36px, 5vw, 80px); font-weight: 300; letter-spacing: -0.02em;
	padding: 18px 0; border-bottom: 1px solid var(--ink);
}
.ogs-shop-entry__all svg { transition: transform .4s var(--ease); }
.ogs-shop-entry__all:hover svg { transform: translateX(10px); }

/* ===========================================================================
   Footer
   =========================================================================== */
.ogs-footer {
	background: var(--paper);
	border-top: 1px solid var(--rule);
	padding: 80px var(--gutter) 32px;
	position: relative; z-index: 2;
}
.ogs-footer__inner {
	max-width: var(--max); margin: 0 auto;
	display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px;
}
.ogs-footer__mark {
	display: inline-flex; align-items: baseline; gap: 8px;
	font-family: var(--ff-display); font-size: 28px;
}
.ogs-footer__og { font-weight: 500; }
.ogs-footer__scents { font-style: italic; }
.ogs-footer__tag { margin-top: 18px; font-family: var(--ff-display); font-style: italic; font-size: 18px; color: var(--ash); max-width: 320px; }
.ogs-footer__col h4 { font-family: var(--ff-body); font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ash); margin-bottom: 18px; font-weight: 500; }
.ogs-footer__col ul li { margin-bottom: 8px; }
.ogs-footer__col ul a { font-size: 15px; }
.ogs-footer__col ul a:hover { color: var(--ash); }
.ogs-footer__col--newsletter p { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.ogs-newsletter { display: flex; gap: 8px; border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.ogs-newsletter input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; padding: 6px 0; color: var(--ink); }
.ogs-newsletter input::placeholder { color: var(--ash); }
.ogs-newsletter button { font-size: 20px; padding: 4px 6px; }

.ogs-footer__legal {
	max-width: var(--max); margin: 60px auto 0;
	padding-top: 24px; border-top: 1px solid var(--rule);
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.ogs-footer__legal small { color: var(--ash); font-size: 12px; }
.ogs-footer__legal-menu { display: flex; gap: 24px; }
.ogs-footer__legal-menu a { font-size: 12px; color: var(--ash); }
.ogs-footer__legal-menu a:hover { color: var(--ink); }

@media (max-width: 900px) {
	.ogs-footer__inner { grid-template-columns: 1fr 1fr; }
	.ogs-footer__col--mark { grid-column: 1 / -1; }
	.ogs-footer__legal { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
	.ogs-footer__inner { grid-template-columns: 1fr; gap: 36px; }
	.ogs-footer__legal-menu { flex-wrap: wrap; gap: 14px; }
}

/* ===========================================================================
   Generic pages / 404
   =========================================================================== */
.ogs-page { padding: clamp(140px, 18vh, 220px) var(--gutter) 120px; max-width: var(--max); margin: 0 auto; }
.ogs-page__head { margin-bottom: 60px; }
.ogs-page__head h1 { font-size: clamp(48px, 8vw, 120px); font-weight: 300; letter-spacing: -0.03em; }
.ogs-page__date { font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ash); margin-bottom: 16px; }
.ogs-page__hero img { aspect-ratio: 16/10; object-fit: cover; margin-bottom: 40px; }
.ogs-page__content { max-width: 720px; font-family: var(--ff-display); font-size: 19px; line-height: 1.6; }
.ogs-page__content p { margin: 0 0 1em; }
.ogs-page__content h2, .ogs-page__content h3 { margin-top: 1.6em; font-weight: 400; }
.ogs-page__content a { border-bottom: 1px solid var(--rule); }
.ogs-page__content a:hover { border-color: var(--ink); }

.ogs-entry { padding: 32px 0; border-top: 1px solid var(--rule); }
.ogs-entry__title { font-size: 28px; font-weight: 400; }
.ogs-entry__title a:hover { font-style: italic; }
.ogs-entry__meta { font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ash); margin: 8px 0; }
.ogs-entry__excerpt { font-family: var(--ff-display); font-size: 17px; color: var(--ink-2); line-height: 1.5; }

.ogs-404 { min-height: 80vh; display: grid; place-items: center; padding: 200px var(--gutter); }
.ogs-404__inner { text-align: center; max-width: 640px; }
.ogs-404 h1 { font-size: clamp(48px, 8vw, 120px); font-weight: 300; letter-spacing: -0.03em; margin: 24px 0; }
.ogs-404 h1 em { font-style: italic; }
.ogs-404 p { font-family: var(--ff-display); font-size: 19px; color: var(--ink-2); margin-bottom: 32px; }
.ogs-404 .ogs-chapter { justify-content: center; display: inline-flex; }
.ogs-404__cta { font-family: var(--ff-display); font-style: italic; font-size: 24px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

/* ===========================================================================
   Mobile polish — consolidated overrides for small screens
   =========================================================================== */
@media (max-width: 600px) {
	.ogs-memory       { padding-top: 90px;  padding-bottom: 80px; }
	.ogs-mood         { padding-top: 88px;  padding-bottom: 80px; }
	.ogs-notes        { padding-top: 88px;  padding-bottom: 80px; }
	.ogs-testimonials { padding-top: 88px;  padding-bottom: 80px; }
	.ogs-shop-entry   { padding-top: 88px;  padding-bottom: 100px; }
	.ogs-page         { padding: 100px var(--gutter) 80px; }

	/* Don't let italic display headlines run edge-to-edge with no breathing room */
	h1, h2 { word-break: break-word; }
}

/* ===========================================================================
   Reduced motion
   =========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.ogs-reveal__headline .ch, .ogs-memory__body p, .ogs-memory__pull { opacity: 1 !important; transform: none !important; }
}