/* ПЯТНИЦА* — Concept Store. Оригинальные стили кейса APEX MEDIA. */
:root {
  --paper: #f2ecdf;
  --ink: #161311;
  --accent: #ff4d24;
  --sticker: #ffd23e;
  --lilac: #cdb9ff;
  --muted: #6f675c;
  --radius: 14px;
  --font-display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Menlo", "Consolas", monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--font-mono); font-size: 15px; line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
.display { font-family: var(--font-display); font-weight: 900; letter-spacing: .01em; line-height: 1.05; text-transform: uppercase; }
.mono { letter-spacing: .06em; }
em { color: var(--accent); font-style: normal; }
::selection { background: var(--sticker); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* прелоадер */
#loader { position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader-hand { width: 120px; filter: grayscale(1) contrast(1.15); animation: handBounce 1s ease-in-out infinite alternate; border-radius: 12px; }
.loader-word { font-size: clamp(40px, 8vw, 92px); transform: translateY(110%); animation: wordUp .9s cubic-bezier(.16,1,.3,1) .15s forwards; }
.loader-word em { color: var(--accent); }
.loader-pct { position: absolute; bottom: 32px; right: 40px; font-size: 13px; }
@keyframes wordUp { to { transform: translateY(0); } }
@keyframes handBounce { from { transform: translateY(6px) rotate(-4deg); } to { transform: translateY(-6px) rotate(4deg); } }
body.loaded #loader { transition: opacity .5s, visibility .5s; opacity: 0; visibility: hidden; pointer-events: none; }

/* курсор */
#cursor { position: fixed; z-index: 190; top: 0; left: 0; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); transition: width .25s, height .25s, background-color .25s, opacity .25s; display: flex; align-items: center; justify-content: center; opacity: 0; }
#cursor.active { width: 84px; height: 84px; background: var(--sticker); border-color: transparent; }
#cursorLabel { font-size: 10px; letter-spacing: .08em; text-align: center; }
@media (hover: none), (pointer: coarse) { #cursor { display: none !important; } }

/* шапка */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; background: linear-gradient(var(--paper) 55%, transparent); }
.logo { font-size: 22px; position: relative; z-index: 130; }
.logo em { font-size: 28px; vertical-align: super; }
.header-actions { display: flex; gap: 14px; align-items: center; position: relative; z-index: 130; }
.icon-btn { font-size: 13px; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); transition: background .25s, color .25s; }
.icon-btn:hover { background: var(--ink); color: var(--paper); }
.icon-btn sup { color: var(--accent); font-weight: bold; }
.burger { display: flex; flex-direction: column; gap: 6px; padding: 10px; z-index: 130; }
.burger span { width: 26px; height: 3px; background: var(--ink); transition: transform .3s, background .3s; border-radius: 2px; }
.burger.open span:first-child { transform: translateY(4.5px) rotate(45deg); background: var(--paper); }
.burger.open span:last-child { transform: translateY(-4.5px) rotate(-45deg); background: var(--paper); }

/* меню */
.menu { position: fixed; inset: 0; z-index: 120; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: center; padding: 0 8vw; }
.menu[hidden] { display: none; }
.menu ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.menu a { font-size: clamp(30px, 6vw, 64px); transition: color .25s, transform .25s; display: inline-block; }
.menu a:hover { color: var(--accent); transform: translateX(14px) skewX(-4deg); }
.menu-note { margin-top: 34px; color: var(--muted); }
/* hero */
.hero { position: relative; min-height: 100svh; padding: 110px 32px 70px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: end; overflow: hidden; }
.hero-collage { position: absolute; inset: 0; pointer-events: none; }
.hero-shot { position: absolute; overflow: hidden; border-radius: var(--radius); will-change: transform; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.hero-shot figcaption { position: absolute; bottom: 10px; left: 10px; background: var(--paper); padding: 4px 10px; font-size: 11px; border-radius: 999px; }
.hs-main { right: 6%; top: 12%; width: min(38vw, 560px); aspect-ratio: 3/4; }
.hs-side { left: 3%; top: 22%; width: min(21vw, 320px); aspect-ratio: 3/4.4; transform: rotate(-4deg); }
.hs-small { left: 27%; top: 58%; width: min(15vw, 230px); aspect-ratio: 3/4.2; transform: rotate(5deg); z-index: 3; }
.hero-shot:hover img { transform: scale(1.05); }

.hero-type { position: relative; z-index: 4; margin-top: auto; max-width: 760px; }
.hero-title .l1 { display: block; font-size: clamp(64px, 11vw, 168px); letter-spacing: -0.02em; }
.hero-title .l1 em { font-size: .5em; vertical-align: super; }
.hero-title .l2 { display: inline-block; margin-top: 14px; font-size: clamp(17px, 2vw, 28px); letter-spacing: .04em; max-width: 560px; background: var(--sticker); padding: 8px 14px; transform: rotate(-1deg); box-shadow: 6px 6px 0 var(--ink); }
.hero-note { margin-top: 22px; color: var(--muted); }
.hero-cta { margin-top: 26px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 16px 30px; font-size: 14px; border: 2px solid var(--ink); border-radius: 999px; transition: box-shadow .25s, background .25s, color .25s; will-change: transform; }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--accent); border-color: var(--accent); box-shadow: 6px 6px 0 rgba(22,19,17,.25); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

.stickers { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.sticker { position: absolute; padding: 10px 16px; border-radius: 8px; font-size: 12px; box-shadow: 4px 4px 0 rgba(22,19,17,.85); animation: floaty 4s ease-in-out infinite alternate; }
.st-1 { top: 16%; left: 42%; background: var(--accent); color: #fff; }
.st-2 { top: 46%; right: 4%; background: var(--sticker); }
.st-3 { top: 74%; right: 34%; background: var(--lilac); }
.rot-l { transform: rotate(-7deg); } .rot-r { transform: rotate(6deg); }
@keyframes floaty { from { translate: 0 0; } to { translate: 0 -14px; } }

.hero-scroll { position: absolute; bottom: 22px; right: 32px; z-index: 5; display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.hero-scroll i { display: block; width: 1px; height: 44px; background: var(--ink); animation: scrollPulse 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes scrollPulse { 0% { transform: scaleY(.2);} 50% { transform: scaleY(1);} 100% { transform: scaleY(.2);} }

.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 26s linear infinite; will-change: transform; }
.marquee-track span { font-size: 15px; letter-spacing: .1em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 90px 32px; }
.kicker { font-size: 13px; color: var(--accent); display: block; margin-bottom: 18px; }
.sec-title { font-size: clamp(34px, 5vw, 72px); margin-bottom: 40px; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }

.collection-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; align-items: start; }
.col-card { overflow: hidden; border-radius: var(--radius); }
.col-card.big { aspect-ratio: 3/4.2; }
.col-card:not(.big) { aspect-ratio: 4/4.6; margin-top: 40px; }
.col-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.col-card:hover img { transform: scale(1.06); }
.sec-foot { margin-top: 44px; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card { border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px 20px; font-size: clamp(18px, 1.8vw, 26px); display: flex; flex-direction: column; gap: 8px; transition: background .3s, color .3s, transform .3s; }
.cat-card small { font-family: var(--font-mono); font-weight: 400; font-size: 11px; }
.cat-card:hover { background: var(--ink); color: var(--paper); transform: translateY(-6px); }
.cat-card:hover small { color: var(--sticker); }
/* дизайнеры */
.designer-list { list-style: none; }
.designer-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 8px; border-bottom: 2px solid var(--ink); font-size: clamp(22px, 3vw, 44px); transition: padding-left .3s, color .3s; }
.designer-list li:hover { padding-left: 26px; color: var(--accent); }
.designer-list .mono { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* editorial */
.editorial { position: relative; overflow: hidden; }
.ed-img { width: 100%; height: min(90vh, 900px); object-fit: cover; }
.ed-caption { position: absolute; left: 32px; bottom: 32px; background: var(--paper); border-radius: var(--radius); padding: 18px 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: 8px 8px 0 rgba(255,77,36,.9); }
.ed-big { font-size: clamp(28px, 4vw, 56px); }
.ed-caption .mono { font-size: 11px; color: var(--muted); }

/* каталог */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filters select {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .05em;
  padding: 10px 14px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--ink);
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { position: relative; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .5s ease, transform .5s cubic-bezier(.16,1,.3,1); border-radius: var(--radius); }
.card.in { opacity: 1; transform: none; }
.card:hover { z-index: 2; }
.card-photo { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.card-photo img.alt { opacity: 0; }
.card:hover img.main, .card:focus-within img.main { opacity: 0; }
.card:hover img.alt, .card:focus-within img.alt { opacity: 1; transform: scale(1.04); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.badge { font-size: 10px; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: var(--sticker); }
.badge.low { background: var(--accent); color: #fff; }
.fav-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); font-size: 17px; line-height: 1; display: grid; place-items: center; transition: transform .25s, color .25s; }
.fav-btn:hover { transform: scale(1.15); }
.fav-btn.on { color: var(--accent); }
.quick-add {
  position: absolute; bottom: 12px; left: 50%; transform: translate(-50%, 140%);
  z-index: 3; background: var(--ink); color: var(--paper);
  font-size: 11px; letter-spacing: .08em; padding: 12px 18px; border-radius: 999px;
  transition: transform .35s cubic-bezier(.16,1,.3,1), background .25s; white-space: nowrap;
}
.card:hover .quick-add, .card:focus-within .quick-add { transform: translate(-50%, 0); }
.quick-add:hover { background: var(--accent); }
.card-meta { padding: 14px 4px 0; display: grid; gap: 4px; }
.card-brand { font-size: 11px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.card-name { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 15px; }
.card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card-price { font-weight: bold; }
.card-sizes { font-size: 11px; color: var(--muted); }
.empty { padding: 40px 0; color: var(--muted); }
/* история */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.story-photo { border-radius: var(--radius); overflow: hidden; transform: rotate(-2deg); box-shadow: 10px 10px 0 var(--lilac); }
.story-text p { margin-top: 16px; max-width: 52ch; }
.big-num { display: block; font-size: clamp(70px, 10vw, 160px); color: transparent; -webkit-text-stroke: 2px var(--accent); margin-top: 24px; }

/* услуги */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { border: 2px solid var(--ink); border-radius: var(--radius); padding: 30px 26px; display: grid; gap: 12px; align-content: start; transition: background .3s, color .3s, transform .3s; }
.svc:hover { background: var(--ink); color: var(--paper); transform: translateY(-6px); }
.svc .num { font-size: 15px; color: var(--accent); }
.svc h3 { font-size: clamp(18px, 1.8vw, 26px); }
.svc p { font-size: 13px; }

/* запись */
.booking { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.booking-box { border: 2px solid var(--ink); border-radius: var(--radius); padding: 40px; box-shadow: 12px 12px 0 var(--sticker); }
#bookingForm { display: grid; gap: 18px; margin-top: 10px; }
#bookingForm label { display: grid; gap: 8px; font-size: 12px; letter-spacing: .08em; }
#bookingForm input { font-family: var(--font-mono); font-size: 15px; padding: 13px 16px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); }
.form-msg { color: var(--accent); font-weight: bold; min-height: 1em; }
.booking-photo { border-radius: var(--radius); overflow: hidden; }
.booking-photo img { width: 100%; height: 100%; object-fit: cover; }

/* lookbook */
.lookfeed { padding: 60px 32px; }
.feed-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 20px; }
.feed-row img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; transition: transform .35s, filter .35s; filter: saturate(.85); position: relative; z-index: 1; }
.feed-row img:hover { transform: scale(1.05) rotate(-1deg); filter: none; z-index: 2; }

/* контакты + CTA */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-grid h3 { font-size: clamp(20px, 2vw, 30px); margin-bottom: 10px; color: var(--accent); }
.final-cta { padding: 120px 32px; text-align: center; background: var(--ink); color: var(--paper); }
.cta-title { font-size: clamp(40px, 8vw, 110px); }
.cta-accent { color: var(--accent); }
.big-btn { margin-top: 34px; border-color: var(--paper); background: var(--paper); color: var(--ink); }
.big-btn:hover { background: var(--accent); color: #fff; }

.footer { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; padding: 26px 32px; font-size: 12px; border-top: 2px solid var(--ink); }
.to-top:hover { color: var(--accent); }

/* корзина / избранное */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 180; width: min(420px, 92vw); background: var(--paper); border-left: 2px solid var(--ink); display: flex; flex-direction: column; padding: 24px; animation: drawerIn .4s cubic-bezier(.16,1,.3,1); }
.drawer[hidden] { display: none; }
@keyframes drawerIn { from { transform: translateX(100%);} to { transform: none;} }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer-head h2 { font-size: 26px; }
.close-x { font-size: 30px; line-height: 1; }
.drawer-list { list-style: none; flex: 1; overflow-y: auto; display: grid; gap: 14px; align-content: start; }
.drawer-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; border: 2px solid var(--ink); border-radius: 10px; padding: 10px; }
.drawer-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 6px; }
.drawer-item .n { font-size: 12px; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; }
.drawer-item .p { font-size: 12px; color: var(--muted); }
.rm { font-size: 18px; color: var(--muted); padding: 6px; }
.rm:hover { color: var(--accent); }
.drawer-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; font-weight: bold; }

.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 200%); z-index: 210; background: var(--ink); color: var(--paper); padding: 14px 26px; border-radius: 999px; font-size: 13px; transition: transform .45s cubic-bezier(.16,1,.3,1); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); }
/* адаптив */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hs-main { width: 44vw; right: -4%; }
  .hs-side { width: 26vw; }
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .contact-grid { grid-template-columns: 1fr; }
  .story-grid, .booking { grid-template-columns: 1fr; }
  .feed-row { grid-template-columns: repeat(3, 1fr); }
  .feed-row img:nth-child(n+4) { display: none; }
}
@media (max-width: 768px) {
  #header { padding: 14px 18px; }
  .section, .lookfeed { padding-left: 18px; padding-right: 18px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding: 96px 18px 60px; display: flex; flex-direction: column; justify-content: flex-end; }
  .hs-side, .hs-small { display: none; }
  .hs-main { position: relative; right: auto; top: auto; order: -1; margin: 0 auto 20px; width: min(78%, 340px); }
  .hero-title .l1 { font-size: clamp(56px, 17vw, 96px); }
  .st-1 { left: 6%; }
  .st-3 { right: 6%; left: auto; }
  .filters select { flex: 1 1 46%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-meta { padding-top: 10px; }
  .booking-box { padding: 26px; box-shadow: 8px 8px 0 var(--sticker); }
  .icon-btn { font-size: 11px; }
}
@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; text-align: center; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .loader-word { transform: none; animation: none; }
}




