/* ==========================================================================
   苏苏小屋 · 首页与通用页面重构样式 (Studio Layout & Components)
   ========================================================================== */

main {
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   HERO 东方唯美艺术封面
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: min(940px, 100vh);
    padding: 11rem clamp(1.5rem, 7vw, 8rem) 6rem;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(min(320px, 100%), 0.75fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 7rem);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.38;
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) brightness(0.9);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0a0b10 0%, rgba(10, 11, 16, 0.85) 45%, rgba(10, 11, 16, 0.4) 100%),
                radial-gradient(ellipse 60% 50% at 85% 25%, rgba(240, 168, 183, 0.15) 0%, transparent 65%);
}

.hero::after {
    content: 'ARCHIVE · 2026';
    position: absolute;
    top: 10rem;
    right: clamp(1.5rem, 7vw, 8rem);
    color: rgba(223, 183, 108, 0.45);
    font-family: 'Noto Serif SC', serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    writing-mode: vertical-rl;
    user-select: none;
}

.hero-grid-mark {
    position: absolute;
    right: 2%;
    top: 15%;
    width: min(48vw, 600px);
    aspect-ratio: 1;
    border: 1px solid rgba(223, 183, 108, 0.18);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.75;
    animation: rotate-slow 90s linear infinite;
    box-shadow: inset 0 0 60px rgba(223, 183, 108, 0.05), 0 0 40px rgba(240, 168, 183, 0.06);
}

.hero-grid-mark::before {
    content: '';
    position: absolute;
    inset: 12%;
    border: 1px dashed rgba(240, 168, 183, 0.25);
    border-radius: 50%;
}

.hero-grid-mark::after {
    content: '';
    position: absolute;
    inset: 26%;
    border: 1px solid rgba(223, 183, 108, 0.12);
    border-radius: 50%;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero h1 {
    margin: 1.4rem 0 1.2rem;
    font-size: clamp(3.6rem, 7.5vw, 6.6rem);
    line-height: 1.08;
    letter-spacing: 0.06em;
    font-weight: 600;
    background: var(--grad-title);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.hero h1 small {
    display: block;
    margin-top: 1.3rem;
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(1.1rem, 1.8vw, 1.42rem);
    font-weight: 400;
    letter-spacing: 0.16em;
    line-height: 1.85;
    background: linear-gradient(90deg, #f5dfa8 0%, #f0a8b7 50%, #fcf9f2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    max-width: 600px;
    margin: 0;
    color: var(--c-ink-sub);
    font-size: 1.05rem;
    line-height: 1.95;
    letter-spacing: 0.02em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    margin-top: 2.8rem;
}

/* 创作者寄语卡片 */
.hero-note {
    position: relative;
    justify-self: end;
    width: min(100%, 430px);
    padding: clamp(2rem, 3.5vw, 2.8rem);
    border: 1px solid var(--border-gold);
    border-top: 2px solid var(--c-gold);
    border-radius: var(--radius-md);
    background: var(--grad-card);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px);
    transition: transform 0.4s var(--ease-silk), border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-note:hover {
    transform: translateY(-5px);
    border-color: var(--c-rose);
    box-shadow: var(--shadow-hover);
}

.hero-note .seal-mark {
    margin-bottom: 1.5rem;
}

.hero-note p {
    margin: 0;
    color: var(--c-ink);
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    line-height: 1.9;
    letter-spacing: 0.04em;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2.2rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(223, 183, 108, 0.18);
}

.hero-stats div {
    display: grid;
    gap: 0.35rem;
}

.hero-stats strong {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.85rem;
    font-weight: 500;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}

.hero-stats span {
    color: var(--c-ink-muted);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
}

.scroll-cue {
    position: absolute;
    left: clamp(1.5rem, 7vw, 8rem);
    bottom: 2.5rem;
    color: var(--c-ink-muted);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    user-select: none;
}

.scroll-cue span {
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--c-gold), var(--c-rose), transparent);
    animation: scroll-pulse 2.2s infinite ease-in-out;
}

@keyframes scroll-pulse {
    0%, 100% { transform: scaleY(0.7); opacity: 0.4; }
    50% { transform: scaleY(1.1); opacity: 1; }
}

/* --------------------------------------------------------------------------
   通用内容容器
   -------------------------------------------------------------------------- */
.works-section,
.notes-section,
.contact-section,
.intro-strip,
.subpage-main {
    width: 100%;
    max-width: min(1800px, 96vw);
    margin-inline: auto;
    padding: clamp(5rem, 8vw, 8.5rem) clamp(1.5rem, 6vw, 5rem);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-gold);
}

