* {
    box-sizing: border-box;
}

:root {
    --bg-base: #f8f1ea;
    --bg-soft: #fff9f4;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-solid: #ffffff;
    --surface-soft: #fff8f3;
    --surface-warm: #fff3ea;
    --text-strong: #181311;
    --text-body: #5e514b;
    --text-muted: #7b6961;
    --accent: #d95a2b;
    --accent-deep: #a94824;
    --accent-soft: #fff0e7;
    --line: #ead9cf;
    --line-strong: #e0c8ba;
    --line-dark: #3a2823;
    --shadow-soft: 0 18px 38px rgba(90, 58, 36, 0.07);
    --shadow-medium: 0 24px 52px rgba(70, 43, 26, 0.12);
    --shadow-accent: 0 20px 44px rgba(217, 90, 43, 0.22);
    --shadow-dark: 0 14px 32px rgba(32, 21, 19, 0.18);
    --hero-warm: linear-gradient(135deg, #fffaf6 0%, #fff2e8 46%, #fffaf6 100%);
    --panel-dark: linear-gradient(180deg, #2d1c19 0%, #241715 60%, #1b1211 100%);
    --radius-xl: 34px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 18px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;
    --space-9: 40px;
    --shell-width: 1280px;
    --font-display: "Segoe UI", "Trebuchet MS", Arial, Helvetica, sans-serif;
    --font-body: "Segoe UI", "Trebuchet MS", Arial, Helvetica, sans-serif;
    --tracking-display: -0.05em;
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top left, rgba(217, 90, 43, 0.08), transparent 24%),
        radial-gradient(circle at 100% 12%, rgba(255, 255, 255, 0.72), transparent 22%),
        linear-gradient(180deg, #fcf7f2 0%, var(--bg-base) 38%, #f6ede5 100%);
    color: var(--text-strong);
    line-height: 1.5;
    min-height: 100vh;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--shell-width), calc(100% - 40px));
    margin: 0 auto;
}

.ma-shell {
    width: min(var(--shell-width), calc(100% - 40px));
    margin: 0 auto;
}

.ma-surface-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(90, 58, 36, 0.08);
}

.ma-surface-card-warm {
    background: var(--hero-warm);
}

.ma-dark-panel {
    background: var(--panel-dark);
    color: #fff;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dark), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.ma-pill,
.ma-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 800;
}

.ma-pill {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
    color: var(--text-body);
    font-size: 13px;
}

.ma-eyebrow {
    min-height: 32px;
    padding: 0 12px;
    background: #fff4ec;
    border: 1px solid #f0d7c8;
    color: #985333;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ma-display-title {
    margin: 0;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 0.98;
    letter-spacing: var(--tracking-display);
    font-weight: 900;
}

.ma-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ma-section-kicker {
    color: #a15f40;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 900;
}

.ma-stat-grid {
    display: grid;
    gap: 12px;
}

.ma-stat-tile {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 24px rgba(90, 58, 36, 0.05);
}

.ma-stat-tile strong {
    display: block;
    color: var(--text-strong);
    font-size: 28px;
    line-height: 1;
}

.ma-stat-tile span {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(252, 246, 240, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(117, 89, 72, 0.08);
    box-shadow: 0 14px 30px rgba(89, 58, 39, 0.05);
}

.header-inner {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: center;
    gap: 32px;
    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.brand-full-logo {
    display: block;
    width: auto;
    height: 72px;
    max-width: 100%;
    object-fit: contain;
    transform: none;
    filter: drop-shadow(0 10px 18px rgba(56, 34, 23, 0.10));
}

.nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    color: #5f514b;
    font-weight: 700;
    font-size: 14px;
    margin: 0;
    align-items: center;
    min-width: 0;
    justify-self: center;
    width: 100%;
}

.nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    white-space: nowrap;
    border-radius: 999px;
    color: #5f514b;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.nav a:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 18px rgba(90, 58, 36, 0.06);
    transform: translateY(-1px);
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    justify-self: end;
}

.header-actions > * {
    flex: 0 0 auto;
}

.header-user {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 10px;
    color: #6a5850;
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 1240px) {
    .header-inner {
        grid-template-columns: 215px minmax(0, 1fr) auto;
        gap: 18px;
    }

    .nav {
        gap: 8px;
    }

    .header-actions .btn {
        padding: 11px 15px;
    }

    .tmdb-attribution {
        flex-direction: column;
        align-items: flex-start;
    }

    .tmdb-attribution-copy {
        text-align: left;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.82);
    color: #342822;
    box-shadow: 0 10px 22px rgba(70, 40, 20, 0.04);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(70, 40, 20, 0.1);
    border-color: #d9b9a8;
}

