/* ============================================================
   MAREN — dark cinematic luxury · sample site by Belkadi Studio
   Bodoni Moda (Didone display) · Archivo (UI)
   ============================================================ */
:root {
  --night:   #0b0b0d;
  --night-2: #111013;
  --night-3: #17151a;
  --bone:    #ece6db;
  --dim:     rgba(236, 230, 219, 0.60);
  --faint:   rgba(236, 230, 219, 0.34);
  --champ:   #c2a06a;
  --champ-2: #d8bd8e;
  --line:    rgba(236, 230, 219, 0.14);
  --serif:   "Bodoni Moda", Didot, Georgia, serif;
  --sans:    "Archivo", system-ui, sans-serif;
  --wrap: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-weight: 400; background: var(--night); color: var(--bone);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--champ); color: var(--night); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 36px; }
.mono { font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); }

/* grain */
.grain { position: fixed; inset: 0; z-index: 9990; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* custom cursor */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 9995; pointer-events: none; opacity: 0; }
.cursor.is-active { opacity: 1; }
.cursor__dot { position: fixed; top: 0; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--champ); transform: translate(-50%, -50%); }
.cursor__ring { position: fixed; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(194, 160, 106, 0.5); transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s, background 0.3s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; border-color: rgba(194, 160, 106, 0.9); background: rgba(194, 160, 106, 0.06); }
body.cursor-on, body.cursor-on a, body.cursor-on button, body.cursor-on input { cursor: none; }

/* ---------- type helpers ---------- */
.kicker { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--champ); }
.kicker--bone { color: var(--bone); }
.h-display { font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 7vw, 6rem); line-height: 0.98;
  letter-spacing: -0.01em; font-optical-sizing: auto; }
.h-display em { font-style: italic; color: var(--champ); }

/* CTA */
.cta { display: inline-flex; flex-direction: column; gap: 0.5em; font-family: var(--sans); font-weight: 500;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone); will-change: transform; }
.cta__line { display: block; height: 1px; width: 100%; background: var(--champ); transform-origin: left; transform: scaleX(1); transition: transform 0.5s var(--ease); }
.cta:hover .cta__line { transform: scaleX(0.4); }
.cta--bone .cta__line { background: var(--bone); }
.link-u { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--bone); border-bottom: 1px solid var(--line); padding-bottom: 4px;
  transition: gap 0.3s var(--ease), border-color 0.3s, color 0.3s; will-change: transform; }
.link-u:hover { gap: 0.85em; border-color: var(--champ); color: var(--champ); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 200; padding: 26px 0; transition: padding 0.4s, background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s; }
.nav.is-stuck { padding: 14px 0; background: rgba(11, 11, 13, 0.72); backdrop-filter: blur(14px) saturate(1.1); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav__group { display: flex; gap: 30px; }
.nav__group--r { justify-self: end; }
.nav a:not(.brand) { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); position: relative; transition: color 0.25s; }
.nav a:not(.brand):hover { color: var(--bone); }
.nav__bag span { color: var(--champ); }
.brand { justify-self: center; font-family: var(--sans); font-weight: 600; font-size: 1.4rem; letter-spacing: 0.46em; text-indent: 0.46em; color: var(--bone); will-change: transform; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(56px, 8vh, 110px); }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; object-position: 50% 35%; will-change: transform; }
.hero__scrim { position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(11,11,13,0.92) 0%, rgba(11,11,13,0.32) 42%, rgba(11,11,13,0.1) 70%, rgba(11,11,13,0.4) 100%),
    linear-gradient(to right, rgba(11,11,13,0.66) 0%, rgba(11,11,13,0) 55%); }
