:root {
  --paper: #F6F5F1;
  --ink: #111111;
  --grey: #8A8883;
  --red: #E14B2C;
  --line: rgba(17, 17, 17, .12);
  --gutter: clamp(16px, 3vw, 44px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --display: 'Gloock', Georgia, serif;
  --body: 'Familjen Grotesk', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.title { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 7vw, 120px); line-height: .95; letter-spacing: -.02em; }
.title em { font-style: normal; color: var(--red); }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 28px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transition: background .3s; }
.btn:hover { background: var(--red); }

.topbar { overflow: hidden; background: var(--ink); color: var(--paper); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 0; }
.topbar-track { display: flex; gap: 22px; width: max-content; animation: tb 30s linear infinite; }
@keyframes tb { to { transform: translateX(-50%); } }
.header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px var(--gutter); background: rgba(246, 245, 241, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; gap: 22px; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.logo { font-family: var(--display); font-size: 30px; letter-spacing: .3em; padding-left: .3em; }
.bag { justify-self: end; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }

/* Hero */
.hero { position: relative; height: calc(100svh - 100px); min-height: 560px; display: flex; align-items: flex-end; padding: 0 var(--gutter) 50px; overflow: hidden; }
.hero-curtain { position: absolute; inset: 0; display: flex; }
.half { position: relative; width: 50%; overflow: hidden; }
.half img { position: absolute; top: 0; width: 200%; height: 100%; max-width: none; object-fit: cover; filter: brightness(.6); }
.half.l img { left: 0; }
.half.r img { right: 0; }
.hero-text { position: relative; z-index: 1; color: #fff; }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 10vw, 170px); line-height: .9; letter-spacing: -.03em; margin: 14px 0 28px; max-width: 12ch; }
.hero .btn { background: #fff; color: var(--ink); }
.hero .btn:hover { background: var(--red); color: #fff; }
.hero-side { position: absolute; right: var(--gutter); bottom: 50px; z-index: 1; color: #fff; text-align: right; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.6; }

.manifest { padding: clamp(90px, 12vw, 170px) var(--gutter); }
.manifest p { max-width: 24ch; font-family: var(--display); font-size: clamp(34px, 4.6vw, 72px); line-height: 1.08; }
.manifest em { font-style: normal; color: var(--red); }

/* Lookbook */
.lookbook { padding-bottom: clamp(80px, 10vw, 140px); overflow: hidden; }
.lb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 0 var(--gutter); margin-bottom: 30px; }
.lb-head p { color: var(--grey); font-size: 14px; }
.lb-slider { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lb-slider.is-drag { cursor: grabbing; }
.lb-track { display: flex; gap: 14px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.look { position: relative; width: clamp(240px, 24vw, 360px); flex: none; will-change: transform; }
.look-img { overflow: hidden; aspect-ratio: 3 / 4; background: #e9e7e2; }
.look-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transform: scale(1.12); }
.look figcaption { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.look figcaption span:last-child { color: var(--grey); }

/* Pièces */
.pieces { padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.pieces-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.pieces-head p { max-width: 30ch; color: var(--grey); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 14px; }
.piece-img { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: #e9e7e2; }
.piece-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s, transform 1.2s var(--ease); }
.piece-img img.alt { opacity: 0; }
.piece:hover .piece-img img.alt { opacity: 1; transform: scale(1.04); }
.piece-sizes { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 6px; transform: translateY(130%); transition: transform .5s var(--ease); }
.piece:hover .piece-sizes, .piece:focus-within .piece-sizes { transform: none; }
.piece-sizes button { flex: 1; padding: 10px 0; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; transition: background .3s, color .3s; }
.piece-sizes button:hover { background: var(--ink); color: #fff; }
.piece-info { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 14px; }
.piece-info b { font-weight: 500; }
.piece-info span { color: var(--grey); }
.swatches { display: flex; gap: 6px; margin-top: 6px; }
.swatches i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.tag-new { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 8px; background: var(--red); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* Boutique */
.store { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.store-img { overflow: hidden; aspect-ratio: 4 / 3; }
.store-img img { width: 100%; height: 120%; object-fit: cover; }
.store-info p { margin-top: 18px; max-width: 36ch; line-height: 1.6; color: #444; }
.hours { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }

.toast { position: fixed; right: 16px; top: 120px; z-index: 80; padding: 14px 18px; background: var(--ink); color: #fff; font-size: 14px; transform: translateX(120%); transition: transform .6s var(--ease); }
.toast.is-on { transform: none; }

.pbc-loyalty { --pbc-bg: #EDEBE6; --pbc-fg: var(--ink); --pbc-title-font: var(--display); --pbc-body-font: var(--body); --pbc-accent: var(--ink); --pbc-accent-fg: var(--paper); --pbc-radius: 0; }
.pbc-loyalty .pbc-title { font-weight: 400; }
.pbc-loyalty .pbc-cta { border-radius: 0; }

.footer { padding: 60px var(--gutter) 20px; background: var(--ink); color: var(--paper); overflow: hidden; }
.footer-word { font-family: var(--display); font-size: 21vw; line-height: .8; letter-spacing: .1em; text-align: center; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 20px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }

@media (max-width: 900px) {
  .nav { display: none; }
  .header { grid-template-columns: 1fr auto; }
  .logo { font-size: 24px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .store { grid-template-columns: 1fr; }
  .pieces-head, .lb-head { flex-direction: column; align-items: flex-start; }
  .piece-sizes { transform: none; }
  .hero-side { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
