/* ═══════════════════════════════════════════════════════
   Theme Blossom
   "Living Editorial" — warm, fresh, feminine & modern
   Fonts: Playfair Display (headings) + Plus Jakarta Sans (body)
   Palette: warm cream · rose · peach · sage green accents
   Copyright: Daniel Miara
═══════════════════════════════════════════════════════ */

/* ─── Tokens ─── */
:root {
    /* backgrounds */
    --bg:          #fdfaf7;
    --bg-warm:     #fef6f0;
    --bg-section:  #fdf4f0;
    --surface:     #ffffff;
    --surface-2:   #fef9f6;

    /* ink */
    --ink:         #2a1f1a;
    --ink-2:       #5c4a42;
    --muted:       #9b8278;
    --muted-2:     #c4afa8;

    /* accents */
    --rose:        #e8637a;
    --rose-light:  #fce8ec;
    --rose-mid:    #f5b3bf;
    --peach:       #f4956a;
    --peach-light: #fdeee6;
    --blush:       #f9ddd8;
    --sage:        #8aab8e;
    --sage-light:  #e6f0e7;
    --butter:      #f7e9b0;

    /* borders & shadows */
    --border:      rgba(42,31,26,0.08);
    --border-2:    rgba(42,31,26,0.14);
    --shadow-xs:   0 1px 3px rgba(180,100,80,0.08);
    --shadow-sm:   0 4px 16px rgba(180,100,80,0.10);
    --shadow:      0 8px 40px rgba(180,100,80,0.14);
    --shadow-lg:   0 20px 80px rgba(180,100,80,0.18);

    /* radii */
    --r-sm:  10px;
    --r:     18px;
    --r-lg:  28px;
    --r-xl:  40px;
    --r-2xl: 56px;

    /* fonts */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Plus Jakarta Sans', sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t:    0.25s;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; padding: 0; margin: 0; }

/* ─── Ambient blobs ─── */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}
.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #fce8ec 0%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: blobFloat 18s ease-in-out infinite alternate;
}
.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #fdeee6 0%, transparent 70%);
    bottom: 10%;
    left: -150px;
    animation: blobFloat 22s ease-in-out infinite alternate-reverse;
}
@keyframes blobFloat {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(30px, 20px) scale(1.08); }
}

/* ─── Layout ─── */
.container {
    width: min(100%, 1180px);
    margin-inline: auto;
    padding-inline: 1.5rem;
    position: relative;
    z-index: 1;
}
.section       { padding-block: 5rem; }
.section-alt   { background: var(--bg-section); }
.page-section  { padding-block: 3rem 5rem; }
.text-center   { text-align: center; }
.w-full        { width: 100%; }

