/* ============================================================
   artifis transfer — left panel + full-bleed background
   ============================================================ */

:root {
    --bg:        #f4f1ec;          /* fallback when no bg image */
    --bg-elev:   #ffffff;
    --panel:     #ffffff;
    --fg:        #16130f;
    --fg-soft:   #4d4842;
    --fg-mute:   #8d867d;
    --line:      rgba(22, 19, 15, 0.08);
    --line-strong: rgba(22, 19, 15, 0.18);

    --purple:    #5b54ff;
    --purple-hover: #4940f0;

    --error:     #c44a3b;

    --font-sans: "Aptos", "Calibri", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-display: "Aptos Display", "Aptos", "Calibri", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

    --radius-panel: 18px;
    --radius-btn: 12px;
    --radius-sm: 6px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-panel: 0 14px 44px -8px rgba(22,19,15,0.16), 0 4px 14px -4px rgba(22,19,15,0.08);
    --shadow-sm: 0 1px 2px rgba(22,19,15,0.04), 0 4px 12px rgba(22,19,15,0.04);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font: 15px/1.55 var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--fg); color: var(--bg); }

.muted { color: var(--fg-mute); }
.soft  { color: var(--fg-soft); }
.small { font-size: 12.5px; }
.mono  { font-variant-numeric: tabular-nums; }
.error { color: var(--error); font-size: 13px; margin-top: 6px; }

/* ============================================================
   Custom cursor (only when cursor.js loads)
   ============================================================ */
body.has-cursor,
body.has-cursor button, body.has-cursor .btn,
body.has-cursor input, body.has-cursor select, body.has-cursor textarea,
body.has-cursor a, body.has-cursor label,
body.has-cursor .dz-prompt, body.has-cursor .dz-prompt input[type=file],
body.has-cursor .file-list .x { cursor: none; }

@media (hover: none), (pointer: coarse) {
    body.has-cursor { cursor: auto !important; }
    #cursor-dot, #cursor-ring { display: none !important; }
}

#cursor-dot, #cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
    mix-blend-mode: difference;
}
#cursor-dot {
    width: 6px; height: 6px;
    background: #ffffff;
    transition: opacity .2s var(--ease-soft);
}
#cursor-ring {
    width: 32px; height: 32px;
    border: 1px solid #ffffff;
    transition: width .25s var(--ease-soft), height .25s var(--ease-soft), background .25s var(--ease-soft), border-color .25s var(--ease-soft), opacity .25s var(--ease-soft);
}
#cursor-ring.grow { width: 56px; height: 56px; background: rgba(255,255,255,0.18); }
#cursor-ring.shrink { width: 20px; height: 20px; }

/* ============================================================
   Standard buttons / inputs (used by login, receive form, admin)
   ============================================================ */
button, .btn {
    font: inherit;
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--line-strong);
    padding: 11px 22px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .25s var(--ease-soft), color .25s var(--ease-soft), border-color .25s var(--ease-soft), transform .15s var(--ease-soft);
    letter-spacing: 0.01em;
}
button:hover, .btn:hover { background: var(--fg); color: var(--bg-elev); border-color: var(--fg); }
button:active, .btn:active { transform: translateY(1px); }

button.primary, .btn.primary { background: var(--fg); color: var(--bg-elev); border-color: var(--fg); }
button.primary:hover, .btn.primary:hover { background: var(--fg-soft); border-color: var(--fg-soft); }

button.purple, .btn.purple {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}
button.purple:hover, .btn.purple:hover { background: var(--purple-hover); border-color: var(--purple-hover); color: #fff; }

button.ghost, .btn.ghost { border-color: var(--line); color: var(--fg-soft); }
button.ghost:hover, .btn.ghost:hover { background: rgba(22,19,15,0.04); color: var(--fg); border-color: var(--line); }

input, select, textarea {
    width: 100%;
    background: transparent;
    color: var(--fg);
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
    font: inherit;
    margin-top: 4px;
    border-radius: 0;
    outline: none;
    transition: border-color .25s var(--ease-soft);
}
input:focus, select:focus, textarea:focus { border-bottom-color: var(--fg); }
textarea { resize: vertical; min-height: 56px; }

label {
    display: block;
    font-size: 11px;
    color: var(--fg-mute);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}
label input, label select, label textarea {
    text-transform: none;
    letter-spacing: normal;
    color: var(--fg);
    font-size: 15px;
}

/* ============================================================
   Public stage — full-bleed bg + left-aligned panel
   ============================================================ */
body.public {
    overflow-x: hidden;
}

.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.bg video,
.bg .bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}
.bg-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
}

