/* =====================================================================
   Beauty Insider — Bohemian Magazine | Stylesheet v2 (mobile-first)
   Authored from scratch. Earthy, lightweight, semantic class names.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    /* Palette */
    --cream:      #FAF6EC;
    --cream-2:    #F5EBD8;
    --cream-3:    #ECE0C8;
    --line:       #E8DCC4;
    --line-2:     #D9CBAE;

    --ink:        #2A1F18;
    --ink-2:      #3D2B1F;
    --ink-3:      #5C4A3A;
    --ink-4:      #8A7D6E;
    --ink-5:      #B5A99A;

    --terra:      #C97B5C;
    --terra-lt:   #E5A574;
    --terra-dk:   #A05B3F;
    --gold:       #D4A24C;
    --olive:      #8B9D6B;
    --rose:       #A8525E;

    /* Effects */
    --r-sm: 8px;
    --r:    14px;
    --r-lg: 20px;
    --r-bo: 22px 6px 22px 6px;   /* bohemian asymmetric radius */

    --sh-1: 0 1px 2px rgba(42,31,24,.04), 0 1px 8px rgba(42,31,24,.04);
    --sh-2: 0 4px 14px rgba(42,31,24,.06), 0 2px 6px rgba(42,31,24,.04);
    --sh-3: 0 18px 42px rgba(42,31,24,.10), 0 6px 16px rgba(42,31,24,.06);

    /* Fluid type scale */
    --fs-xs:  12px;
    --fs-sm:  13.5px;
    --fs-base:15.5px;
    --fs-lg:  17px;
    --fs-xl:  20px;
    --h6:     clamp(1rem,    .94rem + .28vw, 1.18rem);
    --h5:     clamp(1.1rem,  1rem  + .50vw, 1.4rem);
    --h4:     clamp(1.25rem, 1.1rem + .8vw,  1.75rem);
    --h3:     clamp(1.5rem,  1.2rem + 1.2vw, 2.1rem);
    --h2:     clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem);
    --h1:     clamp(2.1rem,  1.4rem + 2.6vw, 3.6rem);

    --maxw:   1180px;
    --pad:    clamp(16px, 4vw, 28px);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Tajawal', 'Inter', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--terra-dk); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terra); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Amiri', 'Cormorant Garamond', Georgia, serif;
    color: var(--ink);
    line-height: 1.2;
    margin: 0 0 .6em;
    letter-spacing: -0.005em;
    font-weight: 700;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
h5 { font-size: var(--h5); }
h6 { font-size: var(--h6); }
p  { margin: 0 0 1em; }

::selection { background: var(--terra); color: #fff; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. Layout primitives ---------- */
.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
}
.wrap-sm { max-width: 740px; }
.wrap-md { max-width: 960px; }

.stack > * + * { margin-top: 1rem; }
.cluster { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hide-mobile { display: none; }
@media (min-width: 768px) {
    .hide-mobile { display: initial; }
    .hide-desktop { display: none !important; }
}

/* Section rhythm */
.section { padding: 56px 0; }
.section-lg { padding: 80px 0; }
@media (min-width: 768px) {
    .section { padding: 80px 0; }
    .section-lg { padding: 120px 0; }
}
.section-tint { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.section-dark { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); color: var(--cream-2); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

/* ---------- 4. Common bits ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 800; letter-spacing: .28em;
    text-transform: uppercase; color: var(--terra-dk);
}
.eyebrow::before {
    content: ''; width: 26px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--terra));
}
.script {
    font-family: 'Caveat', cursive;
    color: var(--terra-dk);
    font-size: clamp(1.5rem, 1rem + 1.4vw, 2rem);
    line-height: 1;
}
.lede {
    font-family: 'Cormorant Garamond', 'Amiri', serif;
    font-style: italic;
    font-size: clamp(1.05rem, .95rem + .5vw, 1.25rem);
    line-height: 1.6;
    color: var(--ink-3);
}

/* Section heading block */
.s-head {
    text-align: center;
    margin-bottom: 48px;
}
.s-head .script { display: block; margin-bottom: 6px; }
.s-head .title { margin: 0 0 12px; font-size: var(--h3); }
.s-head .sub { max-width: 560px; margin: 0 auto; color: var(--ink-3); font-size: var(--fs-base); }
.s-head .rule {
    width: 56px; height: 2px; margin: 18px auto 0;
    background: linear-gradient(90deg, var(--terra), var(--gold));
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
}
.btn-primary {
    background: var(--terra); color: #fff !important;
    box-shadow: 0 6px 20px rgba(201,123,92,.28);
}
.btn-primary:hover { background: var(--terra-dk); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201,123,92,.40); }
.btn-ghost {
    background: transparent; color: var(--ink-2) !important;
    border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--terra); color: var(--terra-dk) !important; transform: translateY(-2px); }
.btn-ghost-light {
    background: transparent; color: #fff !important;
    border-color: rgba(255,255,255,.28);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.55); }
.btn i { font-size: 9.5px; }