/* ─── Scroll reveal ─── */
.sr {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.sr.in { opacity: 1; transform: none; }
.sr:nth-child(2) { transition-delay: 0.1s; }
.sr:nth-child(3) { transition-delay: 0.2s; }
.sr:nth-child(4) { transition-delay: 0.3s; }

/* ─── Typography ─── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 0.6rem;
}

.section-head {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    color: var(--ink);
    margin-bottom: 0.5rem;
}
.section-title em {
    font-style: italic;
    color: var(--rose);
}

.section-sub {
    color: var(--muted);
    font-size: 1rem;
    max-width: 520px;
}

/* ─── Navigation ─── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: background var(--t) var(--ease),
                box-shadow var(--t) var(--ease),
                border-color var(--t) var(--ease);
    border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
    background: rgba(253,250,247,0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-color: var(--border);
    box-shadow: 0 2px 20px rgba(180,100,80,0.08);
}
.nav-inner {
    width: min(100%, 1180px);
    margin-inline: auto;
    padding-inline: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    transition: color var(--t);
}
.nav-brand:hover { color: var(--rose); }
.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rose);
    flex-shrink: 0;
    transition: transform var(--t);
}
.nav-brand:hover .brand-dot { transform: scale(1.4); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-links a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-2);
    transition: color var(--t), background var(--t);
}
.nav-links a:hover {
    color: var(--rose);
    background: var(--rose-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 8px;
    background: none;
    border: 1.5px solid var(--border-2);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: border-color var(--t), background var(--t);
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform var(--t), opacity var(--t);
}
.nav-toggle:hover { background: var(--rose-light); border-color: var(--rose-mid); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform var(--t) var(--ease),
                box-shadow var(--t) var(--ease),
                background var(--t),
                color var(--t);
    white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--rose);
    color: #fff;
    box-shadow: 0 4px 20px rgba(232,99,122,0.35);
}
.btn-primary:hover {
    background: #d44f66;
    box-shadow: 0 8px 30px rgba(232,99,122,0.45);
}

.btn-soft {
    background: var(--rose-light);
    color: var(--rose);
    border: 1.5px solid var(--rose-mid);
}
.btn-soft:hover {
    background: #fcd8e0;
    border-color: var(--rose);
}

.btn-rose {
    background: linear-gradient(135deg, var(--peach) 0%, var(--rose) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(244,149,106,0.35);
}
.btn-rose:hover {
    box-shadow: 0 8px 30px rgba(244,149,106,0.45);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--border-2);
}
.btn-outline:hover {
    background: var(--rose-light);
    border-color: var(--rose-mid);
    color: var(--rose);
}

/* ─── Hero ─── */
.hero { padding-block: 5rem 3rem; }

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

.hero-copy { display: flex; flex-direction: column; gap: 0; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: var(--butter);
    color: #8a6d00;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 1.2rem;
    width: fit-content;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 1.1rem;
    color: var(--ink);
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--ink-2);
    max-width: 480px;
    margin-bottom: 1.8rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
    padding: 1rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    width: fit-content;
    box-shadow: var(--shadow-xs);
}
.hero-stat { text-align: center; }
.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1;
    color: var(--rose);
    margin-bottom: 0.15rem;
}
.hero-stat span { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.hero-stat-div  { width: 1px; height: 36px; background: var(--border-2); }

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

/* hero image */
.hero-visual { position: relative; }

.hero-img-frame {
    position: relative;
    border-radius: var(--r-2xl) var(--r-2xl) var(--r-xl) var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-img-deco {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blush) 0%, var(--peach-light) 100%);
    z-index: 0;
}
.hero-img {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 500px;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.hero-float-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.1rem;
    background: rgba(253,250,247,0.92);
    backdrop-filter: blur(12px);
    border-radius: var(--r-lg);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--rose);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}
.hero-float-badge i { font-size: 1.1rem; }

/* ─── Highlight cards (3-col) ─── */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.highlight-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: transform var(--t) var(--ease),
                box-shadow var(--t) var(--ease),
                border-color var(--t);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
}
.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--rose-mid);
}
.highlight-media {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--blush);
    display: block;
}
.highlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.highlight-card:hover .highlight-media img { transform: scale(1.06); }

.highlight-body {
    padding: 1.3rem 1.4rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.highlight-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.highlight-title {
    font-size: 1.05rem;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: var(--ink);
}
.highlight-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
}
.highlight-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--rose);
    transition: gap var(--t);
}
.highlight-link:hover { gap: 0.55rem; }

/* ─── Platform & rating chips ─── */
.platform-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    background: var(--sage-light);
    color: #4a7a50;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.rating-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    background: var(--butter);
    color: #7a6200;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}
