/**
 * Project vertical — layout styles (single + archive).
 *
 * Ported from ex-snippets 577 (single) and 593 (archive). The reveal, parallax
 * baseline, carousel mechanics and lightbox are shared (editorial.css); this
 * file holds project-specific layout only. Colors come from tokens.css and the
 * snippets' Elementor-era !important is dropped. The parallax scale(1.18) start
 * state is owned by .js-parallax, so the *-bg containers no longer set it.
 */

/* ════════════════════════════════════════
   SINGLE PROJECT (snippet 577)
   ════════════════════════════════════════ */

/* ══ 1. HERO ══ */
.ps-hero { width: 100%; height: 100vh; min-height: 600px; position: relative; overflow: hidden; background: var(--black); }
.ps-hero-bg { position: absolute; inset: 0; }
.ps-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; max-width: none; margin: 0; }
.ps-hero-ov { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14, 14, 12, .1) 0%, rgba(14, 14, 12, .55) 100%); }
.ps-hero-back { position: absolute; top: 32px; left: 40px; z-index: 10; display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255, 255, 255, .6); text-decoration: none; transition: color .2s, gap .2s; font-family: var(--sans); }
.ps-hero-back:hover { color: #fff; gap: 14px; }
.ps-hero-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.ps-hero-cat { position: absolute; top: 38px; right: 40px; z-index: 10; background: var(--yellow); color: var(--black); font-size: 8px; letter-spacing: 3px; text-transform: uppercase; padding: 6px 16px; font-weight: 700; font-family: var(--sans); }
.ps-hero-body { position: absolute; bottom: 60px; left: 56px; right: 56px; z-index: 10; }
.ps-hero-meta { display: flex; align-items: center; gap: 0; margin-bottom: 18px; }
.ps-hero-meta span { font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255, 255, 255, .45); font-family: var(--sans); }
.ps-hero-meta span + span::before { content: "·"; margin: 0 12px; color: rgba(255, 255, 255, .2); }
.ps-hero-title { font-family: var(--serif); font-size: clamp(40px, 6vw, 88px); font-weight: 700; color: #fff; letter-spacing: -2px; line-height: .92; text-transform: none; max-width: 800px; }
.ps-hero-scroll { position: absolute; bottom: 60px; right: 40px; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255, 255, 255, .3); writing-mode: vertical-rl; font-family: var(--sans); }
.ps-hero-scroll::after { content: ""; width: 1px; height: 48px; background: rgba(255, 255, 255, .2); }

/* ══ 2. INFO BAR ══ */
.ps-info { background: #fff; border-bottom: 1px solid rgba(14, 14, 12, .08); padding: 36px 56px; }
.ps-info-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.ps-info-label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(14, 14, 12, .55); margin-bottom: 8px; font-family: var(--sans); font-weight: 500; }
.ps-info-val { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); font-weight: 700; color: var(--black); letter-spacing: -.3px; text-transform: none; }

/* ══ 3. INTRO ══ */
.ps-intro { padding: 88px 56px; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.ps-intro-label { font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase; color: rgba(14, 14, 12, .55); display: flex; align-items: center; gap: 10px; padding-top: 8px; font-family: var(--sans); font-weight: 500; }
.ps-intro-label::before { content: ""; width: 16px; height: 1px; background: var(--yellow); }
.ps-intro-text { font-size: clamp(18px, 2vw, 22px); font-weight: 400; line-height: 1.8; color: rgba(14, 14, 12, .75); font-family: var(--sans); }

/* ══ 4. FULL PHOTO ══ */
.ps-fullphoto { width: 100%; height: 70vh; min-height: 420px; position: relative; overflow: hidden; background: var(--black); }
.ps-fullphoto-bg { position: absolute; inset: 0; }
.ps-fullphoto-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; max-width: none; margin: 0; }

/* ══ 5. ALTERNATING ══ */
.ps-alt { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; border-top: 1px solid rgba(14, 14, 12, .06); }
.ps-alt-img { position: relative; overflow: hidden; background: var(--black); }
.ps-alt-img-inner { position: absolute; inset: 0; }
.ps-alt-img-inner img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; margin: 0; }
.ps-alt-body { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.ps-alt.reverse .ps-alt-img { order: 2; }
.ps-alt.reverse .ps-alt-body { order: 1; background: var(--cream); }
.ps-alt-num { font-size: 80px; font-weight: 700; color: rgba(14, 14, 12, .06); line-height: 1; margin-bottom: -20px; font-family: var(--serif); }
.ps-alt-eyebrow { font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase; color: rgba(14, 14, 12, .55); margin-bottom: 20px; font-family: var(--sans); font-weight: 500; }
.ps-alt-title { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); font-weight: 700; color: var(--black); letter-spacing: -.5px; line-height: 1.1; text-transform: none; margin-bottom: 24px; }
.ps-alt-text { font-size: 15px; font-weight: 400; line-height: 2; color: rgba(14, 14, 12, .7); font-family: var(--sans); }