/* Link button (no chrome) */
.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 11.5px; letter-spacing: .18em;
    text-transform: uppercase; color: var(--ink-2);
}
.link-arrow::after { content: '→'; transition: transform .25s; }
.link-arrow:hover { color: var(--terra-dk); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Chips & tags */
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 999px;
    font-size: 10.5px; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase;
    background: rgba(201,123,92,.10);
    color: var(--terra-dk);
    border: 1px dashed rgba(201,123,92,.32);
}
.chip-solid {
    background: var(--terra); color: #fff; border: none;
}
.tag-pill {
    display: inline-flex; align-items: center;
    padding: 5px 12px; border-radius: 999px;
    background: var(--cream-2); color: var(--ink-3);
    font-size: 11.5px; font-weight: 600;
    border: 1px solid transparent;
    transition: all .2s;
}
.tag-pill:hover { background: var(--terra); color: #fff; }

/* ---------- 5. Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250,246,236,.92);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.topbar {
    background: var(--ink); color: var(--cream-2);
    font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
    padding: 7px var(--pad);
    display: flex; justify-content: center; align-items: center; gap: 14px;
}
.topbar .script { color: var(--terra-lt); font-size: 17px; letter-spacing: 0; text-transform: none; }
@media (max-width: 640px) { .topbar { display: none; } }

.nav-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    padding: 14px var(--pad);
    max-width: var(--maxw); margin: 0 auto;
}
.brand {
    display: inline-flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--ink); min-width: 0;
}
.brand-mark {
    width: 42px; height: 42px;
    border-radius: 13px 5px 13px 5px;
    background: linear-gradient(135deg, var(--terra), var(--gold));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Amiri', serif; font-weight: 700; font-size: 21px;
    box-shadow: 0 8px 20px rgba(201,123,92,.25);
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
    font-family: 'Amiri', serif; font-weight: 700;
    font-size: 21px; line-height: 1; color: var(--ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-name .dot { color: var(--terra); }
.brand-tag {
    font-family: 'Caveat', cursive;
    font-size: 14px; color: var(--terra-dk);
    line-height: 1; margin-top: 3px;
}

/* Desktop nav */
.nav-list {
    display: none;
    list-style: none; margin: 0; padding: 0;
    align-items: center; gap: 2px;
}
@media (min-width: 1024px) { .nav-list { display: flex; } }
.nav-list > li { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 14px;
    color: var(--ink-3);
    font-size: 12px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    border-radius: 999px;
    transition: all .2s;
    background: none; border: none; cursor: pointer;
    font-family: inherit;
}
.nav-link:hover, .nav-link.active { color: var(--terra-dk); background: rgba(201,123,92,.08); }
.nav-link .caret { font-size: 9px; opacity: .6; }

/* Mega menu */
.mega-wrap { position: static; }
.mega-panel {
    position: absolute;
    top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--sh-3);
    padding: 24px;
    min-width: 640px; max-width: 880px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 100;
}
.mega-wrap:hover .mega-panel,
.mega-wrap:focus-within .mega-panel {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.mega-cols {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.mega-col {
    display: flex; flex-direction: column; gap: 4px;
}
.mega-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 12px; border-radius: 10px;
    color: var(--ink-2); text-decoration: none;
    transition: background .2s, color .2s;
}
.mega-item:hover { background: var(--cream); color: var(--terra-dk); }
.mega-item .ico {
    width: 32px; height: 32px; flex-shrink: 0;
    border-radius: 9px;
    background: var(--cream-2); color: var(--terra-dk);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px;
}
.mega-item .body { min-width: 0; }
.mega-item .lbl { display: block; font-weight: 700; font-size: 13.5px; line-height: 1.3; color: var(--ink); }
.mega-item .desc { display: block; font-size: 11.5px; color: var(--ink-4); line-height: 1.4; margin-top: 2px; }
.mega-item.featured { background: linear-gradient(135deg, rgba(201,123,92,.06), rgba(212,162,76,.06)); }
.mega-item.featured .lbl { color: var(--terra-dk); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.7);
    border: 1px solid var(--line);
    color: var(--ink-3);
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: all .2s;
}
.icon-btn:hover { background: var(--terra); color: #fff; border-color: var(--terra); }
.menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Mobile drawer */
.mobile-drawer {
    position: fixed; inset: 0; z-index: 200;
    background: var(--cream);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    padding: 18px var(--pad) 60px;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer-nav { list-style: none; padding: 0; margin: 0; }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-link {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 4px;
    color: var(--ink); text-decoration: none;
    font-family: 'Amiri', serif; font-weight: 700; font-size: 18px;
    background: none; border: none; width: 100%; text-align: left;
    cursor: pointer;
}
.drawer-link .caret { color: var(--ink-4); font-size: 12px; transition: transform .25s; }
.drawer-sub {
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
    list-style: none; padding: 0; margin: 0;
}
.drawer-sub.open { max-height: 1200px; }
.drawer-sub > li > a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 4px 10px 18px;
    color: var(--ink-3); text-decoration: none;
    font-size: 14.5px;
}
.drawer-sub > li > a i { color: var(--terra-dk); font-size: 11px; width: 14px; }
.drawer-sub > li:last-child > a { padding-bottom: 16px; }
.drawer-link.open .caret { transform: rotate(90deg); }

/* ---------- 6. Hero (home) ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: 56px 0 64px;
    background:
        radial-gradient(ellipse at 18% 22%, rgba(201,123,92,.12), transparent 42%),
        radial-gradient(ellipse at 86% 78%, rgba(139,157,107,.10), transparent 42%),
        linear-gradient(170deg, var(--cream) 0%, var(--cream-2) 60%, var(--cream-3) 100%);
}
@media (min-width: 768px) { .hero { padding: 84px 0 96px; } }
.hero-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.hero h1 {
    margin: 18px 0 18px;
    line-height: 1.05; letter-spacing: -.015em;
}
.hero .lede { margin: 0 auto 28px; max-width: 560px; }
.hero .cluster { justify-content: center; }

/* Feature card under hero */
.feature {
    margin-top: 56px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-bo);
    box-shadow: var(--sh-3);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
}
.feature::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--terra), var(--gold), var(--olive));
}
@media (min-width: 900px) { .feature { grid-template-columns: 1.05fr 1fr; } }
.feature-img {
    aspect-ratio: 4/3;
    background: var(--cream-2);
    overflow: hidden;
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.feature:hover .feature-img img { transform: scale(1.04); }
.feature-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) { .feature-body { padding: 44px; } }
.feature-body h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin: 12px 0 14px; }
.feature-body .meta { display: flex; gap: 14px; font-size: 12px; color: var(--ink-4); margin-top: 20px; }

/* ---------- 7. Card grid ---------- */
.grid-3 {
    display: grid; gap: 24px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 {
    display: grid; gap: 18px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Story card */
.story {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-bo);
    box-shadow: var(--sh-1);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .35s ease, box-shadow .35s ease, border-color .25s;
}
.story:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-3);
    border-color: rgba(201,123,92,.32);
}
.story-thumb {
    aspect-ratio: 16/10;
    background: var(--cream-2);
    overflow: hidden;
    display: block; position: relative;
}
.story-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.story:hover .story-thumb img { transform: scale(1.06); }
.story-thumb .cat-badge {
    position: absolute;
    top: 14px; inset-inline-start: 14px;
    background: rgba(255,255,255,.94);
    color: var(--terra-dk);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 10px; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase;
    border: 1px solid rgba(201,123,92,.22);
    text-decoration: none;
}
.story-thumb .new-badge {
    position: absolute;
    top: 14px; inset-inline-end: 14px;
    background: var(--olive); color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 9px; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase;
}
.story-body {
    padding: 22px;
    display: flex; flex-direction: column;
    flex: 1;
}
.story-meta {
    display: flex; align-items: center; gap: 8px;
    font-size: 11.5px; color: var(--ink-4); margin-bottom: 10px;
}
.story-meta .dot { width: 3px; height: 3px; background: var(--ink-5); border-radius: 50%; }
.story-meta i { color: var(--terra); }
.story h3 {
    font-size: 19px; line-height: 1.35;
    margin: 0 0 10px;
}
.story h3 a { color: var(--ink); }
.story h3 a:hover { color: var(--terra-dk); }
.story-excerpt {
    font-size: 14px; color: var(--ink-3);
    line-height: 1.65; margin: 0 0 16px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.story-foot {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto;
}

/* Category chip */
.cat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-bo);
    padding: 22px 14px;
    text-align: center;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s, border-color .3s;
    display: block;
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-2);
    border-color: rgba(201,123,92,.32);
}
.cat-card .bubble {
    width: 54px; height: 54px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px;
    transition: transform .5s;
}
.cat-card:hover .bubble { transform: scale(1.08) rotate(-4deg); }
.cat-card .cat-name {
    font-family: 'Amiri', serif; font-weight: 700;
    font-size: 15.5px; color: var(--ink); margin: 0 0 4px;
    transition: color .25s;
}
.cat-card:hover .cat-name { color: var(--terra-dk); }
.cat-card .cat-count {
    font-size: 11px; color: var(--ink-4);
    letter-spacing: .06em;
}

