/* ==========================================================================
   Zireko Home — Layout 42 · Experimental Motion Grid
   Secondary: layered motion, parallax depth, hover transitions
   Mutation: broken grid, overlap, diagonal cuts
   ========================================================================== */

.zrk-motion-grid { position: relative; margin-left: var(--zrk-rail-w); }

.zrk-cell {
    position: relative;
    padding: calc(var(--zrk-bar-h) + 2.5rem) clamp(1.5rem, 4vw, 3.5rem) 5rem;
    border-bottom: 1px solid var(--zrk-glass-border);
    overflow: hidden;
}

/* S1 Ignite — motion grid mosaic */
.zrk-cell--ignite {
    min-height: 100vh;
    padding-top: calc(var(--zrk-bar-h) + 1rem);
    background: var(--zrk-void);
}

.zrk-ignite__lattice {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    pointer-events: none;
    opacity: 0.15;
}
.zrk-ignite__dot {
    border: 1px solid var(--zrk-teal);
    animation: zrkPulse 4s ease-in-out infinite;
    animation-delay: calc(var(--d) * 0.15s);
}
@keyframes zrkPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.95); }
}

.zrk-ignite__mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, minmax(40px, auto));
    gap: 0.65rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.zrk-ignite__cell {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--zrk-glass-border);
    transition: transform 0.5s var(--zrk-ease), box-shadow 0.5s;
    will-change: transform;
}
.zrk-ignite__cell:hover {
    z-index: 5;
    box-shadow: 0 20px 60px rgba(0, 212, 170, 0.2);
}
.zrk-ignite__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--zrk-ease);
}
.zrk-ignite__cell:hover img { transform: scale(1.06); }