/* ══ 6. GALLERY ══ */
.ps-gallery { padding: 96px 0 80px; background: var(--cream); }
.ps-gallery-head { padding: 0 56px; margin-bottom: 40px; display: flex; align-items: flex-end; justify-content: space-between; }
.ps-gallery-label { font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase; color: rgba(14, 14, 12, .55); font-weight: 500; display: flex; align-items: center; gap: 10px; font-family: var(--sans); }
.ps-gallery-label::before { content: ""; width: 16px; height: 1px; background: var(--yellow); }
.ps-gallery-count { font-size: 11px; letter-spacing: 1px; color: rgba(14, 14, 12, .45); font-family: var(--sans); }
.ps-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 56px; }
.ps-gi { overflow: hidden; position: relative; cursor: pointer; background: var(--black); aspect-ratio: 4/3; }
.ps-gi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.ps-gi:hover img { transform: scale(1.06); }
.ps-gi-ov { position: absolute; inset: 0; background: rgba(14, 14, 12, 0); transition: background .4s; }
.ps-gi:hover .ps-gi-ov { background: rgba(14, 14, 12, .12); }
.ps-gi-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.7); opacity: 0; transition: opacity .3s, transform .3s; width: 44px; height: 44px; background: rgba(255, 255, 255, .9); display: flex; align-items: center; justify-content: center; z-index: 2; }
.ps-gi:hover .ps-gi-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ps-gi-icon svg { width: 16px; height: 16px; stroke: var(--black); fill: none; stroke-width: 1.6; }

/* ══ 7. PRODUCTS ══ */
.ps-products { padding: 96px 0 100px; background: #fff; }
.ps-prod-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 52px; padding: 0 56px; }
.ps-prod-eyebrow { font-size: 10px; letter-spacing: 3.5px; text-transform: uppercase; color: rgba(14, 14, 12, .6); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 500; }
.ps-prod-eyebrow::before { content: ""; width: 16px; height: 1px; background: var(--yellow); }
.ps-prod-title { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; color: var(--black); letter-spacing: -.8px; line-height: 1; text-transform: none; }
.ps-prod-link { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--black); text-decoration: none; border-bottom: 1px solid rgba(14, 14, 12, .2); padding-bottom: 3px; display: flex; align-items: center; gap: 8px; transition: gap .25s; align-self: flex-end; font-family: var(--sans); }
.ps-prod-link:hover { gap: 14px; }
.ps-prod-link svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.5; }
/* carousel: mechanics in editorial.css (.mk-carousel*); only the layout padding is project-specific */
.ps-prod-carousel { padding: 0 56px; }