.section-heading h2 {
    margin-top: 0.5rem;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    background: var(--grad-title);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-heading > p {
    max-width: 340px;
    margin: 0;
    color: var(--c-ink-muted);
    font-size: 0.94rem;
    text-align: right;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--c-gold-light);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    transition: all 0.3s ease;
}

.text-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.text-link span {
    color: var(--c-rose);
    transition: transform 0.3s ease;
}

.text-link:hover span {
    transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   作品展柜卡片 (Works Showcase)
   -------------------------------------------------------------------------- */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
}

.app-card {
    position: relative;
    min-height: 320px;
    padding: clamp(2rem, 3.5vw, 2.8rem);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    background: var(--grad-card);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s var(--ease-silk);
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(223, 183, 108, 0.6), rgba(240, 168, 183, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.app-card::after {
    content: attr(data-index);
    position: absolute;
    right: 1.8rem;
    bottom: -1rem;
    font-family: 'Noto Serif SC', serif;
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(223, 183, 108, 0.04);
    pointer-events: none;
    user-select: none;
    transition: color 0.4s ease;
}

.app-card:hover {
    transform: translateY(-6px);
    border-color: var(--c-rose);
    box-shadow: var(--shadow-hover);
}

.app-card:hover::before {
    opacity: 1;
}

.app-card:hover::after {
    color: rgba(240, 168, 183, 0.08);
}

.app-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.card-index {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--c-gold);
}

.app-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.95rem;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--c-jade-light);
    border: 1px solid rgba(142, 195, 176, 0.35);
    border-radius: var(--radius-full);
    background: rgba(142, 195, 176, 0.1);
}

.app-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-jade);
    box-shadow: 0 0 8px var(--c-jade);
}

.app-card h3 {
    position: relative;
    z-index: 1;
    margin: 1.6rem 0 0.8rem;
    font-size: clamp(1.8rem, 2.6vw, 2.35rem);
    font-weight: 500;
    color: var(--c-ink);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.app-card:hover h3 {
    background: var(--grad-title);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.app-card p {
    position: relative;
    z-index: 1;
    max-width: 540px;
    margin: 0;
    color: var(--c-ink-sub);
    font-size: 0.98rem;
    line-height: 1.9;
    flex-grow: 1;
}

.app-card-bottom {
    position: relative;
    z-index: 1;
    margin-top: 2.2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(223, 183, 108, 0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--c-ink-muted);
    font-size: 0.82rem;
}

.app-card-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem 1.1rem;
}

.app-card-links a {
    color: var(--c-ink-sub);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
}

.app-card-links a:first-child {
    padding: 0.5rem 1.1rem;
    border: 1px solid rgba(223, 183, 108, 0.4);
    border-radius: var(--radius-xs);
    background: rgba(223, 183, 108, 0.09);
    color: var(--c-gold-light);
    font-weight: 500;
}

.app-card-links a:first-child:hover {
    border-color: var(--c-rose);
    background: rgba(240, 168, 183, 0.2);
    color: #ffffff;
    box-shadow: 0 0 18px var(--c-rose-glow);
}

.app-card-links a:hover {
    color: var(--c-rose-light);
}

/* --------------------------------------------------------------------------
   最新开发记录列表
   -------------------------------------------------------------------------- */
.notes-list {
    display: grid;
    gap: 1.1rem;
    border-top: 1px solid var(--border-gold);
}

.note-card {
    display: grid;
    grid-template-columns: 120px 1fr 36px;
    gap: 1.8rem;
    align-items: center;
    padding: 1.6rem 1.8rem;
    border-bottom: 1px solid rgba(223, 183, 108, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(18, 20, 32, 0.4);
    text-decoration: none;
    color: inherit;
    transition: all 0.35s var(--ease-silk);
}

.note-card:hover {
    padding-left: 2.2rem;
    background: linear-gradient(90deg, rgba(223, 183, 108, 0.09) 0%, rgba(240, 168, 183, 0.05) 100%);
    border-bottom-color: var(--c-rose);
    transform: translateX(4px);
}

.note-card time {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.96rem;
    color: var(--c-gold);
    letter-spacing: 0.06em;
}

.note-card > div {
    display: grid;
    gap: 0.35rem;
}

.note-card > div > span {
    font-size: 0.74rem;
    color: var(--c-rose);
    letter-spacing: 0.12em;
    font-weight: 500;
}

.note-card h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--c-ink);
    letter-spacing: 0.03em;
    transition: color 0.25s ease;
}

