:root {
    --navy: #0c1b3a;
    --navy-deep: #071226;
    --navy-mid: #16315f;
    --orange: #e85d04;
    --orange-hot: #f48c06;
    --gold: #e0b13a;
    --magenta: #7b2cbf;
    --cream: #fbf7f1;
    --paper: #fffdf9;
    --ink: #1c1917;
    --ink-soft: #57534e;
    --muted: #78716c;
    --line: rgba(12, 27, 58, 0.1);
    --white: #ffffff;
    --shadow: 0 18px 40px rgba(12, 27, 58, 0.12);
    --shadow-lift: 0 28px 55px rgba(12, 27, 58, 0.22);
    --radius: 22px;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-sans);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--navy-mid); }

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(1000px 480px at 8% -8%, rgba(232, 93, 4, 0.08), transparent 55%),
        radial-gradient(900px 420px at 100% 0%, rgba(123, 44, 191, 0.08), transparent 50%),
        linear-gradient(180deg, #f7f1e8 0%, var(--cream) 40%, #f3efe8 100%);
}

.site-main { flex: 1; }

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -40px;
    background: var(--navy);
    color: #fff;
    padding: 0.5rem 0.85rem;
    z-index: 400;
    border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn-3d,
.btn-ghost,
.btn-linkish {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-weight: 650;
    font-family: inherit;
    letter-spacing: 0.01em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-3d {
    background: linear-gradient(180deg, var(--orange-hot), var(--orange));
    color: #fff;
    padding: 0.85rem 1.35rem;
    border-radius: 14px;
    box-shadow:
        0 10px 0 #9a3b02,
        0 18px 24px rgba(232, 93, 4, 0.28);
}

.btn-3d:hover { transform: translateY(-2px); color: #fff; }
.btn-3d:active { transform: translateY(2px); box-shadow: 0 6px 0 #9a3b02, 0 10px 16px rgba(232, 93, 4, 0.2); }
.btn-3d:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-ghost {
    background: rgba(255, 255, 255, 0.72);
    color: var(--navy);
    padding: 0.85rem 1.35rem;
    border-radius: 14px;
    border: 1px solid rgba(12, 27, 58, 0.12);
    box-shadow: 0 10px 24px rgba(12, 27, 58, 0.08);
}
.btn-ghost:hover { transform: translateY(-2px); color: var(--navy); }

.btn-navy {
    background: linear-gradient(180deg, #1d4a8f, var(--navy));
    box-shadow: 0 10px 0 #071226, 0 18px 24px rgba(12, 27, 58, 0.28);
}

.hero-actions, .section-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Navbar ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(120deg, rgba(7, 18, 38, 0.94), rgba(22, 49, 95, 0.9) 55%, rgba(12, 27, 58, 0.92));
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(7, 18, 38, 0.22);
}

.nav-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 4.5rem;
    padding: 0.55rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    min-width: 0;
}
.brand:hover { color: #fff; }

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 3px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; }
.brand-sub { font-size: 0.72rem; opacity: 0.85; letter-spacing: 0.04em; text-transform: uppercase; }

.nav-toggle { display: none; }
.nav-burger {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: #fff; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem 0.35rem;
    margin-left: auto;
    flex-wrap: wrap;
}

.site-nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
}
.site-nav a:hover,
.site-nav a.active { background: rgba(255,255,255,0.12); color: #fff; }

.nav-cta { margin-left: 0.4rem; padding: 0.55rem 0.95rem !important; }

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 3rem;
    background: linear-gradient(180deg, var(--navy-mid), var(--navy-deep));
    color: #e7e0d4;
    padding: 3rem 0 1.2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2rem;
}
.footer-brand p { color: rgba(255,255,255,0.78); max-width: 28ch; }
.footer-logo { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 12px; padding: 4px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer a { color: rgba(255,255,255,0.82); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.socials { display: flex; gap: 0.55rem; margin-top: 1rem; }
.socials a {
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff;
}
.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

/* ---------- Page hero / headers ---------- */
.page-hero, .section { padding: 3.5rem 0; }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head.center, .center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--orange);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
}
.kicker-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
    box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.18);
}
.section-head h2, .page-hero h1, .hero-title {
    font-family: var(--font-serif);
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--navy);
    margin: 0.4rem 0 0.75rem;
}
.lede, .page-hero p { color: var(--ink-soft); font-size: 1.05rem; }

.page-hero {
    background:
        linear-gradient(180deg, rgba(12,27,58,0.04), transparent),
        radial-gradient(600px 200px at 90% 0%, rgba(224,177,58,0.18), transparent);
}

.about-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.about-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    background: #fff;
    border-radius: 28px;
    padding: 1rem;
    box-shadow:
        0 18px 40px rgba(12, 27, 58, 0.14),
        0 0 0 1px rgba(12, 27, 58, 0.06);
}

