/* ===================================================
   IMOBSTUDIO — redesigned editorial / casual style
   Mobile-first, responsive, accessible
   =================================================== */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* TOKENS */
:root {
    --cream: #FBF7F0;
    --cream-deep: #F4EEE2;
    --ink: #18181B;
    --ink-2: #2D2D33;
    --muted: #6B6B7B;
    --line: #EBE5DA;
    --line-soft: #F2EDE3;
    --white: #FFFFFF;
    --coral: #FF5C5C;
    --peach: #FF8B5C;
    --grad: linear-gradient(135deg, #FF5C5C 0%, #FF8B5C 60%, #FFB45C 100%);
    --shadow-sm: 0 1px 2px rgba(24,24,27,0.04), 0 0 0 1px rgba(24,24,27,0.04);
    --shadow-md: 0 8px 28px rgba(24,24,27,0.07), 0 2px 6px rgba(24,24,27,0.04);
    --shadow-lg: 0 20px 50px rgba(24,24,27,0.12), 0 6px 16px rgba(24,24,27,0.05);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 28px;
}

/* LAYOUT */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: 60px 0; }
@media (min-width: 640px) { .section { padding: 80px 0; } }
@media (min-width: 1024px) { .section { padding: 120px 0; } }

.section-cream { background: var(--cream-deep); }
.section-dark { background: var(--ink); color: #EFEAE0; }

/* TYPOGRAPHY */
body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
h1, h2, h3, h4, h5 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 800;
}
h1 {
    font-size: clamp(40px, 9vw, 88px);
    line-height: 1;
    letter-spacing: -0.035em;
    font-weight: 800;
}
h1 em { font-style: italic; font-weight: 600; color: var(--coral); letter-spacing: -0.02em; }
h2 {
    font-size: clamp(30px, 5vw, 52px);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
h2 em { font-style: italic; font-weight: 600; color: var(--coral); }
h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; line-height: 1.2; }
h4 { font-size: 15px; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; }
h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }

p { color: var(--muted); font-size: 16px; line-height: 1.6; }
@media (max-width: 520px) {
    p { font-size: 15px; }
}
strong { color: var(--ink); font-weight: 700; }
em { font-style: italic; color: var(--ink); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-bottom: 18px;
}
.eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 4px rgba(255,92,92,0.15);
}
.eyebrow-light { color: #C9C2B6; }
.eyebrow-light .dot { box-shadow: 0 0 0 4px rgba(255,92,92,0.25); }

.h2-light { color: #F5F0E5; }
.h2-light em { color: var(--peach); }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px; font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s, color 0.2s;
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 15px; }

.btn-primary {
    background: var(--ink);
    color: var(--cream);
}
.btn-primary:hover { background: var(--coral); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(24,24,27,0.2);
}
.btn-outline:hover { border-color: var(--ink); }

/* TOPBAR */
.topbar {
    background: var(--ink);
    color: #C9C2B6;
    font-size: 13px;
}
.topbar-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 20px;
    gap: 16px;
}
.topbar a { color: #F5F0E5; font-weight: 500; }
.topbar a:hover { color: var(--peach); }
.topbar-inner > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
    .topbar-inner > a { display: none; }
}

/* HEADER */
.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251,247,240,0.85);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}
.header.scrolled {
    border-bottom-color: var(--line);
    background: rgba(251,247,240,0.95);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    gap: 16px;
}
@media (min-width: 768px) { .header-inner { padding: 18px 32px; } }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
    width: 38px; height: 38px;
    border-radius: 11px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(24,24,27,0.12);
}
.brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.02em;
    color: var(--ink);
}

.nav { display: flex; gap: 28px; }
.nav a {
    font-size: 14px; font-weight: 500;
    color: var(--ink-2);
    transition: color 0.15s;
    position: relative;
}
.nav a:hover { color: var(--coral); }

.menu-toggle {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 4px;
}
.menu-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--ink);
    transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
    .menu-toggle { display: flex; }
    .header-cta { display: none; }
    .nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 8px 20px 16px;
        gap: 0;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        opacity: 0; visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
        z-index: 49;
    }
    .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav a {
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--line-soft);
    }
    .nav a:last-child { border-bottom: none; }
}

/* HERO */
.hero {
    position: relative;
    padding: 40px 0 30px;
    overflow: hidden;
}
@media (min-width: 640px) { .hero { padding: 70px 0 50px; } }
@media (min-width: 1024px) { .hero { padding: 110px 0 90px; } }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
}

.hero-text h1 { margin-bottom: 20px; }
.hero-text .lead {
    font-size: 16px;
    color: var(--ink-2);
    max-width: 560px;
    margin-bottom: 28px;
    line-height: 1.55;
}
@media (min-width: 768px) {
    .hero-text .lead { font-size: 18px; line-height: 1.6; margin-bottom: 36px; }
}
.hero-actions {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-bottom: 36px;
}
@media (min-width: 768px) { .hero-actions { gap: 12px; margin-bottom: 48px; } }