/* Value card (about) */
.value {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-bo);
    padding: 32px 24px;
    text-align: center;
    transition: transform .35s, box-shadow .35s, border-color .25s;
}
.value:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-2);
    border-color: rgba(201,123,92,.32);
}
.value .ico {
    width: 60px; height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px;
    box-shadow: 0 10px 24px rgba(201,123,92,.30);
}
.value h3 { font-size: 19px; margin: 0 0 10px; }
.value p { color: var(--ink-3); font-size: 14px; margin: 0; line-height: 1.65; }

/* Stat */
.stat { text-align: center; }
.stat .num {
    font-family: 'Amiri', serif; font-weight: 700;
    font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1;
    background: linear-gradient(135deg, var(--terra), var(--gold));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.stat .label {
    display: block; margin-top: 8px;
    font-size: 11px; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--ink-3);
}

/* Team avatar */
.team-card { text-align: center; }
.team-avatar {
    width: 108px; height: 108px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 28px;
    box-shadow: 0 12px 28px rgba(42,31,24,.16);
    position: relative;
}
.team-avatar::after {
    content: ''; position: absolute; inset: -7px;
    border-radius: 50%;
    border: 1.5px dashed rgba(201,123,92,.32);
}
.team-card h3 { font-size: 17px; margin: 0; }
.team-card .role { font-family: 'Caveat', cursive; color: var(--terra-dk); font-size: 17px; margin-top: 4px; display: block; }

/* ---------- 8. Blog index ---------- */
.page-hero {
    padding: 64px 0 36px;
    text-align: center;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
@media (min-width: 768px) { .page-hero { padding: 84px 0 56px; } }
.page-hero h1 { margin: 14px 0 10px; line-height: 1.1; }
.page-hero p { color: var(--ink-3); max-width: 580px; margin: 0 auto; }

.filter-bar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 18px;
    box-shadow: var(--sh-1);
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    margin: -32px 0 40px;
    position: relative;
    z-index: 5;
}
@media (min-width: 768px) { .filter-bar { grid-template-columns: 2fr 1fr 1fr 1fr auto; padding: 14px; } }
.filter-field {
    width: 100%; min-width: 0;
    position: relative;
}
.filter-field input,
.filter-field select {
    width: 100%;
    padding: 12px 14px 12px 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--cream);
    font-size: 13.5px;
    color: var(--ink-2);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s, background .2s;
    font-family: inherit;
}
.filter-field input:focus,
.filter-field select:focus { border-color: var(--terra); background: #fff; }
.filter-field .ic {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: var(--ink-4); font-size: 12px; pointer-events: none;
}
.filter-clear {
    padding: 12px 20px;
    border-radius: 10px;
    background: rgba(168,82,94,.08); color: var(--rose);
    border: 1px solid rgba(168,82,94,.18);
    font-size: 11px; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    cursor: pointer;
}
.filter-clear:hover { background: var(--rose); color: #fff; }

.results-bar {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 10px;
    margin-bottom: 28px;
    color: var(--ink-3); font-size: 13px;
}
.results-bar .n { color: var(--ink); font-weight: 700; }

/* Pagination */
.pagination {
    display: flex; justify-content: center; align-items: center;
    flex-wrap: wrap; gap: 6px;
    margin: 40px 0 0;
}
.page-pill {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink-3); background: #fff;
    text-decoration: none;
    font-weight: 700; font-size: 13px;
    transition: all .25s;
}
.page-pill:hover { background: var(--cream-2); color: var(--ink); }
.page-pill.current {
    background: var(--terra); color: #fff;
    border-color: var(--terra);
    box-shadow: 0 6px 14px rgba(201,123,92,.32);
}
.page-pill.disabled { opacity: .35; pointer-events: none; }
.page-gap { width: 26px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-4); }

/* Empty state */
.empty {
    text-align: center; padding: 60px 20px;
}
.empty .ic-circle {
    width: 72px; height: 72px; margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--cream-2);
    color: var(--ink-4);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px;
}

/* ---------- 9. Article page ---------- */
.article-head {
    padding: 56px 0 36px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
    text-align: center;
}
@media (min-width: 768px) { .article-head { padding: 80px 0 52px; } }

.bcrumb {
    display: inline-flex; align-items: center; flex-wrap: wrap;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,.7);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-3); font-size: 11.5px;
    margin-bottom: 20px;
}
.bcrumb a { color: var(--ink-3); }
.bcrumb a:hover { color: var(--terra-dk); }
.bcrumb .sep { color: var(--ink-5); margin: 0 2px; }
.bcrumb .current { color: var(--ink); font-weight: 700; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.article-head h1 {
    max-width: 760px; margin: 12px auto 16px;
    line-height: 1.12;
}
.article-head .lede { max-width: 620px; margin: 0 auto 24px; }
.article-meta {
    display: inline-flex; align-items: center; flex-wrap: wrap;
    justify-content: center; gap: 10px 14px;
    font-size: 12px; color: var(--ink-3);
}
.article-meta .author { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cream-2); }
.article-meta .author .name { font-weight: 600; color: var(--ink); font-size: 13px; }
.article-meta .dot { width: 3px; height: 3px; background: var(--ink-5); border-radius: 50%; }
.article-meta i { color: var(--terra); font-size: 10px; margin-right: 4px; }

.feature-frame {
    max-width: 1100px;
    margin: -28px auto 0;
    padding: 0 var(--pad);
    position: relative; z-index: 2;
}
.feature-frame .img-box {
    aspect-ratio: 16/9;
    border-radius: 24px 8px 24px 8px;
    overflow: hidden;
    background: var(--cream-2);
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(42,31,24,.16);
}
.feature-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Article body grid */
.article-grid {
    padding: 56px 0;
    display: grid;
    gap: 36px;
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .article-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding: 80px 0; } }

