:root {
  --blue: #2646a6;
  --violet: #8437d7;
  --pink: #ed0a8a;
  --bousin-pink: #ee1495;
  --bousin-cobalt: #3959af;
  --bousin-pearl: #eaeaea;
  --bousin-black: #231f20;
  --pattern-tile: 694px;
  --pattern-x: 0px;
  --pattern-y: 0px;
  --pattern-x-back: 0px;
  --pattern-y-back: 0px;
  --ink: #11101a;
  --paper: #f6f4f8;
  --line: rgba(255,255,255,.24);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: var(--paper); color: var(--ink); overflow-x: hidden; }
.has-js body:not(.intro-complete) { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.site-loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; isolation: isolate; background: #385ab2 url('assets/BOUSIN_pattern_square_micro.png') center / var(--pattern-tile) var(--pattern-tile) repeat; opacity: 1; visibility: visible; transition: opacity .65s ease, visibility .65s step-end; }
.site-loader::before, .hero__pattern::before, .craft__pattern::before, footer::before { content: ''; position: absolute; inset: -8%; z-index: 0; background: url('assets/BOUSIN_pattern_square_micro.png') 0 0 / var(--pattern-tile) var(--pattern-tile) repeat; opacity: .3; mix-blend-mode: multiply; transform: translate3d(var(--pattern-x), var(--pattern-y), 0) scale(1.08); animation: pattern-shadow-drift 11s ease-in-out infinite alternate; pointer-events: none; will-change: transform, background-position; }
.site-loader::after, .hero__pattern::after, .craft__pattern::after, footer::after { content: ''; position: absolute; inset: -10%; z-index: 0; background: radial-gradient(circle at 28% 26%, rgba(132,55,215,.46), transparent 34%), radial-gradient(circle at 74% 70%, rgba(18,28,111,.55), transparent 38%), linear-gradient(135deg, rgba(255,255,255,.12), transparent 38% 62%, rgba(18,23,94,.24)); mix-blend-mode: soft-light; transform: translate3d(var(--pattern-x-back), var(--pattern-y-back), 0) scale(1.05); animation: pattern-light-drift 14s ease-in-out infinite alternate; pointer-events: none; will-change: transform; }
@keyframes pattern-shadow-drift { from { background-position: 0 0; } to { background-position: 26px -26px; } }
@keyframes pattern-light-drift { from { translate: -1.5% -1%; } to { translate: 1.5% 1%; } }
.site-loader img { position: relative; z-index: 1; width: auto; height: min(48svh, 430px); max-width: 72vw; object-fit: contain; }
.site-loader__line { position: absolute; z-index: 2; left: 50%; bottom: 7vh; width: min(240px, 48vw); height: 3px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.3); transform: translateX(-50%); }
.site-loader__line::after { content: ''; display: block; width: 42%; height: 100%; border-radius: inherit; background: #fff; animation: loader-line 1s cubic-bezier(.65,0,.35,1) infinite alternate; }
.site-loader.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loader-line { from { transform: translateX(-15%); } to { transform: translateX(155%); } }
.eyebrow { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; }
.nav { position: fixed; inset: 0 0 auto; height: 90px; padding: 5px 4vw; display: flex; align-items: center; justify-content: space-between; z-index: 30; color: #fff; mix-blend-mode: normal; background: linear-gradient(to bottom, rgba(19,14,48,.66), transparent); }
.has-js .nav { opacity: 0; transform: translateY(-22px); pointer-events: none; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.75,.25,1); }
.has-js .nav.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav__brand img { width: 80px; height: 80px; object-fit: contain; object-position: center; }
.nav nav { display: flex; gap: 2rem; }
.nav nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .11em; font-size: .76rem; font-weight: 800; }
.nav__toggle { display: none; border: 0; background: none; color: #fff; font: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.hero-stage { position: relative; isolation: isolate; z-index: 2; }
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; isolation: isolate; overflow: hidden; background: var(--blue); color: #fff; }
.hero__pattern { position: absolute; inset: -8% -4%; z-index: -4; overflow: hidden; isolation: isolate; background: #385ab2 url('assets/BOUSIN_pattern_square_micro.png') center / var(--pattern-tile) var(--pattern-tile) repeat; transform: scale(1.06); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -3; background: linear-gradient(120deg, rgba(13,38,137,.08), rgba(86,26,155,.1)); }
.hero__ring { position: absolute; border: 2px solid var(--line); border-radius: 50%; z-index: -2; }
.hero__ring--one { width: 62vw; aspect-ratio: 1; left: -18vw; top: -22vw; }
.hero__ring--two { width: 48vw; aspect-ratio: 1; right: -12vw; bottom: -22vw; }
.hero__copy { margin: 0 0 8vh 5vw; z-index: 3; max-width: 670px; }
.hero h1 { margin: 0; font-size: clamp(5rem, 12vw, 11.5rem); line-height: .7; font-weight: 900; letter-spacing: -.08em; text-transform: uppercase; -webkit-text-stroke: clamp(1px, .12vw, 2px) currentColor; paint-order: stroke fill; }
.hero__word { position: relative; display: block; width: max-content; min-height: .72em; }
.hero__word--taste { z-index: 3; font-size: 1.08em; transform: translateX(20px); margin-bottom: -.08em; }
.hero__word--of { z-index: 2; }
.hero__word--luck { z-index: 3; transform: translateX(-20px); margin-top: -.08em; }
.hero__intro { margin: 2rem 0 0; max-width: 420px; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.45; }
.hero__cabosse { position: absolute; width: clamp(190px, 23vw, 360px); top: 5vh; right: 10vw; z-index: 2; isolation: isolate; }
.hero__cabosse::before { content: ''; position: absolute; z-index: -1; width: 112%; aspect-ratio: 1; left: -6%; top: -2%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.86) 0, rgba(255,255,255,.44) 24%, rgba(255,255,255,.16) 46%, transparent 70%); filter: blur(12px); opacity: .9; }
.hero__cabosse img { width: 100%; height: auto; filter: drop-shadow(0 24px 45px rgba(23,14,74,.28)); }
.hero__chocolate { position: absolute; width: min(60vw, 920px); right: -8vw; bottom: -7vh; z-index: 1; }
.hero__scroll { position: absolute; right: 3vw; bottom: 2rem; z-index: 4; text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800; }
.has-js .hero-sequence, .has-js .hero__word { opacity: 0; }
.has-js .hero-sequence { transition: opacity .7s ease, transform .9s cubic-bezier(.16,.8,.2,1); }
.has-js .hero-sequence--eyebrow { transform: translateY(16px); }
.has-js .hero-sequence--chocolate { transform: translate3d(18%, 8%, 0) scale(.94); }
.has-js .hero-sequence--brand { transform: translate3d(0, 22px, 0) scale(.92); }
.has-js .hero-sequence--intro, .has-js .hero-sequence--discover { transform: translateY(14px); }
.has-js .hero-sequence.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.has-js .hero__word.is-typing, .has-js .hero__word.is-visible { opacity: 1; }
.hero__word--of.is-visible { animation: of-pop .42s cubic-bezier(.2,.9,.25,1.2) both; }
@keyframes of-pop { 0% { transform: scale(.7); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.ribbon { overflow: hidden; height: 50px; background: url('assets/BOUSIN_pattern_gray_white.png') center / auto 25px repeat-x; display: flex; align-items: center; border-block: 1px solid #e3e0e8; }
.ribbon div { min-width: max-content; animation: ticker 20s linear infinite; color: var(--blue); font-weight: 900; letter-spacing: .16em; font-size: .76rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
.collection { padding: 9rem 4vw; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: end; margin-bottom: 4rem; }
.section-heading h2, .craft h2, .luck h2 { margin: 0; font-size: clamp(3.4rem, 8vw, 8rem); letter-spacing: -.07em; line-height: .86; text-transform: uppercase; }
.has-js .scroll-type.is-pending { color: transparent; }
.has-js .scroll-type.is-typing, .has-js .scroll-type.is-complete { color: inherit; }
.has-js .scroll-type.is-typing::after { content: ''; display: inline-block; width: .055em; height: .72em; margin-left: .04em; background: currentColor; animation: type-caret .6s steps(1) infinite; }
.has-js .scroll-support { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .65s cubic-bezier(.2,.75,.25,1); }
.has-js .scroll-support.is-visible { opacity: 1; transform: translateY(0); }
@keyframes type-caret { 50% { opacity: 0; } }
.collection__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.piece { position: relative; min-height: 520px; grid-column: span 4; overflow: hidden; background: #fff; border-radius: 28px; }
.piece--wide { grid-column: span 8; }
.piece img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.piece:hover img { transform: scale(1.035); }
.piece--red, .piece--blue, .piece--black, .piece--yellow, .piece--gold { display: grid; place-items: center; }
.piece--mauve .mauve-macro { object-position: 50% 45%; transform-origin: 50% 45%; animation: mauve-loupe 24s cubic-bezier(.35,0,.65,1) infinite alternate; will-change: transform; }
@keyframes mauve-loupe { from { transform: scale(1); } to { transform: scale(1.1); } }
.piece--red { background: #fb4589; }
.lucky-kiss { isolation: isolate; }
.lucky-kiss__rain { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.lucky-kiss .lucky-kiss__chocolate { position: relative; z-index: 2; opacity: 0; transform: translate3d(0, -165%, 0); transform-origin: 50% 52%; will-change: transform, opacity; }
.lucky-kiss.is-complete .lucky-kiss__chocolate { opacity: 1; }
.lucky-letter { position: absolute; top: -3.5rem; left: var(--letter-x); z-index: 1; display: block; padding: .2em; color: #fff; font-size: var(--letter-size); font-weight: 900; line-height: 1; text-shadow: 0 3px 12px rgba(100,0,48,.2); opacity: 0; pointer-events: auto; user-select: none; cursor: crosshair; will-change: transform, opacity; }
.lucky-letter.is-fleeing { pointer-events: none; }
.piece--blue { background: #acdfff; }
.piece--black { background: #d7d3dc; }
.piece--yellow { background: #ffe239; }
.piece--gold { background: #9eba6b; grid-column: span 12; }
.piece--red img, .piece--blue img, .piece--black img, .piece--yellow img, .piece--gold img { object-fit: contain; padding: 2.5rem; }
.heart-entrance { transform-origin: 50% 52%; will-change: transform, opacity; }
.piece--bousin { min-height: 560px; grid-column: span 6; display: grid; place-items: center; isolation: isolate; background: var(--bousin-cobalt); }
.piece--bousin::before { content: ''; position: absolute; inset: 0; z-index: -2; opacity: .96; background: linear-gradient(138deg, var(--bousin-cobalt) 0 44%, var(--bousin-pink) 44% 70%, var(--bousin-pearl) 70%); }
.piece--bousin::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 72% 18%, rgba(255,255,255,.72), transparent 24%), linear-gradient(110deg, transparent 46%, rgba(35,31,32,.14) 46% 47%, transparent 47%); mix-blend-mode: soft-light; }
.piece--bousin-hearts::before { background: linear-gradient(138deg, var(--bousin-pearl) 0 34%, var(--bousin-cobalt) 34% 67%, var(--bousin-pink) 67%); }
.piece__halo { position: absolute; width: 74%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; box-shadow: 0 0 0 3rem rgba(255,255,255,.07), 0 0 0 6rem rgba(255,255,255,.04); }
.piece--bousin img { position: relative; z-index: 1; width: 94%; height: 88%; object-fit: contain; padding: 1.5rem; filter: drop-shadow(0 28px 30px rgba(35,31,32,.28)); }
.piece--bousin-hearts img { width: 100%; padding-inline: .8rem; }
.piece__copy { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; padding: 1rem 1.1rem; display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; align-items: baseline; color: #fff; background: rgba(24,16,46,.58); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.3); border-radius: 16px; }
.piece__copy span { grid-row: span 2; font-size: .75rem; font-weight: 800; }
.piece__copy h3 { margin: 0; font-size: 1.15rem; }
.piece__copy p { margin: .25rem 0 0; font-size: .88rem; opacity: .82; }
.craft { position: relative; min-height: 760px; padding: 8rem 5vw; display: flex; align-items: center; color: #fff; background: var(--pink); overflow: hidden; isolation: isolate; }
.craft__pattern { position: absolute; inset: 0 45% 0 0; z-index: -1; overflow: hidden; isolation: isolate; background: #385ab2 url('assets/BOUSIN_pattern_square_micro.png') center / var(--pattern-tile) var(--pattern-tile) repeat; opacity: 1; }
.craft__copy { margin-left: 43%; max-width: 720px; }
.craft__copy p:last-child { max-width: 540px; margin-top: 2rem; font-size: 1.2rem; line-height: 1.55; }
.craft__logo { position: absolute; width: min(24vw, 370px); left: 25%; bottom: 2.35rem; transform: translateX(-50%); isolation: isolate; }
.craft__logo::before { content: none; }
.craft__logo img { width: 100%; height: auto; filter: drop-shadow(0 20px 36px rgba(23,14,74,.28)); }
.luck { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4vw; align-items: center; padding: 9rem 5vw; background: #16121f; color: #fff; }
.luck__text p:last-child { max-width: 440px; font-size: 1.1rem; line-height: 1.55; }
.luck__poster { margin: 0; transform: rotate(2deg); box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.luck__poster img { width: 100%; border: 10px solid #fff; }
footer { position: relative; min-height: 52vh; padding: 5rem; display: grid; place-items: center; align-content: center; gap: 1.2rem; overflow: hidden; isolation: isolate; text-align: center; color: #fff; background: #385ab2 url('assets/BOUSIN_pattern_square_micro.png') center / var(--pattern-tile) var(--pattern-tile) repeat; }
footer > * { position: relative; z-index: 1; }
.footer__brand { position: relative; width: min(280px, 58vw); isolation: isolate; }
.footer__brand::before { content: ''; position: absolute; z-index: -1; width: 118%; aspect-ratio: 1; left: -9%; top: -3%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.82) 0, rgba(255,255,255,.4) 25%, rgba(255,255,255,.14) 48%, transparent 70%); filter: blur(12px); }
.footer__brand img { width: 100%; height: auto; filter: drop-shadow(0 20px 36px rgba(23,14,74,.28)); }
footer p { margin: 0; font-size: 1.4rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.footer__small { font-size: .72rem; opacity: .76; }
@media (max-width: 900px) {
  .nav { height: 78px; padding: 5px 4vw; }
  .nav__brand img { width: 68px; height: 68px; }
  .nav__toggle { display: block; }
  .nav nav { display: none; position: absolute; top: 78px; right: 1rem; padding: 1.25rem; flex-direction: column; background: #211b77; border-radius: 16px; }
  .nav nav.is-open { display: flex; }
  .hero { min-height: 920px; }
  .hero__copy { width: calc(100vw - 2.5rem); max-width: calc(100vw - 2.5rem); margin: 0 1.25rem 5rem; }
  .hero h1 { font-size: clamp(4.1rem, 19vw, 6.4rem); }
  .hero__intro { max-width: min(72vw, 300px); font-size: 1rem; }
  .hero__cabosse { width: min(31vw, 180px); right: 18vw; top: 4.75rem; }
  .hero__chocolate { width: 100vw; right: -55vw; bottom: 19vh; }
  .hero__scroll { left: 1.25rem; right: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .collection { padding: 6rem 1rem; }
  .collection__grid { display: block; }
  .piece { min-height: 470px; margin-bottom: 1rem; }
  .craft { min-height: 720px; padding: 5rem 1.25rem; align-items: start; }
  .craft__pattern { inset: auto 0 0; height: 45%; }
  .craft__copy { margin-left: 0; }
  .craft__logo { width: min(54vw, 220px); left: 50%; bottom: 1.35rem; }
  .luck { grid-template-columns: 1fr; padding: 6rem 1rem; }
  .luck__poster { transform: none; }
  footer { padding: 4rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon div { animation: none; }
  [data-depth] { transform: none !important; }
  .lucky-kiss .lucky-kiss__chocolate { opacity: 1; transform: none; }
  .piece--mauve .mauve-macro { animation: none; transform: none; }
  .heart-entrance { opacity: 1 !important; transform: none !important; }
  .site-loader__line::after, .hero__word--of.is-visible, .has-js .scroll-type.is-typing::after { animation: none; }
  .site-loader::before, .site-loader::after, .hero__pattern::before, .hero__pattern::after, .craft__pattern::before, .craft__pattern::after, footer::before, footer::after { animation: none; transform: none; }
  .has-js .hero-sequence, .has-js .hero__word, .has-js .scroll-support { transition: none; }
}