.btn-primary {
    background: linear-gradient(135deg, #e56a35 0%, #d95a2b 58%, #be4a1f 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-accent);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(217, 90, 43, 0.28);
}

.btn-danger {
    background: #3a1714;
    color: #fff;
    border-color: #3a1714;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(58, 23, 20, 0.24);
}

.btn-current {
    border-color: rgba(217, 90, 43, 0.28);
    background: rgba(255, 240, 231, 0.92);
    color: var(--accent-deep);
}

.btn-with-badge {
    position: relative;
    gap: 10px;
}

.btn-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e56a35 0%, #d95a2b 58%, #be4a1f 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 18px rgba(217, 90, 43, 0.24);
}

.btn:focus-visible,
.nav a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(217, 90, 43, 0.14),
        0 16px 30px rgba(70, 40, 20, 0.08);
}

.inline-form,
.movie-inline-form {
    display: inline-flex;
    margin: 0;
}

.page-flash {
    margin: 22px 0;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(90, 58, 36, 0.06);
}

.page-flash-success {
    background: #f4fff6;
    border-color: #b7dfbf;
    color: #275a32;
}

.page-flash-error {
    background: #fff6f4;
    border-color: #efc1b8;
    color: #8c2f1d;
}

.report-inline-form {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid #ead9cf;
    background: rgba(255, 255, 255, 0.76);
    display: grid;
    gap: 10px;
}

.report-inline-form-compact {
    margin-top: 14px;
    margin-left: auto;
    max-width: 320px;
    padding: 14px 16px;
}

.report-inline-label {
    display: block;
    color: #8b4a30;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.report-inline-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.report-inline-select {
    flex: 1 1 190px;
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid #e4d2c7;
    background: #fffdfa;
    color: #2b221f;
    padding: 10px 14px;
    font-size: 14px;
}

.tmdb-attribution {
    width: min(1280px, calc(100% - 40px));
    margin: 28px auto 36px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(54, 110, 175, 0.16);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 24px rgba(48, 72, 103, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.tmdb-attribution-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.tmdb-attribution-logo {
    width: auto;
    height: 26px;
}

.tmdb-attribution-wordmark {
    font-weight: 900;
    color: #0d253f;
    letter-spacing: 0.06em;
}

.tmdb-attribution-copy {
    margin: 0;
    color: #47617b;
    font-size: 12px;
    line-height: 1.6;
    text-align: right;
}

.hero {
    padding: 44px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: stretch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 244, 236, 0.86);
    border: 1px solid #f0d7c8;
    border-radius: 999px;
    color: #985333;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(90, 58, 36, 0.04);
}

.hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 900;
    max-width: 760px;
}

.accent {
    color: #d95a2b;
    text-shadow: 0 2px 8px rgba(217, 90, 43, 0.15);
    font-weight: 800;
}

.accent-link {
    color: #d95a2b;
    text-decoration: none;
}

.hero p {
    margin: 0;
    max-width: 580px;
    font-size: 18px;
    color: #5e514b;
    line-height: 1.8;
}


.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-pulse-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.demo-page .hero-pulse-row {
    display: none;
}

.pulse-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #ead9cf;
    color: #6b574d;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(90, 58, 36, 0.05);
}