.hero-meta {
    display: flex; gap: 24px; flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .hero-meta { gap: 32px; padding-top: 28px; } }
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
}
.hero-meta span { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

/* HERO ART */
.hero-art {
    position: relative;
    min-height: 380px;
    display: grid; place-items: center;
}
.hero-blob {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: var(--grad);
    opacity: 0.12;
    filter: blur(60px);
    z-index: 0;
    animation: blob 14s ease-in-out infinite;
}
@keyframes blob {
    0%, 100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(20px,-20px) scale(1.1); }
}
.hero-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-lg);
    display: flex; gap: 18px; align-items: center;
    width: min(100%, 380px);
    z-index: 1;
}
.hero-card img {
    width: 76px; height: 76px;
    border-radius: 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}
.hero-card strong {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px; font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.hero-card small {
    display: block;
    font-size: 12px; color: var(--muted);
    letter-spacing: 0.04em;
}
.hero-card-tag {
    display: inline-block;
    background: var(--cream-deep); color: var(--ink-2);
    padding: 3px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.hero-card-tag-hot { background: var(--ink); color: var(--cream); }

.hero-card-back {
    transform: rotate(-4deg) translate(-30px, 20px);
    opacity: 0.95;
}
.hero-card-front {
    transform: rotate(2deg) translate(20px, -10px);
    margin-top: -120px;
}
.hero-card-front .rank {
    position: absolute;
    top: -16px; left: -16px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--grad);
    color: white;
    display: grid; place-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: 15px;
    box-shadow: var(--shadow-md);
    letter-spacing: -0.02em;
}

@media (max-width: 1023px) {
    .hero-art { min-height: 320px; margin-top: 8px; }
    .hero-card-back { transform: rotate(-3deg) translate(-12px, 10px); }
    .hero-card-front { transform: rotate(2deg) translate(10px, -10px); margin-top: -90px; }
    .hero-card { padding: 18px; gap: 14px; }
    .hero-card img { width: 64px; height: 64px; border-radius: 16px; }
}
@media (max-width: 480px) {
    .hero-art { min-height: 280px; }
    .hero-card { width: 100%; }
}

/* MARQUEE */
.marquee {
    overflow: hidden;
    background: var(--ink);
    color: var(--cream);
    padding: 14px 0;
}
@media (min-width: 768px) { .marquee { padding: 18px 0; } }
.marquee-track {
    display: inline-flex; gap: 28px;
    white-space: nowrap;
    animation: marquee 60s linear infinite;
    will-change: transform;
}
@media (min-width: 768px) { .marquee-track { gap: 36px; } }
.marquee-track span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px; font-weight: 600;
    letter-spacing: -0.01em;
}
@media (min-width: 768px) { .marquee-track span { font-size: 19px; } }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* SECTION HEAD */
.section-head { max-width: 720px; margin-bottom: 32px; }
@media (min-width: 768px) { .section-head { margin-bottom: 50px; } }
.section-head p { font-size: 16px; max-width: 560px; margin-top: 8px; }
@media (min-width: 768px) { .section-head p { font-size: 17px; } }
.section-head-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: none;
    align-items: flex-start;
}
@media (min-width: 900px) {
    .section-head-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

/* FILTER PILLS */
.filter-bar {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.filter-pill {
    padding: 8px 16px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--line);
    font-size: 13px; font-weight: 600;
    color: var(--ink-2);
    transition: all 0.15s;
    display: inline-flex; gap: 6px; align-items: center;
}
.filter-pill small {
    font-size: 11px; font-weight: 500; color: var(--muted);
}
.filter-pill:hover { border-color: var(--ink); }
.filter-pill.active {
    background: var(--ink); color: var(--cream);
    border-color: var(--ink);
}
.filter-pill.active small { color: rgba(255,255,255,0.6); }

/* FEATURED 3 */
.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 700px) { .featured-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        grid-template-rows: auto;
    }
    .featured-card-1 { grid-row: span 1; min-height: 420px; }
}