.prose {
    color: var(--ink-2);
    font-size: 17px;
    line-height: 1.85;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.prose > * + * { margin-top: 1.2em; }
.prose h2, .prose h3, .prose h4 {
    margin: 1.8em 0 .7em;
    font-family: 'Amiri', serif;
    color: var(--ink);
}
.prose h2 { font-size: 1.6em; }
.prose h3 { font-size: 1.3em; }
.prose p { margin: 0 0 1em; }
.prose a {
    color: var(--terra-dk);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.prose a:hover { color: var(--terra); }
.prose blockquote {
    margin: 1.6em 0;
    padding: 14px 22px;
    border-left: 3px solid var(--terra);
    background: var(--cream-2);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-family: 'Cormorant Garamond', 'Amiri', serif;
    font-size: 1.06em; color: var(--ink-3);
}
.prose img {
    margin: 1.6em auto;
    border-radius: 18px 6px 18px 6px;
    box-shadow: var(--sh-2);
}
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .35em; }
.prose code {
    background: var(--cream-2); color: var(--terra-dk);
    padding: 2px 6px; border-radius: 4px;
    font-size: .92em;
}
.prose pre {
    background: var(--ink); color: var(--cream-2);
    padding: 18px 20px; border-radius: 14px;
    overflow-x: auto; margin: 1.4em 0;
}
.prose pre code { background: transparent; color: inherit; padding: 0; }

/* Article side ornaments */
.share-row {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    padding: 18px 20px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 16px 4px 16px 4px;
    margin-top: 32px;
}
.share-row .label {
    font-family: 'Caveat', cursive; font-size: 19px;
    color: var(--terra-dk); margin-right: 6px;
}
.share-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-3);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .25s;
    font-size: 12px;
}
.share-icon:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }

.tag-row {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    margin-top: 22px;
}
.tag-row .label { font-family: 'Caveat', cursive; font-size: 18px; color: var(--terra-dk); margin-right: 6px; }

/* Sidebar (article) */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 20px;
    box-shadow: var(--sh-1);
    position: relative;
    overflow: hidden;
}
.side-card::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 2px;
    background: linear-gradient(90deg, var(--terra), var(--gold), var(--olive));
}
.side-card h3 {
    font-size: 15px; margin: 0 0 14px;
    display: flex; align-items: center; gap: 8px;
}
.side-card h3::before { content: '✦'; color: var(--terra); }

/* Author box */
.author-box {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-bo); padding: 22px;
    box-shadow: var(--sh-1);
    text-align: center;
}
.author-box .av {
    width: 64px; height: 64px; border-radius: 50%;
    margin: 0 auto 12px; object-fit: cover;
    border: 3px solid var(--cream-2);
}
.author-box h4 { margin: 0 0 4px; font-size: 16px; }
.author-box .role { font-family: 'Caveat', cursive; font-size: 16px; color: var(--terra-dk); }
.author-box p { color: var(--ink-3); font-size: 13px; margin: 12px 0 0; line-height: 1.6; }

/* Comments */
.comment {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 16px 4px 16px 4px;
    padding: 20px;
    margin-bottom: 14px;
}
.comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-av {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--terra), var(--terra-dk));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
    flex-shrink: 0;
}
.comment-head .name { font-weight: 700; font-size: 14px; color: var(--ink); display: block; }
.comment-head .date { font-size: 11px; color: var(--ink-4); }
.comment p { color: var(--ink-2); font-size: 14px; line-height: 1.7; margin: 0 0 0 50px; }

.cform {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px 6px 20px 6px;
    padding: 26px 24px;
    box-shadow: var(--sh-1);
}
.cform label {
    display: block; font-size: 10.5px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .16em;
    color: var(--ink-4); margin-bottom: 6px;
}
.cform input, .cform textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--cream);
    font-size: 14px; color: var(--ink);
    outline: none;
    font-family: inherit;
    transition: border-color .2s, background .2s;
}
.cform input:focus, .cform textarea:focus { border-color: var(--terra); background: #fff; }
.cform .grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cform .grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 10. Footer ---------- */
.newsletter {
    background: var(--cream-2);
    padding: 52px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.newsletter h2 { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.85rem); margin: 4px 0 8px; }
.newsletter p { color: var(--ink-3); margin: 0 0 22px; font-size: 14px; }
.nl-form {
    max-width: 480px; margin: 0 auto;
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.nl-form input {
    flex: 1 1 240px; min-width: 0;
    padding: 13px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}
.nl-form input:focus { border-color: var(--terra); }

.site-footer {
    background: var(--ink);
    color: var(--cream-2);
    padding: 56px 0 24px;
}
.foot-grid {
    display: grid;
    gap: 36px 28px;
    grid-template-columns: 1fr;
    margin-bottom: 36px;
}
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .foot-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }

.foot-brand h3 {
    color: #fff; font-size: 22px; margin: 0 0 6px;
}
.foot-brand h3 .dot { color: var(--terra-lt); }
.foot-brand .script { color: var(--terra-lt); display: block; margin-bottom: 12px; }
.foot-brand p { color: var(--ink-5); font-size: 13.5px; margin: 0 0 16px; line-height: 1.65; }
.foot-social { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: var(--cream-2);
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all .25s;
    font-size: 13px;
}
.foot-social a:hover { background: var(--terra); color: #fff; transform: translateY(-2px); }

.foot-col h4 {
    color: #fff; font-size: 13px; margin: 0 0 16px;
    text-transform: uppercase; letter-spacing: .14em;
    display: flex; align-items: center; gap: 8px;
}
.foot-col h4::before { content: '✦'; color: var(--terra-lt); }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-col a { color: var(--ink-5); font-size: 13.5px; text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: var(--terra-lt); }

.foot-bar {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
    padding-top: 22px;
    border-top: 1px solid rgba(229,165,116,.18);
    font-size: 12px; color: var(--ink-4);
}
.foot-bar .script { color: var(--terra-lt); font-size: 17px; }

/* Back to top */
.back-top {
    position: fixed; bottom: 20px; right: 20px; z-index: 80;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--terra); color: #fff;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--sh-3);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all .3s;
}
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--terra-dk); }
[dir="rtl"] .back-top { right: auto; left: 20px; }

/* ---------- 11. Animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .6s cubic-bezier(.2,.7,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 12. Helpers (slim) ---------- */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.no-scroll { overflow: hidden; }