.hero__side { position: absolute; right: 30px; top: 52%; z-index: 2; transform: rotate(90deg); transform-origin: right center; color: var(--faint); }
.hero__inner { position: relative; z-index: 2; }
.hero__kicker { margin-bottom: 1.4em; }
.js .hero__kicker { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease) 0.15s, transform 0.9s var(--ease) 0.15s; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(4rem, 15vw, 13rem); line-height: 0.9; letter-spacing: -0.025em; font-optical-sizing: auto; }
.hero__title .l { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .w { display: inline-block; }
.js .hero__title .w { transform: translateY(112%); transition: transform 1.05s var(--ease); }
.hero__title .i { font-style: italic; }
.hero__lede { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--dim); max-width: 42ch; margin: 1.3em 0 2.1em; }
.js .hero__lede { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease) 0.7s, transform 0.9s var(--ease) 0.7s; }
.js .hero__inner .cta { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease) 0.9s, transform 0.9s var(--ease) 0.9s; }
body.loaded .hero__kicker, body.loaded .hero__lede, body.loaded .hero__inner .cta { opacity: 1; transform: none; }
body.loaded .hero__title .w { transform: translateY(0); }
.hero__title .l:nth-child(1) .w { transition-delay: 0.28s; }
.hero__title .l:nth-child(2) .w:nth-child(1) { transition-delay: 0.4s; }
.hero__title .l:nth-child(2) .w:nth-child(2) { transition-delay: 0.5s; }
.hero__scroll { position: absolute; left: 36px; bottom: 30px; z-index: 2; display: inline-flex; align-items: center; gap: 0.9em; color: var(--faint); }
.js .hero__scroll { opacity: 0; transition: opacity 1s var(--ease) 1.2s; }
body.loaded .hero__scroll { opacity: 1; }
.hero__scroll-line { display: block; width: 54px; height: 1px; background: var(--faint); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--champ); transform: translateX(-100%); animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ---------- creed ---------- */
.creed { padding: clamp(90px, 16vw, 220px) 0; }
.creed__text { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5.5vw, 4.6rem); line-height: 1.08; letter-spacing: -0.01em; max-width: 18ch; }
.creed__text em { font-style: italic; color: var(--champ); }
.creed__text span { display: block; overflow: hidden; }
.creed__text span > * , .creed__text span { } /* line wrappers animate via JS .in */
.js .creed__text[data-lines] span { opacity: 0; transform: translateY(0.6em); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.creed__text[data-lines].in span { opacity: 1; transform: none; }
.creed__text[data-lines].in span:nth-child(2) { transition-delay: 0.12s; }
.creed__text[data-lines].in span:nth-child(3) { transition-delay: 0.24s; }

/* ---------- the edit / features ---------- */
.edit { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 9vw, 120px); }
.edit__head { margin-bottom: clamp(48px, 7vw, 96px); }
.edit__head .h-display { margin-top: 0.4em; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 5vw, 90px);
  max-width: var(--wrap); margin: 0 auto clamp(64px, 9vw, 130px); padding: 0 36px; }
.feature:last-child { margin-bottom: 0; }
.feature--right .feature__media { order: 2; }
.feature__media { display: block; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; position: relative; background: var(--night-2); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; filter: saturate(0.92) contrast(1.02); }
.feature__media:hover img { transform: scale(1.045); }
.feature__no { display: block; color: var(--champ); margin-bottom: 1.4em; }
.feature__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.02; letter-spacing: -0.01em; }
.feature__copy { color: var(--dim); font-size: 1.05rem; margin: 1.1em 0 2em; max-width: 42ch; }
.feature__foot { display: flex; align-items: center; gap: 1.6em; }
.feature__price { font-family: var(--serif); font-size: 1.5rem; }

/* ---------- campaign ---------- */
.campaign { position: relative; min-height: 96svh; display: flex; align-items: center; overflow: hidden; }
.campaign__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.campaign__media img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; object-position: 50% 30%; will-change: transform; filter: saturate(0.9) contrast(1.03); }
.campaign__veil { position: absolute; inset: 0; background: linear-gradient(to right, rgba(11,11,13,0.78) 0%, rgba(11,11,13,0.34) 50%, rgba(11,11,13,0.55) 100%); }
.campaign__inner { position: relative; z-index: 2; }
.campaign__head { font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 8vw, 6.6rem); line-height: 0.96; letter-spacing: -0.02em; margin: 0.35em 0 0; }
.campaign__head em { font-style: italic; color: var(--champ-2); }
.campaign__copy { color: var(--dim); font-size: 1.1rem; max-width: 36ch; margin: 1.3em 0 2em; }

/* ---------- collections ---------- */
.collections { padding: clamp(80px, 12vw, 150px) 0; }
.collections__head { margin-bottom: clamp(36px, 5vw, 64px); }
.collections__head .h-display { margin-top: 0.4em; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.col__media { aspect-ratio: 3 / 4; border-radius: 3px; overflow: hidden; background: var(--night-2); }
.col__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.5s; filter: saturate(0.9) contrast(1.02) brightness(0.92); }
.col:hover .col__media img { transform: scale(1.05); filter: saturate(1) contrast(1.02) brightness(1); }
.col__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; margin-top: 1.1em; }
.col__row h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; transition: color 0.3s; }
.col:hover .col__row h3 { color: var(--champ); }
.col__row span { color: var(--faint); }

