/* Home page v2. Own classes (hv-*), no !important. Calm cream cards, green accent, light and dark. */
.hv-home{--hv-surface:#fffdf8;--hv-soft:#eaeedd;--hv-ink:#1f2a20;--hv-muted:#566358;--hv-line:#e2dac6;--hv-green:#365b3b;--hv-plum:#63384f;--hv-arrow:#365b3b;--hv-chip:#f0ead8;
 --hv-warmA:#f6e6c9;--hv-warmB:#efd4ae;--hv-rA:#efe6f1;--hv-rB:#e3ecdc;--hv-kA:#d9ead3;--hv-kB:#f1eed6;--hv-aA:#dbe8f1;--hv-aB:#eceff0;
 --hv-shadow:0 14px 30px -22px rgba(31,42,32,.55);--hv-imgf:none;--hv-dim:transparent;--hv-star-bg:#fffdf8;
 --hv-gold:#c79a4a;--hv-goldtx:#7a5516;--hv-hair:#dcc995;--hv-wash:rgba(214,182,120,.34);--hv-wash2:rgba(214,182,120,.18);
 --hv-serif:'Lora',Georgia,serif;--hv-sans:'Source Sans 3',system-ui,-apple-system,sans-serif;
 box-sizing:border-box;width:min(1120px,100% - 40px);margin:0 auto;padding:0 0 56px;color:var(--hv-ink);font:16px/1.45 var(--hv-sans)}
html[data-theme="dark"] .hv-home{--hv-surface:#243029;--hv-soft:#202c25;--hv-ink:#f3eddc;--hv-muted:#aab6a9;--hv-line:#36463c;--hv-green:#58744d;--hv-plum:#d6a9cf;--hv-arrow:#d9e4cf;--hv-chip:#2b382f;
 --hv-warmA:#3a2f1d;--hv-warmB:#2e2619;--hv-rA:#2a1d31;--hv-rB:#1f3027;--hv-kA:#264832;--hv-kB:#1b2a20;--hv-aA:#1f3547;--hv-aB:#1a2832;
 --hv-shadow:0 14px 30px -22px #000;--hv-imgf:brightness(.84) saturate(.92);--hv-dim:rgba(0,0,0,.16);--hv-star-bg:#1b261e;--hv-gold:#9a7a3e;--hv-goldtx:#d9b06a;--hv-hair:#38483d;--hv-wash:rgba(199,154,74,.2);--hv-wash2:rgba(199,154,74,.1)}
.hv-home *,.hv-home *::before,.hv-home *::after{box-sizing:border-box}
.hv-home :where(h1,h2,h3,p){margin:0;padding:0;color:var(--hv-ink)}
.hv-home :where(h1,h2,h3){font-family:var(--hv-serif);font-weight:600;letter-spacing:0;text-transform:none;line-height:1.12}
.hv-home :where(a){color:inherit;text-decoration:none}
.hv-home :where(img){display:block;max-width:100%}
.hv-home :where(section){margin:0;padding:0}
.hv-eyebrow{display:block;font:600 12px/1.2 var(--hv-sans);letter-spacing:.16em;text-transform:uppercase;color:var(--hv-goldtx)}
.hv-meta{font-size:15px;color:var(--hv-muted)}
.hv-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border-radius:99px;background:var(--hv-green);color:#fff;font:600 15px/1 var(--hv-sans);white-space:nowrap}
.hv-home a.hv-btn{color:#fff}
.hv-btn:hover{filter:brightness(1.08)}
.hv-home :focus-visible{outline:3px solid var(--hv-plum);outline-offset:2px;border-radius:12px}

/* hero: open editorial, the page artwork shows behind it */
.hv-hero{text-align:center;padding:36px 0 28px}
.hv-hero h1{font-size:40px;font-weight:500;max-width:12ch;margin:0 auto;line-height:1.06;letter-spacing:-.01em;text-wrap:balance}
.hv-tagline{font-size:26px;font-style:italic;font-family:var(--hv-serif);color:var(--hv-plum);margin-top:12px}
.hv-home .hv-tagline{color:var(--hv-plum)}
.hv-sub{font-size:16px;line-height:1.5;color:var(--hv-muted);margin:12px auto 0;max-width:30ch}

/* continue cooking: a card below the title, only when there is something to resume */
.hv-continue{display:flex;align-items:center;flex-wrap:wrap;gap:12px 14px;width:min(100%,560px);margin:22px auto 0;padding:12px;border-radius:20px;background:var(--hv-surface);border:1px solid var(--hv-line);box-shadow:0 6px 18px -12px rgba(60,50,20,.45)}
.hv-continue-art{flex:none;width:72px;height:72px;border-radius:14px;overflow:hidden;position:relative;background:var(--hv-soft)}
.hv-continue-art img,.hv-continue-art .br-recipe-placeholder{width:100%;height:100%;object-fit:cover;filter:var(--hv-imgf)}
.hv-continue-body{flex:1 1 140px;min-width:0;display:flex;flex-direction:column;gap:2px}
.hv-continue .hv-eyebrow{color:var(--hv-plum)}
.hv-continue-body h2{font-size:19px;font-weight:500}
.hv-continue .hv-btn{flex:1 1 100%;min-height:40px}

/* section headings with gold hairlines */
.hv-sec{display:flex;align-items:center;gap:14px;margin:44px 0 22px}
.hv-sec::before,.hv-sec::after{content:"";flex:1;height:0;border-top:2px solid var(--hv-gold);opacity:.75}
.hv-sec h2{font-size:24px;font-style:italic;font-weight:400;white-space:nowrap}

/* doors: three open pictures, no boxes */
.hv-doors{display:flex;flex-direction:column}
.hv-door{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 0 24px;border-top:1px solid var(--hv-hair)}
.hv-door:first-child{border-top:0;padding-top:0}
.hv-door .hv-door-art{width:100%;max-width:none;height:auto;aspect-ratio:16/9;object-fit:contain;margin:0 0 6px}
.hv-door h3{font-size:26px;font-weight:500}
.hv-door-label{font:600 11px/1.2 var(--hv-sans);letter-spacing:.16em;text-transform:uppercase;color:var(--hv-goldtx);margin-top:4px}
.hv-door-text{font-size:15px;line-height:1.45;color:var(--hv-muted);margin-top:6px;max-width:28ch}
.hv-door-go{color:var(--hv-arrow);margin-top:8px;display:flex}
.hv-door:hover h3{color:var(--hv-arrow)}

/* recipe of the day: a soft warm wash behind it, not a card */
.hv-spot{position:relative;isolation:isolate;display:flex;flex-direction:column;gap:16px}
.hv-spot::before{content:"";position:absolute;inset:-20px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,var(--hv-wash) 0%,var(--hv-wash2) 45%,transparent 72%)}
.hv-spot-img{display:block;position:relative;aspect-ratio:3/2;border-radius:18px;overflow:hidden}
.hv-spot-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:var(--hv-imgf)}
.hv-spot-body{min-width:0;display:flex;flex-direction:column;gap:4px}
.hv-spot h2{font-size:30px;font-weight:500;margin-top:4px}
.hv-spot-desc{font-size:16px;line-height:1.55;color:var(--hv-muted);max-width:46ch;margin-top:8px}
.hv-spot-message{font-size:15px;color:var(--hv-muted);line-height:1.35}
.hv-actions{display:flex;align-items:center;margin-top:10px}
.hv-view{display:inline-flex;align-items:center;gap:10px;min-height:44px;font:600 12px/1 var(--hv-sans);letter-spacing:.16em;text-transform:uppercase;color:var(--hv-arrow);border-bottom:1px solid var(--hv-gold)}
.hv-admin{font-size:14px;color:var(--hv-muted);text-decoration:underline}