@media (max-width: 640px) {
    .about-hero {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .about-logo {
        width: 140px;
        height: 140px;
    }
}

/* ---------- Home hero ---------- */
.home-hero {
    position: relative;
    overflow: hidden;
    padding: 3.2rem 0 2rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}
.hero-title-row {
    display: flex;
    align-items: center;
    gap: 1rem 1.25rem;
    margin: 0.35rem 0 1rem;
}

.hero-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border-radius: 22px;
    padding: 0.45rem;
    box-shadow:
        0 14px 30px rgba(12, 27, 58, 0.14),
        0 0 0 1px rgba(12, 27, 58, 0.06);
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.1rem);
    margin: 0;
}
.hero-copy { font-size: 1.12rem; color: var(--ink-soft); max-width: 48ch; }
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.6rem;
}
.stat-chip {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.8);
    padding: 0.7rem 0.9rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}
.stat-chip strong { display: block; font-size: 0.95rem; }
.stat-chip small { color: var(--muted); }

.hero-stage { position: relative; min-height: 420px; perspective: 1400px; }
.hero-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow-lift);
    transform: rotateY(-8deg) rotateX(4deg);
}
.float-book {
    position: absolute;
    width: 92px;
    height: 130px;
    border-radius: 4px 10px 10px 4px;
    box-shadow: 18px 18px 30px rgba(12,27,58,0.25);
    animation: float-book 7s ease-in-out infinite;
}
.float-book.one { background: linear-gradient(90deg, #9a3b02, #e85d04 12%, #f4c38b); top: 18px; left: -18px; }
.float-book.two { background: linear-gradient(90deg, #071226, #1d4a8f 14%, #8fb4ea); bottom: 40px; right: 12px; animation-delay: -2s; }
.float-book.three { background: linear-gradient(90deg, #5a189a, #9d4edd 14%, #e0aaff); top: 48%; left: 8%; width: 70px; height: 100px; animation-delay: -4s; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.55;
    animation: float-orb 12s ease-in-out infinite;
}
.orb.a { width: 180px; height: 180px; background: #f4a261; right: -20px; top: -20px; }
.orb.b { width: 140px; height: 140px; background: #9d4edd; left: 20%; bottom: -30px; }

@keyframes float-book {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-16px) rotate(-2deg); }
}
@keyframes float-orb {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
@keyframes rise-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
.rise-in { animation: rise-in 0.7s ease both; }

/* ---------- Cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.book-card {
    background: var(--paper);
    border-radius: 20px;
    padding: 0.85rem 0.85rem 1.1rem;
    box-shadow: var(--shadow);
    transform: perspective(900px) rotateY(-4deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.book-card:hover {
    transform: perspective(900px) rotateY(0deg) translateY(-10px);
    box-shadow: var(--shadow-lift);
}
.book-cover-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: #1c1917;
    box-shadow: 0 16px 30px rgba(12,27,58,0.22);
}
.book-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.book-card:hover .book-cover-wrap img { transform: scale(1.06); }
.book-spine {
    position: absolute;
    inset: 0 auto 0 0;
    width: 10px;
    background: linear-gradient(90deg, rgba(0,0,0,0.45), transparent);
}
.book-meta { padding: 0.9rem 0.25rem 0; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.book-meta h3 { font-family: var(--font-serif); font-size: 1.15rem; margin: 0; }
.book-meta h3 a { color: var(--navy); text-decoration: none; }
.book-meta .muted, .muted { color: var(--muted); }
.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(22, 49, 95, 0.08);
    color: var(--navy-mid);
    font-size: 0.75rem;
    font-weight: 700;
    width: max-content;
}
.book-meta p { margin: 0.35rem 0 0.7rem; color: var(--ink-soft); font-size: 0.92rem; }

.author-card, .genre-card, .director-card, .value-card, .glass-card, .dash-card, .feature-card {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    padding: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.author-card:hover, .genre-card:hover, .director-card:hover, .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
}
.author-photo, .director-photo {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 12px 24px rgba(12,27,58,0.18);
}
.author-card, .director-card { text-align: center; }
.author-card h3, .director-card h3 { font-family: var(--font-serif); margin: 0.75rem 0 0.2rem; }
.genre-card {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}
.genre-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--navy), var(--magenta));
    color: #fff;
    margin-bottom: 0.8rem;
}
.genre-card h3 { margin: 0 0 0.35rem; font-family: var(--font-serif); color: var(--navy); }

.about-preview, .split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
}
.split img, .about-preview img {
    width: 100%;
    border-radius: 28px;
    box-shadow: var(--shadow-lift);
    object-fit: cover;
    min-height: 320px;
}
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin: 1.2rem 0; }
.metric { background: #fff; border-radius: 16px; padding: 0.9rem; box-shadow: var(--shadow); }
.metric strong { display: block; font-size: 1.3rem; color: var(--navy); font-family: var(--font-serif); }

/* ---------- Forms / filters ---------- */
.filter-bar, .form-card, .admin-panel {
    background: rgba(255,255,255,0.82);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.4rem;
}
.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.7rem;
    align-items: end;
}
.book-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }
label { font-weight: 650; font-size: 0.86rem; color: var(--navy); display: block; margin-bottom: 0.3rem; }
.form-control, select.form-control, textarea.form-control {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    font: inherit;
    background: #fff;
}
.form-control:focus { outline: 3px solid rgba(232, 93, 4, 0.25); border-color: var(--orange); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.validation-message, .field-error { color: #b42318; font-size: 0.85rem; }
.alert {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}
.alert-success { background: #ecfdf3; color: #067647; }
.alert-error { background: #fef3f2; color: #b42318; }
.alert-info { background: #eff8ff; color: #175cd3; }

.pager { display: flex; gap: 0.4rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.pager button, .pager a {
    min-width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: var(--navy);
}
.pager .current { background: var(--navy); color: #fff; }

.empty-state, .error-state {
    text-align: center;
    padding: 2.5rem 1rem;
    background: rgba(255,255,255,0.7);
    border-radius: 20px;
}
.spinner {
    width: 36px; height: 36px;
    border: 3px solid #eadfd0;
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 1rem auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Book details ---------- */
.detail-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    align-items: start;
}
.detail-cover {
    border-radius: 24px;
    box-shadow: var(--shadow-lift);
    transform: perspective(900px) rotateY(-6deg);
    width: 100%;
}
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin: 1rem 0; }
.spec-list div { background: #fff; border-radius: 12px; padding: 0.7rem 0.85rem; box-shadow: var(--shadow); }
.spec-list span { display: block; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

.map-frame {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ---------- Admin ---------- */
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; background: #f4f1ea; }
.admin-side {
    background: linear-gradient(180deg, var(--navy-deep), var(--navy));
    color: #fff;
    padding: 1.2rem 1rem;
}
.admin-side a { color: rgba(255,255,255,0.86); text-decoration: none; display: flex; gap: 0.6rem; padding: 0.65rem 0.75rem; border-radius: 10px; }
.admin-side a.active, .admin-side a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.admin-main { padding: 1.5rem; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }
.stat { background: #fff; border-radius: 16px; padding: 1rem; box-shadow: var(--shadow); }
.stat b { font-size: 1.6rem; font-family: var(--font-serif); color: var(--navy); display: block; }
.table-wrap { overflow: auto; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; }
table.data th { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.thumb { width: 42px; height: 58px; object-fit: cover; border-radius: 6px; }
.actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.link-btn { background: none; border: 0; color: var(--navy-mid); cursor: pointer; font-weight: 650; }
.danger { color: #b42318; }

.modal-back {
    position: fixed; inset: 0; background: rgba(7,18,38,0.45);
    display: grid; place-items: center; z-index: 80; padding: 1rem;
}
.modal {
    background: #fff; border-radius: 18px; padding: 1.4rem; max-width: 420px; width: 100%;
    box-shadow: var(--shadow-lift);
}

.toast-host { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: grid; gap: 0.5rem; }
.toast {
    min-width: 240px; padding: 0.8rem 1rem; border-radius: 12px; color: #fff;
    box-shadow: var(--shadow);
}
.toast.success { background: #067647; }
.toast.error { background: #b42318; }
.toast.info { background: #175cd3; }

.login-page { min-height: calc(100vh - 90px); display: grid; place-items: center; padding: 2rem 1rem; }
.login-card {
    width: min(420px, 100%);
    background: rgba(255,255,255,0.86);
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: var(--shadow-lift);
}

.quote {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--navy);
    margin: 0;
}

#blazor-error-ui {
    background: #fff3cd;
    bottom: 0; box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
    display: none; left: 0; padding: 0.6rem 1.25rem; position: fixed; width: 100%; z-index: 1000;
}
#blazor-error-ui .reload { color: var(--orange); }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }

@media (max-width: 1100px) {
    .card-grid, .stats, .metric-row { grid-template-columns: repeat(2, 1fr); }
    .footer-grid, .filter-grid { grid-template-columns: 1fr 1fr; }
    .admin-shell { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .hero-grid, .about-preview, .split, .detail-grid { grid-template-columns: 1fr; }
    .hero-photo { transform: none; height: 280px; }
    .nav-burger { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 100%;
        background: var(--navy-deep);
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
    }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .nav-bar { position: relative; }
    .nav-cta { margin: 0.4rem 0 0; }
}

@media (max-width: 640px) {
    .card-grid, .card-grid.three, .card-grid.two, .form-grid, .spec-list, .footer-grid, .filter-grid, .stats, .metric-row {
        grid-template-columns: 1fr;
    }
    .hero-title { font-size: 2.2rem; }
    .hero-title-row { flex-direction: column; align-items: flex-start; }
    .hero-logo { width: 80px; height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