/* ---------- 13. Print ---------- */
@media print {
    .site-header, .site-footer, .newsletter, .back-top, .sidebar, .share-row, .tag-row, .filter-bar, .pagination, .mobile-drawer { display: none !important; }
    body { background: #fff; color: #000; }
    .prose { font-size: 12pt; }
    a { color: #000; text-decoration: underline; }
}

/* =====================================================================
   14. EDITORIAL MAGAZINE LAYOUT (Home v3)
   ===================================================================== */

/* Magazine masthead (top of home) */
.mast {
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    padding: 22px 0 18px;
    text-align: center;
    position: relative;
}
.mast .issue {
    display: inline-block;
    font-size: 10.5px; font-weight: 800;
    letter-spacing: .28em; text-transform: uppercase;
    color: var(--ink-3);
    padding-bottom: 6px;
}
.mast .ed-title {
    font-family: 'Amiri', 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: clamp(2.6rem, 8vw, 6rem);
    line-height: .9;
    margin: 4px 0 6px;
    color: var(--ink);
    letter-spacing: -.03em;
}
.mast .ed-tag {
    font-family: 'Caveat', cursive;
    color: var(--terra-dk);
    font-size: clamp(1.15rem, 2.5vw, 1.7rem);
    line-height: 1;
}
.mast::after {
    content: '';
    display: block;
    width: 80px; height: 1px;
    margin: 18px auto 0;
    background: var(--terra);
}

/* Hero spread: 1 big + 2 stacked (true editorial) */
.spread {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 56px;
    border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
    .spread {
        grid-template-columns: 1.55fr 1fr;
        gap: 48px;
        padding: 72px 0 80px;
    }
}
.spread-main { display: flex; flex-direction: column; }
.spread-main .ed-kicker {
    font-size: 11px; font-weight: 800;
    letter-spacing: .26em; text-transform: uppercase;
    color: var(--terra-dk);
    margin-bottom: 14px;
    display: inline-flex; align-items: center; gap: 10px;
}
.spread-main .ed-kicker::before {
    content: ''; width: 22px; height: 1px; background: var(--terra);
}
.spread-main h2 {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3.6rem);
    line-height: 1.05;
    margin: 0 0 18px;
    letter-spacing: -.015em;
    color: var(--ink);
}
.spread-main h2 a { color: inherit; text-decoration: none; }
.spread-main h2 a:hover { color: var(--terra-dk); }
.spread-main .ed-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--cream-2);
    margin-bottom: 22px;
    position: relative;
}
.spread-main .ed-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.spread-main .ed-img:hover img { transform: scale(1.03); }
.spread-main .ed-deck {
    font-family: 'Cormorant Garamond', 'Amiri', serif;
    font-style: italic;
    font-size: clamp(1.05rem, .95rem + .5vw, 1.25rem);
    line-height: 1.55;
    color: var(--ink-3);
    margin: 0 0 18px;
}
.spread-main .ed-byline {
    display: flex; align-items: center; gap: 12px;
    font-size: 11.5px; color: var(--ink-4);
    letter-spacing: .05em;
}
.spread-main .ed-byline .by {
    color: var(--ink-3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
}
.spread-main .ed-byline .author {
    color: var(--ink);
    font-weight: 700;
}

/* Spread sidebar — 2 smaller stories */
.spread-side {
    display: flex; flex-direction: column;
    gap: 28px;
    border-left: 0;
    padding-left: 0;
}
@media (min-width: 900px) {
    .spread-side {
        border-left: 1px solid var(--line);
        padding-left: 48px;
    }
}
.minicard {
    display: grid;
    gap: 14px;
    grid-template-columns: 100px 1fr;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--line);
}
.minicard:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 900px) { .minicard { grid-template-columns: 120px 1fr; } }
.minicard .mc-img {
    aspect-ratio: 1;
    background: var(--cream-2);
    overflow: hidden;
}
.minicard .mc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.minicard:hover .mc-img img { transform: scale(1.08); }
.minicard .mc-cat {
    font-size: 9.5px; font-weight: 800;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--terra-dk); margin: 0 0 6px;
}
.minicard h3 {
    font-family: 'Amiri', serif; font-weight: 700;
    font-size: clamp(1.05rem, .95rem + .3vw, 1.25rem);
    line-height: 1.25; margin: 0 0 6px;
    color: var(--ink);
}
.minicard:hover h3 { color: var(--terra-dk); }
.minicard .mc-meta {
    font-size: 11px; color: var(--ink-4);
    display: flex; gap: 8px; align-items: center;
}

/* Magazine-style row label */
.row-rule {
    display: flex; align-items: baseline; gap: 16px;
    padding: 0 0 14px;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 36px;
}
.row-rule h2 {
    font-family: 'Amiri', serif; font-weight: 700;
    font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem);
    margin: 0; line-height: 1;
    color: var(--ink);
    letter-spacing: -.01em;
}
.row-rule .num {
    font-family: 'Amiri', serif; font-weight: 700;
    font-size: 14px; color: var(--terra-dk);
    letter-spacing: .14em;
}
.row-rule .more {
    margin-left: auto;
    font-size: 11px; font-weight: 800; letter-spacing: .18em;
    text-transform: uppercase; color: var(--ink-3);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
}
.row-rule .more:hover { color: var(--terra-dk); }
.row-rule .more::after { content: '→'; transition: transform .2s; }
.row-rule .more:hover::after { transform: translateX(3px); }

/* Numbered list (long-read style) */
.numbered {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr;
}
@media (min-width: 700px) { .numbered { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (min-width: 1024px) { .numbered { grid-template-columns: 1fr 1fr 1fr; } }
.numbered-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: flex-start;
    text-decoration: none; color: inherit;
}
.numbered-item .n {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: 44px;
    line-height: .9;
    color: var(--terra);
    letter-spacing: -.03em;
}
.numbered-item h3 {
    font-family: 'Amiri', serif; font-weight: 700;
    font-size: 17px; line-height: 1.3;
    margin: 0 0 6px;
    color: var(--ink);
}
.numbered-item:hover h3 { color: var(--terra-dk); }
.numbered-item .meta {
    font-size: 11px; color: var(--ink-4);
    display: flex; gap: 8px; align-items: center;
}
.numbered-item .meta .cat {
    font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: var(--terra-dk);
}

/* Topics strip */
.topics-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) { .topics-strip { grid-template-columns: repeat(4, 1fr); } }
.topic-cell {
    text-align: center;
    padding: 32px 18px;
    text-decoration: none;
    color: inherit;
    transition: background .25s;
    border-right: 1px solid var(--line);
    position: relative;
}
.topic-cell:nth-child(2n) { border-right: 0; }
@media (min-width: 768px) {
    .topic-cell:nth-child(2n) { border-right: 1px solid var(--line); }
    .topic-cell:nth-child(4n) { border-right: 0; }
}
.topic-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (min-width: 768px) {
    .topic-cell:nth-child(n+3) { border-top: 0; }
}
.topic-cell:hover { background: var(--cream-2); }
.topic-cell .glyph {
    font-size: 26px;
    color: var(--terra);
    margin-bottom: 12px;
    display: inline-block;
    transition: transform .35s;
}
.topic-cell:hover .glyph { transform: translateY(-3px) rotate(-6deg); }
.topic-cell .tname {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--ink);
    margin: 0 0 4px;
    letter-spacing: -.005em;
}
.topic-cell:hover .tname { color: var(--terra-dk); }
.topic-cell .tcount {
    font-size: 10.5px;
    color: var(--ink-4);
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* Pull quote / editor note */
.pullquote {
    text-align: center;
    padding: 56px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
}
.pullquote .mark {
    font-family: 'Amiri', serif;
    font-size: 72px;
    line-height: .6;
    color: var(--terra);
    display: block;
    margin-bottom: 10px;
}
.pullquote p {
    font-family: 'Cormorant Garamond', 'Amiri', serif;
    font-style: italic;
    font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem);
    line-height: 1.4;
    color: var(--ink);
    max-width: 760px;
    margin: 0 auto 18px;
}
.pullquote cite {
    font-style: normal;
    font-size: 11px; font-weight: 800;
    letter-spacing: .26em; text-transform: uppercase;
    color: var(--ink-4);
}