.rating-chip i { font-size: 0.7rem; color: #e8a800; }

/* ─── Masonry gallery ─── */
.masonry-grid {
    columns: 3;
    column-gap: 1.3rem;
}
.masonry-card {
    break-inside: avoid;
    margin-bottom: 1.3rem;
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: box-shadow var(--t) var(--ease), border-color var(--t), background var(--t);
    background: var(--surface);
}
.masonry-card:hover {
    box-shadow: var(--shadow);
}
.masonry-img-link { display: block; overflow: hidden; }
.masonry-card img {
    width: 100%;
    min-height: 240px;
    max-height: 580px;
    object-fit: cover;
    display: block;
    transition: none;
    backface-visibility: hidden;
    transform: none;
}
.masonry-card:hover img { transform: none; }
.masonry-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 1.1rem;
    background: linear-gradient(0deg, rgba(42,31,26,0.86) 0%, rgba(42,31,26,0) 100%);
}
.masonry-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 0.25rem;
}
.masonry-title a { color: inherit; }
.masonry-sub  { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.masonry-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.65rem;
    flex-wrap: wrap;
}
.masonry-stars { color: #ffd166; font-size: 0.8rem; flex: 1; }
.masonry-badge {
    padding: 0.28rem 0.6rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    color: #fff;
    font-size: 0.73rem;
    font-weight: 700;
}
.masonry-cta {
    padding: 0.28rem 0.65rem;
    background: rgba(232,99,122,0.85);
    border-radius: 999px;
    color: #fff;
    font-size: 0.73rem;
    font-weight: 700;
    transition: background var(--t);
}
.masonry-cta:hover { background: rgba(232,99,122,1); }

/* ─── Archive page ─── */
.archive-header { margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }

.archive-grid {
    columns: 3;
    column-gap: 1.5rem;
}
.archive-card {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: border-color var(--t),
                background var(--t);
}
.archive-card:hover {
    background: var(--surface-2);
    border-color: var(--rose-mid);
}
.archive-thumb {
    display: block;
    aspect-ratio: 16/11;
    overflow: hidden;
    background: var(--blush);
}
.archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
    backface-visibility: hidden;
    transform: none;
}
.archive-card:hover .archive-thumb img { transform: none; }
.archive-body { padding: 1.2rem 1.3rem 1.4rem; }
.archive-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}
.archive-date { font-size: 0.75rem; color: var(--muted-2); }
.archive-title {
    font-size: 1.1rem;
    font-family: var(--font-display);
    line-height: 1.25;
    margin-bottom: 0.5rem;
}
.archive-title a { color: var(--ink); transition: color var(--t); }
.archive-title a:hover { color: var(--rose); }
.archive-excerpt { font-size: 0.87rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.archive-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
}
.archive-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #7a6200;
}
.archive-rating i { color: #e8a800; }
.archive-stars { font-size: 0.75rem; color: #e8a800; }
.archive-product { font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 0.3rem; }

/* ─── Pagination ─── */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding-inline: 0.5rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--surface);
    border: 1.5px solid var(--border-2);
    color: var(--ink-2);
    transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
}
.pagination a:hover { background: var(--rose-light); border-color: var(--rose-mid); color: var(--rose); transform: translateY(-1px); }
.pagination a.active, .pagination span.active {
    background: var(--rose);
    border-color: var(--rose);
    color: #fff;
    box-shadow: 0 4px 14px rgba(232,99,122,0.35);
}

/* ─── Post single ─── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
    color: var(--muted);
}
.breadcrumb a { color: var(--rose); font-weight: 600; }
.bc-sep { font-size: 0.72rem; opacity: 0.5; }

.post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3.5rem;
    align-items: start;
}
.post-header { margin-bottom: 2rem; }
.post-meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.post-date {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.83rem;
    color: var(--muted);
}
.post-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--ink);
}
.post-lead {
    font-size: 1.05rem;
    color: var(--ink-2);
    line-height: 1.8;
    max-width: 640px;
}
.post-img-wrap {
    position: relative;
    margin-bottom: 2.5rem;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.post-img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
}
.post-img-badge {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
}
.rating-pill-lg {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: rgba(253,250,247,0.92);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--rose);
    box-shadow: var(--shadow-sm);
}
.rating-pill-lg i { color: #e8a800; }

.post-body { }
.post-body-heading {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--ink);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--blush);
}
.post-body p {
    color: var(--ink-2);
    line-height: 1.85;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* sidebar */
.post-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 1.4rem;
    box-shadow: var(--shadow-xs);
}
/* .rating-card { position: sticky; top: 5rem; } */

.rating-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}
.rating-label { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.rating-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    line-height: 1;
    color: var(--rose);
    font-weight: 900;
}
.rating-number small { font-size: 1rem; color: var(--muted); }

.rating-stars-row { font-size: 1.25rem; color: #e8a800; letter-spacing: 0.08em; margin-bottom: 0.85rem; }

.rating-bar-wrap {
    height: 6px;
    background: var(--blush);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--peach), var(--rose));
    border-radius: 999px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.rating-product-name {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--ink-2);
    font-weight: 600;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}