/* rows of recipe cards */
.hv-row{margin-top:36px}
.hv-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.hv-head h2{font-size:26px;font-style:italic;font-weight:400;white-space:nowrap}
.hv-head-tools{display:flex;align-items:center;gap:14px}
.hv-head-tools a{font-weight:600;font-size:15px;color:var(--hv-arrow);white-space:nowrap}
.hv-arrows{display:none;gap:8px}
@media (min-width:700px) and (hover:hover) and (pointer:fine){.hv-arrows{display:inline-flex}.hv-row.is-static .hv-arrows{display:none}}
.hv-arrows button{width:38px;height:38px;padding:0;border-radius:50%;border:1px solid var(--hv-line);background:var(--hv-surface);color:var(--hv-ink);font:600 20px/1 var(--hv-sans);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.hv-arrows button:disabled{opacity:.4;cursor:default}
.hv-rail{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;margin-right:max(-36px,calc((100vw - 100%) / -2));padding:2px min(36px,calc((100vw - 100%) / 2)) 4px 2px}
.hv-rail::-webkit-scrollbar{display:none}
.hv-card{flex:0 0 190px;scroll-snap-align:start;min-width:0;display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:var(--hv-surface);border:1px solid var(--hv-line)}
.hv-ph{aspect-ratio:4/3;position:relative;background:var(--hv-soft)}
.hv-ph img{position:absolute;inset:0;width:100%;height:100%;max-height:none;margin:0;border-radius:0;object-fit:cover;filter:var(--hv-imgf)}
.hv-ph .hv-radish{position:absolute;inset:auto;left:50%;top:50%;width:auto;height:46%;transform:translate(-50%,-50%);object-fit:contain;opacity:.45}
html[data-theme="dark"] .hv-radish{filter:brightness(2.4);opacity:.5}
.hv-cap{padding:12px 16px 16px;display:flex;flex-direction:column;gap:3px}
.hv-cap h3{font-size:18px;line-height:1.2}
.hv-cap span:not(.hv-eyebrow){font-size:15px;color:var(--hv-muted)}
.hv-prompt{display:flex;flex-direction:column;gap:16px;padding:20px;border-radius:24px;background:var(--hv-surface);border:1px solid var(--hv-line)}
.hv-prompt-card{display:flex;flex-direction:column;gap:16px;margin-top:40px;padding:22px 0;border-top:1px solid var(--hv-gold);border-bottom:1px solid var(--hv-gold)}
.hv-prompt h3{font-size:22px}
.hv-prompt-card h2{font-size:22px;font-style:italic;font-weight:500}
.hv-prompt p,.hv-prompt-card p{font-size:16px;line-height:1.45;color:var(--hv-muted);margin-top:6px}

/* My Kitchen, Relax, About: open columns with free-floating pictures */
.hv-cols{display:flex;flex-direction:column}
.hv-col{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;align-items:center;padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid var(--hv-hair)}
.hv-col:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.hv-col .hv-col-art{width:110px;max-width:none;height:138px;object-fit:contain}
.hv-col-body{min-width:0}
.hv-col h2{font-size:24px;font-weight:500;margin-top:6px}
.hv-col ul{list-style:none;margin:10px 0 0;padding:0}
.hv-col li{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--hv-line)}
.hv-col li>a,.hv-col li>div{display:flex;flex-direction:column;justify-content:center;min-height:44px;padding:9px 0;min-width:0}
.hv-col li b{font-weight:500;font-size:16px}
.hv-col li span{font-size:14px;color:var(--hv-muted)}
.hv-col li>a:hover b{color:var(--hv-arrow)}
.hv-col li.is-planned{flex-direction:column;align-items:flex-start;gap:0}
.hv-col li.is-planned>div{min-height:0;padding-bottom:2px}
.hv-pl{font:600 11px/1 var(--hv-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--hv-goldtx);font-style:normal;margin:0 0 10px}