.note-card:hover h3 {
    color: var(--c-gold-bright);
}

.note-card p {
    margin: 0;
    color: var(--c-ink-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.note-card > strong {
    color: var(--c-gold);
    font-size: 1.35rem;
    font-weight: 400;
    text-align: right;
    transition: transform 0.3s ease, color 0.3s ease;
}

.note-card:hover > strong {
    color: #ffffff;
    transform: translate(3px, -3px);
}

.empty-note {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-gold);
    color: var(--c-ink-muted);
    text-align: center;
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   联系横幅 (Contact Panel)
   -------------------------------------------------------------------------- */
.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(min(280px, 100%), 0.85fr);
    gap: 3.5rem;
    padding: clamp(2.5rem, 5vw, 5rem);
    border: 1px solid var(--border-gold);
    border-left: 4px solid var(--c-cinnabar);
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 12% 20%, rgba(194, 67, 85, 0.22) 0%, transparent 45%),
                linear-gradient(135deg, rgba(28, 24, 34, 0.95) 0%, rgba(13, 14, 22, 0.94) 100%);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px);
}

.contact-panel h2 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--c-ink);
}

.contact-panel h2 em {
    font-style: normal;
    background: var(--grad-rose);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-copy {
    align-self: flex-end;
    display: grid;
    gap: 1.8rem;
}

.contact-copy p {
    margin: 0;
    color: var(--c-ink-sub);
    font-size: 1.02rem;
    line-height: 1.95;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --------------------------------------------------------------------------
   关于创作者 (About Strip)
   -------------------------------------------------------------------------- */
.intro-strip {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    background: rgba(14, 15, 24, 0.6);
}

.intro-art {
    position: absolute;
    right: 2%;
    bottom: -15%;
    width: min(34vw, 440px);
    opacity: 0.4;
    mix-blend-mode: screen;
    filter: sepia(0.2) saturate(0.85);
    pointer-events: none;
}

.intro-art img {
    display: block;
    width: 100%;
    height: auto;
    mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2.5rem, 6vw, 7rem);
    align-items: start;
    margin-top: 2rem;
}

.intro-grid h2 {
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--c-ink);
}