.rating-product-name i { color: var(--peach); }

.sidebar-actions { display: flex; flex-direction: column; gap: 0.7rem; }

.share-card { text-align: center; }
.share-label { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.85rem; }
.share-buttons { display: flex; justify-content: center; gap: 0.65rem; }
.share-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--rose-light);
    color: var(--rose);
    font-size: 1.05rem;
    border: 1.5px solid var(--rose-mid);
    transition: background var(--t), transform var(--t), color var(--t);
}
.share-btn:hover {
    background: var(--rose);
    color: #fff;
    transform: translateY(-2px) scale(1.08);
}

.related-section { margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--border); }

/* ─── Legal pages ─── */
.legal-shell {
    max-width: 920px;
    margin-inline: auto;
}
.legal-intro {
    max-width: 760px;
    color: var(--ink-2);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 2rem;
}
.legal-section {
    padding-top: 1.4rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.legal-section h2 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}
.legal-section p,
.legal-list li {
    color: var(--ink-2);
    line-height: 1.85;
}
.legal-list {
    padding-left: 1.15rem;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--rose);
    font-weight: 700;
}

/* ─── Empty state ─── */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--surface-2);
    border: 1.5px dashed var(--rose-mid);
    border-radius: var(--r-xl);
}
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 0.5rem; color: var(--ink); }
.empty-state p  { color: var(--muted); }

/* ─── Footer ─── */
.site-footer {
    margin-top: 5rem;
    background: linear-gradient(180deg, var(--ink) 0%, #1a1210 100%);
    color: rgba(255,255,255,0.8);
    position: relative;
}
.footer-wave {
    color: var(--bg);
    line-height: 0;
    margin-bottom: -1px;
}
.footer-wave svg { width: 100%; height: 60px; }

.footer-inner {
    width: min(100%, 1180px);
    margin-inline: auto;
    padding: 3rem 1.5rem 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.85rem;
    text-decoration: none;
}
.footer-brand .brand-dot { background: var(--rose); }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 320px; }
.footer-socials { display: flex; gap: 0.65rem; margin-top: 1.4rem; }
.footer-socials a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: background var(--t), color var(--t), transform var(--t), border-color var(--t);
}
.footer-socials a:hover {
    background: var(--rose);
    border-color: var(--rose);
    color: #fff;
    transform: translateY(-2px);
}
.footer-nav-col { display: flex; gap: 3rem; }
.footer-nav-group ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav-title {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.9rem;
}
.footer-nav-group a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.62);
    transition: color var(--t);
}
.footer-nav-group a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.4rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.38);
}
.footer-credit { color: rgba(255,255,255,0.55); font-weight: 600; transition: color var(--t); }
.footer-credit:hover { color: #fff; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { max-width: 520px; }
    .highlight-grid { grid-template-columns: repeat(2, 1fr); }
    .masonry-grid, .archive-grid { columns: 2; }
    .post-layout { grid-template-columns: 1fr; }
    .rating-card { position: static; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-nav-col { gap: 2rem; }
}

@media (max-width: 768px) {
    .section, .page-section { padding-block: 3.5rem; }
    .hero { padding-block: 4rem 2rem; }
    .hero-title { font-size: 2.4rem; }
    .highlight-grid { grid-template-columns: 1fr; }
    .masonry-grid, .archive-grid { columns: 1; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 10px);
        right: 1.5rem;
        width: 210px;
        background: var(--surface);
        border: 1.5px solid var(--border-2);
        border-radius: var(--r-lg);
        padding: 0.75rem;
        box-shadow: var(--shadow);
        z-index: 200;
    }
    .nav-links.open a { border-radius: var(--r-sm); padding: 0.6rem 0.85rem; }
    .nav-toggle { display: flex; }
    .site-nav { position: relative; }
    .nav-inner { position: relative; }
    .footer-nav-col { flex-direction: column; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
}

@media (max-width: 480px) {
    .hero-stats { flex-direction: column; gap: 0.75rem; }
    .hero-stat-div { width: 40px; height: 1px; }
    .post-layout { gap: 2rem; }
}
