@font-face {
    font-family: "Inter Local";
    src: url("../fonts/inter-latin-400-600.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

:root {
    color-scheme: light;
    --about-bg: #ffffff;
    --about-ink: #171717;
    --about-muted: #555555;
    --about-border: #d8d8d8;
    --about-max: 1440px;
    --about-copy-max: 620px;
    --about-gutter: clamp(1.25rem, 4vw, 4rem);
    --about-header-height: 58px;
    --about-sans: "Inter Local", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    animation: none !important;
    transition: none !important;
}

html {
    min-width: 320px;
    min-height: 100%;
    overflow-y: auto;
    background: var(--about-bg);
}

body.about-page {
    min-width: 320px;
    min-height: 100svh;
    margin: 0;
    overflow: visible;
    background: var(--about-bg);
    color: var(--about-ink);
    font-family: var(--about-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.about-page a {
    color: inherit;
    text-decoration: none;
}

body.about-page img {
    display: block;
    max-width: 100%;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 20;
    padding: .65rem .85rem;
    background: var(--about-ink);
    color: #ffffff;
    font-size: .75rem;
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: none;
}

:focus-visible {
    outline: 2px solid var(--about-ink);
    outline-offset: 4px;
}

.about-header {
    background: var(--about-bg);
}

.about-nav {
    width: min(100%, var(--about-max));
    min-height: var(--about-header-height);
    margin-inline: auto;
    padding-inline: var(--about-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.about-brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--about-ink);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -.085em;
    line-height: 1;
}

.about-brand::before,
.brand::before {
    content: "";
    flex: 0 0 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
    background: url("../img/lxucan-mark.svg") center / contain no-repeat;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .48rem;
}

.about-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 4vw, 3.5rem);
    color: #626262;
    font-size: .84rem;
}

.about-nav-links a {
    white-space: nowrap;
}

.about-nav-links a:hover,
.about-nav-links a[aria-current="page"] {
    color: var(--about-ink);
}

.about-main {
    min-height: calc(100svh - var(--about-header-height));
    display: grid;
    place-items: center;
    padding: clamp(1.25rem, 3vw, 2.5rem) var(--about-gutter) clamp(2rem, 5vw, 4rem);
}

.about-block {
    width: min(100%, var(--about-copy-max));
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-portrait {
    width: min(230px, 58vw);
    margin: 0 0 clamp(1.25rem, 3vh, 1.75rem);
}

.about-portrait picture {
    display: block;
}

.about-portrait img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-copy {
    display: grid;
    justify-items: center;
}

.about-label {
    margin: 0 0 .85rem;
    color: var(--about-ink);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.about-lead {
    max-width: 54ch;
    margin: 0;
    color: var(--about-muted);
    font-size: clamp(.98rem, 1.35vw, 1.08rem);
    line-height: 1.65;
}

.about-actions {
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;
}

.project-status-fineprint {
    margin: .85rem 0 0;
    color: var(--about-muted);
    font-family: var(--about-sans);
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
    text-align: center;
}

.project-status-fineprint::before {
    content: "•";
    margin-right: .45rem;
    color: var(--about-muted);
}

.about-action {
    min-height: 42px;
    padding: .7rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--about-border);
    background: #ffffff;
    color: var(--about-ink);
    font-size: .78rem;
    font-weight: 600;
}

.about-action-primary {
    border-color: var(--about-ink);
    background: var(--about-ink);
    color: #ffffff !important;
}

@media (max-width: 520px) {
    :root {
        --about-header-height: 62px;
        --about-gutter: 1rem;
    }

    .about-nav-links {
        gap: 1rem;
        font-size: .76rem;
    }

    .about-main {
        min-height: calc(100svh - var(--about-header-height));
        padding-top: 1rem;
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    }

    .about-portrait {
        width: min(190px, 52vw);
        margin-bottom: 1rem;
    }

    .about-label {
        margin-bottom: .7rem;
        font-size: .95rem;
    }

    .about-lead {
        max-width: 38ch;
        font-size: .94rem;
        line-height: 1.55;
    }

    .about-actions {
        width: 100%;
        margin-top: 1.25rem;
    }

    .about-action {
        min-height: 44px;
    }

}

@media (max-width: 360px) {
    .about-nav-links {
        gap: .75rem;
        font-size: .7rem;
    }

    .about-portrait {
        width: min(165px, 48vw);
    }

    .about-lead {
        font-size: .88rem;
    }
}

/* Feedback Form Inline Styling */
.feedback-drawer {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--about-border);
    text-align: left;
}

.feedback-backdrop,
.feedback-close,
.feedback-panel-head,
.feedback-launcher {
    display: none !important;
}

.feedback-intro {
    margin-bottom: 20px;
}

.feedback-intro h2 {
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: var(--about-ink);
}

.feedback-intro p {
    color: var(--about-muted);
    font-size: 0.95rem;
    margin: 0;
}

.feedback-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.feedback-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid var(--about-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    margin-bottom: 10px;
    background: #fff;
    color: var(--about-ink);
}

.feedback-form textarea:focus {
    outline: 2px solid var(--about-ink);
    border-color: var(--about-ink);
}

.feedback-honeypot {
    display: none !important;
}

.feedback-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--about-muted);
    margin-bottom: 20px;
}

.feedback-meta p {
    margin: 0;
}

.feedback-meta span {
    white-space: nowrap;
}

.feedback-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    background: var(--about-ink);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    -webkit-appearance: none;
}

.feedback-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.feedback-status {
    margin-top: 10px;
    font-size: 0.85rem;
}
.feedback-status.is-success { color: #245e38; }
.feedback-status.is-error { color: #9d2f24; }

@media (max-width: 520px) {
    .feedback-meta {
        flex-direction: column;
        gap: 10px;
    }
    .feedback-actions .btn {
        width: 100%;
    }
}