.hero-chip-section {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.hero-chip-head {
    color: #8c5a3e;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 900;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    background: #fff8f3;
    border: 1px solid #efd8cc;
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 800;
    color: #4c3f39;
    box-shadow: 0 8px 18px rgba(70, 40, 20, 0.05);
    transition: all 0.15s ease;
}

.chip-link {
    text-decoration: none;
}

.chip:hover {
    transform: translateY(-1px);
    border-color: #e1b89f;
    box-shadow: 0 12px 22px rgba(70, 40, 20, 0.08);
}

.stat-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card,
.panel,
.menu-card,
.feature-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.stat-card {
    padding: 22px;
}

.stat-label {
    color: #8b776f;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.stat-value {
    margin-top: 8px;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.stat-text {
    margin-top: 8px;
    color: #665851;
    font-size: 14px;
}

.hero-panel {
    position: relative;
    padding: 18px;
    background: linear-gradient(180deg, #2d1c19 0%, #241715 60%, #1b1211 100%);
    color: #fff;
    border-radius: 34px;
    border: 1px solid #3a2823;
    box-shadow:
        0 20px 50px rgba(32, 21, 19, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    min-height: 100%;
    transition: all 0.25s ease;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%);
    pointer-events: none;
}

.hero-panel:hover {
    transform: translateY(-3px);
}

.panel-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.panel-title {
    margin-top: 8px;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.panel-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.panel-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 18px;
}

.panel-box strong {
    display: block;
    font-size: 18px;
    margin-top: 6px;
}

.panel-box small {
    color: rgba(255, 255, 255, 0.62);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.featured-pick {
    position: relative;
    z-index: 1;
    background: #fff;
    color: #181311;
    border-radius: 26px;
    padding: 18px;
    margin-top: 14px;
}

.featured-pick h3 {
    margin: 10px 0 6px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff3eb;
    border: 1px solid #efd1c0;
    font-size: 13px;
    font-weight: 800;
    color: #8b4a30;
}

.featured-pick p {
    color: #695b54;
    font-size: 15px;
    line-height: 1.7;
}

.featured-pick-note {
    color: #8a756b;
    font-size: 13px;
    line-height: 1.6;
    margin-top: -6px;
    margin-bottom: 16px;
}

.section {
    padding: 28px 0;
}

.section-highlight {
    padding-top: 8px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 20px;
}

.section-kicker {
    color: #a15f40;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 900;
}

.section-head h2 {
    margin: 8px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.feed-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

.menu-list {
    display: grid;
    gap: 20px;
}

.menu-card {
    padding: 22px;
    transition: all 0.2s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
}

.menu-top {
    display: flex;
    gap: 14px;
    align-items: start;
    justify-content: space-between;
}

.menu-card h3 {
    margin: 0;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.menu-meta {
    margin-top: 6px;
    color: #7b6961;
    font-size: 14px;
    font-weight: 700;
}

.poster-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    min-height: 135px;
    border-radius: 22px;
    background: linear-gradient(160deg, #2f1e19 0%, #6e3020 55%, #dc6830 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%, rgba(0, 0, 0, 0.15));
}

.poster span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
}

.menu-note {
    margin-top: 16px;
    color: #5f524b;
    font-size: 16px;
}

.menu-actions {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f0dfd6;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #5a4d47;
    font-size: 14px;
    font-weight: 800;
}

.sidebar {
    display: grid;
    gap: 18px;
}

.panel,
.feature-card {
    padding: 22px;
}

.panel h3,
.feature-card h3 {
    margin: 8px 0 0;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.panel p,
.feature-card p {
    color: #665851;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

.trending-list {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.trend-item {
    background: #fff4ec;
    border-radius: 20px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.trend-item strong {
    display: block;
    font-size: 15px;
}

.trend-item small {
    color: #8a756b;
    font-weight: 700;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


.activity-panel-footer-center {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.demo-compact-discovery {
    display: grid;
    gap: 12px;
}

.demo-compact-group {
    display: grid;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid #ead9cf;
}

.demo-compact-group:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.demo-compact-label {
    color: #8b4a30;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.demo-compact-list {
    display: grid;
    gap: 6px;
}

.demo-poster-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.demo-poster-link {
    display: block;
}

.demo-poster-link .poster {
    min-height: 112px;
    border-radius: 18px;
}

.demo-poster-link .poster span {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.04em;
}

.demo-table-list {
    display: grid;
    gap: 8px;
    padding-bottom: 18px;
}

.demo-table-list a {
    color: #181311;
    font-weight: 700;
    line-height: 1.35;
}

.demo-pulse-empty {
    grid-column: 1 / -1;
    display: block;
    padding: 14px 16px;
    border: 1px solid #ead9cf;
    border-radius: 16px;
    background: #fff8f2;
    color: #8b4a30;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.demo-compact-list a {
    color: #181311;
    font-weight: 700;
    line-height: 1.35;
}

.activity-panel {
    padding: 24px;
}

.activity-head h3 {
    margin: 8px 0 0;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.activity-list {
    margin-top: 16px;
    display: grid;
    gap: 14px;
}

.activity-card {
    padding: 18px;
    border-radius: 22px;
    background: #fff7f2;
    border: 1px solid #efddd1;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #6a5850;
    font-size: 13px;
    font-weight: 700;
}

.activity-meta a {
    color: #d95a2b;
}

.activity-card h4 {
    margin: 10px 0 0;
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.activity-card p {
    margin: 12px 0 0;
    color: #665851;
    font-size: 15px;
    line-height: 1.7;
}

.activity-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #ead9cf;
    color: #7b6a62;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.activity-empty {
    padding: 18px;
    border-radius: 20px;
    background: #fff6f0;
    color: #6d5b53;
    border: 1px solid #efd8cc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #fff4ec;
    font-size: 24px;
}

.empty-state {
    padding: 18px;
    border-radius: 18px;
    background: #fff6f0;
    color: #6d5b53;
    border: 1px solid #efd8cc;
}

.empty-state-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.app-error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 18px;
    background:
        radial-gradient(circle at top left, rgba(229, 106, 53, 0.14), transparent 34%),
        linear-gradient(135deg, #fffaf6 0%, #f5ece4 100%);
}

.app-error-card {
    width: min(680px, 100%);
    padding: 42px;
    border-radius: 34px;
    border: 1px solid #ead9cf;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(70, 45, 31, 0.12);
}

.app-error-code {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #f0d6c9;
    color: #9a4b2e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.app-error-card h1 {
    margin: 18px 0 12px;
    color: #181311;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.app-error-card p {
    margin: 0;
    max-width: 560px;
    color: #5f514b;
    font-size: 18px;
    line-height: 1.7;
}

.movies-empty-state strong,
.menus-empty-state strong,
.saved-empty-state strong,
.profile-empty-state strong {
    display: block;
    color: #181311;
    font-size: 18px;
    margin-bottom: 8px;
}

.movies-empty-state p,
.menus-empty-state p,
.saved-empty-state p,
.profile-empty-state p {
    margin: 0;
    color: #6d5b53;
    line-height: 1.7;
}

.phones-section {
    padding: 36px 0 60px;
}

.phones-frame {
    background: linear-gradient(180deg, #fffaf6 0%, #f6ede6 100%);
    border: 1px solid #ead9cf;
    border-radius: 34px;
    padding: 24px;
    box-shadow: 0 20px 35px rgba(95, 63, 42, 0.08);
}

.phones-frame img {
    width: 100%;
    border-radius: 24px;
}

.site-footer {
    padding: 18px 0 0;
}

.site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px 20px;
    padding: 18px 22px;
    border: 1px solid rgba(117, 89, 72, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 24px rgba(90, 58, 36, 0.05);
}

.site-footer-copy {
    color: #7f6c63;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.site-footer-links a {
    color: #6b584f;
    font-size: 13px;
    font-weight: 800;
}

.site-footer-links a:hover {
    color: var(--accent);
}

@media (max-width: 1080px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }

    .brand-full-logo {
        height: 64px;
    }

    .nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        width: auto;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .header-actions {
        margin-left: 0;
        max-width: 100%;
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .feed-grid,
    .features-grid,
    .activity-grid {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .poster-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .nav {
        display: none;
    }

    .header-inner {
        grid-template-columns: minmax(0, 1fr);
        padding: 14px 0;
        gap: 16px;
    }

    .brand-full-logo {
        height: 54px;
    }

    .brand,
    .header-actions {
        justify-self: stretch;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }

    .section-head,
    .menu-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .panel-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1240px);
    }

    .hero {
        padding-top: 24px;
    }

    .brand-full-logo {
        height: 42px;
    }

    .btn {
        padding: 11px 15px;
    }

    .header-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .header-actions > * {
        width: 100%;
    }

    .header-actions .btn,
    .header-actions .btn-with-badge {
        justify-content: center;
    }

    .poster-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .report-inline-row {
        flex-direction: column;
        align-items: stretch;
    }

    .report-inline-row .btn,
    .empty-state-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .app-error-card {
        padding: 26px;
        border-radius: 24px;
    }

    .app-error-card h1 {
        font-size: 36px;
    }

    .app-error-card p {
        font-size: 16px;
    }

    .demo-poster-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-inline-form-compact {
        max-width: none;
        width: 100%;
    }

    .site-footer {
        padding-top: 14px;
    }

    .site-footer-inner {
        padding: 16px 18px;
        border-radius: 18px;
    }
}

/* PRODUCT GRADE REFINEMENTS */
:root {
    --heading-serif: Georgia, "Times New Roman", Times, serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 12%, rgba(217, 90, 43, 0.09), transparent 24%),
        radial-gradient(circle at 82% 8%, rgba(89, 55, 33, 0.07), transparent 18%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 28%);
    z-index: -1;
}

.site-header {
    background: rgba(252, 246, 240, 0.78);
    backdrop-filter: blur(24px);
    box-shadow:
        0 18px 36px rgba(89, 58, 39, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.nav a,
.header-actions .btn {
    min-height: 46px;
}

.hero {
    padding: 34px 0 18px;
}

.hero-grid {
    align-items: stretch;
    gap: 28px;
}

.hero-copy-column {
    display: grid;
    align-content: start;
    gap: 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-bottom: 22px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(217, 90, 43, 0.22);
    background: rgba(255, 247, 241, 0.92);
    color: #b1522d;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(99, 62, 41, 0.06);
}

.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8444 0%, #d95a2b 100%);
    box-shadow: 0 0 0 6px rgba(217, 90, 43, 0.08);
}

.hero h1 {
    max-width: 760px;
    font-family: var(--heading-serif);
    font-size: clamp(58px, 7vw, 96px);
    line-height: 0.92;
    letter-spacing: -0.06em;
}

.hero p {
    max-width: 640px;
    font-size: 20px;
    line-height: 1.75;
    color: #5e514b;
}

.accent {
    background: linear-gradient(135deg, #e97739 0%, #d95a2b 60%, #ba491e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-proof-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 26px;
    max-width: 620px;
}

.hero-proof-card {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(226, 205, 194, 0.95);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 34px rgba(90, 58, 36, 0.06);
}

.hero-proof-card strong {
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.hero-proof-card span {
    color: #77665e;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 22px 20px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,249,244,0.88) 100%);
    border: 1px solid rgba(231, 213, 202, 0.95);
    box-shadow: 0 18px 34px rgba(90, 58, 36, 0.06);
}

.stat-label {
    letter-spacing: 0.12em;
}

.hero-panel {
    padding: 22px;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(28, 20, 17, 0.98) 0%, rgba(24, 18, 16, 0.96) 100%);
    border: 1px solid rgba(71, 49, 39, 0.8);
    box-shadow:
        0 30px 60px rgba(25, 17, 14, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.hero-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.hero-panel-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 133, 68, 0.14);
    border: 1px solid rgba(255, 133, 68, 0.22);
    color: #ffb184;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-feature-visual {
    position: relative;
    overflow: hidden;
    margin: 18px 0 20px;
    border-radius: 26px;
    min-height: 320px;
    background:
        radial-gradient(circle at 75% 20%, rgba(255, 148, 79, 0.18), transparent 22%),
        linear-gradient(160deg, #34211b 0%, #201613 65%, #17110f 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-feature-visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 44%;
    background: linear-gradient(180deg, transparent 0%, rgba(9, 7, 6, 0.78) 100%);
}

.hero-feature-visual img,
.hero-feature-fallback {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.hero-feature-visual img {
    object-fit: cover;
}

.hero-feature-fallback {
    display: grid;
    place-items: center;
    padding: 34px;
    color: #fff6f0;
    font-family: var(--heading-serif);
    font-size: 42px;
    line-height: 1;
    text-align: center;
}

.panel-grid {
    gap: 12px;
}

.panel-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-pick {
    margin-top: 18px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.featured-pick p {
    color: rgba(255, 243, 236, 0.82);
}

.featured-pick-note {
    color: #ffb184;
}

.hero-panel-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.hero-panel-trend {
    display: grid;
    gap: 4px;
    max-width: 240px;
}

.hero-panel-trend strong {
    color: #fff6f0;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-panel-trend span {
    color: rgba(255, 243, 236, 0.68);
    font-size: 13px;
    line-height: 1.5;
}

.section {
    padding: 18px 0 34px;
}

.section-head h2,
.activity-head h3,
.panel-title,
.menu-card h3 {
    letter-spacing: -0.05em;
}

.panel,
.menu-card,
.feature-card {
    border-radius: 28px;
    box-shadow: 0 22px 42px rgba(90, 58, 36, 0.08);
}

@media (max-width: 1100px) {
    .hero-proof-bar,
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .hero h1 {
        font-size: clamp(48px, 11vw, 72px);
    }

    .hero-proof-bar {
        grid-template-columns: 1fr;
    }

    .hero-panel-head,
    .hero-panel-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 18px;
    }

    .hero-eyebrow {
        margin-bottom: 18px;
        font-size: 12px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-feature-visual {
        min-height: 250px;
    }

    .hero-proof-bar,
    .stat-grid {
        grid-template-columns: 1fr;
    }
}

/* HOMEPAGE DIRECTION TUNE */
.hero-grid {
    position: relative;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 360px);
    gap: 24px;
    padding: 22px 28px 24px;
    border-radius: 34px;
    border: 1px solid rgba(225, 206, 195, 0.92);
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.42), transparent 26%),
        radial-gradient(circle at 76% 24%, rgba(236, 180, 125, 0.18), transparent 24%),
        linear-gradient(90deg, rgba(255, 251, 247, 0.98) 0%, rgba(250, 238, 225, 0.92) 48%, rgba(245, 227, 207, 0.88) 100%);
    box-shadow: 0 28px 56px rgba(90, 58, 36, 0.09);
    overflow: hidden;
}

.hero-grid::before {
    content: "";
    position: absolute;
    inset: 0 18% 0 38%;
    background:
        url("assets/filmstrip.png") center/cover no-repeat,
        radial-gradient(circle at 50% 45%, rgba(255, 225, 194, 0.28), transparent 32%),
        repeating-linear-gradient(36deg, rgba(108, 82, 63, 0.08) 0 12px, rgba(255, 255, 255, 0.02) 12px 28px),
        linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(92, 66, 51, 0.10) 100%);
    background-blend-mode: screen, normal, normal, normal;
    filter: blur(0.5px);
    opacity: 0.82;
    pointer-events: none;
}

.hero-grid > * {
    position: relative;
    z-index: 1;
}

.hero-copy-column {
    padding: 8px 0 0;
}

.hero h1 {
    max-width: 620px;
    margin: 0;
    font-family: "Segoe UI", "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: clamp(52px, 6vw, 76px);
    line-height: 0.92;
    letter-spacing: -0.075em;
    font-weight: 900;
}

.hero p {
    max-width: 540px;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
}

.hero-proof-bar,
.stat-grid {
    display: none;
}

.hero-chip-section {
    margin-top: 22px;
}

.hero-chip-head {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 900;
}

.chip-row {
    gap: 10px;
    margin-top: 12px;
}

.chip {
    min-height: 46px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 24px rgba(90, 58, 36, 0.06);
    font-size: 13px;
}

.hero-panel {
    width: min(100%, 344px);
    justify-self: end;
    align-self: start;
    padding: 16px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(25, 19, 16, 0.98) 0%, rgba(27, 20, 17, 0.95) 100%);
    box-shadow:
        0 26px 48px rgba(25, 17, 14, 0.28),
        0 0 0 1px rgba(255,255,255,0.03) inset;
}

.hero-panel-head {
    gap: 12px;
}

.panel-label {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.panel-title {
    margin-top: 8px;
    font-size: 24px;
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-panel-badge {
    display: none;
}

.hero-feature-visual {
    min-height: 170px;
    margin: 14px 0 14px;
    border-radius: 18px;
}

.panel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.panel-box {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

.panel-box small {
    display: none;
}

.panel-box strong {
    color: rgba(255, 245, 238, 0.92);
    font-size: 12px;
    font-weight: 800;
}

.featured-pick {
    padding: 0;
    margin-top: 0;
    background: transparent;
    border: 0;
}

.featured-pick p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
}

.featured-pick-note {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.10);
    font-size: 12px;
    letter-spacing: 0.03em;
}

.hero-panel-footer {
    margin-top: 14px;
}

.hero-panel-trend {
    display: none;
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        padding: 26px 22px 22px;
    }

    .hero-grid::before {
        inset: 18% 0 0 0;
    }

    .hero-panel {
        width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 640px) {
    .hero-grid {
        padding: 20px 16px 18px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: clamp(42px, 11vw, 60px);
    }

    .hero p {
        font-size: 16px;
    }

    .chip {
        min-height: 42px;
        padding: 0 14px;
    }

    .hero-panel {
        padding: 14px;
        border-radius: 22px;
    }

    .hero-feature-visual {
        min-height: 150px;
    }
}

/* HOMEPAGE PRODUCT PASS */
.header-inner {
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    gap: 26px;
}

.brand {
    align-self: center;
    justify-self: start;
}

.homepage-header-actions {
    gap: 12px;
    flex-wrap: nowrap;
}

.header-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #433632;
}

.header-bell-badge {
    position: absolute;
    top: -2px;
    right: -1px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef7d3f 0%, #d95a2b 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 20px;
    text-align: center;
}

.header-user-menu {
    position: relative;
}

.header-user-menu summary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    cursor: pointer;
}

.header-user-menu summary::-webkit-details-marker {
    display: none;
}

.header-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #2a1b18 0%, #4a332d 100%);
    color: #fff7f1;
    font-weight: 900;
}

.header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-user-label {
    font-weight: 800;
}

.header-user-caret {
    color: #7c685f;
}

.header-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    min-width: 180px;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(228, 210, 199, 0.96);
    background: rgba(255,255,255,0.96);
    box-shadow: 0 20px 40px rgba(90, 58, 36, 0.12);
    display: grid;
    gap: 4px;
}

.header-user-dropdown a {
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 700;
}

.header-user-dropdown a:hover {
    background: #fff4ec;
    color: var(--accent);
}

.hero-chip-head {
    color: #7d675c;
}

.chip {
    color: #403530;
    font-weight: 700;
}

.chip-more {
    gap: 8px;
}

.featured-pick-note {
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-watchers {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 8px;
}

.hero-watcher-avatar {
    width: 28px;
    height: 28px;
    margin-right: -6px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(23,18,16,0.95);
    background: linear-gradient(135deg, #f3c6aa 0%, #c86b42 100%);
    color: #231714;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
}

.hero-watcher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-watchers-count {
    margin-left: 14px;
    color: rgba(255,243,236,0.78);
    font-size: 13px;
    font-weight: 800;
}

.community-join-card {
    display: grid;
    gap: 14px;
    align-content: start;
}

.community-join-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fff0e6 0%, #ffe7d8 100%);
    color: #de6232;
    font-size: 28px;
}

.community-join-copy {
    display: grid;
    gap: 8px;
}

.community-join-copy strong {
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.community-join-copy span {
    color: #735f56;
    font-size: 14px;
    line-height: 1.65;
}

.community-join-link {
    color: var(--accent);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
}

.homepage-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
}

.homepage-main-column,
.homepage-sidebar {
    display: grid;
    gap: 22px;
}

.homepage-shelf {
    padding: 22px;
}

.homepage-shelf-head {
    margin-bottom: 16px;
}

.taste-card-grid,
.menu-shelf-grid,
.table-shelf-grid {
    display: grid;
    gap: 16px;
}

.taste-card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.menu-shelf-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.table-shelf-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.taste-match-card,
.menu-shelf-card,
.table-shelf-card,
.create-shelf-card {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(230, 214, 204, 0.96);
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,249,244,0.92) 100%);
    box-shadow: 0 16px 30px rgba(90, 58, 36, 0.06);
}

.taste-match-media,
.menu-shelf-collage,
.table-shelf-media {
    display: block;
}

.taste-match-media {
    position: relative;
}

.taste-match-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(20,17,15,0.88);
    color: #fff6f0;
    font-size: 11px;
    font-weight: 900;
}

.taste-match-copy,
.menu-shelf-copy,
.table-shelf-copy {
    display: grid;
    gap: 4px;
    padding: 12px 12px 14px;
}

.taste-match-copy strong,
.menu-shelf-copy strong,
.table-shelf-copy strong {
    font-size: 15px;
    line-height: 1.3;
}

.taste-match-copy span,
.menu-shelf-copy span,
.table-shelf-copy span {
    color: #7c685f;
    font-size: 12px;
    font-weight: 700;
}

.menu-shelf-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    padding: 2px;
    background: #14100e;
}

.menu-shelf-collage .poster {
    border-radius: 14px;
}

.table-shelf-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
}

.table-shelf-media {
    width: 62px;
    height: 62px;
    margin: 10px 0 10px 10px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0d2bd 0%, #f6e7d9 100%);
    display: grid;
    place-items: center;
    color: #7f4a30;
    font-weight: 900;
}

.table-shelf-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.table-shelf-count {
    margin-right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #fff5ee;
    color: #6d584f;
    font-size: 12px;
    font-weight: 900;
}

.create-shelf-card {
    min-height: 100%;
    display: grid;
    place-items: center;
    gap: 8px;
    text-align: center;
    padding: 20px;
    border-style: dashed;
    color: #5f524b;
}

.create-shelf-plus {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(223, 200, 186, 0.96);
    background: #fff;
    font-size: 28px;
    line-height: 1;
}

.activity-summary-card {
    padding: 22px;
}

.activity-summary-list,
.pulse-list {
    display: grid;
    gap: 12px;
}

.activity-summary-row,
.pulse-item {
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: #fff8f3;
    border: 1px solid rgba(233, 216, 207, 0.96);
}

.activity-summary-row {
    grid-template-columns: 1fr auto;
}

.activity-summary-row span {
    color: #6d5b53;
    font-weight: 700;
}

.activity-summary-row strong {
    font-size: 20px;
}

.pulse-item {
    grid-template-columns: 44px minmax(0, 1fr) auto;
}

.pulse-item-poster {
    display: block;
}

.pulse-item-poster .poster {
    border-radius: 12px;
    overflow: hidden;
}

.pulse-item-copy {
    display: grid;
    gap: 2px;
}

.pulse-item-copy strong {
    font-size: 14px;
    line-height: 1.3;
}

.pulse-item-copy small,
.pulse-item-meta {
    color: #7b675d;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 1240px) {
    .taste-card-grid,
    .menu-shelf-grid,
    .table-shelf-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .homepage-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .header-inner {
        grid-template-columns: 1fr;
    }

    .homepage-header-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .taste-card-grid,
    .menu-shelf-grid,
    .table-shelf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .taste-card-grid,
    .menu-shelf-grid,
    .table-shelf-grid {
        grid-template-columns: 1fr;
    }

    .table-shelf-card {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .table-shelf-count {
        grid-column: 2;
        justify-self: start;
        margin: 0 0 14px 12px;
    }
}

/* REFERENCE ALIGNMENT PASS */
.hero-eyebrow {
    display: none;
}

.site-header {
    background: rgba(252, 246, 240, 0.92);
}

.header-inner {
    padding: 14px 0;
}

.brand-full-logo {
    height: 62px;
}

.nav {
    gap: 14px;
    font-size: 15px;
    font-weight: 800;
}

.homepage-header-actions {
    gap: 14px;
    align-items: center;
}

.hero {
    padding: 10px 0 18px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    padding: 18px 18px 16px;
    border-radius: 28px;
}

.hero-grid::before {
    inset: 0 0 0 33%;
    opacity: 0.92;
}

.hero-copy-column {
    max-width: 560px;
    padding: 6px 0 0;
}

.hero h1 {
    font-size: clamp(56px, 6vw, 78px);
    letter-spacing: -0.08em;
}

.hero p {
    max-width: 420px;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
}

.hero-cta-row {
    margin-top: 18px;
}

.hero-chip-section {
    margin-top: 22px;
}

.hero-chip-head {
    margin-bottom: 10px;
    color: #80695e;
}

.chip-row {
    gap: 12px;
    margin-top: 0;
}

.chip {
    min-height: 44px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 800;
}

.hero-panel {
    width: 100%;
    padding: 14px;
    border-radius: 24px;
}

.panel-title {
    font-size: 22px;
}

.hero-feature-visual {
    min-height: 150px;
}

.panel-grid {
    margin-bottom: 10px;
}

.featured-pick p {
    font-size: 12px;
    line-height: 1.55;
}

.featured-pick-note {
    margin-top: 8px;
    padding-top: 10px;
}

.hero-panel-trend {
    display: block;
}

.hero-panel-trend strong {
    display: block;
    margin-top: 12px;
    color: rgba(255,243,236,0.9);
    font-size: 13px;
    font-weight: 800;
}

.homepage-content-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
}

.homepage-main-column,
.homepage-sidebar {
    gap: 16px;
}

.homepage-shelf,
.activity-summary-card {
    padding: 16px;
    border-radius: 22px;
}

.homepage-shelf-head {
    margin-bottom: 12px;
    align-items: center;
}

.homepage-shelf-head .section-kicker {
    font-size: 11px;
    letter-spacing: 0.1em;
}

.homepage-shelf-head h2 {
    margin: 4px 0 0;
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.taste-card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.taste-match-card,
.menu-shelf-card,
.table-shelf-card,
.create-shelf-card,
.curator-card {
    border-radius: 18px;
}

.taste-match-copy,
.menu-shelf-copy,
.table-shelf-copy {
    padding: 10px 10px 12px;
}

.taste-match-copy strong,
.menu-shelf-copy strong,
.table-shelf-copy strong {
    font-size: 14px;
}

.menu-shelf-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) 140px;
    gap: 12px;
}

.table-shelf-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) 140px;
    gap: 12px;
}

.create-shelf-card {
    min-height: 134px;
}

.activity-summary-row strong {
    font-size: 18px;
}

.pulse-item {
    padding: 10px 12px;
}

.curator-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.curator-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(230, 214, 204, 0.96);
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,249,244,0.92) 100%);
    box-shadow: 0 16px 30px rgba(90, 58, 36, 0.06);
}

.curator-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #2a1b18 0%, #4a332d 100%);
    color: #fff7f1;
    font-weight: 900;
}

.curator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.curator-copy {
    display: grid;
    gap: 4px;
}

.curator-copy strong {
    font-size: 14px;
    line-height: 1.3;
}

.curator-copy span {
    color: #7b675d;
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid::before {
        inset: 22% 0 0 0;
    }

    .homepage-content-grid,
    .curator-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .menu-shelf-grid,
    .table-shelf-grid,
    .taste-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 640px) {
    .hero h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .menu-shelf-grid,
    .table-shelf-grid,
    .taste-card-grid,
    .curator-grid {
        grid-template-columns: 1fr;
    }
}