.intro-grid h2 em {
    font-style: normal;
    background: var(--grad-rose);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.intro-copy {
    color: var(--c-ink-sub);
    font-size: 1.02rem;
    line-height: 2;
}

.intro-copy p {
    margin: 0 0 1.2rem;
}

.signature {
    display: inline-block;
    margin-top: 1.4rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-gold);
    color: var(--c-gold);
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   页脚 (Footer)
   -------------------------------------------------------------------------- */
.footer {
    position: relative;
    z-index: 2;
    padding: 5rem clamp(1.5rem, 7vw, 8rem) 2.2rem;
    border-top: 1px solid var(--border-gold);
    background: #06070a;
}

.footer-content {
    max-width: min(1800px, 96vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand h3 {
    margin: 0 0 0.6rem;
    font-size: 1.55rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    background: var(--grad-title);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-brand p {
    margin: 0;
    color: var(--c-ink-muted);
    font-size: 0.88rem;
    line-height: 1.85;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 0.65rem;
}

.footer-links h4 {
    margin: 0 0 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--c-gold);
    text-transform: uppercase;
}

.footer-links a, .admin-login-btn {
    color: var(--c-ink-sub);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    padding: 0;
}

.footer-links a:hover, .admin-login-btn:hover {
    color: var(--c-gold-bright);
    transform: translateX(4px);
}

.footer-bottom {
    max-width: min(1800px, 96vw);
    margin: 3.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(223, 183, 108, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    color: var(--c-ink-faint);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   弹窗通用样式 (Modal)
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(4, 5, 8, 0.84);
    backdrop-filter: blur(18px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.feedback-modal {
    position: relative;
    width: min(92vw, 480px);
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--border-gold);
    border-top: 2px solid var(--c-gold);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(28, 29, 44, 0.98) 0%, rgba(13, 14, 22, 0.98) 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 35px var(--c-gold-glow);
    backdrop-filter: blur(22px);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.3s var(--ease-silk);
    max-height: min(740px, calc(100vh - 3rem));
    overflow-y: auto;
}

.modal-overlay.active .feedback-modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    background: rgba(223, 183, 108, 0.08);
    color: var(--c-ink-sub);
    font-size: 1.3rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.modal-close:hover {
    border-color: var(--c-rose);
    color: #ffffff;
    background: rgba(240, 168, 183, 0.25);
    transform: rotate(90deg);
}

.feedback-modal h2 {
    font-size: 1.75rem;
    font-weight: 500;
    margin: 0.3rem 0 0.5rem;
    background: var(--grad-title);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feedback-modal > p {
    color: var(--c-ink-muted);
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
}

.feedback-options {
    display: grid;
    gap: 0.9rem;
}

.feedback-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    background: rgba(223, 183, 108, 0.04);
    transition: all 0.3s var(--ease-silk);
}

.feedback-option:hover {
    border-color: var(--c-rose);
    background: linear-gradient(90deg, rgba(223, 183, 108, 0.12) 0%, rgba(240, 168, 183, 0.1) 100%);
    transform: translateX(4px);
    box-shadow: 0 0 20px var(--c-rose-glow);
}

.feedback-option-index {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--c-rose);
    font-weight: 600;
}

.feedback-option strong {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--c-ink);
    flex-grow: 1;
    font-family: 'Noto Serif SC', serif;
}

.feedback-option-arrow {
    color: var(--c-gold);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.feedback-option:hover .feedback-option-arrow {
    color: #ffffff;
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   响应式设计 (Responsive)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 9rem;
        gap: 3.5rem;
    }
    .hero::after {
        display: none;
    }
    .hero-note {
        justify-self: stretch;
        width: 100%;
        max-width: 100%;
    }
    .intro-grid, .contact-panel {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .apps-grid {
        grid-template-columns: 1fr;
    }
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
    }
    .section-heading > p {
        text-align: left;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.4rem;
    }
    .nav-brand span {
        display: none;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.1rem;
        padding: 1.6rem 2rem;
        background: rgba(12, 13, 20, 0.98);
        border-bottom: 1px solid var(--border-gold);
        backdrop-filter: blur(25px);
    }
    .navbar.menu-open .nav-links {
        display: flex;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .note-card {
        grid-template-columns: 1fr 28px;
        gap: 0.5rem 1rem;
    }
    .note-card time {
        grid-column: 1 / -1;
    }
    .note-card p {
        display: none;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero {
        padding-top: 8rem;
    }
    .hero-grid-mark {
        opacity: 0.3;
    }
    .scroll-cue {
        display: none;
    }
    .app-card {
        min-height: auto;
    }
    .app-card::after {
        font-size: 5rem;
    }
    .contact-panel {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 1rem 3rem;
        gap: 2rem;
    }
    .hero h1 small {
        font-size: 1rem !important;
    }
    .hero-desc {
        font-size: 0.95rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-heading {
        gap: 0.5rem;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
    .app-card h3 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }
    .app-card-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    .app-card-links {
        justify-content: flex-start;
    }
    .intro-grid {
        gap: 2rem;
    }
    .footer {
        padding: 3rem 1rem 1.5rem;
    }
    .footer-bottom {
        gap: 0.8rem;
    }
}
