/* Home v2 – bold magazine layout (home page only) */
body.home.rm-magazine{--hv-hot:var(--orange,#b74726);--hv-acc:var(--accent,#a3401c);--hv-dark:#141416}
/* Masthead */
.home .rm-mag-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:28px 0 18px;margin:0;border-bottom:3px solid var(--ink)}
.home .rm-mag-heading>div:first-child{display:flex;flex-direction:column-reverse;gap:10px;min-width:0}
.home .rm-mag-heading .page-title{font-size:clamp(44px,7.2vw,92px);line-height:.88;letter-spacing:-.025em;margin:0}
.home .rm-mag-heading .page-title::after{content:".";color:var(--hv-hot)}
.home .rm-mag-heading .page-intro{font-size:16px;line-height:1.45;color:var(--muted);max-width:56ch;margin:0}
.home .rm-mag-heading .head-search{flex:0 0 320px;margin:0}
.home .rm-mag-heading .search-field{border-radius:999px;background:#fff}
/* Category chips – one scrollable row */
.home nav.chips{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding:14px 0;margin:0 0 22px;border-bottom:1px solid var(--line);scrollbar-width:none;-webkit-overflow-scrolling:touch}
.home nav.chips::-webkit-scrollbar{display:none}
.home nav.chips .chip{flex:0 0 auto;white-space:nowrap;padding:8px 15px;font-size:14px;font-weight:600;border-radius:999px;background:#fff;border:1px solid #e3e3e8;color:var(--ink);transition:background .15s,border-color .15s,color .15s}
.home nav.chips .chip:hover{border-color:var(--ink)}
.home nav.chips .chip.is-active{background:var(--ink);border-color:var(--ink);color:#fff}
/* Branded placeholders */
.home .thumb:not(:has(img)){background:linear-gradient(135deg,#1c1c21 0%,#2b2b31 55%,#5a2a17 100%);position:relative}
.home .thumb.t2:not(:has(img)){background:linear-gradient(135deg,#1c1c21 0%,#33241f 60%,#8a3a1c 100%)}
.home .thumb.t3:not(:has(img)){background:linear-gradient(135deg,#202024 0%,#2e2e35 50%,#3d3d46 100%)}
.home .thumb.t4:not(:has(img)){background:linear-gradient(135deg,#26180f 0%,#5a2a17 55%,#b74726 100%)}
.home .thumb:not(:has(img)) svg{opacity:0}
.home .thumb:not(:has(img))::before{content:"RM";position:absolute;right:10%;bottom:6%;font:900 clamp(28px,7vw,120px)/1 "Hanken Grotesk","Helvetica Neue",Helvetica,sans-serif;font-style:italic;letter-spacing:-.04em;color:rgba(255,255,255,.07)}
.home .story.mini .thumb:not(:has(img))::before{font-size:22px;right:12%;bottom:10%}
/* Featured */
.home .rm-mag-featured{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:22px;align-items:stretch;margin-bottom:36px}
.home .rm-mag-featured .story.lead{position:relative;display:block;min-height:540px;padding:0;border:0;border-radius:22px;overflow:hidden;background:var(--hv-dark);color:#fff;box-shadow:0 18px 40px -24px rgba(0,0,0,.45)}
.home .rm-mag-featured .story.lead .thumb{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;margin:0;border-radius:0}
.home .rm-mag-featured .story.lead .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.home .rm-mag-featured .story.lead:hover .thumb img{transform:scale(1.03)}
.home .rm-mag-featured .story.lead::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,0) 25%,rgba(0,0,0,.55) 60%,rgba(0,0,0,.9) 100%);pointer-events:none}
.home .rm-mag-featured .story.lead .lead-body{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:36px;background:none}
.home .rm-mag-featured .story.lead .cat{display:inline-block;background:var(--hv-hot);color:#fff;padding:5px 10px;border-radius:6px;font-size:11px;letter-spacing:.08em}
.home .rm-mag-featured .story.lead .lead-title{color:#fff;font-size:clamp(28px,3.3vw,46px);line-height:1.04;letter-spacing:-.015em;margin:14px 0 12px;max-width:22ch}
.home .rm-mag-featured .story.lead .lead-excerpt{color:rgba(255,255,255,.82);font-size:16px;line-height:1.5;max-width:62ch;margin:0 0 12px}
.home .rm-mag-featured .story.lead .meta{color:rgba(255,255,255,.65)}
.home .rm-mag-feature-side{display:flex;flex-direction:column;gap:16px;min-width:0}
.home .rm-mag-feature-side>.card{border-radius:18px}
.home .kicker{display:flex;align-items:center;gap:8px}
.home .rm-mag-feature-side .kicker::before,.home .rm-feed-sidebar .kicker::before{content:"";width:18px;height:3px;border-radius:2px;background:var(--hv-hot)}
/* Shelves */
.home .rm-mag-shelf{margin:52px 0}
.home .rm-mag-shelf .row-between{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 20px;border-top:3px solid var(--ink);padding-top:14px;margin-bottom:20px}
.home .rm-mag-shelf .section-title,.home .rm-mag-feed-section>.section-title{margin:0 auto 0 0;font-size:clamp(26px,2.8vw,36px);letter-spacing:-.015em}
.home .section-link{font-size:14px;font-weight:700;color:var(--ink);text-decoration:none;border-bottom:2px solid var(--hv-hot);padding-bottom:1px}
.home .section-link:hover{color:var(--hv-acc)}
.home .rm-mag-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.home .rm-mag-grid .rm-mag-card{border-radius:18px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.home .rm-mag-grid .rm-mag-card:hover{transform:translateY(-3px);box-shadow:0 16px 30px -20px rgba(0,0,0,.35)}
.home .rm-mag-grid .rm-mag-card .thumb{aspect-ratio:16/10;height:auto}
.home .rm-mag-grid .rm-mag-card .thumb img{width:100%;height:100%;object-fit:cover}
.home .rm-mag-grid .story-title{font-size:19px;line-height:1.25}
/* Latest feed */
.home .rm-mag-feed-section{margin-top:52px}
.home .rm-mag-feed-section>.section-title{border-top:3px solid var(--ink);padding-top:14px;margin-bottom:20px}
.home .rm-feed-list{border-radius:18px}
.home .rm-mag-list-card .thumb{border-radius:12px;overflow:hidden}
.home .rm-mag-list-card .thumb img{object-fit:cover}
.home .rm-mag-list-card:hover .story-title{color:var(--hv-acc)}
.home .rm-feed-sidebar>.card{border-radius:18px}
/* Marketplace banner */
.home .card.banner{background:var(--hv-dark);color:#fff;border:0;border-radius:22px;padding:30px 34px;margin:52px 0;position:relative;overflow:hidden}
.home .card.banner::after{content:"";position:absolute;right:-60px;top:-60px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(183,71,38,.55),rgba(183,71,38,0) 70%);pointer-events:none}
.home .card.banner .kicker{color:#ff9b70}
.home .card.banner .banner-title{color:#fff;font-size:clamp(24px,2.6vw,34px)}
.home .card.banner p{color:rgba(255,255,255,.72)}
.home .card.banner .btn{position:relative;z-index:1}
@media(max-width:980px){.home .rm-mag-featured{grid-template-columns:1fr}.home .rm-mag-feature-side{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}}
@media(max-width:720px){
.home .rm-mag-heading{flex-direction:column;align-items:stretch;padding-top:18px;gap:14px}
.home .rm-mag-heading .head-search{flex:auto}
.home .rm-mag-heading .page-intro{font-size:15px}
.home nav.chips{margin-right:-16px;padding-right:16px;margin-bottom:16px}
.home .rm-mag-featured .story.lead{min-height:440px;border-radius:18px}
.home .rm-mag-featured .story.lead .lead-body{padding:22px}
.home .rm-mag-featured .story.lead .lead-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:15px}
.home .rm-mag-feature-side{display:flex}
.home .rm-mag-shelf,.home .rm-mag-feed-section,.home .card.banner{margin:36px 0}
.home .rm-mag-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:80%;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin-right:-16px;padding:0 16px 8px 0;scrollbar-width:none}
.home .rm-mag-grid::-webkit-scrollbar{display:none}
.home .rm-mag-grid>*{scroll-snap-align:start}
.home .card.banner{padding:24px;flex-direction:column;align-items:flex-start}
}
.home .rm-mag-featured .story.lead .cat{width:fit-content;align-self:flex-start}
.home .rm-mag-card .rm-card-specs>div{flex:0 0 auto}
.home .rm-mag-feed-section>.section-title{display:block;margin-right:0}
@media(max-width:720px){.home .rm-mag-heading>div:first-child,.home .rm-mag-heading .head-search{flex:0 0 auto}.home .rm-mag-grid{grid-auto-columns:74%}}
/* Compact one-row site header on phones (all pages) */
@media(max-width:720px){
.site-header .wrap{gap:8px;row-gap:8px;position:relative}
.site-header .brand{flex:1 1 auto;min-width:0;font-size:20px}
.site-header .nav-toggle{width:44px;height:44px;padding:0;justify-content:center;flex:0 0 auto}
.site-header .nav-toggle span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.site-header .rm-header-search{flex:0 0 auto;position:static}
.site-header .rm-header-search summary{list-style:none;width:44px;height:44px;padding:0;font-size:0;border-radius:999px;border:1px solid #e3e3e8;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/20px no-repeat}
.site-header .rm-header-search summary::-webkit-details-marker{display:none}
.site-header .rm-header-search summary::marker{content:""}
.site-header .rm-header-search .search-form{left:16px;right:16px;width:auto;max-width:none}
}
.site-header .header-cta{display:none !important}