.stage {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 56px;
}

@media (max-width: 720px) {
    /* Mobile: video at top, panel below — stack vertically */
    body.public { display: flex; flex-direction: column; }

    .bg {
        position: relative;
        inset: auto;
        height: 46vh;
        min-height: 240px;
        max-height: 380px;
        flex: 0 0 auto;
    }
    .bg-tint {
        background: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, transparent 35%, transparent 75%, rgba(244,241,236,0.35) 100%);
    }

    .stage {
        min-height: auto;
        padding: 28px 16px 80px;
        justify-content: center;
        flex: 1 1 auto;
    }
}

.top-logo {
    position: fixed;
    top: 32px;
    left: 56px;       /* aligned with panel left edge (matches .stage padding) */
    z-index: 10;
    height: 26px;
    width: auto;
    mix-blend-mode: difference;
    pointer-events: none;
    user-select: none;
}
@media (max-width: 720px) {
    .top-logo { top: 20px; left: 16px; height: 22px; }
}

/* Copyright — bottom-center, color inverts whatever's behind it */
.copyright {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    color: #ffffff;
    mix-blend-mode: difference;
    pointer-events: none;
    user-select: none;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}
@media (max-width: 720px) {
    /* on mobile the cookie notice sits at the bottom — lift the copyright above it */
    .copyright { bottom: 72px; font-size: 10px; }
}

.foot {
    position: fixed;
    bottom: 22px;
    right: 28px;
    z-index: 2;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-radius: 999px;
    border: 0;
    color: var(--fg-soft);
    font: inherit;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background .2s var(--ease-soft), color .2s var(--ease-soft), transform .15s var(--ease);
}
.foot:hover {
    background: var(--fg);
    color: #fff;
    border: 0;
    transform: translateY(-1px);
}
.foot:active { transform: translateY(0); }

/* ============================================================
   Panel — the centerpiece
   ============================================================ */
.panel {
    position: relative;
    width: 380px;
    max-width: calc(100vw - 32px);
    background: var(--panel);
    border-radius: var(--radius-panel);
    padding: 28px;
    box-shadow: var(--shadow-panel);
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: panel-in 0.55s var(--ease) both;
}
@keyframes panel-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.panel-head {
    color: var(--fg-mute);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    margin: 0;
}

.panel-meta { display: flex; flex-direction: column; gap: 4px; }
.meta-title {
    font-weight: 600;
    font-size: 26px;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.012em;
    color: var(--fg);
}
.meta-sub {
    color: var(--fg-mute);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.panel-msg-text {
    color: var(--fg-soft);
    font-size: 13.5px;
    line-height: 1.55;
    border-left: 2px solid var(--line-strong);
    padding-left: 12px;
}

.panel-files {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--line);
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
}
.panel-files::-webkit-scrollbar { width: 6px; }
.panel-files::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.panel-files li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 2px;
    border-bottom: 1px solid var(--line);
    transition: padding .2s var(--ease-soft);
}
.panel-files li:last-child { border-bottom: 0; }
.panel-files li:hover { padding-left: 6px; padding-right: 6px; }

.panel-files .f-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13.5px;
    color: var(--fg);
    text-align: left;
    min-width: 0;
}
/* Previewable filename = clickable, subtle hover */
.panel-files .f-name-btn {
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    color: var(--fg);
    border-radius: 0;
    text-align: left;
    transition: color .2s var(--ease-soft);
    display: inline-block;
}
.panel-files .f-name-btn:hover {
    background: transparent;
    color: var(--purple);
    border: 0;
}