/* WooCommerce card */
.ps-wcard { flex: 0 0 auto; width: clamp(240px, 22vw, 300px); display: flex; flex-direction: column; background: #fff; text-decoration: none; color: inherit; position: relative; }
.ps-wcard-img-wrap { position: relative; background: var(--cream); aspect-ratio: 1/1; overflow: hidden; }
.ps-wcard-img-wrap img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 20px; display: block; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.ps-wcard:hover .ps-wcard-img-wrap img { transform: scale(1.05); }
.ps-wcard-badge { position: absolute; top: 14px; right: 0; z-index: 2; background: var(--yellow); color: var(--black); font-size: 8px; letter-spacing: 2.5px; text-transform: uppercase; padding: 5px 14px; font-weight: 700; font-family: var(--sans); opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; }
.ps-wcard:hover .ps-wcard-badge { opacity: 1; transform: translateX(0); }
.ps-wcard-img-footer { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.ps-wcard-wish { width: 32px; height: 32px; border: 1px solid rgba(14, 14, 12, .12); background: #fff; border-radius: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, border-color .2s; flex-shrink: 0; }
.ps-wcard-wish:hover { background: var(--yellow); border-color: var(--yellow); }
.ps-wcard-wish svg { width: 14px; height: 14px; stroke: rgba(14, 14, 12, .5); fill: none; stroke-width: 1.4; transition: stroke .2s; }
.ps-wcard-wish:hover svg { stroke: var(--black); }
.ps-wcard-swatches { display: flex; align-items: center; gap: 4px; }
.ps-wcard-swatch { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(14, 14, 12, .15); cursor: pointer; transition: box-shadow .2s; }
.ps-wcard-swatch.active, .ps-wcard-swatch:hover { box-shadow: 0 0 0 2px var(--black); }
.ps-wcard-body { padding: 14px 0 0; display: flex; flex-direction: column; flex: 1; }
.ps-wcard-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.ps-wcard-brand { font-size: 8.5px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(14, 14, 12, .38); font-family: var(--sans); }
.ps-wcard-sku { font-size: 8.5px; letter-spacing: 1px; color: rgba(14, 14, 12, .28); font-family: var(--sans); }
.ps-wcard-name { font-size: 15px; font-weight: 700; color: var(--black); line-height: 1.25; margin-bottom: 8px; font-family: var(--sans); text-decoration: none; display: block; }
.ps-wcard-stock { display: flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(14, 14, 12, .5); font-family: var(--sans); margin-bottom: 14px; }
.ps-wcard-stock-dot { width: 7px; height: 7px; border-radius: 50%; background: #4caf50; flex-shrink: 0; }
.ps-wcard-stock-dot.out { background: #e53935; }
.ps-wcard-price { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--black); letter-spacing: -.3px; margin-bottom: 14px; }
.ps-wcard-price del { font-size: 14px; color: rgba(14, 14, 12, .3); font-weight: 400; margin-right: 6px; }
.ps-wcard-btn { width: 100%; background: var(--black); color: #fff; border: none; padding: 13px 16px; font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer; font-family: var(--sans); display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s; margin-top: auto; text-decoration: none; }
.ps-wcard-btn:hover { background: #2a2a28; }
.ps-wcard-btn svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
    .ps-hero-body { left: 20px; right: 20px; bottom: 40px; }
    .ps-hero-back { left: 20px; top: 24px; }
    .ps-hero-cat { right: 20px; top: 24px; }
    .ps-hero-scroll { display: none; }
    .ps-info { padding: 28px 20px; }
    .ps-info-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .ps-intro { padding: 52px 20px; grid-template-columns: 1fr; gap: 24px; }
    .ps-intro-label { display: none; }
    .ps-alt { grid-template-columns: 1fr; }
    .ps-alt-img { height: 300px; position: relative; }
    .ps-alt-img-inner { position: absolute; inset: 0; }
    .ps-alt.reverse .ps-alt-img { order: 1; }
    .ps-alt.reverse .ps-alt-body { order: 2; }
    .ps-alt-body { padding: 40px 20px; }
    .ps-gallery { padding: 48px 0; }
    .ps-gallery-head { padding: 0 20px; }
    .ps-gallery-grid { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
    .ps-gi:nth-child(n) { grid-column: unset; aspect-ratio: 4/3; }
    .ps-products { padding: 52px 0 72px; }
    .ps-prod-head { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 16px; }
    .ps-prod-carousel { padding: 0 20px; }
}
@media (max-width: 480px) {
    .ps-wcard-name { font-size: 14px; }
    .ps-wcard-price { font-size: 17px; }
}

/* ════════════════════════════════════════
   ARCHIVE PROJECT (snippet 593)
   Client-side category filter; the .pa-* tree is archive-only and shares
   nothing with the single .ps-* tree above. The snippet's :root + global
   reset are dropped (tokens.css + style.css own those).
   ════════════════════════════════════════ */

/* ══ WRAP + HERO ══ */
.pa-wrap { background: var(--cream); min-height: 80vh; padding: 0 0 100px; }
.pa-hero { background: var(--black); padding: 80px 56px 64px; position: relative; overflow: hidden; }
.pa-hero::after { content: ""; position: absolute; bottom: 0; left: 56px; right: 56px; height: 1px; background: rgba(255, 255, 255, .08); }
.pa-hero-eyebrow { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: rgba(255, 255, 255, .35); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 500; }
.pa-hero-eyebrow::before { content: ""; width: 16px; height: 1px; background: var(--yellow); }
.pa-hero-title { font-family: var(--serif); font-size: clamp(44px, 7vw, 96px); font-weight: 700; color: #fff; letter-spacing: -2.5px; line-height: .9; text-transform: none; }
.pa-hero-count { position: absolute; top: 80px; right: 56px; font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255, 255, 255, .25); font-family: var(--sans); }

/* ══ FILTER ══ */
.pa-filter { display: flex; align-items: center; gap: 0; padding: 0 56px 40px; background: var(--black); flex-wrap: wrap; }
.pa-filter-btn { font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255, 255, 255, .35); background: none; border: none; cursor: pointer; padding: 8px 18px; font-family: var(--sans); transition: color .2s; position: relative; }
.pa-filter-btn::after { content: ""; position: absolute; bottom: 0; left: 18px; right: 18px; height: 1px; background: var(--yellow); transform: scaleX(0); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.pa-filter-btn.active { color: #fff; }
.pa-filter-btn.active::after { transform: scaleX(1); }
.pa-filter-btn:hover { color: rgba(255, 255, 255, .7); }

/* ══ GRID + CARD ══ */
.pa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 56px; }
.pa-card { display: block; text-decoration: none; color: inherit; position: relative; overflow: hidden; background: var(--black); }
.pa-card.hidden { display: none; }
.pa-card-img { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.pa-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.pa-card:hover .pa-card-img img { transform: scale(1.06); }
.pa-card-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 14, 12, .82) 0%, rgba(14, 14, 12, .2) 50%, rgba(14, 14, 12, 0) 100%); transition: background .5s; }
.pa-card:hover .pa-card-ov { background: linear-gradient(to top, rgba(14, 14, 12, .92) 0%, rgba(14, 14, 12, .35) 60%, rgba(14, 14, 12, .06) 100%); }
.pa-card-badge { position: absolute; top: 20px; left: 20px; z-index: 3; font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255, 255, 255, .65); border: 1px solid rgba(255, 255, 255, .2); padding: 5px 12px; font-family: var(--sans); transition: background .25s, color .25s, border-color .25s; }
.pa-card:hover .pa-card-badge { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.pa-card-body { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; padding: 24px 28px 28px; transform: translateY(6px); transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.pa-card:hover .pa-card-body { transform: translateY(0); }
.pa-card-meta { display: flex; align-items: center; gap: 0; margin-bottom: 8px; font-family: var(--sans); }
.pa-card-meta span { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.pa-card-meta span + span::before { content: "·"; margin: 0 8px; color: rgba(255, 255, 255, .2); }
.pa-card-title { font-family: var(--serif); font-size: clamp(16px, 1.8vw, 24px); font-weight: 700; color: #fff; line-height: 1.05; letter-spacing: -.4px; text-transform: none; margin-bottom: 14px; }
.pa-card-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, .55); border-bottom: 1px solid rgba(255, 255, 255, .2); padding-bottom: 3px; opacity: 0; transform: translateY(5px); transition: opacity .3s .05s, transform .3s .05s cubic-bezier(.22, 1, .36, 1); font-family: var(--sans); }
.pa-card:hover .pa-card-cta { opacity: 1; transform: translateY(0); }
.pa-card-cta svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.pa-card::after { content: ""; position: absolute; bottom: 0; left: 0; z-index: 4; width: 0; height: 2px; background: var(--yellow); transition: width .6s cubic-bezier(.22, 1, .36, 1); }
.pa-card:hover::after { width: 100%; }

/* ══ EMPTY STATES ══ */
.pa-empty { display: none; padding: 80px 56px; text-align: center; font-size: 14px; color: rgba(14, 14, 12, .4); font-family: var(--sans); grid-column: 1 / -1; }
.pa-empty.show { display: block; }
.pa-noresults { padding: 80px 56px; text-align: center; font-size: 14px; color: rgba(14, 14, 12, .4); font-family: var(--sans); }

/* ══ RESPONSIVE (archive) ══ */
@media (max-width: 1100px) {
    .pa-grid { grid-template-columns: repeat(3, 1fr); padding: 40px; }
}
@media (max-width: 900px) {
    .pa-hero { padding: 56px 20px 48px; }
    .pa-hero::after { left: 20px; right: 20px; }
    .pa-hero-count { top: 56px; right: 20px; }
    .pa-filter { padding: 0 20px 32px; }
    .pa-grid { grid-template-columns: 1fr 1fr; padding: 32px 20px; }
    .pa-card-title { font-size: clamp(15px, 2.5vw, 20px); }
    .pa-card-body { padding: 16px 18px 20px; }
    .pa-card-cta { opacity: 1; transform: none; }
}
@media (max-width: 540px) {
    .pa-grid { grid-template-columns: 1fr 1fr; padding: 24px 12px; }
    .pa-card-img { aspect-ratio: 3/4; }
}