/* =====================================================================
   15. WOW LAYER — sophisticated effects & magazine flourishes
   ===================================================================== */

/* ── 15.1 Animated marquee (scrolling news ticker under header) ─────── */
.ticker {
    background: var(--ink);
    color: var(--cream);
    overflow: hidden;
    border-top: 1px solid rgba(229,165,116,.18);
    border-bottom: 1px solid rgba(229,165,116,.18);
    position: relative;
    padding: 10px 0;
}
.ticker::before, .ticker::after {
    content: ''; position: absolute; top: 0; bottom: 0;
    width: 60px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg, var(--ink), transparent); }
.ticker::after  { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.ticker-track {
    display: inline-flex;
    gap: 56px;
    white-space: nowrap;
    animation: tickerScroll 38s linear infinite;
    will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--cream-2);
}
.ticker-item .star { color: var(--terra-lt); font-size: 9px; }
.ticker-item .label {
    background: var(--terra);
    color: #fff;
    padding: 2px 9px;
    font-size: 9.5px; font-weight: 800;
    letter-spacing: .26em;
    border-radius: 999px;
}
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── 15.2 Hero v2: cover with overlay text + ribbon ────────────────── */
.hero-cover {
    position: relative;
    height: clamp(560px, 78vh, 820px);
    overflow: hidden;
    margin: 0;
    background: var(--ink);
    isolation: isolate;
}
.hero-cover-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    animation: heroBreathe 14s ease-in-out infinite;
    will-change: transform;
}
@keyframes heroBreathe {
    0%, 100% { transform: scale(1.04); }
    50%      { transform: scale(1.10); }
}
.hero-cover::before {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(42,31,24,.10) 0%, rgba(42,31,24,.20) 30%, rgba(42,31,24,.78) 80%, rgba(42,31,24,.92) 100%),
        radial-gradient(ellipse at 20% 50%, rgba(201,123,92,.18), transparent 55%);
    z-index: 1;
}
.hero-cover::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 80px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80 L0 60 Q200 30 400 50 T800 50 T1200 50 L1200 80 Z' fill='%23FAF6EC'/%3E%3C/svg%3E") no-repeat bottom / cover;
    z-index: 2;
}
.hero-cover-inner {
    position: relative; z-index: 3;
    height: 100%;
    display: flex; flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 120px;
    color: #fff;
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
}
@media (min-width: 768px) { .hero-cover-inner { padding-bottom: 140px; } }
.hero-ribbon {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--terra);
    color: #fff;
    padding: 7px 18px 7px 14px;
    border-radius: 0 999px 999px 0;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .26em;
    text-transform: uppercase;
    align-self: flex-start;
    margin-left: -28px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(201,123,92,.45);
    position: relative;
    animation: ribbonIn .9s cubic-bezier(.2,.7,.2,1) both;
}
.hero-ribbon::before {
    content: '';
    position: absolute;
    left: -12px; bottom: -8px;
    width: 0; height: 0;
    border: 4px solid transparent;
    border-top-color: var(--terra-dk);
    border-right-color: var(--terra-dk);
}
.hero-ribbon i { font-size: 10px; color: var(--cream); }
.hero-cover h1 {
    color: #fff;
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 1.6rem + 3.5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -.025em;
    max-width: 900px;
    margin: 0 0 22px;
    text-shadow: 0 2px 24px rgba(0,0,0,.35);
    animation: heroIn 1s cubic-bezier(.2,.7,.2,1) .2s both;
}
.hero-cover h1 .accent {
    background: linear-gradient(120deg, var(--terra-lt), var(--gold));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-style: italic;
}
.hero-cover .deck {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 1rem + .7vw, 1.45rem);
    line-height: 1.55;
    color: rgba(255,255,255,.88);
    max-width: 620px;
    margin: 0 0 28px;
    animation: heroIn 1s cubic-bezier(.2,.7,.2,1) .35s both;
}
.hero-cover .meta {
    display: inline-flex; align-items: center; gap: 14px;
    color: rgba(255,255,255,.80);
    font-size: 12px; letter-spacing: .08em;
    animation: heroIn 1s cubic-bezier(.2,.7,.2,1) .5s both;
}
.hero-cover .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--terra-lt); }
.hero-cover .meta .badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.18);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}
@keyframes ribbonIn { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes heroIn   { from { opacity: 0; transform: translateY(20px); }   to { opacity: 1; transform: translateY(0); } }

/* Floating scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%; transform: translateX(-50%);
    z-index: 4;
    color: rgba(255,255,255,.78);
    font-size: 9.5px; letter-spacing: .3em;
    text-transform: uppercase;
    text-align: center;
    pointer-events: none;
}
.hero-scroll .line {
    width: 1px; height: 36px;
    margin: 8px auto 0;
    background: linear-gradient(180deg, rgba(255,255,255,.6), transparent);
    position: relative;
    overflow: hidden;
}
.hero-scroll .line::after {
    content: '';
    position: absolute; top: -20px; left: 0; right: 0;
    height: 20px;
    background: linear-gradient(180deg, transparent, #fff);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -20px; } 100% { top: 100%; } }

/* ── 15.3 Magazine grid v2 — asymmetric editorial layout ───────────── */
.mag-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 56px;
}
@media (min-width: 800px) {
    .mag-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 32px;
    }
}

/* Mag card variants */
.mag-card {
    position: relative;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.mag-card .mc-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--cream-2);
}
.mag-card.tall .mc-frame { aspect-ratio: 4/5; }
.mag-card.wide .mc-frame { aspect-ratio: 16/11; }
.mag-card .mc-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .6s;
    will-change: transform;
}
.mag-card:hover .mc-frame img { transform: scale(1.06); filter: brightness(1.04); }

