/* OMEN — maison landing.
   Quiet luxury layout (generous space, full-bleed campaign, few words) with OMEN's own codes:
   the vertical fracture (intro + image seams), Cinzel used only for ceremonial titles, concrete & oxide. */

.maison { --hair: rgba(235,230,221,.14); --pad-y: clamp(96px, 13vw, 200px); background: var(--ink); }
.maison main { display: block; }

/* micro type */
.m-micro { font-family: var(--sans); font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; font-weight: 400; color: var(--stone); }
.m-num { font-family: var(--display); font-size: 12px; letter-spacing: .3em; color: var(--stone); }
.m-h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.3vw, 52px); line-height: 1.08; letter-spacing: .03em; margin: 14px 0 0; }
.m-link { position: relative; display: inline-block; padding-bottom: 5px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
.m-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .7s var(--ease); }
a:hover > .m-link::after, .m-link:hover::after { transform: scaleX(0); }
a:hover > .m-link::before, .m-link:hover::before { transform: scaleX(1); transform-origin: left; }
.m-link::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease) .25s; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 34px; border: 1px solid rgba(235,230,221,.4);
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; transition: background .5s var(--ease), color .5s var(--ease), border-color .5s; }
.m-btn:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.m-btn--solid { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.m-btn--solid:hover { background: transparent; color: var(--bone); }
.m-center { display: flex; justify-content: center; }
.m-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 var(--gutter); margin-bottom: clamp(32px, 4vw, 56px); }
.m-head--center { flex-direction: column; align-items: center; text-align: center; }
.m-head-tools { display: flex; align-items: center; gap: 18px; }
.m-arrow { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; opacity: .55; transition: opacity .3s, background .3s, color .3s; }
.m-arrow:hover { opacity: 1; background: var(--ink); color: var(--paper); }

/* ── Intro: the fracture ─────────────────────────── */
.rift { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.rift.gone { display: none; }
.rift-half { position: absolute; top: 0; bottom: 0; width: 50.2%; background: var(--ink); transition: transform 1.5s cubic-bezier(.77,0,.18,1) .15s; }
.rift-l { left: 0; } .rift-r { right: 0; }
.rift-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -.5px; background: var(--bone); transform: scaleY(0); transform-origin: top;
  animation: riftLine 1.1s cubic-bezier(.7,0,.2,1) .2s forwards; transition: opacity .5s; }
.rift-mark { position: absolute; left: 50%; top: 50%; width: 30px; aspect-ratio: 732/942; transform: translate(-50%, -50%); background: var(--bone); opacity: 0;
  -webkit-mask: url(../assets/logo/omen-symbol.png) center / contain no-repeat; mask: url(../assets/logo/omen-symbol.png) center / contain no-repeat;
  animation: riftMark 1.2s var(--ease) .1s forwards; transition: opacity .4s; }
@keyframes riftLine { to { transform: scaleY(1); } }
@keyframes riftMark { to { opacity: 1; } }
.rift-open .rift-l { transform: translateX(-101%); }
.rift-open .rift-r { transform: translateX(101%); }
.rift-open .rift-line, .rift-open .rift-mark { opacity: 0; }
.maison .veil { display: none; }

/* ── I · Hero ─────────────────────────────────────── */
.maison .m-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.m-hero-media { position: absolute; inset: 0; display: block; }
.m-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transform: scale(1.12); transition: transform 2.6s cubic-bezier(.2,.7,.1,1) .5s; }
.rift-open .m-hero-media img { transform: scale(1.02); }
.m-hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,10,.45) 0%, transparent 22%, transparent 48%, rgba(11,11,10,.78) 100%); }
.m-hero-copy { position: absolute; left: 0; right: 0; bottom: clamp(88px, 13vh, 150px); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--gutter);
  opacity: calc(1 - var(--p, 0) * 1.8); transform: translateY(calc(var(--p, 0) * -60px)); }