.zrk-ignite__cell--xl { grid-column: 1 / 6; grid-row: 1 / 5; clip-path: polygon(0 0, 100% 0, 95% 100%, 0 92%); }
.zrk-ignite__cell--tall { grid-column: 6 / 9; grid-row: 1 / 6; transform: rotate(-1deg); }
.zrk-ignite__cell--wide { grid-column: 9 / 13; grid-row: 1 / 3; clip-path: polygon(3% 0, 100% 0, 100% 100%, 0 88%); }
.zrk-ignite__cell--text {
    grid-column: 9 / 13;
    grid-row: 3 / 7;
    padding: 1.5rem;
    background: var(--zrk-ink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 2px solid var(--zrk-teal);
}
.zrk-ignite__cell:nth-child(6) { grid-column: 1 / 4; grid-row: 5 / 8; }
.zrk-ignite__cell--skew { grid-column: 4 / 8; grid-row: 5 / 9; clip-path: polygon(8% 0, 100% 5%, 92% 100%, 0 95%); }
.zrk-ignite__cell:nth-child(8) { grid-column: 8 / 11; grid-row: 6 / 9; }

.zrk-ignite__title {
    font-family: var(--zrk-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 1rem;
}
.zrk-ignite__title span { display: block; }
.zrk-ignite__title em { color: var(--zrk-teal); font-style: normal; }
.zrk-ignite__lead { margin: 0 0 1.25rem; font-size: 0.88rem; color: var(--zrk-ash); line-height: 1.7; }
.zrk-ignite__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.zrk-ignite__coords {
    position: absolute;
    bottom: 2rem;
    left: clamp(1.5rem, 4vw, 3.5rem);
    display: flex;
    gap: 2rem;
    font-family: var(--zrk-mono);
    font-size: 0.68rem;
    z-index: 2;
}
.zrk-ignite__coords div { display: flex; flex-direction: column; gap: 0.15rem; }
.zrk-ignite__coords span { color: var(--zrk-ash-dim); letter-spacing: 0.1em; }
.zrk-ignite__coords strong { color: var(--zrk-teal); }

/* S2 Pulse — horizontal scroll */
.zrk-cell--pulse { background: var(--zrk-ink); padding-bottom: 3rem; }
.zrk-pulse-head h2 {
    font-family: var(--zrk-serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin: 0 0 2rem;
    max-width: 600px;
}
.zrk-pulse-head em { color: var(--zrk-amber); font-style: normal; }
.zrk-pulse-belt { overflow-x: auto; scrollbar-width: none; cursor: grab; }
.zrk-pulse-belt::-webkit-scrollbar { display: none; }
.zrk-pulse-belt.is-dragging { cursor: grabbing; }
.zrk-pulse-track { display: flex; gap: 1rem; padding-bottom: 0.5rem; width: max-content; }
.zrk-pulse-card {
    flex: 0 0 200px;
    padding: 1.75rem 1.25rem;
    background: var(--zrk-slate);
    border: 1px solid var(--zrk-glass-border);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    transition: transform 0.35s, border-color 0.35s;
}
.zrk-pulse-card:hover { transform: translateY(-6px); border-color: var(--zrk-teal); }
.zrk-pulse-card__n { font-family: var(--zrk-display); font-size: 2.8rem; font-weight: 800; color: var(--zrk-teal); line-height: 1; }
.zrk-pulse-card__u { font-family: var(--zrk-mono); font-size: 0.72rem; color: var(--zrk-ash); }
.zrk-pulse-card p { margin: 0.5rem 0 0; font-size: 0.82rem; color: var(--zrk-ash); }

/* S3 Manifesto */
.zrk-cell--manifesto {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, var(--zrk-void) 0%, var(--zrk-ink) 100%);
}
.zrk-manifesto__quote {
    margin: 0 0 1.5rem;
    font-family: var(--zrk-serif);
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.45;
}
.zrk-manifesto__line { display: block; }
.zrk-manifesto__line--shift { color: var(--zrk-teal); margin-left: 2rem; }
.zrk-manifesto__quote em { color: var(--zrk-amber); font-style: normal; }
.zrk-manifesto__body p { color: var(--zrk-ash); font-size: 0.92rem; margin: 0 0 1rem; }
.zrk-manifesto__visual { position: relative; }
.zrk-manifesto__visual img { border-radius: var(--zrk-radius-lg); box-shadow: 0 32px 80px rgba(0,0,0,0.5); }
.zrk-manifesto__visual figcaption {
    position: absolute;
    bottom: -0.5rem;
    right: 1rem;
    padding: 0.35rem 0.75rem;
    background: var(--zrk-teal);
    color: var(--zrk-void);
    font-family: var(--zrk-mono);
    font-size: 0.62rem;
}

/* S4 Interactive Torque Lattice */
.zrk-cell--lattice {
    display: grid;
    grid-template-columns: 1fr 320px;
    grid-template-rows: auto 1fr;
    gap: 2rem;
    background: var(--zrk-slate);
}
.zrk-lattice-head { grid-column: 1 / -1; }
.zrk-lattice-head h2 { font-family: var(--zrk-serif); font-size: clamp(1.4rem, 2.8vw, 2rem); margin: 0; }
.zrk-lattice-head em { color: var(--zrk-teal); font-style: normal; }
.zrk-lattice-head__sub { color: var(--zrk-ash); font-size: 0.88rem; margin-top: 0.5rem; }

.zrk-torque-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.zrk-torque-cell {
    position: relative;
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid var(--zrk-glass-border);
    background: var(--zrk-ink);
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: block;
}
.zrk-torque-cell:hover { transform: scale(1.03); border-color: var(--zrk-teal-dim); }
.zrk-torque-cell.is-active {
    border-color: var(--zrk-teal);
    box-shadow: 0 0 0 1px var(--zrk-teal), 0 12px 40px rgba(0, 212, 170, 0.2);
}
.zrk-torque-cell__img {
    position: absolute;
    inset: 0;
    display: block;
}
.zrk-torque-cell__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--zrk-ease), opacity 0.35s;
}
.zrk-torque-cell:hover .zrk-torque-cell__img img { transform: scale(1.08); }
.zrk-torque-cell.is-active .zrk-torque-cell__img img { opacity: 0.55; }
.zrk-torque-cell__meta {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.85rem 1rem;
    background: linear-gradient(transparent, rgba(6, 8, 10, 0.92));
    z-index: 1;
}
.zrk-torque-cell__key { font-family: var(--zrk-mono); font-size: 0.62rem; color: var(--zrk-teal); display: block; }
.zrk-torque-cell strong { display: block; font-family: var(--zrk-display); font-size: 0.95rem; margin: 0.2rem 0; color: #fff; }
.zrk-torque-cell__val { font-family: var(--zrk-mono); font-size: 0.78rem; color: var(--zrk-amber); font-style: normal; }

.zrk-torque-readout {
    padding: 1.5rem;
    background: var(--zrk-ink);
    border: 1px solid var(--zrk-glass-border);
    border-left: 3px solid var(--zrk-amber);
    align-self: start;
    position: sticky;
    top: calc(var(--zrk-bar-h) + 1rem);
}
.zrk-torque-readout__visual {
    margin: 0 0 1rem;
    overflow: hidden;
    border-radius: var(--zrk-radius-lg);
    border: 1px solid var(--zrk-glass-border);
    aspect-ratio: 4/3;
}
.zrk-torque-readout__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s, transform 0.5s var(--zrk-ease);
}
.zrk-torque-readout__visual img.is-fading { opacity: 0; transform: scale(1.04); }
.zrk-torque-readout h3 { font-family: var(--zrk-display); font-size: 1.3rem; margin: 0 0 1rem; }
.zrk-torque-readout dl { margin: 0 0 1rem; }
.zrk-torque-readout dl div { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid var(--zrk-glass-border); font-size: 0.85rem; }
.zrk-torque-readout dt { color: var(--zrk-ash); }
.zrk-torque-readout dd { margin: 0; font-family: var(--zrk-mono); color: var(--zrk-teal); }

