/* ===========================================================
   PPZZ.lu (v2) — Avant-Garde Sideways Atelier
   Aesthetic: avant-garde | Layout: horizontal-scroll
   Palette: dark-neon (Acid Lime / Hot Magenta / Plasma Cyan)
   Typography: geometric-sans (Space Grotesk + Fraunces accent)
   =========================================================== */

:root {
    --studio-black: #0A0B12;
    --charcoal-floor: #15171F;
    --acid-lime: #C7FF4A;
    --hot-magenta: #FF3DAA;
    --plasma-cyan: #3CD7E5;
    --concrete-white: #E8E5DA;
    --dim-mortar: #3A3D4D;

    --panel-w: 100vw;
    --panel-h: 100vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--studio-black);
    color: var(--concrete-white);
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-weight: 400;
}

body {
    position: relative;
    cursor: default;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------------------------------------------------------
   GLOBAL OVERLAY LAYERS
   --------------------------------------------------------- */

/* Faint isometric grid — most visible at panel boundaries */
.iso-grid-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.45;
    background-image:
        linear-gradient(30deg, transparent 49.6%, rgba(58, 61, 77, 0.5) 49.6%, rgba(58, 61, 77, 0.5) 50.4%, transparent 50.4%),
        linear-gradient(-30deg, transparent 49.6%, rgba(58, 61, 77, 0.5) 49.6%, rgba(58, 61, 77, 0.5) 50.4%, transparent 50.4%),
        linear-gradient(90deg, transparent 49.6%, rgba(58, 61, 77, 0.4) 49.6%, rgba(58, 61, 77, 0.4) 50.4%, transparent 50.4%);
    background-size: 120px 70px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.05) 12%, rgba(0,0,0,0.05) 88%, rgba(0,0,0,0.9) 100%);
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.05) 12%, rgba(0,0,0,0.05) 88%, rgba(0,0,0,0.9) 100%);
}

/* Floating glyphs layer */
.floating-glyphs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.fg-glyph {
    position: absolute;
    font-family: "Fraunces", "Space Grotesk", serif;
    color: var(--dim-mortar);
    user-select: none;
    will-change: transform, opacity;
    font-feature-settings: "ss01";
    opacity: 0.6;
}

/* Connector rails (cyan) — drawn full-viewport, fixed */
.connector-rails {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    width: 100%;
    height: 100%;
}

/* ---------------------------------------------------------
   PROGRESS RAIL (top)
   --------------------------------------------------------- */
.progress-rail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--charcoal-floor);
    z-index: 50;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    inset: 0;
    width: 0;
    background: linear-gradient(90deg, var(--acid-lime), #d4ff66);
    box-shadow: 0 0 12px rgba(199, 255, 74, 0.6);
    transition: width 0.08s linear;
}

.progress-flash {
    position: absolute;
    top: 0;
    height: 3px;
    width: 30px;
    background: var(--concrete-white);
    opacity: 0;
    pointer-events: none;
    transform: translateX(0);
}

.progress-flash.active {
    animation: flash-blink 0.5s ease-out;
}

@keyframes flash-blink {
    0% { opacity: 0; }
    20% { opacity: 1; }
    100% { opacity: 0; }
}

/* ---------------------------------------------------------
   PANEL INDEX WIDGET (bottom-left)
   --------------------------------------------------------- */
.panel-index-widget {
    position: fixed;
    bottom: 22px;
    left: 26px;
    z-index: 40;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--concrete-white);
    background: rgba(10, 11, 18, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--dim-mortar);
    padding: 10px 14px;
    border-radius: 2px;
}

.pi-label {
    color: var(--dim-mortar);
    font-size: 11px;
}

.pi-current {
    color: var(--acid-lime);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: 14px;
}

.pi-sep {
    color: var(--dim-mortar);
}

.pi-total {
    color: var(--concrete-white);
    font-variant-numeric: tabular-nums;
    font-size: 14px;
}

.pi-title {
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid var(--dim-mortar);
    color: var(--concrete-white);
    font-weight: 500;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0.04em;
}

/* ---------------------------------------------------------
   COMPASS WIDGET (top-right)
   --------------------------------------------------------- */
.compass-widget {
    position: fixed;
    top: 22px;
    right: 26px;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 11, 18, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--dim-mortar);
    padding: 8px 14px 8px 8px;
    border-radius: 2px;
}

.compass-widget svg {
    width: 40px;
    height: 40px;
}

.compass-label {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--concrete-white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.arrow-pulse {
    color: var(--acid-lime);
    font-weight: 700;
    animation: arrow-pulse 1.4s ease-in-out infinite;
}

@keyframes arrow-pulse {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(3px); }
}

/* ---------------------------------------------------------
   FRIEZE — main horizontal track
   --------------------------------------------------------- */