.mag-card .mc-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, transparent 40%, rgba(42,31,24,.45) 75%, rgba(42,31,24,.85) 100%);
    transition: opacity .4s;
}
.mag-card .mc-content {
    position: absolute;
    left: 22px; right: 22px; bottom: 20px;
    color: #fff;
    z-index: 2;
}
.mag-card .mc-cat {
    display: inline-block;
    background: rgba(255,255,255,.92);
    color: var(--terra-dk);
    padding: 4px 11px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 12px;
}
.mag-card h3 {
    color: #fff;
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem);
    line-height: 1.2;
    letter-spacing: -.01em;
    margin: 0 0 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.mag-card .mc-meta {
    font-size: 11px;
    color: rgba(255,255,255,.85);
    display: flex; gap: 8px; align-items: center;
    letter-spacing: .05em;
}
.mag-card .mc-meta .dot { width: 3px; height: 3px; background: rgba(255,255,255,.6); border-radius: 50%; }

/* Bookmark corner ornament */
.mag-card .mc-corner {
    position: absolute;
    top: 0; right: 0;
    width: 0; height: 0;
    border-top: 38px solid var(--terra);
    border-left: 38px solid transparent;
    z-index: 3;
    transition: transform .4s;
}
.mag-card:hover .mc-corner { transform: translateY(-4px) translateX(4px) rotate(-4deg); }
.mag-card .mc-corner i {
    position: absolute;
    top: -32px; left: -16px;
    color: #fff; font-size: 11px;
}

/* ── 15.4 Section flourishes ──────────────────────────────────────── */
.flourish {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 auto 12px;
    color: var(--terra);
    max-width: 280px;
}
.flourish::before, .flourish::after {
    content: '';
    flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, var(--terra));
}
.flourish::after { background: linear-gradient(-90deg, transparent, var(--terra)); }
.flourish svg, .flourish i {
    color: var(--terra);
    font-size: 14px;
    flex-shrink: 0;
}

/* Issue badge */
.issue-badge {
    display: inline-flex;
    align-items: center; gap: 12px;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--sh-1);
}
.issue-badge .vol {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--terra-dk);
}
.issue-badge .sep { width: 1px; height: 14px; background: var(--line-2); }
.issue-badge .date {
    font-family: 'Caveat', cursive;
    font-size: 16px;
    color: var(--ink);
}

/* ── 15.5 Editor's Pick spotlight (large card) ─────────────────────── */
.pick {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
    background:
        radial-gradient(ellipse at 90% 20%, rgba(201,123,92,.08), transparent 50%),
        linear-gradient(135deg, #FFF8ED 0%, var(--cream) 100%);
    padding: 48px 28px;
    border-radius: 24px 6px 24px 6px;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
@media (min-width: 900px) {
    .pick { grid-template-columns: 1fr 1.2fr; padding: 64px 56px; gap: 56px; }
}
.pick::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(212,162,76,.10), transparent 70%);
    border-radius: 50%;
    transform: translate(-30%, -30%);
    pointer-events: none;
}
.pick::after {
    content: '"';
    position: absolute;
    top: 20px; right: 40px;
    font-family: 'Amiri', serif;
    font-size: 180px;
    line-height: .6;
    color: var(--terra);
    opacity: .10;
    pointer-events: none;
    user-select: none;
}
.pick-img {
    aspect-ratio: 4/5;
    border-radius: 20px 4px 20px 4px;
    overflow: hidden;
    background: var(--cream-2);
    box-shadow:
        0 30px 60px rgba(42,31,24,.18),
        0 6px 14px rgba(42,31,24,.08);
    transform: rotate(-1.5deg);
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
    position: relative;
    z-index: 2;
}
.pick:hover .pick-img { transform: rotate(0deg) scale(1.02); }
.pick-img img { width: 100%; height: 100%; object-fit: cover; }
.pick-body { position: relative; z-index: 2; }
.pick-body .kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 10.5px; font-weight: 800;
    letter-spacing: .26em; text-transform: uppercase;
    color: var(--terra-dk);
    margin-bottom: 14px;
}
.pick-body .kicker i { color: var(--gold); }
.pick-body h2 {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.7rem);
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -.015em;
}
.pick-body h2 a { color: var(--ink); text-decoration: none; background: linear-gradient(180deg, transparent 70%, rgba(201,123,92,.20) 70%); transition: background .3s; }
.pick-body h2 a:hover { background: linear-gradient(180deg, transparent 70%, rgba(201,123,92,.40) 70%); }
.pick-body p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-3);
    margin: 0 0 24px;
}
.pick-body .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── 15.6 Live trending list (numbered, with hover indicators) ─────── */
.trending {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px 4px 20px 4px;
    overflow: hidden;
    box-shadow: var(--sh-2);
}
@media (min-width: 700px) { .trending { grid-template-columns: 1fr 1fr; } }
.trending .head {
    grid-column: 1 / -1;
    padding: 28px 28px 16px;
    border-bottom: 1px solid var(--line);
    display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--cream-2) 0%, transparent 60%);
}
.trending .head h2 {
    font-family: 'Amiri', serif;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
    margin: 0; color: var(--ink);
}
.trending .head .pulse {
    width: 8px; height: 8px;
    background: var(--terra);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 4px rgba(201,123,92,.18);
    animation: pulse 2s infinite;
}
.trending .head .label-live {
    font-size: 10px; font-weight: 800;
    letter-spacing: .3em; text-transform: uppercase;
    color: var(--terra);
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(201,123,92,.40); }
    100% { box-shadow: 0 0 0 12px rgba(201,123,92,0); }
}
.trend-row {
    padding: 20px 28px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--line);
    transition: background .25s, padding .3s;
}
@media (min-width: 700px) { .trend-row:nth-child(2n+1) { border-right: 1px solid var(--line); } }
.trend-row:nth-last-child(-n+2) { border-bottom: 0; }
.trend-row:hover { background: var(--cream); padding-left: 32px; }
.trend-row .rank {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    color: var(--terra);
    transition: color .3s;
}
.trend-row:hover .rank { color: var(--terra-dk); }
.trend-row .info h3 {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    margin: 0 0 4px;
    color: var(--ink);
}
.trend-row:hover .info h3 { color: var(--terra-dk); }
.trend-row .info .meta {
    display: flex; gap: 8px; align-items: center;
    font-size: 11px; color: var(--ink-4);
}
.trend-row .info .meta .cat {
    color: var(--terra-dk); font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    font-size: 10px;
}