/* S5 Collection Fracture — broken grid */
.zrk-cell--fracture { background: var(--zrk-void); }
.zrk-fracture-head h2 { font-family: var(--zrk-serif); font-size: clamp(1.4rem, 2.8vw, 2rem); margin: 0 0 2.5rem; }
.zrk-fracture-head em { color: var(--zrk-amber); font-style: normal; }
.zrk-fracture-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1rem;
}
.zrk-fracture-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--zrk-glass-border);
    transition: transform 0.4s var(--zrk-ease);
}
.zrk-fracture-item:nth-child(1) { grid-column: 1 / 5; grid-row: span 2; transform: rotate(-0.5deg); }
.zrk-fracture-item:nth-child(2) { grid-column: 5 / 9; grid-row: span 1; margin-top: 2rem; transform: rotate(0.8deg); }
.zrk-fracture-item:nth-child(3) { grid-column: 9 / 13; grid-row: span 2; transform: rotate(-0.3deg); }
.zrk-fracture-item:nth-child(4) { grid-column: 2 / 6; grid-row: span 1; margin-top: -1rem; }
.zrk-fracture-item:nth-child(5) { grid-column: 6 / 10; grid-row: span 2; }
.zrk-fracture-item:nth-child(6) { grid-column: 10 / 13; grid-row: span 1; }
.zrk-fracture-item:hover { transform: rotate(0deg) scale(1.02); z-index: 3; }
.zrk-fracture-item__mask { height: 55%; overflow: hidden; }
.zrk-fracture-item__mask img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.zrk-fracture-item:hover .zrk-fracture-item__mask img { transform: scale(1.08); }
.zrk-fracture-item__meta { padding: 1rem; background: var(--zrk-ink); }
.zrk-fracture-item__badge { font-family: var(--zrk-mono); font-size: 0.6rem; color: var(--zrk-teal); }
.zrk-fracture-item__meta h3 { margin: 0.35rem 0; font-size: 0.95rem; }
.zrk-fracture-item__meta p { margin: 0; font-size: 0.75rem; color: var(--zrk-ash); }
.zrk-fracture-item__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 0.75rem; }
.zrk-fracture-cta { margin-top: 2rem; text-align: center; }