.frieze {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
    z-index: 10;
}

/* generic panel */
.panel {
    position: relative;
    flex: 0 0 auto;
    width: 100vw;
    height: 100vh;
    padding: 80px 8vw 100px;
    display: flex;
    flex-direction: column;
    background-color: var(--studio-black);
}

/* per-panel widths (driven by data-width) */
.panel[data-width="2"] { width: 200vw; }
.panel[data-width="3"] { width: 300vw; }

/* gentle vignette and seam at panel boundary */
.panel::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(58, 61, 77, 0.6) 30%, rgba(58, 61, 77, 0.6) 70%, transparent);
    z-index: 1;
}

.panel::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--plasma-cyan);
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 12px rgba(60, 215, 229, 0.5);
    z-index: 5;
}

/* panel stamp (top-left of every panel) */
.panel-stamp {
    position: absolute;
    top: 28px;
    left: 8vw;
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim-mortar);
    z-index: 6;
}

.stamp-num {
    color: var(--acid-lime);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.stamp-label {
    color: var(--concrete-white);
}

/* corner ornaments */
.corner-ornament {
    position: absolute;
    color: var(--dim-mortar);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 18px;
    z-index: 6;
    user-select: none;
}

.corner-tl { top: 80px; left: 5vw; }
.corner-tr { top: 80px; right: 5vw; }
.corner-bl { bottom: 100px; left: 5vw; }
.corner-br { bottom: 100px; right: 5vw; }

/* panel-wide title used in non-marquee panels */
.panel-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: clamp(40px, 5.5vw, 96px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--concrete-white);
    margin-bottom: 0.6em;
    max-width: 22ch;
    opacity: 0;
    transform: skewX(6deg) translateY(20px);
    transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.panel.is-active .panel-title {
    opacity: 1;
    transform: skewX(0deg) translateY(0);
}

/* ---------------------------------------------------------
   PANEL 0: MARQUEE
   --------------------------------------------------------- */
.panel-marquee {
    justify-content: center;
    align-items: flex-start;
    padding: 12vh 8vw 100px;
}

.marquee-wrap {
    width: 100%;
    max-width: 92vw;
}

.wordmark {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: clamp(56px, 16vw, 280px);
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: var(--concrete-white);
    display: inline-flex;
    align-items: baseline;
    margin-bottom: 0.18em;
    position: relative;
}

.wm-letter {
    display: inline-block;
    transform: translateY(120%) scale(0.92);
    opacity: 0;
    will-change: transform, opacity;
}

.wm-letter.animate-in {
    animation: wm-rise 0.78s cubic-bezier(0.2, 1.4, 0.3, 1) forwards;
}

@keyframes wm-rise {
    0%   { transform: translateY(120%) scale(0.92); opacity: 0; }
    60%  { transform: translateY(-6%) scale(1.1);   opacity: 1; }
    100% { transform: translateY(0)   scale(1);     opacity: 1; }
}

/* two stacked Z's — slight terminal connection */
.wm-z, .wm-z2 {
    color: var(--concrete-white);
    position: relative;
}

.wm-dot {
    color: var(--acid-lime);
}

.z-flourish {
    position: absolute;
    bottom: -0.06em;
    left: 30%;
    width: clamp(80px, 18vw, 320px);
    height: auto;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.z-flourish.active {
    opacity: 1;
}

.z-flourish path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
}

.z-flourish.active path {
    animation: flourish-draw 1.6s cubic-bezier(0.4, 0.1, 0.2, 1) forwards;
}

@keyframes flourish-draw {
    to { stroke-dashoffset: 0; }
}

.subtitle {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: clamp(18px, 2vw, 30px);
    letter-spacing: 0.04em;
    color: var(--concrete-white);
    margin-bottom: 4vh;
    min-height: 1.4em;
    max-width: 60ch;
}

.subtitle::after {
    content: "_";
    color: var(--acid-lime);
    animation: caret 0.9s steps(2) infinite;
    margin-left: 0.1em;
}

.subtitle.done::after {
    display: none;
}

@keyframes caret {
    50% { opacity: 0; }
}

.marquee-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dim-mortar);
}

.mm-row {
    display: flex;
    gap: 18px;
}

.mm-key {
    color: var(--dim-mortar);
    width: 70px;
}

.mm-val {
    color: var(--concrete-white);
}

/* scroll hint, bottom-right */
.scroll-hint {
    position: absolute;
    bottom: 80px;
    right: 8vw;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--concrete-white);
    z-index: 7;
}

.sh-arrow {
    color: var(--acid-lime);
    font-size: 18px;
    animation: arrow-pulse 1.4s ease-in-out infinite;
}

/* ---------------------------------------------------------
   PANEL 1: MANIFESTO
   --------------------------------------------------------- */