.m-kicker { margin: 0 0 22px; font-size: 10.5px; letter-spacing: .4em; text-transform: uppercase; color: var(--concrete); }
.m-hero-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7.6vw, 132px); line-height: .96; letter-spacing: .05em; color: var(--paper); }
.m-hero-links { display: flex; gap: clamp(28px, 4vw, 56px); margin-top: clamp(28px, 3.4vw, 44px); color: var(--paper); }
/* staged entrance after the fracture opens */
.m-hero-copy > * { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.rift-open .m-hero-copy > * { opacity: 1; transform: none; }
.rift-open .m-hero-copy > :nth-child(1) { transition-delay: 1s; }
.rift-open .m-hero-copy > :nth-child(2) { transition-delay: 1.15s; }
.rift-open .m-hero-copy > :nth-child(3) { transition-delay: 1.35s; }
.m-hero-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; justify-content: space-between; align-items: center; }
.m-hero-foot .m-micro { color: var(--concrete); }
.m-scroll { display: inline-flex; align-items: center; gap: 12px; }
.m-scroll i { width: 1px; height: 34px; background: linear-gradient(var(--bone), transparent); animation: cue 2.6s var(--ease-io) infinite; transform-origin: top; }

/* ── II · Statement ───────────────────────────────── */
.m-statement { padding: var(--pad-y) var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.m-statement::before { content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: clamp(48px, 6vw, 96px); background: linear-gradient(transparent, var(--hair)); }
.m-sym { width: 22px; aspect-ratio: 732/942; background: var(--oxide); margin-bottom: 40px;
  -webkit-mask: url(../assets/logo/omen-symbol.png) center / contain no-repeat; mask: url(../assets/logo/omen-symbol.png) center / contain no-repeat; }
.m-statement-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.9vw, 62px); line-height: 1.16; letter-spacing: .03em; color: var(--paper); }
.m-statement-title .dim { color: var(--mineral); }
.m-statement-body { margin: 36px 0 0; max-width: 54ch; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.8; color: var(--stone); font-weight: 300; }

/* ── Seam reveal (the fracture as a motif) ────────── */
/* the clip lives on the image, so the (unclipped) frame can be observed for intersection */
.seam { position: relative; overflow: hidden; margin: 0; }
.seam img { width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 50% 0 50%); transition: clip-path 1.6s cubic-bezier(.77,0,.18,1), transform 2.4s var(--ease); }
.seam.is-open img { clip-path: inset(0 0 0 0); }
.seam::after { content: ''; position: absolute; left: 50%; top: 8%; bottom: 8%; width: 1px; background: rgba(235,230,221,.55); transform: scaleY(0); transition: transform .9s var(--ease-io), opacity .8s 1.1s; pointer-events: none; z-index: 2; }
.seam.is-open::after { transform: scaleY(1); opacity: 0; }

/* ── III · Diptych ────────────────────────────────── */
.m-diptych { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.m-panel { position: relative; display: block; color: var(--paper); }
.m-panel figure { aspect-ratio: 3 / 4.1; }
.m-panel figure img[data-parallax] { height: 112%; margin-top: -6%; }
.m-panel figure::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(11,11,10,.7)); pointer-events: none; }
.m-panel-cap { position: absolute; left: 0; right: 0; bottom: clamp(32px, 4vw, 60px); z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0 var(--gutter); }
.m-panel-cap h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 46px); letter-spacing: .08em; }
.m-panel-cap p { margin: 0 0 8px; font-size: 14px; color: var(--concrete); font-weight: 300; max-width: 48ch; min-height: 3.1em; }
.m-panel img { transition: transform 2.4s var(--ease), filter 1.2s var(--ease); filter: saturate(.85); }
.m-panel:hover img { filter: saturate(1); }

/* ── IV · Iconic pieces (bone) ────────────────────── */
.m-icons { background: var(--bone); color: var(--ink); padding: var(--pad-y) 0 calc(var(--pad-y) * .7); }
.m-icons .m-micro { color: var(--mineral); }
.m-icons .m-h2 { color: var(--ink); }
.m-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 24vw, 360px); column-gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 0 var(--gutter);
  scrollbar-width: none; cursor: grab; user-select: none; }