/* ---------- ethos ---------- */
.ethos { padding: clamp(90px, 14vw, 180px) 0; border-top: 1px solid var(--line); }
.ethos__inner { max-width: 940px; }
.ethos__head { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1; letter-spacing: -0.015em; margin: 0.4em 0 0.7em; }
.ethos__head em { font-style: italic; color: var(--champ); }
.ethos__copy { color: var(--dim); font-size: clamp(1.1rem, 1.7vw, 1.35rem); max-width: 60ch; line-height: 1.62; }
.ethos__stats { display: flex; flex-wrap: wrap; gap: clamp(34px, 6vw, 80px); margin-top: 3em; }
.ethos__stats div { display: flex; flex-direction: column; gap: 0.4em; }
.ethos__stats b { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; }
.ethos__stats span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }

/* ---------- visit ---------- */
.visit { padding: clamp(80px, 11vw, 140px) 0; border-top: 1px solid var(--line); }
.visit__inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.visit__signup > p { color: var(--dim); margin: 1.2em 0 2em; max-width: 38ch; font-size: 1.05rem; }
.signup { display: flex; gap: 14px; flex-wrap: wrap; max-width: 480px; align-items: center; }
.signup input { flex: 1; min-width: 220px; font-family: var(--sans); font-size: 1rem; color: var(--bone); background: transparent;
  border: none; border-bottom: 1px solid var(--line); padding: 0.9em 0.2em; transition: border-color 0.3s; }
.signup input::placeholder { color: var(--faint); }
.signup input:focus { outline: none; border-color: var(--champ); }
.signup__btn { font-family: var(--sans); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: none; border: none; color: var(--champ); cursor: pointer; display: inline-flex; align-items: center; gap: 0.5em; white-space: nowrap; will-change: transform; transition: gap 0.3s var(--ease); }
.signup__btn:hover { gap: 0.85em; }
.visit__store .kicker { display: block; margin-bottom: 1.2em; }
.visit__addr { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; margin-bottom: 1em; }
.visit__hours { color: var(--dim); line-height: 1.9; }

/* ---------- footer ---------- */
.footer { padding: clamp(50px, 7vw, 90px) 0 36px; border-top: 1px solid var(--line); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__nav a { color: var(--dim); transition: color 0.2s; }
.footer__nav a:hover { color: var(--champ); }
.footer__credit a { color: var(--champ); border-bottom: 1px solid var(--champ); }
.footer__mark { font-family: var(--serif); font-weight: 500; font-size: clamp(4.5rem, 23vw, 22rem); line-height: 0.9;
  letter-spacing: 0.02em; text-align: center; margin: clamp(30px, 5vw, 60px) 0; color: var(--bone);
  background: linear-gradient(180deg, var(--bone) 0%, rgba(236,230,219,0.22) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer__base { text-align: center; color: var(--faint); }

/* ---------- reveal + curtain ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.1s; }
.reveal[data-d="2"] { transition-delay: 0.2s; }
.reveal[data-d="3"] { transition-delay: 0.3s; }

.js [data-curtain] { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--ease); }
[data-curtain].in { clip-path: inset(0 0 0 0); }
.js [data-curtain] img:not([data-parallax]) { transform: scale(1.14); transition: transform 1.5s var(--ease); }
[data-curtain].in img:not([data-parallax]) { transform: scale(1); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature--right .feature__media { order: 0; }
  .feature__media { max-width: 520px; }
  .cols { grid-template-columns: 1fr; max-width: 460px; }
  .visit__inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 22px; }
  .feature { padding: 0 22px; }
  .nav__group--l, .nav__bag span { display: none; }
  .nav__group--r { gap: 18px; }
  .hero__side { display: none; }
  .hero__scroll { left: 22px; }
}
@media (max-width: 460px) { .nav__group { gap: 16px; } }

/* ---------- motion-safe ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .creed__text[data-lines] span { opacity: 1 !important; transform: none !important; }
  .hero__title .w { transform: none !important; }
  .hero__kicker, .hero__lede, .hero__inner .cta, .hero__scroll { opacity: 1 !important; transform: none !important; }
  [data-curtain] { clip-path: none !important; }
  [data-curtain] img { transform: none !important; }
  .cursor { display: none; }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } body.cursor-on, body.cursor-on * { cursor: auto; } }