.panel-manifesto {
    padding: 12vh 6vw 100px;
    justify-content: flex-start;
}

.manifesto-prose {
    margin-top: 4vh;
    display: flex;
    flex-direction: column;
    gap: 1.6em;
    width: 100%;
}

.m-line {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
    font-size: clamp(17px, 1.6vw, 24px);
    line-height: 1.55;
    color: var(--concrete-white);
    max-width: none;
    white-space: normal;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.panel.is-active .m-line {
    opacity: 1;
    transform: translateY(0);
}

/* stagger when active */
.panel.is-active .m-line:nth-child(1) { transition-delay: 0.10s; }
.panel.is-active .m-line:nth-child(2) { transition-delay: 0.18s; }
.panel.is-active .m-line:nth-child(3) { transition-delay: 0.26s; }
.panel.is-active .m-line:nth-child(4) { transition-delay: 0.34s; }
.panel.is-active .m-line:nth-child(5) { transition-delay: 0.42s; }
.panel.is-active .m-line:nth-child(6) { transition-delay: 0.50s; }
.panel.is-active .m-line:nth-child(7) { transition-delay: 0.58s; }

.hi-lime {
    color: var(--acid-lime);
    font-weight: 500;
}

.hi-magenta {
    color: var(--hot-magenta);
    font-weight: 500;
}

.m-pullquote {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(22px, 2.6vw, 38px);
    line-height: 1.35;
    color: var(--concrete-white);
    padding: 0.4em 1.2em;
    border-left: 2px solid var(--dim-mortar);
    position: relative;
}

.pq-text {
    position: relative;
    display: inline;
    background-image: linear-gradient(var(--hot-magenta), var(--hot-magenta));
    background-repeat: no-repeat;
    background-size: 0% 2px;
    background-position: 0 100%;
    transition: background-size 0.5s ease;
    padding-bottom: 0.08em;
}

.m-pullquote:hover .pq-text {
    background-size: 100% 2px;
}

/* ---------------------------------------------------------
   PANEL 2-6: PROJECT PANELS
   --------------------------------------------------------- */
.panel-project {
    padding: 14vh 6vw 100px;
}

.project-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4vw;
    align-items: center;
    height: 100%;
    width: 100%;
}

.project-inner-flip {
    grid-template-columns: 1fr 1.05fr;
}

.project-icon {
    width: 100%;
    height: 70vh;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: rotate(-90deg) scale(0.7);
    opacity: 0;
    transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.7s ease;
}

.panel.is-active .project-icon {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}

.project-icon svg {
    width: 100%;
    height: 100%;
    max-width: 560px;
}

.iso-plinth {
    opacity: 0.7;
}

.iso-letter {
    transform-origin: center;
}

.project-text {
    display: flex;
    flex-direction: column;
    gap: 1.1em;
    max-width: 46ch;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.2s, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}

.panel.is-active .project-text {
    opacity: 1;
    transform: translateY(0);
}

.pt-index {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--acid-lime);
}

.pt-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 4.2vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--concrete-white);
}

.pt-title em {
    color: var(--acid-lime);
    font-style: italic;
    font-family: "Fraunces", serif;
    font-weight: 500;
}

.pt-body {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.65;
    color: var(--concrete-white);
}

.pt-body em {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 500;
    color: var(--concrete-white);
}

.pt-meta {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 1em;
    border-top: 1px solid var(--dim-mortar);
}

.pt-meta li {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mk {
    color: var(--dim-mortar);
}

.mv {
    color: var(--concrete-white);
}

/* ---------------------------------------------------------
   PANEL 7: SPECIMENS (300vw)
   --------------------------------------------------------- */
.panel-specimens {
    padding: 12vh 5vw 100px;
    justify-content: flex-start;
}

.specimens-title {
    margin-bottom: 6vh;
    max-width: 40ch;
}

.specimen-shelf {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6vw;
    height: 56vh;
    padding-top: 8vh;
}

.shelf-rail {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--plasma-cyan) 4%, var(--plasma-cyan) 96%, transparent);
    opacity: 0.55;
    box-shadow: 0 0 12px rgba(60, 215, 229, 0.3);
}

.specimen {
    position: relative;
    flex: 0 0 auto;
    min-width: 14vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4em;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
    z-index: 2;
}

.specimen::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--studio-black);
    border: 1px solid var(--plasma-cyan);
    border-radius: 50%;
    z-index: 0;
}

.specimen:hover {
    transform: translateY(-6px) scale(1.08);
}

.spec-letter {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: clamp(80px, 12vw, 220px);
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--concrete-white);
    transition: color 0.28s ease, text-shadow 0.28s ease;
    position: relative;
    z-index: 1;
}

.specimen:hover .spec-letter {
    color: var(--acid-lime);
    text-shadow: 0 0 24px rgba(199, 255, 74, 0.55);
}