.m-rail::-webkit-scrollbar { display: none; }
.m-rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.m-rail.is-drag .m-card { pointer-events: none; }
.m-card { display: block; scroll-snap-align: start; }
.m-card-img { position: relative; aspect-ratio: 4 / 5; background: #dcd6cc; overflow: hidden; }
.m-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease), transform 1.6s var(--ease); -webkit-user-drag: none; }
.m-card-img.is-cut > img:first-child { object-fit: contain; padding: 9%; mix-blend-mode: multiply; }
.m-card-img .alt { opacity: 0; }
.m-card:hover .m-card-img .alt { opacity: 1; }
.m-card:hover .m-card-img img { transform: scale(1.035); }
.m-card-meta { padding: 18px 2px 0; display: grid; gap: 4px; }
.m-card-meta h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: .16em; }
.m-card-meta p { margin: 0; font-size: 13px; color: #6b6760; font-weight: 300; }
.m-card-meta .price { color: var(--ink); font-weight: 400; letter-spacing: .02em; }
.m-rail-bar { margin: clamp(36px, 4vw, 56px) var(--gutter) 0; height: 1px; background: rgba(11,11,10,.14); overflow: hidden; }
.m-rail-bar i { display: block; height: 100%; background: var(--ink); width: 30%; transition: transform .2s linear; }

/* ── V · Full bleed ───────────────────────────────── */
.m-bleed { position: relative; height: 118vh; min-height: 640px; overflow: hidden; display: grid; place-items: center; }
.m-bleed-media { position: absolute; inset: 0; overflow: hidden; }
.m-bleed-media img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; filter: grayscale(.2) contrast(1.04); }
.m-bleed::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 50%, rgba(11,11,10,.05), rgba(11,11,10,.55)); pointer-events: none; }
.m-bleed-copy { position: relative; z-index: 1; text-align: center; padding: 0 var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 22px; color: var(--ink); }
.m-bleed-copy .m-micro { color: #3c3a36; }
.m-bleed-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.6vw, 76px); line-height: 1.08; letter-spacing: .04em; max-width: 16ch; color: #141413; }

/* ── VI · Jewelry editorial ───────────────────────── */
.m-jewel { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 4vw, 72px); padding: var(--pad-y) var(--gutter); align-items: start; }
.m-jewel-a { aspect-ratio: 4 / 5; }
.m-jewel-a img[data-parallax] { height: 110%; margin-top: -5%; }
.m-jewel-side { display: grid; gap: clamp(40px, 5vw, 72px); padding-top: clamp(0px, 14vw, 220px); }
.m-jewel-b { aspect-ratio: 4 / 5; width: 72%; }
.m-jewel-copy { max-width: 40ch; }
.m-jewel-copy p { margin: 22px 0 30px; color: var(--stone); line-height: 1.8; font-weight: 300; }

/* ── VII · Craft ──────────────────────────────────── */
.m-craft { display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: auto auto; gap: 0 clamp(24px, 5vw, 96px); padding: 0 var(--gutter) var(--pad-y); position: relative; }
.m-craft-copy { grid-row: 1 / span 2; align-self: center; max-width: 46ch; }
.m-craft-copy > p { margin: 24px 0 0; color: var(--stone); line-height: 1.85; font-weight: 300; }
.m-craft-media { aspect-ratio: 5 / 4; }
.m-craft-media img[data-parallax] { height: 112%; margin-top: -6%; }
.m-craft-media2 { width: 46%; aspect-ratio: 4 / 3; margin: -12% 0 0 -14%; position: relative; z-index: 1; outline: clamp(8px, 1vw, 14px) solid var(--ink); }
.m-specs { margin: 44px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hair); }
.m-specs div { padding: 18px 0; border-bottom: 1px solid var(--hair); }
.m-specs div:nth-child(odd) { padding-right: 16px; }
.m-specs dt { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--mineral); }
.m-specs dd { margin: 6px 0 0; font-size: 15px; color: var(--bone); }

/* ── VIII · Film ──────────────────────────────────── */
.m-film { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #000; }
.m-film video { width: 100%; height: 100%; object-fit: cover; }
.m-film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), transparent 25%, transparent 75%, rgba(0,0,0,.5)); pointer-events: none; }
.m-film-ui { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; z-index: 1; display: flex; justify-content: space-between; align-items: center; }
.m-film-ui .m-micro { color: var(--concrete); }
.m-film-sound { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--paper); padding: 12px 20px; border: 1px solid rgba(235,230,221,.4); border-radius: 30px;
  background: rgba(11,11,10,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .4s, color .4s; }
.m-film-sound:hover { background: var(--bone); color: var(--ink); }