/* tablet and up */
@media (min-width:700px){
 .hv-home{width:min(1120px,100% - 72px)}
 .hv-hero{padding:56px 0 36px}
 .hv-hero h1{font-size:54px;max-width:16ch}
 .hv-tagline{font-size:30px}
 .hv-sub{font-size:18px;max-width:none}
 .hv-sec{gap:28px;margin:64px 0 32px}
 .hv-sec h2{font-size:32px}
 .hv-doors{flex-direction:row}
 .hv-door{flex:1;min-width:0;padding:4px 12px 6px;border-top:0;border-left:1px solid var(--hv-hair)}
 .hv-door:first-child{border-left:0;padding-top:4px}
 .hv-door .hv-door-art{width:calc(100% + 48px);margin:0 -24px 4px}
 .hv-spot{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:40px;align-items:center}
 .hv-spot::before{inset:-32px -64px}
 .hv-spot h2{font-size:38px}
 .hv-spot-desc{font-size:17px}
 .hv-row{margin-top:48px}
 .hv-head h2{font-size:30px}
 .hv-card{flex-basis:calc((100% - 28px) / 3)}
 .hv-prompt,.hv-prompt-card{flex-direction:row;align-items:center;justify-content:space-between}
 .hv-prompt{padding:26px}
 .hv-prompt-card{margin-top:56px}
 .hv-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:8px}
 .hv-col{grid-template-columns:minmax(0,1fr);gap:12px;align-items:start;align-content:start;padding:0 18px;margin:0;border-bottom:0;border-right:1px solid var(--hv-hair)}
 .hv-col:first-child{padding-left:0}
 .hv-col:last-child{padding-right:0;border-right:0}
 .hv-col .hv-col-art{width:100%;height:170px}
 .hv-col h2{font-size:24px}
}
@media (min-width:1100px){
 .hv-hero h1{font-size:64px;max-width:18ch}
 .hv-tagline{font-size:34px}
 .hv-card{flex-basis:calc((100% - 56px) / 4)}
 .hv-col{grid-template-columns:124px minmax(0,1fr);gap:16px;padding:0 26px}
 .hv-col .hv-col-art{width:124px;height:155px}
}
@media (prefers-reduced-motion:reduce){.hv-btn:hover{filter:none}}

/* Search page: a clear way out (the header magnifier also turns into a close button while search is open) */
.br-search-page .br-search-hero{position:relative}
.br-search-page .br-search-close{position:absolute;top:14px;right:14px;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border-radius:99px;border:1px solid rgba(127,127,127,.5);background:transparent;color:inherit;font:600 15px/1 'Source Sans 3',system-ui,sans-serif;cursor:pointer}
.br-search-page .br-search-close:hover{background:rgba(127,127,127,.14)}
[data-br-search][aria-pressed="true"]{background:rgba(255,255,255,.16);border-radius:50%}

/* dark Home: match the page color to the artwork's base so no seam shows where the artwork ends */
html[data-theme="dark"] body.br-homepage{background-color:#182318}