/* ── 15.7 Animated stats counters ──────────────────────────────────── */
.counter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
    text-align: center;
    padding: 56px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(201,123,92,.04) 24px, rgba(201,123,92,.04) 25px);
}
@media (min-width: 700px) { .counter-row { grid-template-columns: repeat(4, 1fr); } }
.counter {
    position: relative;
}
.counter::before {
    content: '';
    position: absolute;
    top: 50%; right: 0;
    width: 1px; height: 60%;
    background: var(--line);
    transform: translateY(-50%);
    display: none;
}
@media (min-width: 700px) { .counter:not(:last-child)::before { display: block; } }
.counter .big {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: clamp(2.6rem, 2rem + 2.6vw, 4.4rem);
    line-height: 1;
    background: linear-gradient(135deg, var(--terra), var(--gold), var(--terra-dk));
    background-size: 200% 200%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientShift 8s ease infinite;
    letter-spacing: -.03em;
    margin-bottom: 8px;
    display: block;
}
.counter .lbl {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ink-3);
    display: block;
}
.counter .sub {
    margin-top: 6px;
    font-family: 'Caveat', cursive;
    color: var(--terra-dk);
    font-size: 17px;
    display: block;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ── 15.8 Categories deluxe (photo backgrounds, large) ─────────────── */
.cat-deluxe {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}
@media (min-width: 700px) { .cat-deluxe { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cat-deluxe { grid-template-columns: repeat(4, 1fr); } }
.cat-tile {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 16px 4px 16px 4px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--terra), var(--terra-dk));
    transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s;
    box-shadow: var(--sh-1);
}
.cat-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px rgba(42,31,24,.25);
}
.cat-tile::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 60%),
        linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.65) 100%);
    z-index: 1;
}
.cat-tile .ct-icon {
    position: absolute;
    top: 18px; right: 18px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.22);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 15px;
    z-index: 2;
    transition: transform .4s, background .3s;
}
.cat-tile:hover .ct-icon {
    transform: scale(1.1) rotate(-6deg);
    background: rgba(255,255,255,.28);
}
.cat-tile .ct-num {
    position: absolute;
    top: 22px; left: 22px;
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .26em;
    color: rgba(255,255,255,.75);
    z-index: 2;
}
.cat-tile .ct-foot {
    position: absolute;
    left: 22px; right: 22px; bottom: 22px;
    z-index: 2;
}
.cat-tile .ct-name {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem);
    line-height: 1.15;
    margin: 0 0 6px;
    text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.cat-tile .ct-count {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    display: inline-flex; align-items: center; gap: 8px;
}
.cat-tile .ct-count::after {
    content: '→';
    transition: transform .3s;
}
.cat-tile:hover .ct-count::after { transform: translateX(4px); }

/* Variant color schemes */
.cat-tile.t-terra { background: linear-gradient(135deg, #C97B5C, #A05B3F); }
.cat-tile.t-olive { background: linear-gradient(135deg, #8B9D6B, #5C7250); }
.cat-tile.t-gold  { background: linear-gradient(135deg, #D4A24C, #A37416); }
.cat-tile.t-rose  { background: linear-gradient(135deg, #A8525E, #7B3D48); }

/* ── 15.9 Floating decorative SVG ornaments ────────────────────────── */
.deco {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    opacity: .35;
}
.deco svg { width: 100%; height: 100%; display: block; }
.deco.float-1 { animation: floatA 14s ease-in-out infinite; }
.deco.float-2 { animation: floatB 18s ease-in-out infinite; }
.deco.spin    { animation: spinSlow 50s linear infinite; }
@keyframes floatA { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(4deg); } }
@keyframes floatB { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(10px,-12px) rotate(-3deg); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ── 15.10 Quote band with deep texture ────────────────────────────── */
.quote-band {
    position: relative;
    background:
        linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    color: var(--cream);
    padding: 88px 0;
    overflow: hidden;
    text-align: center;
    isolation: isolate;
}
.quote-band::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 18% 30%, rgba(201,123,92,.18), transparent 40%),
        radial-gradient(circle at 82% 70%, rgba(212,162,76,.14), transparent 38%);
    z-index: 0;
}
.quote-band::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(rgba(229,165,116,.06) 1px, transparent 1.2px);
    background-size: 28px 28px;
    z-index: 0;
}
.quote-band .inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 0 var(--pad); }
.quote-band .marks {
    font-family: 'Amiri', serif;
    font-size: 84px;
    line-height: .5;
    color: var(--terra-lt);
    display: block;
    margin-bottom: 14px;
}
.quote-band blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem);
    line-height: 1.45;
    color: #fff;
    margin: 0 0 24px;
    font-weight: 400;
}
.quote-band cite {
    font-style: normal;
    font-size: 11px; font-weight: 800;
    letter-spacing: .3em; text-transform: uppercase;
    color: var(--terra-lt);
    display: inline-flex; align-items: center; gap: 12px;
}
.quote-band cite::before, .quote-band cite::after {
    content: ''; width: 22px; height: 1px; background: var(--terra-lt);
}

/* ── 15.11 Newsletter v2: layered card ─────────────────────────────── */
.nl-deluxe {
    position: relative;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(201,123,92,.14), transparent 50%),
        linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
    padding: 64px 28px;
    border-radius: 24px 6px 24px 6px;
    border: 1px solid var(--line);
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(42,31,24,.10);
}
.nl-deluxe::before {
    content: '✦'; position: absolute;
    font-family: 'Amiri', serif;
    color: var(--terra); opacity: .12;
    font-size: 200px;
    top: -40px; right: -10px;
    line-height: 1;
    pointer-events: none;
}
@media (min-width: 768px) { .nl-deluxe { padding: 80px 56px; } }
.nl-deluxe .badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--terra);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .26em;
    text-transform: uppercase;
    margin-bottom: 18px;
    box-shadow: 0 6px 14px rgba(201,123,92,.30);
}
.nl-deluxe h2 {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.6rem);
    line-height: 1.1;
    margin: 0 0 12px;
    letter-spacing: -.015em;
}
.nl-deluxe p {
    color: var(--ink-3); font-size: 15px;
    max-width: 460px; margin: 0 auto 28px;
}
.nl-deluxe form {
    display: flex; gap: 8px; flex-wrap: wrap;
    max-width: 480px; margin: 0 auto;
    justify-content: center;
}
.nl-deluxe input {
    flex: 1 1 240px; min-width: 0;
    padding: 16px 22px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
}
.nl-deluxe input:focus { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(201,123,92,.12); }
.nl-deluxe .trust {
    margin-top: 18px;
    font-size: 11px; color: var(--ink-4);
    letter-spacing: .14em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.nl-deluxe .trust span { display: inline-flex; align-items: center; gap: 5px; }
.nl-deluxe .trust i { color: var(--olive); font-size: 10px; }

/* ── 15.12 Header on scroll (compact mode) ─────────────────────────── */
.site-header.scrolled {
    background: rgba(250,246,236,.96);
    box-shadow: 0 4px 20px rgba(42,31,24,.06);
}
.site-header.scrolled .topbar { max-height: 0; padding: 0 var(--pad); opacity: 0; overflow: hidden; border: 0; }
.site-header.scrolled .nav-row { padding: 10px var(--pad); }
.site-header .topbar { transition: max-height .35s ease, padding .35s ease, opacity .25s; max-height: 60px; }