.spec-lowercase {
    font-style: italic;
    font-family: "Fraunces", "Space Grotesk", serif;
}

.spec-word {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: clamp(48px, 6.4vw, 120px);
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--concrete-white);
    transition: color 0.28s ease;
    position: relative;
    z-index: 1;
    text-align: center;
    white-space: nowrap;
}

.specimen:hover .spec-word {
    color: var(--acid-lime);
}

.spec-kinetic {
    display: inline-flex;
    gap: 0.04em;
}

.spec-kinetic span {
    display: inline-block;
    animation: kinetic-bob 2.2s ease-in-out infinite;
}

.spec-kinetic span:nth-child(1) { animation-delay: 0.0s; }
.spec-kinetic span:nth-child(2) { animation-delay: 0.08s; }
.spec-kinetic span:nth-child(3) { animation-delay: 0.16s; }
.spec-kinetic span:nth-child(4) { animation-delay: 0.24s; }
.spec-kinetic span:nth-child(5) { animation-delay: 0.32s; }
.spec-kinetic span:nth-child(6) { animation-delay: 0.40s; }
.spec-kinetic span:nth-child(7) { animation-delay: 0.48s; }

@keyframes kinetic-bob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-2deg); }
}

.spec-alphabet {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: clamp(20px, 2.2vw, 36px);
    letter-spacing: 0.05em;
    line-height: 1.1;
    color: var(--concrete-white);
    text-align: center;
    position: relative;
    z-index: 1;
}

.spec-logo {
    color: var(--acid-lime);
    font-size: clamp(56px, 7vw, 140px);
}

.spec-caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
}

.specimen:hover .spec-caption {
    opacity: 1;
    transform: translateY(0);
}

.sc-name {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--concrete-white);
    text-align: center;
}

.sc-meta {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--dim-mortar);
    text-align: center;
}

/* ---------------------------------------------------------
   PANEL 8: COLOPHON
   --------------------------------------------------------- */
.panel-colophon {
    padding: 12vh 6vw 100px;
    justify-content: flex-start;
}

.colophon-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.4vw;
    margin-top: 6vh;
}

.col-block {
    display: flex;
    flex-direction: column;
    gap: 1em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.panel.is-active .col-block { opacity: 1; transform: translateY(0); }
.panel.is-active .col-block:nth-child(1) { transition-delay: 0.10s; }
.panel.is-active .col-block:nth-child(2) { transition-delay: 0.18s; }
.panel.is-active .col-block:nth-child(3) { transition-delay: 0.26s; }
.panel.is-active .col-block:nth-child(4) { transition-delay: 0.34s; }
.panel.is-active .col-block:nth-child(5) { transition-delay: 0.42s; }

.cb-key {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--acid-lime);
    padding-bottom: 0.6em;
    border-bottom: 1px solid var(--dim-mortar);
}

.cb-val {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.55;
    color: var(--concrete-white);
}

.cb-link {
    color: var(--concrete-white);
    display: inline-block;
    background-image: linear-gradient(var(--hot-magenta), var(--hot-magenta));
    background-repeat: no-repeat;
    background-size: 0% 1px;
    background-position: 0 100%;
    transition: background-size 0.3s ease, color 0.3s ease;
    padding-bottom: 1px;
}

.cb-link:hover {
    background-size: 100% 1px;
    color: var(--hot-magenta);
}

.col-block-loop {
    grid-column: span 1;
}

.loop-button {
    background: transparent;
    color: var(--concrete-white);
    border: 1px solid var(--acid-lime);
    padding: 12px 18px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.25s ease, color 0.25s ease;
    align-self: flex-start;
}

.loop-button:hover {
    background: var(--acid-lime);
    color: var(--studio-black);
}

.lb-arrow {
    font-size: 16px;
    color: var(--acid-lime);
    transition: color 0.25s ease, transform 0.25s ease;
}

.loop-button:hover .lb-arrow {
    color: var(--studio-black);
    transform: translateX(-3px);
}

.colophon-signoff {
    position: absolute;
    bottom: 50px;
    left: 6vw;
    right: 6vw;
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dim-mortar);
    padding-top: 18px;
    border-top: 1px solid var(--dim-mortar);
}

.so-stamp {
    color: var(--concrete-white);
}

.so-dot {
    width: 6px;
    height: 6px;
    background: var(--plasma-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--plasma-cyan);
}

.so-text {
    color: var(--dim-mortar);
}

/* ---------------------------------------------------------
   RESPONSIVE (small screens)
   --------------------------------------------------------- */
@media (max-width: 900px) {
    .project-inner,
    .project-inner-flip {
        grid-template-columns: 1fr;
        gap: 2vh;
    }

    .project-icon {
        height: 36vh;
    }

    .colophon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