/* ── IX · Lookbook ────────────────────────────────── */
.m-look { padding: var(--pad-y) var(--gutter); }
.m-look .m-head { padding: 0; }
.m-look-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 20px); align-items: start; margin-bottom: clamp(48px, 6vw, 88px); }
.lk { display: block; }
.lk img { transition: transform 1.6s var(--ease), filter .8s; }
.lk:hover img { transform: scale(1.08); }
.lk-1 { grid-column: 1 / span 5; aspect-ratio: 4/5; }
.lk-2 { grid-column: 7 / span 4; aspect-ratio: 4/5; margin-top: 18%; }
.lk-3 { grid-column: 11 / span 2; aspect-ratio: 2/3; margin-top: 4%; }
.lk-4 { grid-column: 2 / span 3; aspect-ratio: 3/4; margin-top: 4%; }
.lk-5 { grid-column: 5 / span 4; aspect-ratio: 2/3; margin-top: 10%; }
.lk-6 { grid-column: 9 / span 4; aspect-ratio: 4/5; margin-top: 2%; }

/* ── X · Private client ───────────────────────────── */
.m-private { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 92vh; background: var(--graphite); }
.m-private-media { position: relative; overflow: hidden; }
.m-private-media img { position: absolute; inset: 0; width: 100%; height: 116%; margin-top: -8%; object-fit: cover; }
.m-private-copy { padding: var(--pad-y) clamp(24px, 6vw, 110px); align-self: center; max-width: 640px; }
.m-private-copy > p { margin: 24px 0 36px; color: var(--stone); line-height: 1.85; font-weight: 300; }
.m-private-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.m-assure { list-style: none; margin: 48px 0 0; padding: 0; display: grid; border-top: 1px solid var(--hair); }
.m-assure li { padding: 15px 0; border-bottom: 1px solid var(--hair); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); display: flex; gap: 14px; align-items: center; }
.m-assure li::before { content: ''; width: 5px; height: 5px; border: 1px solid var(--oxide); transform: rotate(45deg); flex: none; }

.m-quiet { color: var(--mineral); transition: color .4s; }
.m-quiet:hover { color: var(--oxide); }

/* header over light section: text inverts via mix-blend: difference, the backdrop turns bone */
.maison.on-light .header-bg { background: rgba(235,230,221,.88); }
.maison .site-header nav a, .maison .header-tools > * { letter-spacing: .22em; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .m-diptych { grid-template-columns: 1fr; }
  .m-jewel { grid-template-columns: 1fr; }
  .m-jewel-side { padding-top: 0; grid-template-columns: 1fr; }
  .m-jewel-b { width: 62%; margin-left: auto; margin-top: -30%; position: relative; z-index: 1; outline: 10px solid var(--ink); }
  .m-craft { grid-template-columns: 1fr; padding-top: 0; }
  .m-craft-copy { grid-row: auto; margin-bottom: 48px; }
  .m-craft-media2 { margin: -16% 0 0 auto; width: 54%; }
  .m-private { grid-template-columns: 1fr; }
  .m-private-media { aspect-ratio: 4 / 5; }
  .m-look-grid { grid-template-columns: repeat(6, 1fr); }
  .lk-1 { grid-column: 1 / span 4; } .lk-2 { grid-column: 3 / span 4; margin-top: -10%; }
  .lk-3 { grid-column: 1 / span 3; margin-top: 8%; } .lk-4 { grid-column: 4 / span 3; margin-top: 20%; }
  .lk-5 { grid-column: 1 / span 3; margin-top: -4%; } .lk-6 { grid-column: 4 / span 3; margin-top: 12%; }
  .m-head { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .m-hero-links { flex-direction: column; align-items: center; gap: 18px; }
  .m-head-tools .m-arrow { display: none; }
  .m-rail { grid-auto-columns: 74vw; }
  .m-specs { grid-template-columns: 1fr; }
  .m-specs div:nth-child(odd) { padding-right: 0; }
  .m-bleed { height: 90vh; }
  .m-film { height: 70svh; }
  .m-private-cta .m-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .rift { display: none; }
  .seam img { clip-path: none !important; } .seam::after { display: none; }
  .seam img, .m-hero-media img { transform: none !important; }
  .m-hero-copy > * { opacity: 1; transform: none; }
}