/* S6 Chronicle — pinned story */
.zrk-cell--chronicle { background: var(--zrk-ink); min-height: 120vh; }
.zrk-chronicle-pin { position: sticky; top: var(--zrk-bar-h); padding: 2rem 0; }
.zrk-chronicle__rail { position: relative; min-height: 420px; max-width: 700px; margin: 0 auto; }
.zrk-chronicle-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.5s, transform 0.5s var(--zrk-ease);
    pointer-events: none;
}
.zrk-chronicle-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.zrk-chronicle-slide h3 { font-family: var(--zrk-serif); font-size: 1.6rem; margin: 0.5rem 0; }
.zrk-chronicle-slide p { color: var(--zrk-ash); font-size: 0.9rem; margin: 0 0 1rem; }
.zrk-chronicle-slide img { border-radius: var(--zrk-radius-lg); max-width: 100%; }
.zrk-chronicle-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.zrk-chronicle-nav button {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--zrk-glass-border);
    background: transparent;
    color: var(--zrk-ash);
    font-family: var(--zrk-mono);
    font-size: 0.78rem;
    cursor: pointer;
    transition: border-color 0.25s, color 0.25s;
}
.zrk-chronicle-nav button.is-active { border-color: var(--zrk-teal); color: var(--zrk-teal); }

/* S7 Distort Lab — experimental */
.zrk-cell--distort {
    background: var(--zrk-void);
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}
.zrk-distort-head h2 { font-family: var(--zrk-serif); font-size: clamp(1.4rem, 2.8vw, 2rem); margin: 0 0 1.5rem; }
.zrk-distort-head em { color: var(--zrk-teal); font-style: normal; }
.zrk-distort-stage {
    position: relative;
    aspect-ratio: 16/10;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 1px solid var(--zrk-glass-border);
}
.zrk-distort-layer { position: absolute; inset: 0; transition: opacity 0.4s, filter 0.4s, transform 0.4s; }
.zrk-distort-layer img { width: 100%; height: 100%; object-fit: cover; }
.zrk-distort-layer--base { z-index: 1; }
.zrk-distort-layer--shift { z-index: 2; mix-blend-mode: screen; opacity: 0.5; }
.zrk-distort-layer--warp { z-index: 3; mix-blend-mode: overlay; opacity: 0.35; }
.zrk-distort-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--zrk-mono);
    font-size: 0.82rem;
}
.zrk-distort-controls input[type="range"] { flex: 1; accent-color: var(--zrk-teal); }
.zrk-distort-note { text-align: center; color: var(--zrk-ash); font-size: 0.82rem; margin-top: 1rem; }

/* S8 Voices orbit */
.zrk-cell--voices {
    background: var(--zrk-slate);
    text-align: center;
    color: #eceef2;
}
.zrk-voices-head .zrk-micro { color: var(--zrk-teal-bright); }
.zrk-voices-head h2 {
    font-family: var(--zrk-serif);
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    margin: 0 0 2rem;
    color: #f4f6f8;
}
.zrk-voices-head em { color: var(--zrk-amber); font-style: normal; }
.zrk-voices-orbit {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    min-height: 220px;
}
.zrk-voice-card {
    position: absolute;
    inset: 0;
    padding: 2rem;
    background: var(--zrk-ink);
    border: 1px solid var(--zrk-glass-border);
    opacity: 0;
    transform: scale(0.92) rotateY(8deg);
    transition: opacity 0.5s, transform 0.5s var(--zrk-ease);
    pointer-events: none;
}
.zrk-voice-card.is-front { opacity: 1; transform: none; pointer-events: auto; }
.zrk-voice-card blockquote {
    margin: 0 0 1rem;
    font-family: var(--zrk-serif);
    font-size: 1.05rem;
    line-height: 1.65;
    font-style: italic;
    color: #dce2ea;
}
.zrk-voice-card footer strong {
    display: block;
    font-family: var(--zrk-display);
    color: var(--zrk-teal-bright);
}
.zrk-voice-card footer span { font-size: 0.78rem; color: #9aa4b2; }
.zrk-voices-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.zrk-voices-dots button {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--zrk-glass-border);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}
.zrk-voices-dots button.is-active { background: var(--zrk-teal); transform: scale(1.3); }