.featured-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid var(--line);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
    overflow: hidden;
    display: flex; flex-direction: column;
    gap: 16px;
    min-height: 300px;
    color: inherit;
}
@media (min-width: 768px) {
    .featured-card { padding: 28px; gap: 20px; min-height: 340px; }
}
.featured-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.featured-card-1 {
    background: linear-gradient(160deg, #FFF1E8 0%, #FFE0D6 100%);
    border-color: rgba(255,140,90,0.25);
}
.featured-card-2 { background: linear-gradient(160deg, #F3EEFF 0%, #E5DCFE 100%); border-color: rgba(149,116,255,0.18); }
.featured-card-3 { background: linear-gradient(160deg, #E8F5EE 0%, #D1EAD9 100%); border-color: rgba(67,160,109,0.2); }

.featured-rank {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 48px; font-weight: 800;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.04em;
    opacity: 0.92;
}
@media (min-width: 768px) { .featured-rank { font-size: 64px; } }
@media (min-width: 1024px) {
    .featured-card-1 .featured-rank { font-size: 80px; }
}

.featured-card img {
    width: 92px; height: 92px;
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    align-self: flex-start;
}
@media (min-width: 768px) { .featured-card img { width: 110px; height: 110px; border-radius: 26px; } }
@media (min-width: 1024px) {
    .featured-card-1 img { width: 140px; height: 140px; border-radius: 34px; }
}
.featured-card-1 { grid-column: span 1; }
@media (min-width: 700px) and (max-width: 1023px) {
    .featured-card-1 { grid-column: span 2; }
}

.featured-meta { margin-top: auto; }
.featured-meta .installs {
    display: inline-block;
    background: var(--ink); color: var(--cream);
    padding: 4px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}
.featured-meta h3 { margin-bottom: 8px; }
.featured-meta p {
    font-size: 14px; color: var(--ink-2);
    margin-bottom: 14px;
    line-height: 1.5;
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips span {
    padding: 4px 10px;
    background: rgba(24,24,27,0.06);
    color: var(--ink-2);
    font-size: 12px; font-weight: 500;
    border-radius: 999px;
}

/* PORTFOLIO GRID — large cards matching Top 3 style */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 600px) { .grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
    color: inherit;
    min-height: 260px;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Distinct pastel backgrounds per card (matches featured style) */
.card:nth-child(1) .thumb { background: linear-gradient(160deg, #FFF1E8 0%, #FFE0D6 100%); }
.card:nth-child(2) .thumb { background: linear-gradient(160deg, #F3EEFF 0%, #E5DCFE 100%); }
.card:nth-child(3) .thumb { background: linear-gradient(160deg, #E8F5EE 0%, #D1EAD9 100%); }
.card:nth-child(4) .thumb { background: linear-gradient(160deg, #FFF5DC 0%, #FCE7B6 100%); }
.card:nth-child(5) .thumb { background: linear-gradient(160deg, #FFEAEA 0%, #FFD1D1 100%); }
.card:nth-child(6) .thumb { background: linear-gradient(160deg, #E5F0FF 0%, #C9DCF8 100%); }
.card:nth-child(7) .thumb { background: linear-gradient(160deg, #F0FAFF 0%, #D6F0FA 100%); }
.card:nth-child(8) .thumb { background: linear-gradient(160deg, #FFF0F8 0%, #FCDBEC 100%); }
.card:nth-child(9) .thumb { background: linear-gradient(160deg, #F4F1E8 0%, #E5DDC4 100%); }
.card:nth-child(10) .thumb { background: linear-gradient(160deg, #ECF7E8 0%, #C9E5BC 100%); }
.card:nth-child(11) .thumb { background: linear-gradient(160deg, #FFE9F1 0%, #FCC8DA 100%); }
.card:nth-child(12) .thumb { background: linear-gradient(160deg, #EFE8FF 0%, #D9C9F8 100%); }
.card:nth-child(13) .thumb { background: linear-gradient(160deg, #FFEEDD 0%, #FFD2A8 100%); }
.card:nth-child(14) .thumb { background: linear-gradient(160deg, #E8F8F5 0%, #C2EAE0 100%); }
.card:nth-child(15) .thumb { background: linear-gradient(160deg, #E3EEFF 0%, #C0D7F8 100%); }
.card:nth-child(16) .thumb { background: linear-gradient(160deg, #FBEBE2 0%, #F1CDB7 100%); }

.thumb {
    position: relative;
    aspect-ratio: 1.35/1;
    display: grid; place-items: center;
    overflow: hidden;
    padding: 28px;
}
.thumb img {
    width: 96px; height: 96px;
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
}
@media (min-width: 600px) {
    .thumb { aspect-ratio: 1.4/1; padding: 32px; }
    .thumb img { width: 110px; height: 110px; border-radius: 26px; }
}

.badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--white);
    color: var(--ink);
    padding: 5px 12px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    z-index: 1;
    letter-spacing: 0.01em;
}
.badge-top {
    background: var(--ink); color: var(--cream);
    border-color: transparent;
}
.card-body {
    padding: 22px;
    flex: 1;
    display: flex; flex-direction: column; gap: 12px;
}
.card-body h4 {
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}
@media (min-width: 600px) {
    .card-body { padding: 24px; }
    .card-body h4 { font-size: 17px; }
}
.meta-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.installs-pill {
    background: var(--ink); color: var(--cream);
    padding: 4px 11px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.02em;
}
.cat {
    background: rgba(24,24,27,0.06); color: var(--ink-2);
    padding: 4px 11px; border-radius: 999px;
    font-size: 11px; font-weight: 600;
}
.brand-tag {
    color: var(--muted);
    font-size: 11px; font-weight: 600;
    padding: 4px 6px;
    letter-spacing: 0.02em;
}

/* BRANDS */
.brand-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 800px) { .brand-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

.brand-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    color: inherit;
    display: flex; flex-direction: column; gap: 24px;
    min-height: 340px;
}
.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--coral);
}
.brand-card-head { display: flex; align-items: center; gap: 14px; }
.brand-emoji {
    width: 56px; height: 56px;
    background: var(--cream-deep);
    border-radius: 18px;
    display: grid; place-items: center;
    font-size: 28px;
}
.brand-card p { font-size: 15px; color: var(--muted); }
.brand-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.brand-stats > div { display: flex; flex-direction: column; gap: 4px; }
.brand-stats strong {
    font-family: 'Fraunces', serif;
    font-size: 24px; font-weight: 700;
    color: var(--ink); line-height: 1;
}
.brand-stats span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.brand-cta {
    margin-top: auto;
    color: var(--coral);
    font-size: 14px; font-weight: 600;
}
.brand-card:hover .brand-cta { color: var(--ink); }

/* STORY */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}
@media (min-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}
.story-text p {
    color: #C9C2B6;
    font-size: 16px;
    margin-bottom: 16px;
}
.story-text strong, .story-text em { color: #F5F0E5; }
.story-text em { color: var(--peach); }
.bullets {
    list-style: none;
    margin-top: 24px;
    display: flex; flex-direction: column; gap: 12px;
}
.bullets li {
    color: #EFEAE0;
    font-size: 15px;
    padding-left: 4px;
}

/* CTA */
.cta {
    padding: 80px 0;
    text-align: center;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,140,90,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,92,92,0.1) 0%, transparent 50%),
        var(--cream-deep);
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta h2 { margin-bottom: 12px; }
.cta p { font-size: 17px; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer {
    background: var(--ink);
    color: #C9C2B6;
    padding: 80px 0 30px;
}
.footer .brand-name { color: var(--cream); }
.footer h5 { color: var(--cream); }
.footer p { color: #9C9588; font-size: 14px; line-height: 1.6; }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; } }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { margin-bottom: 8px; }
.cin {
    margin-top: 12px !important;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px !important;
    letter-spacing: 0.05em;
    font-family: monospace;
    color: #7A7368 !important;
}
.footer a {
    display: block;
    font-size: 14px; font-weight: 500;
    color: #C9C2B6;
    padding: 5px 0;
    transition: color 0.15s;
}
.footer a:hover { color: var(--peach); }
.footer .address {
    margin-top: 16px;
    font-size: 13px;
    color: #9C9588;
}
.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #7A7368;
}
.footer-trade { font-size: 11px; }

/* ===== LEGAL PAGES ===== */
.nav-static { display: flex !important; position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important; }
@media (max-width: 880px) {
    .nav-static { display: none !important; }
}

.legal {
    padding: 60px 0 80px;
    background: var(--cream);
}
@media (min-width: 768px) { .legal { padding: 80px 0 120px; } }

.legal-inner {
    max-width: 760px;
    padding: 0 20px;
}
@media (min-width: 768px) { .legal-inner { padding: 0 32px; } }

.legal-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}
.legal-meta {
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 36px;
    letter-spacing: 0.02em;
}
.legal-section {
    margin-bottom: 32px;
}
.legal-section h2 {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.legal-section p,
.legal-section ul,
.legal-section ol {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
}
.legal-section .lede {
    font-size: 17px;
    color: var(--ink);
    line-height: 1.6;
}
.legal-section ul,
.legal-section ol {
    padding-left: 20px;
}
.legal-section li {
    margin-bottom: 8px;
}
.legal-section a {
    color: var(--coral);
    border-bottom: 1px solid rgba(255,92,92,0.3);
    transition: border-color 0.15s, color 0.15s;
}
.legal-section a:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
}
.legal-contact {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex; flex-direction: column; gap: 4px;
    font-size: 14px;
    color: var(--ink-2);
    margin-top: 12px;
}
.legal-contact strong {
    font-size: 15px;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 4px;
}
.legal-contact a {
    color: var(--coral);
    border-bottom: 1px solid rgba(255,92,92,0.3);
}

/* MOTION/A11Y */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .marquee-track { animation: none; }
    .hero-blob { animation: none; }
}