/* Play button — left of the download button */
.panel-files .f-play {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--fg);
    background: transparent;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s var(--ease-soft), color .2s var(--ease-soft), border-color .2s var(--ease-soft), transform .2s var(--ease-soft);
}
.panel-files .f-play svg {
    width: 11px;
    height: 11px;
    transform: translateX(1px);  /* optical centering of the triangle */
}
.panel-files .f-play:hover {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
    transform: translateY(-1px);
}
.panel-files .f-size {
    color: var(--fg-mute);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.panel-files .f-dl {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s var(--ease-soft), color .2s var(--ease-soft), border-color .2s var(--ease-soft), transform .2s var(--ease-soft);
}
.panel-files .f-dl svg { width: 13px; height: 13px; }
.panel-files .f-dl:hover {
    background: var(--fg);
    color: var(--panel);
    border-color: var(--fg);
    transform: translateY(-1px);
}

/* The big purple CTA */
.panel-cta {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    border: 0;
    background: var(--purple);
    color: #fff;
    padding: 15px 18px;
    border-radius: var(--radius-btn);
    font: inherit;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background .2s var(--ease-soft), transform .15s var(--ease), box-shadow .2s var(--ease-soft);
    box-shadow: 0 4px 16px -4px rgba(91, 84, 255, 0.5);
}
.panel-cta:hover { background: var(--purple-hover); transform: translateY(-1px); box-shadow: 0 8px 22px -4px rgba(91, 84, 255, 0.55); }
.panel-cta:active { transform: translateY(0); }
.panel-cta:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.panel-msg {
    text-align: center;
    font-size: 11px;
    color: var(--fg-mute);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity .35s var(--ease-soft), height .35s var(--ease-soft);
}
.panel.is-active .panel-msg { opacity: 1; height: 14px; }

/* ============================================================
   Dropzone (used in admin "send files" + public "receive")
   ============================================================ */
.dropzone .dz-prompt {
    position: relative;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 36px 16px;
    text-align: center;
    transition: border-color .2s var(--ease-soft), background .2s var(--ease-soft);
    background: rgba(22,19,15,0.02);
    margin-bottom: 14px;
}
.dropzone.over .dz-prompt {
    border-color: var(--purple);
    background: rgba(91, 84, 255, 0.05);
}
.dz-prompt strong { display: block; font-weight: 500; margin-bottom: 6px; font-size: 14px; }
.dz-prompt span { color: var(--fg-mute); font-size: 12px; }
.dz-prompt input[type=file] {
    position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%;
}

/* file-list — used in admin + public for selected-files preview */
.file-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    max-height: 160px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
}
.file-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12.5px;
}
.file-list li:last-child { border-bottom: 0; }
.file-list .x { cursor: pointer; color: var(--fg-mute); border: 0; padding: 0 6px; background: transparent; border-radius: 0; }
.file-list .x:hover { color: var(--error); background: transparent; }

/* progress / status / result — used in admin + public */
progress {
    width: 100%;
    height: 3px;
    border: 0;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
}
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--purple); transition: width .15s; }
progress::-moz-progress-bar { background: var(--purple); }

.status { font-size: 12px; color: var(--fg-mute); }

.result {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: rgba(22,19,15,0.04);
    font-size: 13px;
    color: var(--fg);
    line-height: 1.5;
    animation: fade-in .35s var(--ease) both;
    word-break: break-all;
}
.result.ok { background: rgba(91, 84, 255, 0.08); }
.result strong { display: block; margin-bottom: 4px; }
.result.ok strong { color: var(--purple); }
.result a { color: var(--fg); text-decoration: underline; }
.result .copy-row { display: flex; gap: 8px; margin-top: 10px; align-items: center; }
.result .copy-row input { flex: 1; padding: 8px 10px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 4px; }

/* admin form-row layout (admin only — the "send" form uses these wrappers) */
.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   Panel-specific tweaks (override generic dropzone/form rules)
   ============================================================ */
.panel.dropzone .dz-prompt { margin-bottom: 0; }
.panel .form-fields { display: flex; flex-direction: column; gap: 8px; }
.panel .form-fields input,
.panel .form-fields textarea {
    background: rgba(22,19,15,0.04);
    border: 0;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 13.5px;
    margin: 0;
    transition: background .2s var(--ease-soft);
}
.panel .form-fields input:focus,
.panel .form-fields textarea:focus { background: rgba(22,19,15,0.07); }
.panel .form-fields textarea { min-height: 50px; }
.panel .status { text-align: center; }
.panel .result strong { color: var(--purple); }

/* ============================================================
   Generic card (login etc.)
   ============================================================ */
.card {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    padding: 36px;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow-sm);
}
.card h1 {
    font-weight: 600;
    font-size: 24px;
    margin: 0 0 14px;
    letter-spacing: -0.012em;
}

body.centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}
.card.login { max-width: 360px; padding: 36px; }
.card.login .brand { text-align: center; display: block; margin-bottom: 22px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-mute); font-weight: 500; }
.card.login button { width: 100%; margin-top: 8px; }