/* S9 Conversion Gate */
.zrk-cell--gate {
    background: linear-gradient(160deg, var(--zrk-teal-dim) 0%, var(--zrk-ink) 50%);
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}
.zrk-gate {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
.zrk-gate__copy h2 { font-family: var(--zrk-serif); font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 1rem; }
.zrk-gate__copy em { color: var(--zrk-teal); font-style: normal; }
.zrk-gate__copy p { color: var(--zrk-ash); margin: 0 0 1rem; }
.zrk-gate__perks { list-style: none; margin: 0; padding: 0; }
.zrk-gate__perks li { padding: 0.35rem 0; font-size: 0.88rem; padding-left: 1.25rem; position: relative; }
.zrk-gate__perks li::before { content: '⬡'; position: absolute; left: 0; color: var(--zrk-teal); font-size: 0.65rem; }
.zrk-gate__actions { display: flex; flex-direction: column; gap: 0.75rem; }
.zrk-gate__phone { text-align: center; font-family: var(--zrk-mono); font-size: 0.88rem; color: var(--zrk-ash); margin-top: 0.5rem; }

/* S10 Proof */
.zrk-cell--proof { background: var(--zrk-void); padding-bottom: 6rem; }
.zrk-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}
.zrk-proof-item {
    text-align: center;
    padding: 2rem 1rem;
    border: 1px solid var(--zrk-glass-border);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: border-color 0.3s, transform 0.3s;
}
.zrk-proof-item:hover { border-color: var(--zrk-teal); transform: translateY(-4px); }
.zrk-proof-item span { display: block; font-family: var(--zrk-display); font-size: 2.5rem; font-weight: 800; color: var(--zrk-teal); line-height: 1; }
.zrk-proof-item em { font-style: normal; font-family: var(--zrk-mono); font-size: 0.65rem; color: var(--zrk-ash); }
.zrk-proof-item p { margin: 0.5rem 0 0; font-size: 0.82rem; color: var(--zrk-ash); }
.zrk-proof-strip { text-align: center; font-size: 0.88rem; color: var(--zrk-ash); }
.zrk-proof-strip a { color: var(--zrk-teal); }

/* Home responsive */
@media (max-width: 1024px) {
    .zrk-motion-grid { margin-left: 0; }
    .zrk-ignite__mosaic { grid-template-columns: repeat(6, 1fr); grid-template-rows: auto; }
    .zrk-ignite__cell--xl { grid-column: 1 / 7; grid-row: auto; }
    .zrk-ignite__cell--tall { grid-column: 1 / 4; }
    .zrk-ignite__cell--wide { grid-column: 4 / 7; }
    .zrk-ignite__cell--text { grid-column: 1 / 7; }
    .zrk-ignite__cell:nth-child(6), .zrk-ignite__cell--skew, .zrk-ignite__cell:nth-child(8) { grid-column: span 3; }
    .zrk-cell--manifesto, .zrk-cell--lattice, .zrk-gate { grid-template-columns: 1fr; }
    .zrk-fracture-grid { grid-template-columns: repeat(2, 1fr); }
    .zrk-fracture-item { grid-column: auto !important; grid-row: auto !important; margin: 0 !important; transform: none !important; }
    .zrk-proof-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .zrk-torque-grid { grid-template-columns: repeat(2, 1fr); }
    .zrk-fracture-grid, .zrk-proof-grid { grid-template-columns: 1fr; }
    .zrk-ignite__coords { flex-direction: column; gap: 0.75rem; }
}
