/* ============================================================
   12 · Magazine Cover — editorial layout, Pinterest masonry
   Layout: editorial top strip + masthead + overlapping hero +
   CSS columns masonry tiles with mixed treatments
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body {
    font-family: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
    background: #fefcf7;
    color: #1a1a1a;
    min-height: 100vh;
    padding-bottom: 96px;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
.ico { width: 1em; height: 1em; vertical-align: -0.15em; }

/* Editorial top strip */
.mz-strip {
    background: #1a1a1a;
    color: #fefcf7;
    padding: 8px 20px;
    display: flex; justify-content: space-between; align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
    font-size: .65rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
    flex-wrap: wrap; gap: 8px;
}
.mz-issue strong { color: #c9302c; font-weight: 700; }
.mz-tag { color: #c9302c; font-weight: 700; }

/* Masthead */
.mz-masthead { padding: 28px 20px 14px; text-align: center; }
.mz-rule { height: 2px; background: #1a1a1a; }
.mz-title {
    font-size: 2.6rem; font-weight: 700;
    letter-spacing: -1px;
    margin: 14px 0 6px;
    color: #1a1a1a;
}
.mz-deck {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: .62rem; letter-spacing: 3px;
    color: #525252;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 14px;
}

/* Hero — overlapping art with editorial text */
.mz-hero {
    padding: 24px 20px 8px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.mz-hero-art {
    position: relative;
    height: 240px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5e6d3;
}
.art-block {
    position: absolute;
    border-radius: 4px;
}
.art-1 {
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 30% 40%, rgba(201,48,44,.85), transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(201,164,73,.7), transparent 65%),
        linear-gradient(135deg, #f5e6d3 0%, #e8d5b9 100%);
}
.art-2 {
    bottom: 14px; left: 14px;
    width: 60%; height: 64%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    transform: rotate(-2deg);
    box-shadow: 8px 8px 0 rgba(201,48,44,.85);
}
.art-3 {
    top: 18px; right: 14px;
    width: 38%; height: 48%;
    background: linear-gradient(135deg, #c9a449 0%, #f5e6d3 100%);
    transform: rotate(3deg);
    box-shadow: -6px 6px 0 rgba(26,26,26,.7);
}
.art-byline {
    position: absolute; bottom: 8px; right: 12px;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .55rem; letter-spacing: 2px;
    color: rgba(255,255,255,.85);
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
    z-index: 2;
}

.mz-hero-text {
    padding: 0 4px;
}
.mz-kicker {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .62rem; letter-spacing: 2.5px;
    color: #c9302c;
    font-weight: 700;
    text-transform: uppercase;
    border-top: 1px solid #c9302c;
    border-bottom: 1px solid #c9302c;
    padding: 4px 0;
    margin-bottom: 14px;
}
.mz-headline {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -1px;
    margin-bottom: 14px;
}
.mz-headline em {
    font-style: italic;
    color: #c9302c;
    font-weight: 600;
}
.mz-amp {
    font-style: italic;
    color: #c9a449;
    font-weight: 400;
    font-size: 1.4em;
    line-height: 0;
}
.mz-lede {
    font-size: 1.02rem;
    line-height: 1.55;
    color: #2d2d2d;
    margin-bottom: 18px;
    text-align: justify;
}
.mz-drop {
    float: left;
    font-size: 3.4rem;
    line-height: .9;
    margin: 4px 6px 0 0;
    color: #c9302c;
    font-weight: 700;
}

.mz-meta-row {
    display: flex;
    border-top: 1px solid #1a1a1a;
    padding-top: 10px;
    gap: 16px;
}
.mz-meta-row > div {
    flex: 1;
    text-align: center;
    border-right: 1px solid rgba(26,26,26,.18);
    padding-right: 16px;
}
.mz-meta-row > div:last-child { border-right: 0; }
.mz-meta-row .num {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.mz-meta-row .num em {
    font-style: normal;
    font-size: .7em;
    color: #c9302c;
}
.mz-meta-row label {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .58rem; letter-spacing: 1.8px;
    color: #525252;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
}

/* Section break */
.mz-break {
    text-align: center;
    padding: 28px 20px 14px;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .62rem; letter-spacing: 3px;
    color: #525252;
    font-weight: 700;
    text-transform: uppercase;
}
.mz-break span { background: #fefcf7; padding: 0 12px; position: relative; }
.mz-break {
    position: relative;
}
.mz-break::before {
    content: "";
    position: absolute;
    left: 24px; right: 24px; top: 50%;
    border-top: 1px solid #1a1a1a;
    z-index: 0;
}
.mz-break span { position: relative; z-index: 1; }

/* Pinterest-style masonry via CSS columns */
.mz-masonry {
    column-count: 2;
    column-gap: 14px;
    padding: 0 16px 28px;
}
.tile {
    break-inside: avoid;
    background: #fff;
    border: 1px solid #e8e1d0;
    border-radius: 4px;
    padding: 18px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(26,26,26,.04);
    display: block;
    text-decoration: none;
    color: inherit;
}
.tile h3 {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
    color: #1a1a1a;
}
.tile h4 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 6px;
    color: #1a1a1a;
}
.tile-num {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .58rem; letter-spacing: 2px;
    color: #c9302c;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.tile-cat {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .55rem; letter-spacing: 2px;
    color: #525252;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
    margin-bottom: 10px;
}
.tile-spec {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .76rem;
    color: #525252;
    line-height: 1.5;
    margin-bottom: 8px;
}
.tile-body {
    font-size: .95rem;
    line-height: 1.55;
    color: #2d2d2d;
    margin-bottom: 14px;
}
.tile-pull {
    font-size: 1.05rem;
    font-style: italic;
    color: #c9302c;
    line-height: 1.4;
    margin: 8px 0 14px;
    padding-left: 14px;
    border-left: 3px solid #c9302c;
}
.tile-cta {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .5px;
    color: #c9302c;
    border-bottom: 2px solid #c9302c;
    padding-bottom: 1px;
}
.tile-cta.dark {
    background: #1a1a1a;
    color: #fefcf7;
    padding: 10px 22px;
    border: 0;
    border-radius: 2px;
    font-weight: 600;
    margin-top: 4px;
}
.tile-link {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .4px;
    color: #c9302c;
    border-bottom: 1px solid #c9302c;
    padding-bottom: 1px;
}

/* Tile variants */
.tile-feature {
    background: #fefcf7;
    border: 2px solid #1a1a1a;
    padding: 22px;
}
.tile-quote {
    background: #1a1a1a;
    color: #fefcf7;
    border: 0;
    padding: 22px;
}
.tile-quote .tile-cat {
    color: #c9a449;
    border-color: #c9a449;
}
.tile-q {
    font-size: 1.25rem;
    line-height: 1.4;
    font-style: italic;
    margin-bottom: 12px;
    font-weight: 500;
}
.tile-q::before { content: """; font-size: 2em; color: #c9a449; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.tile-q::after  { content: """; font-size: 2em; color: #c9a449; line-height: 0; vertical-align: -0.4em; margin-left: 4px; }
.tile-attr {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .68rem;
    color: rgba(254,252,247,.7);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}
.tile-stat {
    background: #fff;
}
.tile-fact {
    background: #c9302c;
    color: #fefcf7;
    border: 0;
    text-align: center;
    padding: 28px 20px;
}
.tile-fact .tile-cat { color: rgba(254,252,247,.85); border-color: rgba(254,252,247,.5); }
.big-num {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    margin: 8px 0 6px;
    font-variant-numeric: tabular-nums;
    color: inherit;
}
.big-num em { font-style: normal; font-size: .55em; opacity: .85; }
.tile-fact .tile-spec { color: rgba(254,252,247,.85); margin: 0; }
.tile-promo {
    background: #c9a449;
    color: #1a1a1a;
    border: 0;
    text-align: center;
    padding: 24px 20px;
}
.tile-promo .tile-cat { color: #1a1a1a; border-color: #1a1a1a; }
.tile-promo .promo-eyebrow {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.tile-promo .promo-num {
    font-size: 3.6rem;
    color: #1a1a1a;
    margin: 4px 0 8px;
}
.tile-promo .tile-spec { color: rgba(26,26,26,.78); margin-bottom: 12px; }
.tile-credits {
    background: #fefcf7;
    border: 1px solid #1a1a1a;
    text-align: center;
    padding: 20px;
}
.tile-credits-list {
    font-size: .82rem;
    line-height: 1.7;
    color: #525252;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* Footer */
.mz-foot {
    padding: 22px 20px 12px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .72rem;
    color: #525252;
}
.mz-foot-rule { height: 1px; background: #1a1a1a; margin-bottom: 14px; }
.mz-foot-sub {
    font-size: .58rem;
    color: #8a8a8a;
    letter-spacing: 2px;
    margin-top: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

/* FAB */
.fab-top {
    position: fixed; bottom: 88px; right: 14px;
    width: 44px; height: 44px;
    background: #1a1a1a;
    color: #fefcf7;
    border: 0;
    border-radius: 4px;
    display: grid; place-items: center;
    cursor: pointer;
    box-shadow: 4px 4px 0 #c9302c;
    z-index: 80;
    opacity: 0; pointer-events: none;
    transition: opacity .2s;
}
.fab-top.visible { opacity: 1; pointer-events: auto; }
.fab-top .ico { font-size: 18px; }

/* Bottom nav */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    display: flex; justify-content: space-around; align-items: center;
    background: #fefcf7;
    border-top: 2px solid #1a1a1a;
    padding: 6px 12px calc(8px + env(safe-area-inset-bottom));
    z-index: 100; gap: 8px;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 8px 14px;
    color: #525252;
    font-size: .66rem;
    flex: 1;
    font-weight: 600;
    letter-spacing: .5px;
}
.nav-item.active { color: #c9302c; }
.nav-item.primary {
    background: #1a1a1a;
    color: #fefcf7 !important;
    border-radius: 2px;
    padding: 9px 12px;
    box-shadow: 3px 3px 0 #c9302c;
    flex: 0 1 auto;
}
.nav-item .ico { font-size: 18px; }

/* Wider screens — 3 columns + side-by-side hero */
@media (min-width: 700px) {
    .mz-masonry { column-count: 3; }
    .mz-hero {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    .mz-hero-art { height: 360px; }
}
@media (min-width: 1000px) {
    .mz-masonry { column-count: 4; max-width: 1200px; margin: 0 auto; }
    .mz-hero { max-width: 1200px; margin: 0 auto; }
    .mz-masthead { max-width: 1200px; margin: 0 auto; }
    .mz-title { font-size: 4rem; }
    .mz-headline { font-size: 3rem; }
}