/* ============================================================
   Animations
   ============================================================ */
.fade-in     { animation: fade-in .5s var(--ease) both; }
.fade-in.d1  { animation-delay: 0.06s; }
.fade-in.d2  { animation-delay: 0.12s; }
.fade-in.d3  { animation-delay: 0.18s; }
.fade-in.d4  { animation-delay: 0.24s; }
.fade-in.d5  { animation-delay: 0.30s; }

@keyframes fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ============================================================
   Preview modal (image / video lightbox)
   ============================================================ */
#preview-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5vh 5vw;
}
#preview-modal[hidden] { display: none; }

.preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 6, 0.78);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    animation: fade-in .35s var(--ease) both;
    cursor: pointer;
}

.preview-stage {
    position: relative;
    max-width: min(1200px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    animation: preview-pop .35s var(--ease) both;
}
@keyframes preview-pop {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

.preview-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.preview-content img,
.preview-content video {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    display: block;
}
.preview-content video { background: #000; }

.preview-caption {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12.5px;
    letter-spacing: 0.04em;
    text-align: center;
    max-width: 80vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #16130f;
    border: 0;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: transform .2s var(--ease), background .2s var(--ease-soft);
}
.preview-close:hover { transform: scale(1.08); background: #fff; color: #16130f; border: 0; }
.preview-close:active { transform: scale(0.96); }
.preview-close svg { width: 14px; height: 14px; }

@media (max-width: 720px) {
    .preview-close { top: -50px; right: 0; }
    #preview-modal { padding: 6vh 4vw; }
}

/* Keep the page from scrolling while modal is open */
body.modal-open { overflow: hidden; }

/* ============================================================
   Cookie notice — bottom chip, only essential cookies used
   ============================================================ */
#cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 460px;
    padding: 10px 10px 10px 18px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-radius: 999px;
    box-shadow: 0 8px 28px -8px rgba(22,19,15,0.18), 0 2px 6px rgba(22,19,15,0.05);
    font-size: 12px;
    line-height: 1.45;
    color: var(--fg-soft);
    animation: cookie-in 0.5s var(--ease) both;
    animation-delay: 0.6s;
}
#cookie-notice[hidden] { display: none; }
#cookie-notice span { flex: 1; min-width: 0; }
#cookie-notice button {
    background: var(--fg);
    color: #fff;
    border: 0;
    padding: 7px 16px;
    border-radius: 999px;
    font: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s var(--ease-soft);
}
#cookie-notice button:hover { background: var(--purple); color: #fff; border: 0; }

@keyframes cookie-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
    #cookie-notice {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
        font-size: 11.5px;
        padding: 10px 8px 10px 14px;
    }
    /* on mobile the foot was bottom-right — lift it so it doesn't overlap the cookie chip */
    .foot { bottom: auto; top: 20px; right: 16px; left: auto; }
}

/* ============================================================
   About modal
   ============================================================ */
#about-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5vh 5vw;
}
#about-modal[hidden] { display: none; }

.about-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 6, 0.55);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    animation: fade-in .35s var(--ease) both;
    cursor: pointer;
}

.about-stage {
    position: relative;
    background: #ffffff;
    color: #16130f;
    border-radius: 18px;
    padding: 48px 56px;
    max-width: 640px;
    max-height: 86vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    animation: preview-pop .35s var(--ease) both;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
}
.about-stage::-webkit-scrollbar { width: 6px; }
.about-stage::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.about-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 28px;
    letter-spacing: -0.012em;
    color: #16130f;
}
.about-content p {
    font-size: 14.5px;
    line-height: 1.72;
    margin: 0 0 18px;
    color: #3a3530;
}
.about-content p:last-child { margin-bottom: 0; }

.about-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(22,19,15,0.06);
    color: #16130f;
    border: 0;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    transition: background .2s var(--ease-soft), transform .15s var(--ease);
}
.about-close:hover { background: rgba(22,19,15,0.14); color: #16130f; border: 0; transform: scale(1.05); }
.about-close:active { transform: scale(0.96); }
.about-close svg { width: 13px; height: 13px; }

@media (max-width: 720px) {
    .about-stage { padding: 36px 28px; border-radius: 14px; }
    .about-content h2 { font-size: 19px; margin-bottom: 22px; }
    .about-content p { font-size: 14px; line-height: 1.68; }
    .about-close { top: 14px; right: 14px; }
}
